* { 
      margin: 0; 
      padding: 0; 
      box-sizing: border-box; 
    }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  background: #0a0f1a; 
}
    #home {
  padding-top: 80px;  /* equal to navbar height */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: transparent;
  overflow-x: hidden;
  color: white;
  max-width: 100vw;
  position: relative;
  min-height: 100vh; 
}
    @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* Animated Stars Background */
    .stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: #0a0f1a; /* Dark background */
}

    .star {
      position: absolute;
      width: 2px;
      height: 2px;
      background: white;
      border-radius: 50%;
      animation: twinkle 3s infinite;
    }

    @keyframes twinkle {
      0%, 100% { opacity: 0.3; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.2); }
    }

    /* Floating particles */
    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .particle {
      position: absolute;
      width: 3px;
      height: 3px;
      background: rgba(78, 205, 196, 0.6);
      border-radius: 50%;
      animation: floatParticle 8s linear infinite;
    }

    @keyframes floatParticle {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      10% { opacity: 1; }
      90% { opacity: 1; }
      100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
      }
    }

    /* Header */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 80px;
      background: rgba(12, 20, 38, 0.95);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 60px;
      z-index: 1000;
      transition: all 0.3s ease;
    }

    .navbar.scrolled {
      background: rgba(12, 20, 38, 0.98);
      box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    }

    .logo img {
      height: 60px;
      width: auto;
      border-radius: 50%;
      transition: transform 0.3s ease;
    }

    .logo img:hover {
      transform: scale(1.1);
    }

    /* Desktop Navigation */
    .nav-links {
      display: flex;
      list-style: none;
      gap: 30px;
    }

    .nav-links li a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      padding: 10px 15px;
      border-radius: 8px;
      position: relative;
      transition: all 0.3s ease;
    }

    .nav-links li a::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(45deg, #ff6600, #4ecdc4);
      transition: width 0.3s ease;
    }

    .nav-links li a:hover::before,
    .nav-links li a.active::before {
      width: 100%;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
      color: #ff6600;
      transform: translateY(-2px);
    }

    /* Hamburger Button */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 10px;
      border-radius: 8px;
      transition: all 0.3s ease;
      background: rgba(255, 255, 255, 0.05);
    }

    .hamburger:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: scale(1.1);
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background: linear-gradient(45deg, #ff6600, #4ecdc4);
      margin: 3px 0;
      border-radius: 2px;
      transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      transform-origin: center;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translateY(9px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translateY(-9px);
    }

    /* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 80px;
  right: 0;
  width: 300px;
  max-width: calc(100vw - 20px);
  height: auto;
  max-height: 500px;
  background: rgba(12, 20, 38, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 0 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  border-right: none;
  transform: translateX(100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  padding: 30px 20px;
  box-shadow: -10px 10px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  overflow-y: auto;
}

    .mobile-nav.active {
      transform: translateX(0);
      opacity: 1;
    }

    .mobile-nav-list {
      list-style: none;
      text-align: center;
    }

    .mobile-nav-list li {
      margin: 8px 0;
      opacity: 0;
      transform: translateX(50px);
      transition: all 0.5s ease;
    }

    .mobile-nav.active .mobile-nav-list li {
      opacity: 1;
      transform: translateX(0);
    }

    .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-nav-list li:nth-child(2) { transition-delay: 0.2s; }
    .mobile-nav-list li:nth-child(3) { transition-delay: 0.3s; }
    .mobile-nav-list li:nth-child(4) { transition-delay: 0.4s; }

    .mobile-nav-list li a {
      color: white;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 500;
      padding: 12px 20px;
      border-radius: 12px;
      display: block;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      margin-bottom: 10px;
    }

    .mobile-nav-list li a::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, rgba(255, 102, 0, 0.2), rgba(78, 205, 196, 0.2));
      transition: left 0.3s ease;
    }

    .mobile-nav-list li a:hover::before {
      left: 0;
    }

    .mobile-nav-list li a:hover {
      transform: scale(1.05);
      color: #ff6600;
      border-color: rgba(255, 102, 0, 0.3);
      box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
    }

    /* Social Links in Mobile Menu */
    .mobile-social {
      margin-top: 20px;
      display: flex;
      gap: 15px;
      justify-content: center;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.5s ease 0.7s;
    }

    .mobile-nav.active .mobile-social {
      opacity: 1;
      transform: translateY(0);
    }

    .social-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-decoration: none;
      font-size: 1rem;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .social-icon:hover {
      background: linear-gradient(45deg, #ff6600, #4ecdc4);
      transform: scale(1.1) rotate(360deg);
      border-color: transparent;
    }

    /* Hero Section */
    .hero {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .hero-content {
      max-width: 600px;
      padding: 0 20px;
    }

    .profile-photo {
      width: 200px;
      height: 200px;
      border-radius: 50%;
      margin-bottom: 20px;
      border: 3px solid #ff6600;
      box-shadow: 0 0 20px rgba(255, 102, 0, 0.6);
      animation: float 3s ease-in-out infinite;
      object-fit: cover;
    }

    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }

    .hero h1 { 
      font-size: 3.5rem; 
      margin-bottom: 15px;
      color: #fff;
    }
    .hero h1 span { 
      color: #ff6600; 
      background: linear-gradient(45deg, #ff6600, #ff8800);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero p { 
      font-size: 1.3rem; 
      margin-bottom: 30px; 
      color: #ccc; 
    }

    .btn {
      background: linear-gradient(45deg, #ff6600, #ff8800);
      color: #fff;
      padding: 15px 30px;
      border-radius: 25px;
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-block;
      margin: 0 10px;
      font-weight: 600;
      box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
      border: none;
      cursor: pointer;
      font-size: 16px;
    }

    .btn:hover { 
      background: linear-gradient(45deg, #ff8800, #ff6600);
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(255, 102, 0, 0.4);
    }

    /* Main Content Sections */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 50px 20px;
      position: relative;
      z-index: 2;
    }

    .section {
      margin-bottom: 80px;
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.8s ease forwards;
    }

    .section:nth-child(1) { animation-delay: 0.1s; }
    .section:nth-child(2) { animation-delay: 0.2s; }
    .section:nth-child(3) { animation-delay: 0.3s; }
    .section:nth-child(4) { animation-delay: 0.4s; }
    .section:nth-child(5) { animation-delay: 0.5s; }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .section-title {
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 50px;
      background: linear-gradient(45deg, #ff6600, #4ecdc4, #45b7d1);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: linear-gradient(45deg, #ff6600, #4ecdc4);
      border-radius: 2px;
    }

    /* About Me Section */
    .about-content {
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
      font-size: 1.2rem;
      line-height: 1.8;
      color: #b8c5d6;
    }

    /* Skills Section */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 25px;
      margin-top: 40px;
    }

    .skill-card {
      background: linear-gradient(145deg, #1a1a2e, #16213e);
      border-radius: 15px;
      padding: 35px 20px;
      text-align: center;
      transition: all 0.3s ease;
      border: 2px solid transparent;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .skill-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #a855f7);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .skill-card:hover::before {
      transform: scaleX(1);
    }

    .skill-card:hover {
      transform: translateY(-8px);
      border-color: #64ffda;
      box-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
    }

    .skill-icon {
      font-size: 3rem;
      margin-bottom: 20px;
      filter: grayscale(0);
      transition: all 0.3s ease;
    }

    .skill-card:hover .skill-icon {
      transform: scale(1.1);
      filter: brightness(1.2);
    }

    .skill-name {
      font-size: 1.3rem;
      font-weight: 700;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .skill-card:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.1s both; }
    .skill-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
    .skill-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.3s both; }
    .skill-card:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.4s both; }
    .skill-card:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.5s both; }
    .skill-card:nth-child(6) { animation: fadeInUp 0.6s ease-out 0.6s both; }
    .skill-card:nth-child(7) { animation: fadeInUp 0.6s ease-out 0.7s both; }

    /* Education Cards Grid */
    .education-cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
      margin-bottom: 50px;
    }

    .education-card {
      background: rgba(30, 41, 59, 0.9);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(148, 163, 184, 0.2);
      border-radius: 20px;
      padding: 25px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
      position: relative;
      overflow: hidden;
      transition: all 0.4s ease;
      cursor: pointer;
      opacity: 0;
      transform: translateY(40px) scale(0.9);
      min-height: 400px;
      animation: slideInUp 0.8s ease forwards;
    }

    .education-card:nth-child(1) { animation-delay: 0.3s; }
    .education-card:nth-child(2) { animation-delay: 0.5s; }
    .education-card:nth-child(3) { animation-delay: 0.7s; }

    @keyframes slideInUp {
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .education-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
      border-color: rgba(96, 165, 250, 0.4);
    }

    .education-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
      transition: left 0.6s ease;
    }

    .education-card:hover::before {
      left: 100%;
    }

    .education-image-container {
      width: 40%;
      height: 130px;
      background: white;
      border-radius: 15px;
      margin-bottom: 20px;
      overflow: hidden;
      position: relative;
      border: 2px solid rgba(96, 165, 250, 0.2);
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .education-card:hover .education-image-container {
      border-color: rgba(96, 165, 250, 0.5);
      transform: scale(1.02);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .education-image-wrapper {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px;
    }

    .education-image {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      transition: transform 0.3s ease;
    }

    .education-card:hover .education-image {
      transform: scale(1.1);
    }

    /* Internship Section */
    .internship-container {
      display: flex;
      justify-content: center;
      margin: 60px 0;
    }

    .internship-card {
      background: rgba(30, 41, 59, 0.95);
      backdrop-filter: blur(25px);
      border: 1px solid rgba(74, 222, 128, 0.3);
      border-radius: 25px;
      padding: 40px;
      width: 100%;
      max-width: 600px;
      position: relative;
      overflow: hidden;
      transition: all 0.5s ease;
      cursor: pointer;
      opacity: 0;
      transform: scale(0.9) rotateY(15deg);
      min-height: 450px;
      animation: rotateIn 1s ease forwards;
      animation-delay: 0.5s;
    }

    @keyframes rotateIn {
      to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
      }
    }

    .internship-card:hover {
      transform: translateY(-15px) scale(1.05) rotateX(5deg);
      border-color: #4ade80;
      box-shadow: 0 30px 60px rgba(74, 222, 128, 0.25);
    }

    .internship-card::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: conic-gradient(from 0deg, transparent, rgba(74, 222, 128, 0.1), transparent);
      animation: spin 3s linear infinite;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .internship-card:hover::before {
      opacity: 1;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .internship-image-container {
      width: 30%;
      height: 110px;
      background: white;
      border-radius: 18px;
      margin-bottom: 25px;
      overflow: hidden;
      position: relative;
      border: 2px solid rgba(74, 222, 128, 0.3);
      transition: all 0.4s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .internship-card:hover .internship-image-container {
      border-color: rgba(74, 222, 128, 0.6);
      transform: scale(1.03) rotateZ(2deg);
      box-shadow: 0 15px 35px rgba(74, 222, 128, 0.2);
    }

    .internship-image-wrapper {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px;
    }

    .internship-image {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      transition: transform 0.4s ease;
      filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    }

    .internship-card:hover .internship-image {
      transform: scale(1.15) rotateZ(-2deg);
    }

    /* Certification Cards Grid */
    .certification-cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
      margin-bottom: 50px;
    }

    .certification-card {
      background: rgba(30, 41, 59, 0.92);
      backdrop-filter: blur(22px);
      border: 1px solid rgba(168, 85, 247, 0.3);
      border-radius: 22px;
      padding: 30px;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
      position: relative;
      overflow: hidden;
      transition: all 0.6s ease;
      cursor: pointer;
      opacity: 0;
      transform: translateY(50px) rotateX(20deg);
      min-height: 420px;
      animation: flipIn 0.9s ease forwards;
    }

    .certification-card:nth-child(1) { animation-delay: 0.4s; }
    .certification-card:nth-child(2) { animation-delay: 0.6s; }
    .certification-card:nth-child(3) { animation-delay: 0.8s; }
    .certification-card:nth-child(4) { animation-delay: 1.0s; }

    @keyframes flipIn {
      to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
      }
    }

    .certification-card:hover {
      transform: translateY(-20px) scale(1.08) rotateY(5deg);
      border-color: #a855f7;
      box-shadow: 0 35px 70px rgba(168, 85, 247, 0.3);
    }

    .certification-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.1) 0%, 
        rgba(59, 130, 246, 0.1) 50%, 
        rgba(74, 222, 128, 0.1) 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .certification-card:hover::after {
      opacity: 1;
    }

    .certification-image-container {
      width: 40%;
      height: 120px;
      background: white;
      border-radius: 20px;
      margin-bottom: 25px;
      overflow: hidden;
      position: relative;
      border: 2px solid rgba(168, 85, 247, 0.3);
      transition: all 0.4s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      z-index: 2;
      
    }

    .certification-card:hover .certification-image-container {
      border-color: rgba(168, 85, 247, 0.6);
      transform: scale(1.05) rotateZ(-2deg);
      box-shadow: 0 15px 40px rgba(168, 85, 247, 0.3);
    }

    .certification-image-wrapper {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px;
    }

    .certification-image {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      transition: transform 0.4s ease;
      filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
    }

    .certification-card:hover .certification-image {
      transform: scale(1.2) rotateZ(2deg);
    }

    .card-title {
      color: #f1f5f9;
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 8px;
      background: linear-gradient(135deg, #60a5fa, #34d399);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
      z-index: 2;
    }

    .institution {
      color: #34d399;
      font-size: 1rem;
      font-weight: 500;
      margin-bottom: 12px;
      opacity: 0.9;
      position: relative;
      z-index: 2;
    }

    .description {
      color: #cbd5e1;
      font-size: 0.95rem;
      line-height: 1.5;
      margin-bottom: 15px;
      position: relative;
      z-index: 2;
    }

    .year-badge {
      display: inline-block;
      background: rgba(245, 158, 11, 0.2);
      color: #f59e0b;
      padding: 6px 14px;
      border-radius: 15px;
      font-size: 0.85rem;
      font-weight: 600;
      border: 1px solid rgba(245, 158, 11, 0.3);
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 3;
    }

    .cgpa {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 15px;
      position: relative;
      z-index: 2;
    }

    .cgpa-tag, .skill-tag {
      background: rgba(96, 165, 250, 0.15);
      color: #60a5fa;
      padding: 6px 12px;
      border-radius: 12px;
      font-size: 0.8rem;
      font-weight: 500;
      border: 1px solid rgba(96, 165, 250, 0.3);
      transition: all 0.3s ease;
    }

    .cgpa-tag:hover, .skill-tag:hover {
      background: rgba(96, 165, 250, 0.25);
      transform: translateY(-2px) scale(1.05);
    }

    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 15px;
      position: relative;
      z-index: 2;
    }

    .cert-list {
      list-style: none;
      margin-top: 15px;
      position: relative;
      z-index: 2;
    }

    .cert-item {
      color: #cbd5e1;
      font-size: 0.9rem;
      margin-bottom: 8px;
      padding-left: 20px;
      position: relative;
    }

    .cert-item::before {
      content: '✓';
      color: #34d399;
      font-weight: bold;
      position: absolute;
      left: 0;
      top: 0;
    }

    /* Projects Section */
    .projects {
      padding: 80px 20px;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .project-card {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
      opacity: 0;
      transform: translateX(100px);
      position: relative;
      cursor: pointer;
    }

    .project-card.animate {
      opacity: 1;
      transform: translateX(0);
    }

    .project-card:hover {
      transform: translateY(-15px) scale(1.02);
      border-color: #ff6b35;
      box-shadow: 0 25px 50px rgba(255, 107, 53, 0.3);
    }

    .project-image {
      width: 100%;
      height: 250px;
      position: relative;
      overflow: hidden;
    }

    .project-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .project-card:hover .project-image img {
      transform: scale(1.1);
    }

    .project-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.3));
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .project-card:hover .project-image::before {
      opacity: 1;
    }

    .project-content {
      padding: 2rem;
    }

    .project-title {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
      color: #ff6b35;
    }

    .project-description {
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.6;
      margin-bottom: 2rem;
      font-size: 0.95rem;
    }

    .project-actions {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    .btn-primary {
      background: linear-gradient(135deg, #ff6b35, #f7931e);
      color: white;
    }

    .btn-primary:hover {
      background: linear-gradient(135deg, #f7931e, #ff6b35);
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
    }

    .btn-secondary {
      background: transparent;
      color: #ff6b35;
      border: 2px solid #ff6b35;
    }

    .btn-secondary:hover {
      background: #ff6b35;
      color: white;
      transform: translateY(-2px);
    }

    .tech-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .tech-tag {
      background: rgba(255, 107, 53, 0.2);
      color: #ff6b35;
      padding: 0.3rem 0.8rem;
      border-radius: 15px;
      font-size: 0.8rem;
      border: 1px solid rgba(255, 107, 53, 0.3);
    }

    .github-icon {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    /* Publications Section Styling */
    .publications-section {
      padding: 100px 0;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(15, 15, 35, 0.9), rgba(25, 25, 55, 0.9));
    }

    .publications-section .section-title {
      font-size: 3rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 60px;
      background: linear-gradient(135deg, #64ffda, #00bcd4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
      z-index: 2;
      letter-spacing: 2px;
    }

    .publications-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.02), transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(100, 255, 218, 0.01), transparent 70%);
      animation: backgroundPulse 8s ease-in-out infinite;
    }

    .publications-section::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.2), transparent);
      transform: translateY(-50%);
    }

    @keyframes backgroundPulse {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 0.6; }
    }

    .publication-cards {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 2;
    }

    .publication-card {
      background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95) 0%, 
        rgba(25, 25, 55, 0.95) 50%, 
        rgba(15, 15, 35, 0.95) 100%);
      border-radius: 30px;
      padding: 50px 40px;
      backdrop-filter: blur(20px);
      transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
      position: relative;
      box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(100, 255, 218, 0.1);
      overflow: hidden;
      border: 1px solid rgba(100, 255, 218, 0.15);
    }

    .publication-card::before {
      content: '';
      position: absolute;
      top: -80px;
      right: -80px;
      width: 160px;
      height: 160px;
      border: 2px solid rgba(100, 255, 218, 0.1);
      border-top-color: rgba(100, 255, 218, 0.3);
      border-radius: 50%;
      animation: rotate 10s linear infinite;
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .publication-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 80% 20%, rgba(100, 255, 218, 0.05), transparent 60%);
      border-radius: 30px;
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
    }

    .publication-card:hover {
      transform: translateY(-20px) scale(1.02);
      box-shadow: 
        0 40px 100px rgba(100, 255, 218, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(100, 255, 218, 0.2);
      border-color: rgba(100, 255, 218, 0.3);
    }

    .publication-card:hover::before {
      opacity: 1;
    }

    .publication-card:hover::after {
      opacity: 1;
    }

    .publication-card h3 {
      font-size: 2rem;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 20px;
      line-height: 1.3;
      position: relative;
      z-index: 2;
      text-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
    }

    .publication-card p em {
      color: #64ffda;
      font-weight: 600;
      font-size: 1.1rem;
      display: block;
      margin-bottom: 25px;
      position: relative;
    }

    .publication-card p em::before {
      content: '';
      position: absolute;
      left: -20px;
      top: 50%;
      transform: translateY(-50%);
      width: 8px;
      height: 8px;
      background: #64ffda;
      border-radius: 50%;
      box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
      50% { transform: translateY(-50%) scale(1.2); opacity: 0.8; }
    }

    .publication-card ul {
      list-style: none;
      padding: 0;
      margin: 25px 0;
      position: relative;
      z-index: 2;
    }

    .publication-card li {
      color: #c8c8e0;
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 12px;
      padding-left: 20px;
      position: relative;
    }

    .publication-card li:last-child {
      margin-top: 20px;
      padding: 0;
      background: none;
      border-radius: 0;
      border: none;
      backdrop-filter: none;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .tech-oval {
      display: inline-block;
      background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 188, 212, 0.1));
      color: #64ffda;
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 600;
      border: 1px solid rgba(100, 255, 218, 0.3);
      transition: all 0.3s ease;
    }

    .tech-oval:hover {
      background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(0, 188, 212, 0.2));
      transform: scale(1.05);
    }

    .article-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #ffffff;
      text-decoration: none;
      font-weight: 700;
      transition: all 0.4s ease;
      padding: 12px 25px;
      background: linear-gradient(135deg, #64ffda, #00bcd4);
      border-radius: 25px;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      position: relative;
      z-index: 2;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
      margin-top: 25px;
    }

    .article-button::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 ease;
    }

    .article-button:hover::before {
      left: 100%;
    }

    .article-button:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 15px 40px rgba(100, 255, 218, 0.4);
      background: linear-gradient(135deg, #00bcd4, #64ffda);
    }

    .article-button svg {
      transition: all 0.3s ease;
    }

    .article-button:hover svg {
      transform: translateX(3px);
    }

    /* Contact Section */
    .contact {
      padding: 80px 20px;
      text-align: center;
      color: #fff;
      position: relative;
      z-index: 2;
    }

    .contact h1 {
      font-size: 2.5rem;
      background: linear-gradient(45deg, #ff6600, #4ecdc4);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 10px;
    }

    .contact p {
      margin-bottom: 40px;
      color: #ccc;
      font-size: 1.2rem;
    }

    .contact-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 40px;
      max-width: 1000px;
      margin: auto;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
      padding: 15px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      outline: none;
      font-size: 16px;
      background: rgba(255, 255, 255, 0.05);
      color: white;
      backdrop-filter: blur(10px);
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: #b8c5d6;
    }

    .contact-info {
      text-align: left;
      padding: 30px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-info h3 {
      margin-bottom: 20px;
      color: #ff6600;
      font-size: 1.5rem;
    }

    .contact-info p {
      margin: 15px 0;
      font-size: 16px;
      color: #b8c5d6;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .contact-info i {
      color: #ff6600;
      width: 20px;
    }

    .social-icons {
      margin-top: 25px;
      display: flex;
      gap: 15px;
      justify-content: center;
    }

    .social-icons a {
      width: 45px;
      height: 45px;
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .social-icons a:hover {
      background: linear-gradient(45deg, #ff6600, #4ecdc4);
      transform: scale(1.1) rotate(360deg);
      border-color: transparent;
    }

    /* Footer Section */
    .footer {
      background: linear-gradient(135deg, #0f0f23, #1a1a2e);
      color: #fff;
      text-align: center;
      padding: 40px 20px;
      font-size: 0.95rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
      z-index: 2;
    }

    .footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, #ff6600, #4ecdc4, #45b7d1);
      opacity: 0.7;
    }

    .footer p {
      margin-bottom: 20px;
      color: #b8c5d6;
      font-weight: 500;
    }

    .footer .social-icons {
      justify-content: center;
      margin-top: 15px;
    }

    .footer .social-icons a {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #b8c5d6;
      font-size: 1.1rem;
      transition: all 0.3s ease;
    }

    .footer .social-icons a:hover {
      background: linear-gradient(45deg, #ff6600, #4ecdc4);
      color: white;
      transform: scale(1.15) rotate(360deg);
      border-color: transparent;
      box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .navbar {
        padding: 0 20px;
      }

      .nav-links {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .mobile-nav {
        width: 280px;
      }

      .hero h1 {
        font-size: 2.5rem;
      }

      .hero p {
        font-size: 1.1rem;
      }

      .btn {
        padding: 12px 25px;
        margin: 5px;
        display: block;
        text-align: center;
      }

      .section-title {
        font-size: 2rem;
      }

      .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 20px;
      }

      .education-cards-grid,
      .certification-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .education-card,
      .certification-card {
        min-height: 350px;
      }

      .internship-card {
        margin: 0 10px;
        min-height: 400px;
      }

      .contact-container {
        grid-template-columns: 1fr;
      }

      .contact-info {
        text-align: center;
      }

      .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .project-actions {
        flex-direction: column;
      }

      .publications-section .section-title {
        font-size: 2.2rem;
      }
      
      .publication-cards {
        padding: 0 15px;
      }
      
      .publication-card {
        padding: 40px 25px;
      }
      
      .publication-card h3 {
        font-size: 1.6rem;
      }
      
      .publication-card p em {
        font-size: 1rem;
      }
      
      .publication-card li {
        font-size: 1rem;
      }

      .contact-info .social-icons {
        justify-content: center;
      }

      .footer {
        padding: 30px 15px;
      }
    }

@media (max-width: 480px) {
  .mobile-nav {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    right: 20px;
    border-radius: 0 0 20px 20px;
    left: 20px;
    transform: translateX(0) translateY(-120%);
  }

  .mobile-nav.active {
    transform: translateX(0) translateY(0);
  }

      .navbar {
        padding: 0 15px;
      }

      .hero {
        padding: 0 15px;
      }

      .profile-photo {
        width: 150px;
        height: 150px;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .container {
        padding: 30px 15px;
      }

      .section-title {
        font-size: 1.8rem;
      }

      .education-card,
      .certification-card {
        padding: 20px;
        min-height: 320px;
      }

      .internship-card {
        padding: 25px;
        margin: 0 5px;
        min-height: 380px;
      }

      .education-image-container,
      .certification-image-container {
        height: 100px;
      }

      .internship-image-container {
        height: 90px;
      }

      .publications-section .section-title {
        font-size: 1.8rem;
      }
      
      .publication-card {
        padding: 30px 20px;
      }
      
      .publication-card h3 {
        font-size: 1.4rem;
        line-height: 1.4;
      }
      
      .publication-card li {
        font-size: 0.95rem;
        padding-left: 20px;
      }

      .footer {
        padding: 25px 10px;
      }
    }

    @media (min-width: 769px) {
      .mobile-nav {
        display: none;
      }
    }












