/* All CSS from <style> in your file */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    :root {
        --primary: #2563eb;
        --secondary: #7c3aed;
        --accent: #06b6d4;
        --success: #059669;
        --dark: #0f172a;
        --light: #f8fafc;
        --gradient: linear-gradient(100deg, #0033FF 0%, #977DFF 70%);
        --text-light: #64748b;
        --border: #e2e8f0;
    }

                                
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Navigation */
        .nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(248, 250, 252, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #0033FF 0%, #977DFF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
        }

        .nav-links a:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: linear-gradient(135deg, #0033FF 0%, #FFCCF2 100%);
            color: white;
            overflow: hidden;
        }

        .molecule-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            opacity: 0.3;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            opacity: 0.9;
            color: #e0e7ff;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            line-height: 1.7;
        }

        .value-props {
            display: flex;
            gap: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .value-prop {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-size: 0.9rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.75rem 2rem;
            border: none;
            border-radius: 0.5rem;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary {
            background: white;
            color: var(--primary);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        /* Sections */
        .section {
            padding: 5rem 0;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 1rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: var(--text-light);
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Skills Section */
        .skills-overview {
            background: var(--light);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .skill-category {
            background: white;
            padding: 2rem;
            border-radius: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary);
        }

        .skill-category:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .skill-category h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .skill-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .skill-tag {
            background: var(--primary);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 1rem;
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* Experience Section */
        .experience-timeline {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }

        .experience-item {
            background: white;
            padding: 2rem;
            margin-bottom: 2rem;
            border-radius: 1rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border-left: 4px solid var(--accent);
            transition: all 0.3s ease;
        }

        .experience-item:hover {
            transform: translateX(5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .exp-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .exp-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--dark);
        }

        .exp-company {
            font-size: 1.1rem;
            color: var(--primary);
            font-weight: 500;
        }

        .exp-duration {
            color: var(--text-light);
            font-size: 0.9rem;
            background: var(--light);
            padding: 0.3rem 0.8rem;
            border-radius: 1rem;
        }

        .exp-achievements {
            list-style: none;
        }

        .exp-achievements li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1.5rem;
            color: var(--text-light);
        }

        .exp-achievements li::before {
            content: "▸";
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }

        /* Projects Section */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 2rem;
        }

        .project-card {
            background: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .project-header {
            background: linear-gradient(150deg, #8C74FF 20%, #74A2FF 100%);
            color: white;
            padding: 1.5rem;
            position: relative;
        }

        .project-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.5rem;

        }

        .project-type {
            opacity: 0.9;
            font-size: 0.9rem;
        }

        .project-content {
            padding: 2rem;
        }

        .project-impact {
            background: #f0f9ff;
            border: 1px solid #0ea5e9;
            border-radius: 0.5rem;
            padding: 1rem;
            margin: 1rem 0;
        }

        .impact-label {
            font-size: 0.8rem;
            color: #0369a1;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .impact-text {
            color: #0c4a6e;
            font-size: 0.9rem;
        }

        .project-tech {
            margin-top: 1.5rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tech-tag {
            background: var(--secondary);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 1rem;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* Publications Section */
        .publications-list {
            max-width: 900px;
            margin: 0 auto;
        }

        .publication-item {
            background: white;
            padding: 2rem;
            margin-bottom: 2rem;
            border-radius: 1rem;
            border-left: 4px solid var(--success);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .publication-item:hover {
            transform: translateX(5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .pub-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
            color: var(--dark);
            line-height: 1.4;
        }

        .pub-authors {
            color: var(--text-light);
            margin-bottom: 0.5rem;
        }

        .pub-journal {
            font-style: italic;
            color: var(--success);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .pub-impact {
            background: #f0fdf4;
            border: 1px solid #22c55e;
            border-radius: 0.5rem;
            padding: 0.8rem;
            margin-top: 1rem;
            font-size: 0.9rem;
        }

        .impact-highlight {
            color: #15803d;
            font-weight: 500;
        }

        /* Contact Section */
        .contact {
            background: var(--dark);
            color: white;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .contact-info h3 {
            font-size: 2.2rem;
            margin-bottom: 2rem;
            line-height: 1.3;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .contact-icon {
            font-size: 1.3rem;
            color: var(--accent);
            min-width: 1.5rem;
        }

        .availability-status {
            background: rgba(6, 182, 212, 0.2);
            border: 1px solid var(--accent);
            border-radius: 0.5rem;
            padding: 1rem;
            margin: 2rem 0;
        }

        .availability-label {
            color: var(--accent);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .container {
                padding: 0 1rem;
            }

            .value-props {
                flex-direction: column;
                gap: 1rem;
            }

            .cta-buttons {
                flex-direction: column;
            }

            .exp-header {
                flex-direction: column;
                align-items: start;
                gap: 0.5rem;
            }
        }
        
        
        /* News Section */
        .news-form {
          display: flex;
          flex-wrap: wrap;
          gap: 1rem;
          margin-bottom: 2rem;
        }
        
        .news-form input[type="text"] {
          flex: 1;
          padding: 0.5rem;
          border: 1px solid var(--border);
          border-radius: 0.5rem;
        }
        
        .news-feed {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 1.5rem;
        }
        
        .news-card {
          background: white;
          border-radius: 1rem;
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
          overflow: hidden;
        }
        
        .news-card img {
          width: 100%;
          height: 200px;
          object-fit: cover;
        }
        
        .news-caption {
          padding: 1rem;
          font-size: 0.95rem;
          color: var(--dark);
}


/* Extra Mobile Optimizations */
@media (max-width: 600px) {
  /* General spacing */
  .section {
    padding: 3rem 1rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cta-buttons {
    width: 100%;
  }
  .btn {
    width: 100%;
    text-align: center;
  }

  /* Value props */
  .value-props {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    width: 100%;
  }

  /* Skills */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* Publications */
  .publications-list {
    padding: 0 1rem;
  }

  /* News */
  .news-feed {
    grid-template-columns: 1fr;
  }
  .news-card img {
    height: 150px;
  }

  /* Contact */
  .contact-info h3 {
    font-size: 1.6rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* Hamburger button (only on mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease;
  z-index: 999;
}

.mobile-nav a {
  padding: 1rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
  background: var(--primary);
  color: white;
}

/* Animate dropdown */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile only */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .hamburger {
    display: flex;
  }
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}


        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.6s ease forwards;
        }

html {
    scroll-behavior: smooth;
}