:root {
      --bg-color: #f5ecff;
      --text-color: #333;
      --nav-link-hover: #e0c8ff;
      --circle-bg: linear-gradient(to right, #8a2be2, #d633ff);
      --gradient-text: linear-gradient(to right, #3454ff, #bb00ff);
      --icon-bg: #f1f1f1;
      --clr-primary: #0e48fe;
  --clr-primary-hover: #29e6a7;
  --clr-primary-dark: #039d69;
  --clr-gray100: #f9fbff;
  --clr-gray150: #f4f6fb;
  --clr-gray200: #eef1f6;
  --clr-gray300: #e1e5ee;
  --clr-gray400: #767b91;
  --clr-gray500: #4f546c;
  --clr-gray600: #2a324b;
  --clr-gray700: #161d34;
  --clr-notification-hover: #ffebeb;
  --clr-notification: #ffc2c2;
  --clr-notification-dark: #e00000;
  --radius: 0.2rem;
    }

    body.dark {
      --bg-color: #181818;
      --text-color: #f5f5f5;
      --nav-link-hover: #333;
      --icon-bg: #2a2a2a;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
      
    }
html {
  font-size: 16px; /* Controls rem units */
  -webkit-text-size-adjust: 100%; /* Prevent iOS text resizing */
  scroll-behavior: smooth;
}
 body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  text-align: center;
  transition: background 0.4s ease, color 0.4s ease;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Decorative blurred circles (responsive) */
body::before,
body::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(80px);
  opacity: 0.5;
}

/* Top-left glow */
body::before {
  top: -120px;
  left: -120px;
  background: var(--circle-bg);
}

/* Bottom-right glow */
body::after {
  bottom: -100px;
  right: -120px;
  background: var(--circle-bg);
}

/* Responsive tweak for small screens */
@media (max-width: 768px) {
  body::before,
  body::after {
    width: 180px;
    height: 180px;
    filter: blur(60px);
    overflow-x: hidden;
  }
}

 header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.right-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-color);
}

.hamburger {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  display: block; /* Always show for now, or use media query */
}
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}


    nav.nav-links {
      display: flex;
      gap: 1.5rem;
      align-items: center;
    }

    nav.nav-links a {
      text-decoration: none;
      color: var(--text-color);
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-radius: 10px;
      transition: background 0.3s ease;
    }

    nav.nav-links a.active,
    nav.nav-links a:hover {
      background-color: var(--nav-link-hover);
    }

    .circle {
      margin: 2rem auto;
      width: 25rem;
      height: 25rem;
      border-radius: 50%;
      background: var(--circle-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      animation: bounce 2s infinite;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    #imgs {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    @keyframes bounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }

    h1 {
      font-size: 2.5rem;
      background: var(--gradient-text);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 700;
      margin: 1rem 0;
    }

    h2 {
      font-size: 1.2rem;
      opacity: 0.8;
    }

    p {
      max-width: 600px;
      margin: 1rem auto;
      opacity: 0.7;
    }

    .social-icons {
      margin: 1.5rem 0;
    }

    .social-icons a {
      background: var(--icon-bg);
      border-radius: 50%;
      padding: 0.7rem;
      margin: 0 0.5rem;
      display: inline-block;
      transition: transform 0.3s ease;
      font-size: 1.2rem;
      color: var(--text-color);
    }

    .social-icons a:hover {
      transform: scale(1.2);
      background: var(--nav-link-hover);
    }

    .buttons {
      margin-top: 2rem;
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .buttons button {
      padding: 0.8rem 1.5rem;
      border: none;
      border-radius: 25px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .view-work {
      background: linear-gradient(to right, #3454ff, #bb00ff);
      color: white;
    }

    .get-in-touch {
      background: white;
      border: 2px solid var(--text-color);
      color: var(--text-color);
    }

    .buttons button:hover {
      opacity: 0.9;
      transform: translateY(-2px);
    }

    .scroll-down {
      margin-top: 3rem;
      font-size: 2rem;
      animation: bounce 2s infinite;
    }

    .container {
      max-width: 1000px;
      margin: auto;
      text-align: center;
    }

    .title {
      color: #7c4dff;
      margin-bottom: 10px;
      font-size: 32px;
      font-weight: 700;
    }

    .timeline {
      position: relative;
      margin: 3rem auto;
      padding-left: 40px;
      max-width: 1000px;
      text-align: left;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 20px;
      top: 0;
      width: 4px;
      height: 100%;
      background-color: #b39ddb;
    }

    .entry {
      position: relative;
      background: #f4f4f4;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      padding: 1rem 1.5rem;
      margin: 2rem 0;
      margin-left: 40px;
    }

    .entry::before {
      content: "";
      position: absolute;
      left: -30px;
      top: 20px;
      width: 16px;
      height: 16px;
      background: #7c4dff;
      border-radius: 50%;
      border: 3px solid #fff;
    }

    .entry h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .entry span.institute {
      font-size: 0.95rem;
      color: #7c4dff;
    }

    .entry span.year {
      display: block;
      font-size: 0.85rem;
      color: #888;
      margin: 4px 0;
    }

    .entry p {
      font-size: 0.95rem;
      color: #444;
    }

    @media (max-width: 768px) {
      header {
        flex-direction: column;
        align-items: flex-start;
      }

      .left-header {
        width: 100%;
        justify-content: space-between;
        display: flex;
      }

      .hamburger {
        display: block;
      }

      nav.nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        display: none;
        margin-top: 1rem;
      }

      nav.nav-links.show {
        display: flex;
      }

      nav.nav-links a {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: left;
      }

      .circle {
        width: 15rem;
        height: 15rem;
      }

      .buttons button {
        width: 100%;
        max-width: 200px;
      }

      h1 {
        font-size: 2rem;
      }

      .timeline {
        padding-left: 20px;
      }

      .entry {
        margin-left: 20px;
      }

      .entry::before {
        left: -20px;
      }
    }
    .about {
  padding: 4rem 1rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  animation: fadeIn 1s ease-in-out;
}

.about-container {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.about-image img {
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: floatImage 3s ease-in-out infinite;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  opacity: 0.8;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tags span {
  background: var(--nav-link-hover);
  color: var(--text-color);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.skill-tags span:hover {
  background: #a770ff;
  color: #fff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 250px;
  }
}
.education {
  max-width: 1440px;
  margin: 100px auto;
  padding: 0 40px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4c6ef5, #a04de1);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  margin-top: 10px;
  color: #666;
  font-size: 1rem;
  margin-bottom: 50px;
}

.edu-card {
  background: white;
  border-radius: 18px;
  display: flex;
  gap: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
  align-items: flex-start;
  transition: transform 0.3s;
}

.edu-card:hover {
  transform: translateY(-4px);
}

.edu-icon {
  min-width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4c6ef5, #a04de1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
}

.edu-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.edu-school {
  display: block;
  font-weight: 500;
  color: #3366ff;
  margin-bottom: 10px;
  text-decoration: none;
}

.edu-meta {
  font-size: 0.95rem;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.edu-meta .gpa {
  background: #d4f4d4;
  color: #0a4;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

.edu-content p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .edu-card {
    flex-direction: column;
    text-align: left;
  }

  .edu-icon {
    margin-bottom: 10px;
  }
}
.projects {
  max-width: 1440px;
  margin: 100px auto;
  padding: 0 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-image {
  position: relative;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #22c55e;
  color: #fff;
  padding: 4px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: 600;
}

.badge.green {
  background: #22c55e;
}

.project-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.project-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: #eef2ff;
  color: #3366ff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 15px;
  margin-top: auto;
}

.btn-outline, .btn-primary {
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  background:var(--circle-bg) ;
  color: white;
}

.btn-primary {
  background: #2563eb;
  color: white;
}
.contact {
  max-width: 100%;
  margin: 6.25rem auto;
  padding: 0 1.5rem;
  background: none;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  justify-content: center;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 300px;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-card {
  background: white;
  border-radius: 1.875rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.03);
}

.contact-card .icon {
  font-size: 1.5rem;
  color: white;
  background: linear-gradient(135deg, #5b4de1, #a04de1);
  padding: 0.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  flex: 1 1 350px;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  outline: none;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5b4de1;
}

.contact-form button {
  margin-top: 0.625rem;
  background: linear-gradient(to right, #4c6ef5, #a04de1);
  border: none;
  color: white;
  font-size: 1rem;
  padding: 0.875rem 1.25rem;
  border-radius: 0.625rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(to right, #4338ca, #9333ea);
}
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    margin-left: 2rem;
  }

  .contact-form,
  .contact-info {
    width: 120%;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 0 1rem;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .contact-info {
    text-align: center;
    width: 100%;
  }

  .contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    margin: 1rem 0;
  }

  .contact-card .icon {
    padding: 0.75rem;
    margin: 0 auto; /* Remove margin-left */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-form {
    padding: 1.25rem;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    width: 100%;
  }

  .contact-form button {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    width: 100%;
  }
}

.footer {
 
  color: var(--gradient-text);
  padding: 3rem 1rem 1rem;
  text-align: center;
  border: 2px solid  #9333ea;
  border-radius: 7rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-brand h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color:var(--gradient-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
}

.footer-links a:hover {
  color: #d1c4e9;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--circle-bg);
  font-size: 2.5rem;
  transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2);
  color:var(--gradient-text);
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer{
    border: 2px solid #9333ea;
    border-radius: 4rem;

  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
.thank-you-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  display: none;
  z-index: 1001;
  animation: fadeIn 0.4s ease-in-out;
}

.notification__success {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: #155724;
  vertical-align: middle;
}

.thank-you-show {
  display: flex;
  align-items: center;
}
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  margin: 30px 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #7e34f3, #bb00ff);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.back-button i {
  font-size: 1.1rem;
}
.resume-window {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: 80%;
  max-width: 800px;
  height: 500px;
  background: #ffffff;
  border: 2px solid #7e34f3;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
  animation: openWindow 0.4s ease forwards;
}

.resume-window iframe {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  border: none;
}

.window-header {
  background: linear-gradient(135deg, #7e34f3, #bb00ff);
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.window-header button {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

@keyframes openWindow {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.7);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}
