 /* Import Modern Fonts */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

    :root {
      --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      --hero-gradient: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
      --dark-bg: #0a0a0f;
      --card-bg: rgba(15, 15, 25, 0.8);
      --glass-bg: rgba(255, 255, 255, 0.05);
      --text-primary: #ffffff;
      --text-secondary: #a0a9c0;
      --accent-color: #00f2fe;
      --hover-glow: rgba(0, 242, 254, 0.3);
      --hero-text-color: #ff6b6b;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--dark-bg);
      color: var(--text-primary);
      overflow-x: hidden;
      scroll-behavior: smooth;
      line-height: 1.7;
    }

    /* Enhanced Navigation with More Padding */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 1.5rem 3rem; 
      backdrop-filter: none;
      background: rgba(10, 10, 15, 0.9);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1400px; 
      margin: 0 auto;
      padding: 0 2rem; 
    }

    nav h1 {
      font-size: 2rem; 
      font-weight: 800;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: 1px;
      transition: all 0.3s ease;
    }

    nav h1:hover {
      transform: scale(1.05);
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2.5rem; 
      align-items: center;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text-secondary);
      font-weight: 500;
      font-size: 1.1rem;
      padding: 0.8rem 1.2rem;
      border-radius: 8px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .nav-links a::before {
      content: none !important; 
    }

    .nav-links a:hover::before 

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

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background: var(--accent-gradient);
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 80%;
    }

    .resume-btn {
      padding: 1rem 2rem !important; 
      background: var(--primary-gradient) !important; 
      border-radius: 30px !important;
      color: white !important;
      font-weight: 600 !important;
      font-size: 1rem !important;
      box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
      transition: all 0.3s ease !important;
      border: 2px solid transparent;
    }

    .resume-btn:hover {
      transform: translateY(-3px) scale(1.05) !important;
      box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6) !important;
      border-color: rgba(255, 255, 255, 0.2) !important;
    }

    .menu-toggle {
      display: none;
      font-size: 1.8rem;
      color: var(--accent-color);
      cursor: pointer;
      padding: 0.5rem;
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .menu-toggle:hover {
      background: rgba(255, 255, 255, 0.06);
      transform: scale(1.1);
    }

    /* Enhanced Header Section */
    header {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 8rem 3rem 4rem; 
      position: relative;
      background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(15, 15, 25, 0.8) 100%);
    }

    .profile-container {
      position: relative;
      margin-bottom: 3rem; 
    }

    .profile-image {
      width: 220px; 
      height: 220px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid transparent;
      background: var(--accent-gradient);
      padding: 4px;
      animation: none; 
    }

    @keyframes profileGlow {
      from { box-shadow: 0 0 30px rgba(0, 242, 254, 0.4); }
      to { box-shadow: 0 0 50px rgba(0, 242, 254, 0.8); }
    }

    /* Updated Hero Title Color */
    .hero-title {
      font-size: 4.5rem; 
      font-weight: 800;
      margin-bottom: 1.5rem; 
      background: var(--hero-gradient); 
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: titleSlide 1s ease-out;
      text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
      padding: 0 1rem; 
    }

    @keyframes titleSlide {
      from { transform: translateY(30px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .hero-subtitle {
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--accent-color);
      margin-bottom: 2rem; 
      animation: titleSlide 1s ease-out 0.2s both;
      padding: 0 1rem;
    }

    .hero-description {
      font-size: 1.2rem;
      color: var(--text-secondary);
      max-width: 700px;
      line-height: 1.8; 
      animation: titleSlide 1s ease-out 0.4s both;
      padding: 0 2rem; 
    }

    /* Enhanced Section Titles */
    .section-title {
      font-size: 3.5rem; 
      font-weight: 800;
      text-align: center;
      margin-bottom: 4rem; 
      padding: 0 2rem; 
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px; 
      height: 4px;
      background: var(--accent-gradient);
      border-radius: 2px;
    }

    /* Section titles: solid accent by default, white gradient sheen on hover (right → left) */
    #experience .section-title,
    #projects .section-title,
    #education .section-title,
    #skills .section-title,
    #contact .section-title {
      color: var(--accent-color);
    }
    #experience .section-title:hover,
    #projects .section-title:hover,
    #education .section-title:hover,
    #skills .section-title:hover,
    #contact .section-title:hover {
      background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      background-size: 200% 100%;
      animation: sheenRTL 1.1s ease-out 1;
    }
    @keyframes sheenRTL {
      from { background-position: 100% 50%; }
      to { background-position: 0% 50%; }
    }

    /* Contact section refine */
    .contact-info {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
      max-width: 900px;
      margin: 0 auto 1.5rem;
    }
    .contact-item {
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 1rem;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    }
    .contact-item:hover {
      transform: translateY(-3px);
      border-color: rgba(0, 242, 254, 0.35);
      background: rgba(15, 15, 25, 0.86);
      box-shadow: 0 10px 26px rgba(0,0,0,0.45), 0 0 0 4px rgba(0, 242, 254, 0.12) inset;
    }
    .social-links {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
    }
    .social-links a {
      display: inline-flex;
      width: 40px;
      height: 40px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.08);
      color: var(--text-primary);
      text-decoration: none;
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }
    .social-links a:hover {
      transform: translateY(-2px);
      background: rgba(0, 242, 254, 0.10);
      border-color: rgba(0, 242, 254, 0.35);
      box-shadow: 0 6px 20px rgba(0, 242, 254, 0.25);
    }

    /* Enhanced Sections */
    section {
      padding: 6rem 1.5rem; 
      max-width: 1100px; 
      margin: 0 auto;
    }

    /* Enhanced Cards */
    .card, .project-card {
      background: var(--card-bg);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 2rem; 
      margin: 1.5rem 0; 
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
    }

    /* Blue-accent hover for Experience and Education cards */
    #experience .card:hover,
    #education .card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 242, 254, 0.35);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(0, 242, 254, 0.12) inset;
      background: rgba(15, 15, 25, 0.86);
    }

    /* Project collapsible styles */
    .project-card .project-header {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      background: transparent;
      border: 0;
      color: var(--text-primary);
      cursor: pointer;
    }
    .project-card {
      box-shadow: 0 8px 30px rgba(0,0,0,0.35);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    }
    .project-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 242, 254, 0.35);
      box-shadow: 0 14px 40px rgba(0,0,0,0.45), 0 0 0 4px rgba(0, 242, 254, 0.12) inset;
      background: rgba(15, 15, 25, 0.86);
    }
    #projects .project-card .project-header h3 {
      margin: 0;
    }
    #projects .project-card .project-header:hover {
      filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.25));
    }
    .project-card .expand-icon {
      transition: transform 0.25s ease;
    }
    .project-card.open .expand-icon {
      transform: rotate(180deg);
    }
    .project-card .project-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
    }
    .project-card.open .project-content {
      max-height: 900px;
    }
    .project-card .project-link {
      margin-top: 1rem;
      text-align: right;
    }
    .project-card .project-link a {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: #ffffff;
      text-decoration: none;
      border: 1px solid rgba(255,255,255,0.08);
      padding: 0.6rem 1rem;
      border-radius: 12px;
      background: var(--primary-gradient);
      box-shadow: 0 8px 22px rgba(0,0,0,0.35);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease, background 0.2s ease;
    }
    .project-card .project-link a:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0,0,0,0.45), 0 0 0 4px rgba(0, 242, 254, 0.15) inset;
      border-color: rgba(0, 242, 254, 0.35);
      filter: brightness(1.05);
      background: var(--accent-gradient);
    }
    .project-card .project-link a::after {
      content: '↗';
      font-size: 0.95rem;
      line-height: 1;
    }
    .project-card .project-link a:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.35);
    }

    .card h3, .project-header h3 {
      color: var(--hero-text-color); 
      font-size: 1.4rem; 
      font-weight: 700;
      margin-bottom: 1rem;
    }

    /* Featured Projects: remove red, add clean header and content styling */
    #projects .project-header h3,
    #projects .project-card h3 {
      color: var(--accent-color);
    }
    #projects .project-header {
      padding-bottom: 0.25rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    #projects .project-card.open .project-header {
      border-bottom-color: rgba(255,255,255,0.14);
    }
    #projects .project-card .project-content {
      padding-top: 1rem;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    #projects .project-card .project-content ul {
      list-style: none;
      margin: 0.25rem 0 0;
      padding: 0;
      display: grid;
      gap: 0.5rem;
    }
    #projects .project-card .project-content li {
      position: relative;
      padding-left: 1.25rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }
    #projects .project-card .project-content li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.7rem;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-gradient);
      opacity: 0.9;
    }

    /* Skills compact grid */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 0.75rem;
      max-width: 900px;
      margin: 0 auto;
    }
    .skill-item {
      background: var(--glass-bg);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 1rem 0.8rem;
      border-radius: 12px;
      text-align: center;
      font-size: 0.95rem;
      color: var(--text-secondary);
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
    .skill-icon {
      font-size: 1.8rem;
      line-height: 1;
    }
    .skill-name {
      font-size: 0.9rem;
      font-weight: 500;
    }
    .skill-item:hover {
      background: rgba(0, 242, 254, 0.10);
      border-color: rgba(0, 242, 254, 0.35);
      color: var(--text-primary);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 242, 254, 0.25);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      nav {
        padding: 1rem 1.5rem; 
      }

      .nav-container {
        padding: 0;
      }

      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: none;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }

      .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
      }

      .menu-toggle {
        display: block;
      }

      .hero-title {
        font-size: 3rem;
        padding: 0 0.5rem;
      }

      .hero-subtitle {
        font-size: 1.3rem;
        padding: 0 0.5rem;
      }

      .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
      }

      .section-title {
        font-size: 2.5rem;
        padding: 0 1rem;
      }

      section {
        padding: 4rem 1rem;
        max-width: 100%;
      }

      header {
        padding: 6rem 1.5rem 3rem;
      }

      .card, .project-card {
        padding: 1.25rem;
        margin: 1rem 0;
      }
      .project-card .project-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
      }
      .project-card .project-header h3 {
        text-align: center;
        width: 100%;
        font-size: 1.2rem;
        line-height: 1.3;
        word-wrap: break-word;
      }
      .project-card .expand-icon {
        align-self: center;
        font-size: 1.2rem;
      }
      .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.6rem;
      }
    }

    /* Scroll Indicator */
    .scroll-indicator {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 3px;
      background: var(--accent-gradient);
      z-index: 9999;
      transition: width 0.1s ease;
    }

    /* Footer */
    .footer {
      padding: 2rem 1.5rem;
      border-top: 1px solid rgba(255,255,255,0.08);
      background: rgba(10, 10, 15, 0.9);
      margin-top: 2rem;
    }
    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.95rem;
    }