/* ===== Global ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Roboto Mono', monospace;
    background: #0a0a0a;
    color: #eee;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  main {
    padding: 1em;
  }
  
  /* ===== Custom Cursor ===== */
  .custom-cursor {
    position: fixed;
    width: 15px;
    height: 15px;
    background: #00f0ff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff66;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease;
  }
  
/* ===== Header / Video ===== */
header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.2);
  }
  
  .intro-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    padding: 2em;
    z-index: 2;
    transition: opacity 1s ease;
  }
  
  .intro-overlay.active {
    opacity: 1;
  }
  
  .overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for better contrast */
    z-index: -1;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3); /* Subtle glow */
  }
  
  .intro-overlay h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: #00f0ff;
    text-shadow: 0 0 15px #00f0ff, 0 0 25px #00f0ff66;
    letter-spacing: 3px;
    animation: fadeIn 1.5s ease-in forwards;
  }
  
  .intro-overlay p {
    margin-top: 1em;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
    color: #e0f7fa;
    text-shadow: 0 0 10px #00f0ff66;
    animation: fadeIn 2s ease-in forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ===== Navigation ===== */
  .holo-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(8px);
  }
  .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00f0ff;
  }
  .holo-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  .holo-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e0f7fa;
    position: relative;
    padding: 0.5rem;
    transition: color 0.3s ease;
  }
  .holo-link:hover {
    color: #00f0ff;
  }
  .holo-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #00f0ff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .holo-link:hover::after {
    transform: scaleX(1);
  }
  .menu-toggle {
    display: none;
    color: #00f0ff;
    font-size: 1.5rem;
    cursor: pointer;
  }
  @media (max-width: 768px) {
    .holo-nav ul {
      flex-direction: column;
      background: rgba(10, 10, 10, 0.95);
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 1rem 0;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
    }
    .holo-nav.active ul {
      transform: translateY(0);
    }
    .menu-toggle {
      display: block;
    }
  }
  
/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    background: #0e1117;
    overflow: hidden;
  }
  
  .hero-content {
    z-index: 10; /* Ensure visibility */
    max-width: 50%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1); /* Slightly lighter for contrast */
    border-radius: 15px;
    /* Removed backdrop-filter to eliminate blurriness */
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); /* Subtle glow */
    opacity: 1;
  }
  
  .hero h1.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(90deg, #00f0ff, #ff00ff, #aaff00, #00f0ff); /* Vibrant neon gradient */
    background-size: 300% 100%; /* Extended for smoother animation */
    -webkit-background-clip: text;
    background-clip: text; /* Cross-browser support */
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8), 0 0 15px rgba(255, 0, 255, 0.6); /* Reduced for clarity */
    animation: gradientShift 4s ease infinite, pulseGlow 2s ease-in-out infinite alternate, glitch 3s infinite;
  }
  
  .text-wrapper {
    display: inline-block;
  }
  
  .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterFadeIn 0.15s ease forwards;
  }
  
  @for $i from 1 through 23 {
    .letter:nth-child(#{$i}) {
      animation-delay: #{$i * 0.06}s; /* Slightly slower for dramatic effect */
    }
  }
  
  @keyframes letterFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  @keyframes pulseGlow {
    0% { text-shadow: 0 0 10px rgba(0, 240, 255, 0.8), 0 0 15px rgba(255, 0, 255, 0.6); }
    100% { text-shadow: 0 0 15px rgba(0, 240, 255, 1), 0 0 20px rgba(255, 0, 255, 0.8); }
  }
  
  @keyframes glitch {
    0% { transform: translate(0); }
    2% { transform: translate(-2px, 2px); }
    4% { transform: translate(2px, -2px); }
    6% { transform: translate(0); }
    100% { transform: translate(0); }
  }
  
  .hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: #e0e0e0; /* Lighter for better readability */
    margin-bottom: 1.5rem;
  }
  
  .hero .highlight {
    color: #aaff00; /* Vibrant lime for contrast */
    font-weight: 600;
    text-shadow: 0 0 8px rgba(170, 255, 0, 0.6);
  }
  
  .cta-button {
    padding: 0.7rem 1.8rem;
    background: linear-gradient(90deg, #00f0ff, #ff00ff, #aaff00);
    background-size: 200% 100%;
    color: #0e1117;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: gradientShift 4s ease infinite;
  }
  
  .cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  }
  
  .profile-image {
    z-index: 10;
    max-width: 250px;
    position: relative;
  }
  
  .image-wrapper {
    position: relative;
    animation: float 4s ease-in-out infinite;
  }
  
  .profile-image img {
    width: 100%;
    border-radius: 50%;
    border: 5px solid transparent;
    transition: transform 0.3s ease;
  }
  
  .profile-image:hover img {
    transform: scale(1.1) rotate(5deg);
  }
  
  .neon-border {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    background: conic-gradient(
      #00f0ff 0deg 90deg,
      #ff00ff 90deg 180deg,
      #aaff00 180deg 270deg,
      #00f0ff 270deg 360deg
    );
    animation: rotateLights 3s linear infinite, glowPulse 2s ease-in-out infinite alternate;
    z-index: -1;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
  }
  
  @keyframes rotateLights {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  @keyframes glowPulse {
    0% { box-shadow: 0 0 10px #00f0ff, 0 0 15px #ff00ff66; }
    100% { box-shadow: 0 0 15px #00f0ff, 0 0 20px #ff00ff88; }
  }
  
  @media (max-width: 1024px) {
    .hero {
      flex-direction: column;
      gap: 2rem;
    }
    .hero-content {
      max-width: 80%;
    }
    .profile-image {
      max-width: 200px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-content {
      max-width: 100%;
      padding: 1.5rem;
    }
    .hero h1.glitch {
      font-size: clamp(2rem, 5vw, 3rem);
    }
    .profile-image {
      max-width: 150px;
    }
    .neon-border {
      top: -8px;
      left: -8px;
      width: calc(100% + 16px);
      height: calc(100% + 16px);
    }
  }
  /* ===== Projects Section ===== */
  #projects {
    background: #0a0a0a;
    padding: 60px 20px;
  }
  .section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #00f0ff;
    margin-bottom: 40px;
    text-shadow: 0 0 10px #00f0ff66;
  }
  .project-card {
    background: linear-gradient(145deg, #1a1a1a, #121212);
    border: 2px solid #00f0ff33;
    margin: 20px auto;
    padding: 25px;
    border-radius: 15px;
    max-width: 800px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
  }
  .project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px #00f0ff66;
  }
  .project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .project-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00f0ff;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    text-shadow: 0 0 8px #00f0ff88;
  }
  .project-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(0, 240, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .project-card:hover .project-glow {
    opacity: 1;
  }
  .project-card p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #e0f7fa;
    margin: 10px 0;
    line-height: 1.6;
  }
  .project-features {
    list-style: none;
    margin: 15px 0;
    padding-left: 0;
  }
  .project-features li {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: #c0c0c0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  .project-features li:hover {
    transform: translateX(10px);
    color: #00f0ff;
  }
  .project-features li i {
    margin-right: 10px;
    color: #00f0ff;
    font-size: 1.2rem;
  }
  .tech-stack {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: #00f0ff;
    font-weight: 600;
    background: #00f0ff22;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s ease;
  }
  .tech-stack:hover {
    background: #00f0ff44;
  }
  @media (max-width: 768px) {
    .project-card {
      max-width: 100%;
      padding: 15px;
    }
  }
  
  /* ===== Experience Section ===== */
  #experience {
    background: #0e0e0e;
    padding: 60px 20px;
  }
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  .timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: #00f0ff;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .experience-card {
    background: #1c1c1c;
    border-left: 4px solid #00f0ff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    width: 45%;
  }
  .experience-card:nth-child(odd) {
    margin-left: 55%;
  }
  .experience-card:nth-child(even) {
    margin-right: 55%;
  }
  .experience-card::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #00f0ff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }
  .experience-card:nth-child(odd)::before {
    left: -27px;
  }
  .experience-card:nth-child(even)::before {
    right: -27px;
  }
  .experience-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00f0ff;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    margin-bottom: 10px;
  }
  .experience-card p {
    margin-bottom: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
  }
  .experience-card ul {
    list-style-type: "✅ ";
    padding-left: 20px;
  }
  @media (max-width: 768px) {
    .timeline::before {
      left: 15px;
    }
    .experience-card {
      width: 85%;
      margin-left: 30px;
      margin-right: 15px;
    }
    .experience-card:nth-child(odd),
    .experience-card:nth-child(even) {
      margin-left: 30px;
      margin-right: 15px;
    }
    .experience-card::before {
      left: -22px;
    }
  }
  
  /* ===== Contact Section ===== */
  #contact {
    background: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
  }
  .contact-box {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    border: 2px dashed #00f0ff;
    border-radius: 10px;
    background: #161616;
  }
  .contact-box p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 20px;
  }
  .form-group {
    position: relative;
    margin-bottom: 1.5rem;
  }
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    background: #222;
    border: 1px solid #00f0ff;
    border-radius: 5px;
    color: #e0f7fa;
    font-size: 1rem;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #00f0ff;
    box-shadow: 0 0 10px #00f0ff66;
  }
  .form-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    color: #00f0ff;
    font-size: 0.9rem;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
    background: #222;
    padding: 0 5px;
  }
  .form-group input:focus + label,
  .form-group input:not(:placeholder-shown) + label,
  .form-group textarea:focus + label,
  .form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 0.8rem;
  }
  .form-group textarea {
    height: 100px;
    resize: none;
  }
  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .glow-btn {
    padding: 10px 20px;
    background: #00f0ff22;
    color: #00f0ff;
    border: 1px solid #00f0ff;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .glow-btn:hover {
    background: #00f0ff;
    color: #000;
  }
  @media (max-width: 768px) {
    .contact-box {
      max-width: 90%;
    }
  }
  
  /* ===== Footer ===== */
  .footer {
    background: #0a0a0a;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #00f0ff33;
  }
  .footer-gradient {
    background: linear-gradient(90deg, #00f0ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
  }
  .signature {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #00f0ff;
  }
  .tagline {
    font-size: 0.9rem;
    color: #e0f7fa;
    margin-top: 10px;
  }
  .social-icons {
    margin: 15px 0;
  }
  .social-icon {
    font-size: 1.5rem;
    color: #00f0ff;
    margin: 0 10px;
    transition: transform 0.3s ease;
  }
  .social-icon:hover {
    transform: scale(1.2);
  }