/* Global Styles */
html{
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

/* Home Section Fix */
#home {
  padding-top: 80px;  /* equal to navbar height */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop bigger screens */
@media (min-width: 769px) {
  #home {
    padding-top: 100px; /* little more gap if needed */
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  #home {
    padding-top: 70px; /* navbar small height on phones */
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }
}



body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #121212;
  color: #eaeaea;
  scroll-behavior: smooth;
  /* padding: 3rem 1rem; */
}

/* styles.css la podu */
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
  overflow: hidden;
}

/* Remove background and box styling on hover */
.nav-link:hover {
  /* color: #ef4444; Red color to match your theme */
  background: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Add bottom line effect */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ef4444, #dc2626);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before {
  width: 100%;
}

/* Active state with line */
.nav-link.active {
  color: #ef4444;
}

.nav-link.active::before {
  width: 100%;
}

/* Sticky Navbar Blur -----------------------------------------------------------*/
nav {
  backdrop-filter: blur(12px);
}

 /* MAIN FIX: About Me Heading Centered */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: rgba(0,0,0,0.8);
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* Buttons */
        .button-container {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
            animation: slideInUp 1.5s ease-out 0.6s both;
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
            border: none;
        }

        .btn-primary:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 35px rgba(239, 68, 68, 0.5);
            background: linear-gradient(135deg, #dc2626, #b91c1c);
        }

        .btn-secondary {
            border: 2px solid #ef4444;
            color: #ef4444;
            background: transparent;
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: #ef4444;
            color: white;
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 15px 35px rgba(239, 68, 68, 0.4);
        }

 @media (max-width: 768px) {

.button-container {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }

            .btn {
                width: 100%;
                max-width: 250px;
                padding: 0.8rem 1.5rem;
            }

            .profile-image-container {
                width: 250px;
                height: 320px;
            }
@media (max-width: 480px) {

.btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.8rem;
            }
        }

          }

/* Mobile responsive - Image above text */
@media (max-width: 768px) {
    #home .flex {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
        align-items: center;
    }

#home{
    height: 100vh
}

    #home .max-w-xl {
        max-width: 100%;
        text-align: center;
        order: 2;
    }
    
    #home .mt-10 {
        order: 1;
        margin-top: 0;
        margin-left: 0;
    }
    
    #home img {
        width: 200px;
        height: 200px;
        border-radius: 50% !important;
        object-fit: cover;
        margin: 0 auto;
        border: 4px solid #ef4444;
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
        transition: all 0.4s ease;
        animation: profileFloat 3s ease-in-out infinite;
    }
    
    #home img:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.8);
        border-color: #ffd93d;
    }

    #home {
        padding: 3rem 1rem;
    }
    
    .font-size-1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
}

/* Desktop/Tablet - Circular image with animation */
@media (min-width: 769px) {
    #home img {
        width: 280px;
        height: 280px;
        border-radius: 50% !important;
        object-fit: cover;
        border: 4px solid #ef4444;
        box-shadow: 0 0 25px rgba(239, 68, 68, 0.4);
        transition: all 0.4s ease;
        animation: profileFloat 4s ease-in-out infinite;
    }
    
    #home img:hover {
        transform: scale(1.05) rotate(-5deg);
        box-shadow: 0 0 35px rgba(239, 68, 68, 0.7);
        border-color: #ffd93d;
    }
}

/* Floating animation for profile image */
@keyframes profileFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}



/* .nav-links a:hover,
.nav-links a.active { background: #ff6600; } */


/* styles.css */

/* About Section -------------------------------------------------------------------------------*/
/* About Section */
    #about {
      min-height: 100vh;
      padding: 5rem 2rem;
      /* background: #121212; */
    }

    /* MAIN FIX: About Me Heading Centered */
    .about-main-heading {
      text-align: center;
      font-size: 3rem;
      font-weight: bold;
      color: white;
      margin-bottom: 4rem;
      width: 100%;
    }






    .about-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 4rem;
      align-items: start;
    }

    /* Left Side - Profile Card */
    .about-left {
      position: sticky;
      top: 100px;
    }

    .profile-card {
      background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
      padding: 3rem 2rem;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      border: 1px solid rgba(255,255,255,0.1);
      position: relative;
    }

  


    /* Profile Photo */
    .profile-photo {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid #4ecdc4;
      margin: 0 auto 2rem auto;
      display: block;
      box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
      transition: all 0.3s ease;
    }

    .profile-photo:hover {
      transform: scale(1.1);
      box-shadow: 0 12px 35px rgba(78, 205, 196, 0.5);
    }

    .name {
      font-size: 2.5rem;
      font-weight: 800;
      color: white;
      margin-bottom: 0.5rem;
      letter-spacing: 2px;
    }

    .title {
      color: #4ecdc4;
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .description {
      color: #b3b3b3;
      line-height: 1.6;
      font-size: 0.95rem;
    }

    /* Right Side Content */
    .about-right {
      display: flex;
      flex-direction: column;
      gap: 3rem;
    }

    /* About Me Content */
    .about-content h2 {
      font-size: 2.5rem;
      font-weight: bold;
      color: white;
      margin-bottom: 1.5rem;
    }

    .about-content p {
      color: #b3b3b3;
      line-height: 1.7;
      font-size: 1.1rem;
    }

    /* Skills Section */
   /* Skills Section */
.skills-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem; /* Underline-க்கு இடம் கொடுக்க இந்த margin-ஐ மாற்றியுள்ளேன் */
  position: relative;
}

.skills-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px; /* Underline-ன் நீளம் */
  height: 3px; /* Underline-ன் தடிமன் */
  background: linear-gradient(90deg, #667eea, #764ba2); /* Underline-ன் நிறம் */
  border-radius: 2px;
}

    .skills-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .skill-tag {
      padding: 0.75rem 1.5rem;
      border-radius: 25px;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .skill-tag.python { background: linear-gradient(135deg, #3776ab, #ffd43b); color: white; }
    .skill-tag.html { background: linear-gradient(135deg, #e34c26, #f06529); color: white; }
    .skill-tag.css { background: linear-gradient(135deg, #1572b6, #33a9dc); color: white; }
    .skill-tag.mysql { background: linear-gradient(135deg, #00758f, #f29111); color: white; }
    .skill-tag.webdesign { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
    .skill-tag.graphic { background: linear-gradient(135deg, #f093fb, #f5576c); color: white; }

    .skill-tag:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

    /* Education Section ---------------------------------------------------------------------*/
    /* Education Section Styles */
.about-container {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.education-section {
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

.education-section h3 {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}

.education-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px; /* gap underline ku */
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #86198f, #a21caf, #d946ef);
}




.education-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.education-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

/* Education Card */
.education-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.education-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
  border-color: rgba(255, 107, 107, 0.3);
}

/* College Logo */
.college-logo {
  flex-shrink: 0;
  position: relative;
}

.logo-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.education-card:hover .logo-img {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* College Info */
.college-info {
  text-align: left;
  flex: 1;
}

.college-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.degree {
  font-size: 1rem;
  color: #b3b3b3;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.cgpa {
  font-size: 0.9rem;
  color: #888;
  font-weight: 400;
}

.cgpa-score {
  color: #4ecdc4;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .education-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .college-info {
    text-align: center;
  }
  
  .college-name {
    font-size: 1.1rem;
  }
  
  .logo-img {
    width: 70px;
    height: 70px;
  }
}
    


/* Contact Section */
    
        .main-title {
            text-align: center;
            margin-bottom: 20px;
            animation: fadeInDown 1s ease-out;
        }

        .main-title h1 {
            font-size: 4rem;
            font-weight: 700;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
        }

        .main-title .subtitle {
            font-size: 1.2rem;
            color: #888;
            font-style: italic;
        }

        .main-title .subtitle::before,
        .main-title .subtitle::after {
            content: '"';
            color: #ff6b35;
            font-weight: bold;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .contact-container {
            background: #1a1a1a;
            border-radius: 20px;
            padding: 40px;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            border: 1px solid #333;
            animation: slideIn 1s ease-out 0.3s both;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .left-section {
            animation: slideInLeft 1s ease-out 0.5s both;
        }

        .right-section {
            animation: slideInRight 1s ease-out 0.7s both;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .section-title {
            color: #fff;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 30px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #ff6b35, #f7931e);
            border-radius: 2px;
            animation: expandLine 1.5s ease-out 1.2s both;
        }

        @keyframes expandLine {
            from {
                width: 0;
            }
            to {
                width: 60px;
            }
        }

        .contact-info {
            margin-bottom: 40px;
        }

        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 20px;
            background: #2a2a2a;
            border-radius: 15px;
            transition: all 0.3s ease;
            border: 1px solid #333;
            animation: fadeInUp 0.6s ease-out var(--delay) both;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .info-item:nth-child(1) { --delay: 0.9s; }
        .info-item:nth-child(2) { --delay: 1.1s; }
        .info-item:nth-child(3) { --delay: 1.3s; }

        .info-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
            transition: left 0.5s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .info-item:hover {
            background: #333;
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
        }

        .info-item:hover::before {
            left: 100%;
        }

        .info-item.clickable:hover {
            border-color: #ff6b35;
        }

        .info-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            transition: all 0.3s ease;
        }

        .info-icon svg {
            width: 24px;
            height: 24px;
            fill: #fff;
        }

        .info-item:hover .info-icon {
            transform: scale(1.1);
        }

        .info-text {
            color: #fff;
            font-size: 1.1rem;
        }

        .info-label {
            font-weight: 600;
            margin-bottom: 5px;
            color: #ff6b35;
            display: block;
        }

        .info-value {
            color: #ccc;
        }

        .info-item.clickable .info-value {
            color: #efeceb;
        
        }

        .info-item.clickable .info-value {
            color: #efeceb;
            transition: color 0.3s ease; /* smooth effect */
        }

        .info-item.clickable .info-value:hover {
            color: #ff9800; /* hover la varanum nu new color */
            cursor: pointer; /* cursor pointer add pannum */
        }


        .social-section h3 {
            color: #fff;
            font-size: 1.5rem;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .social-links {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            animation: bounceIn 0.8s ease-out var(--social-delay) both;
        }

        .social-icon:nth-child(1) { --social-delay: 1.4s; }
        .social-icon:nth-child(2) { --social-delay: 1.5s; }
        .social-icon:nth-child(3) { --social-delay: 1.6s; }
        .social-icon:nth-child(4) { --social-delay: 1.7s; }

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        .social-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            transition: all 0.3s ease;
            z-index: 1;
            background: #333;
        }

        .social-icon svg {
            width: 24px;
            height: 24px;
            z-index: 2;
            position: relative;
            transition: all 0.3s ease;
            fill: #fff;
        }

        .social-icon.linkedin:hover::before {
            background: #0077b5;
        }

        .social-icon.linkedin:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 30px rgba(0, 119, 181, 0.4);
        }

        .social-icon.github:hover::before {
            background: #000000;
        }

        .social-icon.github:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 30px rgba(51, 51, 51, 0.4);
        }

        .social-icon.instagram:hover::before {
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        }

        .social-icon.instagram:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 30px rgba(225, 48, 108, 0.4);
        }

        .social-icon.twitter:hover::before {
            background: #000;
        }

        .social-icon.twitter:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }

        .contact-form {
            display: grid;
            gap: 25px;
        }

        .form-group {
            position: relative;
            animation: slideInUp 0.6s ease-out var(--form-delay) both;
        }

        .form-group:nth-child(1) { --form-delay: 0.9s; }
        .form-group:nth-child(2) { --form-delay: 1s; }
        .form-group:nth-child(3) { --form-delay: 1.1s; }
        .form-group:nth-child(4) { --form-delay: 1.2s; }
        .form-group:nth-child(5) { --form-delay: 1.3s; }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 20px;
            background: #2a2a2a;
            border: 2px solid #333;
            border-radius: 10px;
            color: #fff;
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-label {
            position: absolute;
            left: 20px;
            top: 20px;
            color: #888;
            font-size: 1rem;
            transition: all 0.3s ease;
            pointer-events: none;
            background: #2a2a2a;
            padding: 0 5px;
        }

        .form-input:focus,
        .form-textarea:focus,
        .form-input.has-content,
        .form-textarea.has-content {
            border-color: #ff6b35;
            background: #333;
        }

        .form-input:focus + .form-label,
        .form-textarea:focus + .form-label,
        .form-input.has-content + .form-label,
        .form-textarea.has-content + .form-label {
            top: -10px;
            font-size: 0.9rem;
            color: #ff6b35;
            background: #1a1a1a;
        }

        .form-textarea {
            resize: vertical;
            min-height: 120px;
            font-family: inherit;
        }

        .form-textarea + .form-label {
            top: 20px;
        }

        .form-error {
            color: #ff4757;
            font-size: 0.9rem;
            margin-top: 5px;
            display: none;
            animation: shake 0.5s ease-in-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .form-group.error .form-input,
        .form-group.error .form-textarea {
            border-color: #ff4757;
            animation: shake 0.5s ease-in-out;
        }

        .form-group.error .form-error {
            display: block;
        }

        .submit-btn {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            border: none;
            padding: 18px 40px;
            border-radius: 50px;
            color: #fff;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
            transition: left 0.5s ease;
            z-index: 1;
        }

        .submit-btn span {
            position: relative;
            z-index: 2;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
        }

        .submit-btn:hover::before {
            left: 0;
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        @media (max-width: 768px) {
            .main-title h1 {
                font-size: 2.5rem;
            }

            .contact-container {
                grid-template-columns: 1fr;
                gap: 40px;
                padding: 30px 20px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .social-links {
                justify-content: center;
            }
        }



/* Projects Section ---------------------------------------------------------------------*/
        /* Projects Section - Fixed */
               #projects {
            padding: 6rem 2rem;
            /* background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%); */
            position: relative;
            overflow: hidden;
        }

        .projects-header .projects-subtitle {
            font-size: 1.2rem;
            color: #888;
            font-style: italic;
        }

        .projects-header .projects-subtitle::before,
        .projects-header .projects-subtitle::after {
            content: '"';
            color: #ff6b35;
            font-weight: bold;
        }

        #projects::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%); */
            pointer-events: none;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        /* Section Header */
        .projects-header {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

        .projects-title {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 800;
            background: linear-gradient(135deg, #8b5cf6, #06b6d4, #10b981);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
            position: relative;
        }

        .projects-subtitle {
            font-size: 1.2rem;
            color: #9ca3af;
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        /* Projects Grid */
        .projects-grid {
            display: grid;
            gap: 2.5rem;
            grid-template-columns: 1fr;
            margin-top: 2rem;
        }

        /* Enhanced Project Card */
        .project-card {
            background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981);
            transform: scaleX(0);
            transition: transform 0.5s ease;
            transform-origin: left;
        }

        .project-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2);
            border-color: rgba(139, 92, 246, 0.3);
        }

        .project-card:hover::before {
            transform: scaleX(1);
        }

        /* Project Image */
        .project-image {
            width: 100%;
            height: 250px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image img {
            transform: scale(1.1);
        }

        /* Different gradient backgrounds for projects */
        .project-card:nth-child(1) .project-image {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .project-card:nth-child(2) .project-image {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
        .project-card:nth-child(3) .project-image {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        }
        .project-card:nth-child(4) .project-image {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        }
        .project-card:nth-child(5) .project-image {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        }
        .project-card:nth-child(6) .project-image {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
        }

        /* Project Image Container */
.project-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0; /* Rounded top corners */
}

/* Project Image */
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

/* Image zoom effect on hover */
.project-card:hover .project-image img {
    transform: scale(1.1);
}

        /* Project Content */
        .project-content {
            padding: 2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .project-category {
            color: #8b5cf6;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .project-card h3 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: white;
            line-height: 1.3;
            transition: color 0.3s ease;
        }

        .project-card:hover h3 {
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .project-card p {
            color: #b3b3b3;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            font-size: 1rem;
            flex: 1;
        }

        /* Tech Stack */
        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 2rem;
        }

        .tech-tag {
            background: rgba(139, 92, 246, 0.1);
            color: #8b5cf6;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.85rem;
            font-weight: 600;
            border: 1px solid rgba(139, 92, 246, 0.2);
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: rgba(139, 92, 246, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
        }

        /* Project Links */
        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: auto;
        }

        .project-link {
            flex: 1;
            padding: 0.8rem 1.5rem;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .project-link.primary {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
            border: none;
        }

        .project-link.secondary {
            background: transparent;
            color: #8b5cf6;
            border: 2px solid #8b5cf6;
        }

        .project-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .project-link:hover::before {
            left: 100%;
        }

        .project-link.primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
            background: linear-gradient(135deg, #7c3aed, #6d28d9);
        }

        .project-link.secondary:hover {
            background: #8b5cf6;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
        }

        /* Responsive Grid */
        @media (min-width: 768px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 3rem;
            }
        }

        @media (min-width: 1200px) {
            .projects-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 3rem;
            }
        }

        /* Mobile Optimizations */
        @media (max-width: 767px) {
            #projects {
                padding: 4rem 1rem;
            }

            .project-content {
                padding: 1.5rem;
            }

            .project-links {
                flex-direction: column;
            }

            .project-image {
                height: 200px;
            }
        }

        /* Loading Animation */
        .project-card {
            opacity: 0;
            transform: translateY(30px);
            animation: slideInUp 0.6s ease forwards;
        }

        .project-card:nth-child(1) { animation-delay: 0.1s; }
        .project-card:nth-child(2) { animation-delay: 0.2s; }
        .project-card:nth-child(3) { animation-delay: 0.3s; }
        .project-card:nth-child(4) { animation-delay: 0.4s; }
        .project-card:nth-child(5) { animation-delay: 0.5s; }
        .project-card:nth-child(6) { animation-delay: 0.6s; }

        @keyframes slideInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Project Status Badge */
        .project-status {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(16, 185, 129, 0.9);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            backdrop-filter: blur(10px);
        }

        .project-status.in-progress {
            background: rgba(245, 158, 11, 0.9);
        }

        .project-status.completed {
            background: rgba(16, 185, 129, 0.9);
        }
/* Mobile Menu - Right side dropdown ---------------------------------------*/
#mobileMenu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 200px;
  max-height: 0;
  transition: max-height 0.4s ease-in-out;
  overflow: hidden;
  background: #1f1f1f;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999;
  
}
/* Navigation Hover Animation */
nav ul li a {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Hover effect - orange background with smooth fade */
nav ul li a:hover {
  background: red;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}



/* Mobile menu hover */
#mobileMenu ul {
  padding: 10px 0;
}

#mobileMenu ul li a {
  display: block;
  padding: 12px 20px;
  border-radius: 0;
  transition: all 0.3s ease;
  text-align: center;
}

#mobileMenu ul li a:hover {
  background: red;
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
  text-align: center;
}

/* ---------------------------------------------------------------------------- */

/* Education Section Styles */
/* About Section - Left Right Layout */
#about {
  min-height: 100vh;
  padding: 5rem 2rem;
  /* background: #121212; */
}


  
.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

/* Left Side - Profile Card */
.about-left {
  position: sticky;
  top: 100px;
}

.profile-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

/* Profile Photo */
.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #4ecdc4;
  margin: 0 auto 2rem auto;
  display: block;
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
  transition: all 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(78, 205, 196, 0.5);
}

.name {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.title {
  color: #4ecdc4;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.description {
  color: #b3b3b3;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Right Side Content */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* About Me Content -----------------------------------------------------------------------*/
.about-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: #b3b3b3;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Skills Section */
.skills-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tag {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-tag.python { background: linear-gradient(135deg, #3776ab, #ffd43b); color: white; }
.skill-tag.html { background: linear-gradient(135deg, #e34c26, #f06529); color: white; }
.skill-tag.css { background: linear-gradient(135deg, #1572b6, #33a9dc); color: white; }
.skill-tag.mysql { background: linear-gradient(135deg, #00758f, #f29111); color: white; }
.skill-tag.webdesign { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
.skill-tag.graphic { background: linear-gradient(135deg, #f093fb, #f5576c); color: white; }

.skill-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Education Section */
.education-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem;

}



.education-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.college-info {
  flex: 1;
}

.college-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff6b6b;
  margin-bottom: 0.25rem;
}

.degree {
  font-size: 0.9rem;
  color: #b3b3b3;
  margin-bottom: 0.25rem;
}

.cgpa {
  font-size: 0.85rem;
  color: #888;
}

.cgpa-score {
  color: #4ecdc4;
  font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-left {
    position: static;
  }
  
  .profile-card {
    padding: 2rem 1.5rem;
  }
  
  .name {
    font-size: 2rem;
  }
  
  .about-content h2 {
    font-size: 2rem;
  }
  
  .education-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* .............................................................................. */

/* Internship Section Styles */
.internship-section {
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.7s;
}

.internship-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem;
  position: relative;
}

.internship-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: 2px;
}

/* Internship Card */
.internship-card {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

/* Animated gradient border effect */
.internship-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.4), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.internship-card:hover::before {
  left: 100%;
}

.internship-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Company Logo */
.company-logo {
  flex-shrink: 0;
  position: relative;
}

.company-logo .logo-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
}

.internship-card:hover .company-logo .logo-img {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
  border-color: rgba(16, 185, 129, 0.6);
}

/* Internship Info */
.internship-info {
  flex: 1;
  text-align: left;
}

.company-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.internship-card:hover .company-name {
  transform: translateX(5px);
}

.internship-role {
  font-size: 1.1rem;
  color: #e5e7eb;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.internship-duration {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Internship Skills */
.internship-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.internship-skill {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.internship-card:hover .internship-skill {
  background: rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
}

/* Completion Badge */
.internship-badge {
  flex-shrink: 0;
  position: relative;
}

.completion-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.completion-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.internship-card:hover .completion-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.internship-card:hover .completion-badge::before {
  left: 100%;
}

/* Pulse Animation for Badge */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.6);
  }
}

.completion-badge {
  animation: pulse 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .internship-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .internship-info {
    text-align: center;
  }
  
  .company-name {
    font-size: 1.1rem;
  }
  
  .company-logo .logo-img {
    width: 70px;
    height: 70px;
  }
  
  .internship-skills {
    justify-content: center;
  }
  
  .completion-badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}

/* Fade in up animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------- */





/* ----------------------------------------------------------------------------------------- */

/* Typewriter Effect Styles */
.subtitle-container {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: #b3b3b3;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.5s ease-out 0.6s both;
    font-weight: 400;
    letter-spacing: 0.5px;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.typewriter-text {
    color: #ef4444;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.cursor {
    color: #ef4444;
    font-weight: bold;
    margin-left: 2px;
    animation: blink 1.06s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Add this mobile responsive code after your existing home section styles */

@media (max-width: 768px) {
    #home .flex {
        flex-direction: column-reverse !important;
        text-align: center;
        gap: 2rem;
    }
    
    #home .max-w-xl {
        max-width: 100%;
        text-align: center;
    }
    
    #home img {
        width: 200px;
        margin: 0 auto;
    }
    
    .font-size-1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .subtitle-container {
        justify-content: center;
        text-align: center;
    }
    
    .button-container {
        justify-content: center;
        margin-top: 1.5rem;
    }
}


        /* Certificate Section Styles ----------------------------------------------------*/
        .certificate-section {
            margin-top: 3rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards;
            animation-delay: 0.9s;
        }

        .certificate-section h3 {
            font-size: 1.8rem;
            font-weight: 600;
            color: white;
            margin-bottom: 2rem;
            position: relative;
        }

        .certificate-section h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #f59e0b, #d97706);
            border-radius: 2px;
        }

        /* Certificate Card */
        .certificate-card {
            background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        /* Animated gradient border effect */
        .certificate-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
            transition: left 0.5s ease;
            pointer-events: none;
        }

        .certificate-card:hover::before {
            left: 100%;
        }

        .certificate-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(245, 158, 11, 0.25);
            border-color: rgba(245, 158, 11, 0.4);
        }

        /* Institute Logo */
        .institute-logo {
            flex-shrink: 0;
            position: relative;
        }

        .institute-logo .logo-img {
          width: 80px;
          height: 80px;
          border-radius: 12px;
          object-fit: cover;
          transition: all 0.4s ease;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
          border: 2px solid transparent;
      }

        .certificate-card:hover .institute-logo .logo-img {
            transform: rotate(5deg) scale(1.1);
            box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
            border-color: rgba(245, 158, 11, 0.6);
        }

        /* Certificate Info */
        .certificate-info {
            flex: 1;
            text-align: left;
        }

        .institute-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: all 0.3s ease;
        }

        .certificate-card:hover .institute-name {
            transform: translateX(5px);
        }

        .certificate-course {
            font-size: 1.1rem;
            color: #e5e7eb;
            margin-bottom: 0.25rem;
            font-weight: 600;
        }

        .certificate-status {
            font-size: 0.9rem;
            color: #9ca3af;
            margin-bottom: 1rem;
            font-style: italic;
        }

        /* Certificate Skills */
        .certificate-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .certificate-skill {
            background: rgba(245, 158, 11, 0.15);
            color: #f59e0b;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid rgba(245, 158, 11, 0.3);
            transition: all 0.3s ease;
        }

        .certificate-card:hover .certificate-skill {
            background: rgba(245, 158, 11, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(245, 158, 11, 0.2);
        }

        /* Certificate Badge */
        .certificate-badge {
            flex-shrink: 0;
            position: relative;
        }

        .completion-certificate-badge {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            padding: 0.75rem 1.25rem;
            border-radius: 25px;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .completion-certificate-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .certificate-card:hover .completion-certificate-badge {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
        }

        .certificate-card:hover .completion-certificate-badge::before {
            left: 100%;
        }

        /* Certificate Icon */
        .certificate-icon {
            font-size: 1.2rem;
            margin-right: 0.5rem;
        }

        /* Pulse Animation for Badge */
        @keyframes pulse-certificate {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
            }
            50% {
                box-shadow: 0 4px 25px rgba(245, 158, 11, 0.6);
            }
        }

        .completion-certificate-badge {
            animation: pulse-certificate 2s infinite;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .certificate-card {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem;
                gap: 1rem;
            }
            
            .certificate-info {
                text-align: center;
            }
            
            .institute-name {
                font-size: 1.1rem;
            }
            
            .institute-logo .logo-img {
                width: 70px;
                height: 70px;
            }
            
            .certificate-skills {
                justify-content: center;
            }
            
            .completion-certificate-badge {
                padding: 0.5rem 1rem;
                font-size: 0.75rem;
            }
        }

        /* Fade in up animation keyframes */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Demo Styling for the section container */
        .demo-container {
            background: #121212;
            padding: 2rem;
            min-height: 100vh;
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        .about-right {
            max-width: 800px;
            margin: 0 auto;
        }


        /* GUVI Certificate Section Styles */
        .guvi-certificate-section {
            margin-top: 3rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards;
            animation-delay: 1.1s;
        }

        .guvi-certificate-section h3 {
            font-size: 1.8rem;
            font-weight: 600;
            color: white;
            margin-bottom: 2rem;
            position: relative;
        }

        .guvi-certificate-section h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #1d4ed8);
            border-radius: 2px;
        }

        /* GUVI Certificate Card */
        .guvi-certificate-card {
            background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        /* Animated gradient border effect */
        .guvi-certificate-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
            transition: left 0.5s ease;
            pointer-events: none;
        }

        .guvi-certificate-card:hover::before {
            left: 100%;
        }

        .guvi-certificate-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25);
            border-color: rgba(59, 130, 246, 0.4);
        }

        /* GUVI Institute Logo */
        .guvi-institute-logo {
            flex-shrink: 0;
            position: relative;
        }

        .guvi-institute-logo .logo-img {
            width: 80px;
            height: 80px;
            border-radius: 12px;
            object-fit: cover;
            transition: all 0.4s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: 2px solid transparent;
        }

        .guvi-certificate-card:hover .guvi-institute-logo .logo-img {
            transform: rotate(5deg) scale(1.1);
            box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
            border-color: rgba(59, 130, 246, 0.6);
        }

        /* GUVI Certificate Info */
        .guvi-certificate-info {
            flex: 1;
            text-align: left;
        }

        .guvi-institute-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: all 0.3s ease;
        }

        .guvi-certificate-card:hover .guvi-institute-name {
            transform: translateX(5px);
        }

        .guvi-certificate-course {
            font-size: 1.1rem;
            color: #e5e7eb;
            margin-bottom: 0.25rem;
            font-weight: 600;
        }

        .guvi-certificate-status {
            font-size: 0.9rem;
            color: #9ca3af;
            margin-bottom: 1rem;
            font-style: italic;
        }

        /* GUVI Certificate Skills */
        .guvi-certificate-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .guvi-certificate-skill {
            background: rgba(59, 130, 246, 0.15);
            color: #3b82f6;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
        }

        .guvi-certificate-card:hover .guvi-certificate-skill {
            background: rgba(59, 130, 246, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
        }

        /* GUVI Certificate Badge */
        .guvi-certificate-badge {
            flex-shrink: 0;
            position: relative;
        }

        .guvi-completion-certificate-badge {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
            padding: 0.75rem 1.25rem;
            border-radius: 25px;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .guvi-completion-certificate-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .guvi-certificate-card:hover .guvi-completion-certificate-badge {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }

        .guvi-certificate-card:hover .guvi-completion-certificate-badge::before {
            left: 100%;
        }

        /* GUVI Certificate Icon */
        .guvi-certificate-icon {
            font-size: 1.2rem;
            margin-right: 0.5rem;
        }

        /* Pulse Animation for GUVI Badge */
        @keyframes pulse-guvi-certificate {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
            }
            50% {
                box-shadow: 0 4px 25px rgba(59, 130, 246, 0.6);
            }
        }

        .guvi-completion-certificate-badge {
            animation: pulse-guvi-certificate 2s infinite;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .guvi-certificate-card {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem;
                gap: 1rem;
            }
            
            .guvi-certificate-info {
                text-align: center;
            }
            
            .guvi-institute-name {
                font-size: 1.1rem;
            }
            
            .guvi-institute-logo .logo-img {
                width: 70px;
                height: 70px;
            }
            
            .guvi-certificate-skills {
                justify-content: center;
            }
            
            .guvi-completion-certificate-badge {
                padding: 0.5rem 1rem;
                font-size: 0.75rem;
            }
        }

        /* Fade in up animation keyframes */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

/* Forage Certificate Card */
        .forage-certificate-card {
            background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        /* Animated gradient border effect */
        .forage-certificate-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
            transition: left 0.5s ease;
            pointer-events: none;
        }

        .forage-certificate-card:hover::before {
            left: 100%;
        }

        .forage-certificate-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(139, 92, 246, 0.25);
            border-color: rgba(139, 92, 246, 0.4);
        }

        /* Forage Institute Logo */
        .forage-institute-logo {
            flex-shrink: 0;
            position: relative;
        }

        .forage-institute-logo .logo-img {
            width: 80px;
            height: 80px;
            border-radius: 12px;
            object-fit: cover;
            transition: all 0.4s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border: 2px solid transparent;
        }

        .forage-certificate-card:hover .forage-institute-logo .logo-img {
            transform: rotate(-5deg) scale(1.1);
            box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
            border-color: rgba(139, 92, 246, 0.6);
        }

        /* Forage Certificate Info */
        .forage-certificate-info {
            flex: 1;
            text-align: left;
        }

        .forage-institute-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #8b5cf6, #06b6d4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            transition: all 0.3s ease;
        }

        .forage-certificate-card:hover .forage-institute-name {
            transform: translateX(5px);
        }

        .forage-certificate-course {
            font-size: 1.1rem;
            color: #e5e7eb;
            margin-bottom: 0.25rem;
            font-weight: 600;
        }

        .forage-certificate-status {
            font-size: 0.9rem;
            color: #9ca3af;
            margin-bottom: 1rem;
            font-style: italic;
        }

        /* Partner Company Badge */
        .partner-company {
            display: inline-block;
            background: rgba(139, 92, 246, 0.1);
            color: #8b5cf6;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid rgba(139, 92, 246, 0.3);
            margin-bottom: 0.5rem;
        }

        /* Forage Certificate Skills */
        .forage-certificate-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .forage-certificate-skill {
            background: rgba(6, 182, 212, 0.15);
            color: #06b6d4;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid rgba(6, 182, 212, 0.3);
            transition: all 0.3s ease;
        }

        .forage-certificate-card:hover .forage-certificate-skill {
            background: rgba(6, 182, 212, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(6, 182, 212, 0.2);
        }

        /* Forage Certificate Badge */
        .forage-certificate-badge {
            flex-shrink: 0;
            position: relative;
        }

        .forage-completion-certificate-badge {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
            padding: 0.75rem 1.25rem;
            border-radius: 25px;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .forage-completion-certificate-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .forage-certificate-card:hover .forage-completion-certificate-badge {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
        }

        .forage-certificate-card:hover .forage-completion-certificate-badge::before {
            left: 100%;
        }

        /* Forage Certificate Icon */
        .forage-certificate-icon {
            font-size: 1.2rem;
            margin-right: 0.5rem;
        }

        /* Pulse Animation for Forage Badge */
        @keyframes pulse-forage-certificate {
            0%, 100% {
                box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
            }
            50% {
                box-shadow: 0 4px 25px rgba(139, 92, 246, 0.6);
            }
        }

        .forage-completion-certificate-badge {
            animation: pulse-forage-certificate 2s infinite;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .forage-certificate-card {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem;
                gap: 1rem;
            }
            
            .forage-certificate-info {
                text-align: center;
            }
            
            .forage-institute-name {
                font-size: 1.1rem;
            }
            
            .forage-institute-logo .logo-img {
                width: 70px;
                height: 70px;
            }
            
            .forage-certificate-skills {
                justify-content: center;
            }
            
            .forage-completion-certificate-badge {
                padding: 0.5rem 1rem;
                font-size: 0.75rem;
            }
        }

        /* Fade in up animation keyframes */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Special styling for company partnership */
        .company-partnership {
          background: linear-gradient(135deg, #86198f, #a21caf);
          color: white;
          padding: clamp(0.15rem, 1vw, 0.3rem) clamp(0.4rem, 2vw, 0.8rem);
          border-radius: 12px;
          font-size: clamp(0.6rem, 1.5vw, 0.9rem);
          font-weight: 600;
          text-transform: uppercase;
          letter-spacing: 0.5px;
          display: inline-block; /* ensures it shrinks nicely */
        }

        .deloitte-badge {
            background: linear-gradient(135deg, #86198f, #a21caf);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
    


/* === Scroll animation styles === */
/* Mobile-Friendly Animation Fixes */
/* Replace existing scroll animation styles with these */

:root {
  --ani-distance: 20px; /* Reduced for mobile */
  --ani-duration: 600ms; /* Faster for mobile */
  --ani-delay-step: 80ms; /* Less delay */
}

.ani-reveal {
  opacity: 0;
  transform: translateY(var(--ani-distance));
  transition: opacity var(--ani-duration) ease, transform var(--ani-duration) ease;
  will-change: opacity, transform;
}

.ani-reveal.ani-in {
  opacity: 1;
  transform: none;
}

/* Different animations for different screen sizes */
@media (max-width: 768px) {
  :root {
    --ani-distance: 15px; /* Even smaller for mobile */
    --ani-duration: 400ms; /* Faster animation */
    --ani-delay-step: 50ms;
  }
  
  /* Disable complex animations on mobile for better performance */
  .ani-fade-left, .ani-fade-right {
    transform: translateY(var(--ani-distance)) !important;
  }
  
  /* Simplify about section animations */
  .about-wrapper {
    animation: none !important;
  }
  
  .about-left, .about-right {
    animation: none !important;
  }
}

@media (max-width: 480px) {
  :root {
    --ani-distance: 10px; /* Minimal movement */
    --ani-duration: 300ms; /* Very fast */
  }
}

/* Improve animation trigger for mobile */
.ani-fade-up    { transform: translateY(var(--ani-distance)); }
.ani-fade-down  { transform: translateY(calc(var(--ani-distance) * -1)); }
.ani-fade-left  { transform: translateX(var(--ani-distance)); }
.ani-fade-right { transform: translateX(calc(var(--ani-distance) * -1)); }

/* Mobile-specific about section fixes */
@media (max-width: 768px) {
  #about {
    padding: 3rem 1rem; /* Reduced padding */
  }
  
  .about-wrapper {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    animation: fadeInUp 0.5s ease !important;
  }
  
  .about-left {
    position: static !important; /* Remove sticky on mobile */
    animation: fadeInUp 0.5s ease 0.1s both !important;
  }
  
  .about-right {
    animation: fadeInUp 0.5s ease 0.2s both !important;
  }
}

/* Simple fade animation for mobile */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#particles-js {
  width: 100%;
  height: 100%;
  position: fixed;  /* always cover full screen */
  top: 0;
  left: 0;
  z-index: -1;  /* keep it behind all content */
}



/* Bigger logo styles --------------------------------------------------------------*/
.navbar-logo-bigger {
    height: 70px; /* Increased from 28px */
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

/* .navbar-logo-bigger:hover {
    transform: scale(1.15);
    filter: brightness(1.3);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
} */

/* Mobile responsive */
@media (max-width: 768px) {
    .navbar-logo-bigger {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .navbar-logo-bigger {
        height: 32px;
    }
}



/* Hamburger Menu Animation Styles */
/* Hamburger Menu Styles */
/* Hamburger Menu Animation Styles - Mobile Only */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  position: relative;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  opacity: 1;
  position: absolute;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
  transform-origin: center center;
}

.hamburger span:nth-child(1) {
  top: 3px;
}

.hamburger span:nth-child(2) {
  top: 8.5px;
}

.hamburger span:nth-child(3) {
  top: 14px;
}

/* When hamburger is active (X state) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8.5px;
}

.hamburger.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8.5px;
}



/* Publications Section - Dark Theme */
.publications-section {
    padding: 6rem 2rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.publications-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.publications-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
    z-index: 10;
}

.publications-section .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    color: #f1f5f9;
    display: inline-block;
}

.publications-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border-radius: 2px;
    animation: expandWidth 1s ease 0.5s forwards;
    transform-origin: center;
    scale: 0;
}

.publications-section .section-title .highlight {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.publications-section .section-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 400;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.3s forwards;
}

.publications-section .section-subtitle {
            font-size: 1.2rem;
            color: #888;
            font-style: italic;
        }

        .publications-section .section-subtitle::before,
        .publications-section .section-subtitle::after {
            content: '"';
            color: #ff6b35;
            font-weight: bold;
        }

.publications-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Publication Card */
.publication-card {
    background: #1e293b;
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: slideInUp 0.8s ease 0.6s forwards;
    overflow: hidden;
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.publication-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    border-color: #a855f7;
}

.publication-card:hover::before {
    transform: scaleX(1);
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ADD THIS TO YOUR EXISTING CSS - Research Paper Badge Enhanced Hover */

/* Enhanced Research Paper Badge - Similar to Certificate Button */
.publication-type-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Research Paper Badge Shimmer Effect */
.publication-type-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.publication-type-badge:hover::before {
    left: 100%;
}

/* Enhanced Research Paper Badge Hover */
.publication-type-badge:hover {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.5);
    /* border: 2px solid rgba(168, 85, 247, 0.6); */
}

/* Research Paper Icon Animation */
.publication-type-badge .publication-icon {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.publication-type-badge:hover .publication-icon {
    transform: scale(1.4) rotate(15deg);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}


/* Pulse Animation for Research Paper Badge */
@keyframes researchPaperPulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
    }
}

.publication-type-badge {
    animation: researchPaperPulse 2.5s infinite;
}

.publication-type-badge:hover {
    animation: none;
}

/* Publication Card Hover Enhancement for Research Paper Badge */
.publication-card:hover .publication-type-badge {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);
}

/* Text Animation on Hover */
.publication-type-badge:hover {
    letter-spacing: 0.5px;
}

/* Active/Click State */
.publication-type-badge:active {
    transform: translateY(-2px) scale(1.05);
    transition-duration: 0.1s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .publication-type-badge:hover {
        transform: translateY(-3px) scale(1.05);
    }
    
    .publication-type-badge:hover .publication-icon {
        transform: scale(1.2) rotate(10deg);
    }
}

.publication-icon {
    font-size: 1rem;
}

.publication-date {
    color: #94a3b8;
    font-weight: 500;
    padding: 6px 12px;
    background: #0f172a;
    border-radius: 20px;
    font-size: 0.9rem;
}

.publication-content {
    margin-bottom: 2rem;
}

.publication-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.publication-card:hover .publication-title {
    color: #a855f7;
}

.publication-conference {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #0f172a;
    border-radius: 20px;
    border-left: 4px solid #a855f7;
    transition: all 0.3s ease;
}

.publication-card:hover .publication-conference {
    transform: translateX(4px);
}

.conference-name {
    color: #f1f5f9;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.conference-date {
    color: #94a3b8;
    font-size: 0.95rem;
}

.publication-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.publication-skill {
    background: #0f172a;
    color: #f1f5f9;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #334155;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.publication-skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    transition: left 0.3s ease;
    z-index: -1;
}

.publication-skill:hover {
    color: white;
    transform: translateY(-2px);
}

.publication-skill:hover::before {
    left: 0;
}

.publication-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.publication-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-paper-btn {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.certificate-btn {
    background: #0f172a;
    color: #f1f5f9;
    border: 2px solid #334155;
}

.publication-action-btn:hover {
    transform: translateY(-3px);
}

.read-paper-btn:hover {
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* /* CERTIFICATE BUTTON CODE - Keep this */
.certificate-btn {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    position: relative;
    overflow: hidden;
}

.certificate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.certificate-btn:hover::before {
    left: 100%;
}

.certificate-btn:hover {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    color: white;
    border-color: #a855f7;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.5);
}

.certificate-btn .action-icon {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.certificate-btn:hover .action-icon {
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}


@keyframes certificatePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
    }
}

.certificate-btn {
    animation: certificatePulse 2.5s infinite;
}

.certificate-btn:hover {
    animation: none;
} */

.action-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.publication-action-btn .action-icon {
    transition: transform 0.4s ease;
}

.publication-action-btn:hover .action-icon {
    transform: scale(1.2) rotate(5deg);
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        scale: 0;
    }
    to {
        scale: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .publications-section {
        padding: 4rem 1rem;
    }

    .publication-card {
        padding: 2rem;
    }

    .publication-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .publication-actions {
        flex-direction: column;
    }

    .publication-action-btn {
        justify-content: center;
    }
}



.ug{
      background-color: #363a46;  /* dark badge bg */
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  position: absolute;  /* so you can place it on top corner */
  top: 10px;
  right: 10px;

}




/* ADD THIS TO YOUR EXISTING EDUCATION CSS */

/* Education Card with Date Badge */
/* REPLACE YOUR EDUCATION DATE BADGE STYLES WITH THESE */

/* Education Date Badge - Match Education Card Colors */
/* REPLACE YOUR EDUCATION DATE BADGE STYLES WITH THIS RESPONSIVE VERSION */

/* Desktop/Tablet - Date badge in top-right corner */
.education-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(78, 205, 196, 0.1);
    color: #4ecdc4;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
}

/* Hover effect */
.education-card:hover .education-date-badge {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.4);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Tablet view - Medium screens */
@media (max-width: 1024px) {
    .education-date-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Mobile view - Date badge below college name */
@media (max-width: 768px) {
    /* Make education card flex column on mobile */
    .education-card {
        flex-direction: column !important;
        text-align: center !important;
        position: relative;
    }
    
    /* Move date badge below college name */
    .education-date-badge {
        position: static; /* Remove absolute positioning */
        top: auto;
        right: auto;
        display: inline-block;
        margin: 0.5rem auto 0.75rem auto;
        padding: 6px 12px;
        font-size: 0.8rem;
        order: 2; /* Place after college name */
    }
    
    /* Adjust college info order */
    .college-info {
        order: 1;
        margin-bottom: 0;
    }
    
    .college-info .college-name {
        margin-bottom: 0.25rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .education-date-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
        margin: 0.25rem auto 0.5rem auto;
    }
}

/* Very large screens */
@media (min-width: 1200px) {
    .education-date-badge {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}



/* REPLACE YOUR ABOUT SECTION ANIMATION CSS WITH THIS FASTER VERSION */

/* Faster About Section Animations */
#about {
    opacity: 0;
    animation: fadeInSection 0.6s ease forwards; /* Reduced from 0.8s */
    animation-delay: 0.1s; /* Reduced from 0.2s */
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(20px); /* Reduced from 30px */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Main Heading - Faster */
.about-main-heading {
    opacity: 0;
    transform: translateY(-15px); /* Reduced from -20px */
    animation: slideInFromTop 0.5s ease forwards; /* Reduced from 0.7s */
    animation-delay: 0.2s; /* Reduced from 0.4s */
}

@keyframes slideInFromTop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Left - Faster */
.about-left {
    opacity: 0;
    transform: translateX(-30px); /* Reduced from -40px */
    animation: slideInLeft 0.6s ease forwards; /* Reduced from 0.8s */
    animation-delay: 0.3s; /* Reduced from 0.6s */
}

/* About Right - Faster */
.about-right {
    opacity: 0;
    transform: translateX(30px); /* Reduced from 40px */
    animation: slideInRight 0.6s ease forwards; /* Reduced from 0.8s */
    animation-delay: 0.4s; /* Reduced from 0.8s */
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile - Even Faster Animations */
@media (max-width: 768px) {
    #about {
        animation-duration: 0.4s; /* Much faster on mobile */
        animation-delay: 0.05s;
    }
    
    .about-main-heading {
        animation-duration: 0.4s;
        animation-delay: 0.1s;
        transform: translateY(-10px); /* Smaller movement */
    }
    
    .about-left {
        animation-duration: 0.5s;
        animation-delay: 0.15s;
        transform: translateY(20px); /* Use Y movement instead of X on mobile */
    }
    
    .about-right {
        animation-duration: 0.5s;
        animation-delay: 0.2s;
        transform: translateY(20px);
    }
    
    /* Mobile keyframes - Y movement */
    @keyframes slideInLeft {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Very small mobile - Ultra fast */
@media (max-width: 480px) {
    #about {
        animation-duration: 0.3s;
        animation-delay: 0;
    }
    
    .about-main-heading {
        animation-duration: 0.3s;
        animation-delay: 0.05s;
    }
    
    .about-left {
        animation-duration: 0.4s;
        animation-delay: 0.1s;
    }
    
    .about-right {
        animation-duration: 0.4s;
        animation-delay: 0.15s;
    }
}



.btn:hover { background: #e65c00; }

