@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');


:root {
  --bg-dark: #0b0b0f;
  --bg-light: #f5f5f7;
  --text-dark: #fff;
  --text-light: #000;
  --accent: #ff7aa2;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 5px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

body.dark {
  background: linear-gradient(120deg, #0b0b0f, #141420);
  color: var(--text-dark);
}

body.light {
  background: var(--bg-light);
  color: var(--text-light);
}

/* GLASS */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.glass:hover {
  box-shadow: 0 0 35px rgba(255, 122, 162, 0.25);
}

/* NAV */
.nav {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  z-index: 100;
}

.nav .logo {
  width: 90px;
  text-shadow: 2px 3px #575454;
  font-family: "Caveat", cursive;
  font-size: 25px;
  text-align: center;
}

.nav .logo span {
  color: #ab536f;
  text-shadow: 2px 3px #575454;
  font-family: "Caveat", cursive;
  font-size: 35px;
}

.nav a {
  margin-left: 15px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
}

.nav a:hover {
  color: #ff7aa2;
}

#toggle {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* SECTIONS */
.section {
  padding: 110px 8%;
  text-align: center;
  transition: 0.6s ease;
}

/* MENU BUTTON */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: inherit;
}

.nav nav {
  display: flex;
  align-items: center;
}


/* HERO */
.hero {
  padding-top: 160px;
}

/* BUBBLE CANVAS */
#bubbleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
}

/* .hero h1 { font-size: 34px; margin: 15px 0; } */
.role {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 14px;
}


.highlight {
  color: var(--accent);
}


/* Animation */
@keyframes rotateLight {
  from {
    --rotate: 0.25turn;
  }

  to {
    --rotate: -0.25turn;
  }
}



/* HERO HEADING */
.drop-text {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* Each word drops */
.drop-text span {
  opacity: 0;
  transform: translateY(-40px);
  animation: dropIn 0.7s ease forwards;
}

/* Delay per word */
.drop-text span:nth-child(1) {
  animation-delay: 0.1s;
}

.drop-text span:nth-child(2) {
  animation-delay: 0.25s;
}

.drop-text span:nth-child(3) {
  animation-delay: 0.4s;
}

.drop-text span:nth-child(4) {
  animation-delay: 0.55s;
}

@keyframes dropIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.desc {
  color: #aaa;
  margin: 20px 0;
}

/* BUTTONS */
.btn {
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
}

.primary {
  background: var(--accent);
  color: #000;
}

.ghost {
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* ABOUT */


.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--accent);
  box-shadow: 0 0 25px rgba(255, 122, 162, 0.4);
}

.text {
  color: #aaa;
  margin: 20px 0;
}

.chips span {
  display: inline-block;
  margin: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* ABOUT GRID */
.about-grid {
  margin-top: 40px;
  display: grid;
  gap: 30px;
}

/* Card */
.about-card {
  padding: 25px;
  text-align: left;
}

/* Card heading */
.about-card h3 {
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--accent);
}

/* Items */
.about-item {
  margin-bottom: 18px;
}

.about-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.about-item p {
  font-size: 13px;
  color: #bbb;
}

.about-item span {
  font-size: 12px;
  color: #888;
}

.git-btn {
  margin-top: 5%;
}

/* PROJECT GRID */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

/* PROJECT CARD */
.project {
  position: relative;
  padding: 25px;
  text-align: left;
  overflow: hidden;
  transition: transform 0.35s ease;
}

/* Pink shaded fill */
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 122, 162, 0.18);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.project:hover::before {
  opacity: 1;
}

.project:hover {
  transform: translateY(-6px);
}

/* Keep content above overlay */
.project * {
  position: relative;
  z-index: 1;
}

/* TEXT */
.project h3 {
  margin-bottom: 8px;
}

.project p {
  font-size: 14px;
  color: #bbb;
}

/* TAGS */
.tags {
  margin-top: 10px;
}

.tags span {
  font-size: 11px;
  background: var(--accent);
  color: #000;
  padding: 4px 10px;
  border-radius: 12px;
  margin-right: 6px;
}

/* LINKS */
.project-links {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.project-links a {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-links a:hover {
  background: var(--accent);
  color: #000;
}

/* CONTACT SECTION */
.contact-subtitle {
  color: #aaa;
  margin: 15px 0 40px;
}

.contact-wrapper {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

/* CONTACT INFO */
.contact-info {
  display: grid;
  gap: 15px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

/* SOCIAL ICONS – CONTACT SECTION */
.contact .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 12px;
}

/* Anchor */
.contact .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all 0.35s ease;
  color: inherit;
}

/* Icon */
.contact .faicon {
  font-size: 22px;
  color: var(--accent);
  transition: all 0.35s ease;
}

/* Hover Effects */
.contact .social-icons a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.contact .social-icons a:hover .faicon {
  color: #000;
  transform: scale(1.15);
}

/* LIGHT MODE SUPPORT */
body.light .contact .social-icons a {
  background: rgba(0, 0, 0, 0.06);
}

body.light .contact .faicon {
  color: #444;
}

body.light .contact .social-icons a:hover {
  background: var(--accent);
}

/* FORM */
.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent);
}

/* FOOTER */
footer {
  margin-top: 80px;
  padding: 25px 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: #4e4b4b;
  text-align: center;
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    text-align: center;
  }

  .git-btn {
    margin-top: 11%;
  }

  .section {
    padding: 135px 6%;
  }

  .drop-text {
    font-size: 32px;
  }

  .desc {
    font-size: 14px;
  }
}

/* DESKTOP */
@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .drop-text span {
    font-size: 30px;
  }

  .nav {
    padding: 12px 16px;
  }

  .menu-btn {
    display: block;
    color: white;
  }

  .nav nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    /* background: rgba(11, 11, 15, 0.95); */
     background-color: var(--accent);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-radius: 14px;
  }

  .nav nav a,
  .nav nav button {
    margin: 10px 0;
    font-size: 16px;
    color: white;
   
  }

  .nav nav.active {
    display: flex;
  }

  
}
