      html {
        scroll-behavior: smooth;
      }

      :root {
        --glass-dark: rgba(15, 15, 20, 0.55);
        --radius: 16px;
      }

      body {
        background: #0b1020;
      }

      html,
      body {
        overflow-x: hidden;
      }

      @font-face {
        font-family: 'Ethnocentric';
        src: url('../font/ethnocentric\ rg.ttf') format('truetype');
        font-display: swap;
      }

      .acses-logo {
        font-family: 'Ethnocentric', Arial, sans-serif;
        color: #fff;
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        text-align: center;
      }




      /* Background gradient for hero */
      .bg-hero {
        background: radial-gradient(1200px 600px at 10% -10%,
            #5e17eb33,
            transparent 60%),
          radial-gradient(1200px 600px at 90% 20%, #b13bff33, transparent 60%),
          radial-gradient(1000px 500px at 50% 120%, #0ea5e933, transparent 60%),
          linear-gradient(180deg, #070a16 0%, #0b1020 40%, #0a0f21 100%);
      }

      /* Glassmorphism effect */
      .glass {
        background: var(--glass-dark);
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius);
        max-width: 100%;
      }

      /* Magnetic button */
      .btn-magnetic {
        position: relative;
        overflow: hidden;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        box-shadow: 0 10px 24px rgba(177, 59, 255, 0.35);
        will-change: transform;
      }

      .btn-magnetic:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 12px 28px rgba(255, 211, 78, 0.4);
      }

      .btn-magnetic:active {
        transform: translateY(1px) scale(0.99);
      }

      /* Shimmer */
      .shimmer {
        background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent);
        background-size: 200% 100%;
        animation: shimmer 2.5s linear infinite;
        pointer-events: none;
      }

      /* Card hover */
      .card-3d {
        transform-style: preserve-3d;
        transition: transform 300ms ease, box-shadow 300ms ease;
      }

      .card-3d:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: var(--card-hover, 0 18px 45px rgba(0, 0, 0, 0.35));
      }

      /* Reveal */
      .reveal {
        opacity: 0;
        transform: translateY(10px);
      }

      .reveal.in {
        opacity: 1;
        transform: translateY(0);
        transition: all 720ms cubic-bezier(0.2, 0.65, 0.3, 1);
      }

      /* Navbar scrolled */
      nav.scrolled {
        background: rgba(13, 16, 32, 0.6);
        backdrop-filter: blur(10px) saturate(160%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      }

      /* Mobile menu */
      #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
      }

      #mobile-menu.open {
        max-height: 560px;
      }

      /* Gradient text */
      .text-gradient {
        background: linear-gradient(135deg, #ffd34e, #b13bff 60%, #5e17eb);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }

      /* Marquee */
      .track {
        width: 200%;
      }

      /* Nav link underline animation */
      .nav-link {
        position: relative;
        padding: 0.25rem 0.5rem;
        transition: color 0.2s;
      }

      .nav-link::after {
        content: "";
        display: block;
        border-bottom: 2px solid #ffd34e;
        width: 100%;
        transform: scaleX(0);
        transition: transform 0.3s;
        position: absolute;
        left: 0;
        bottom: 0;
      }

      .nav-link:hover,
      .nav-link.active-nav {
        color: #ffd34e;
      }

      .nav-link:hover::after,
      .nav-link.active-nav::after {
        transform: scaleX(1);
      }

      /* Image hover */
      .img-hover:hover {
        transform: scale(1.05);
        transition: transform 0.6s ease;
      }

      /* Upcoming event hover: gold border/glow */
      .upcoming-card:hover {
        border: 2px solid #ffd34e;
        /* gold */
        box-shadow: 0 0 20px rgba(255, 211, 78, 0.4);
        transform: translateY(-4px) scale(1.02);
        transition: all 0.1s ease;
      }

      /* Team card hover: lift + gold border */
      .team-card:hover {
        border: 2px solid #b13bff;
        box-shadow: 0 0 15px rgba(255, 211, 78, 0.35);
        transform: translateY(-5px) scale(1.03);
        transition: all 0.3s ease;
      }

      /* Past events hover: image zoom + border glow */
      .past-card img {
        transition: transform 0.6s ease;
      }

      .past-card:hover {
        border: 2px solid #b13bff;
        box-shadow: 0 0 15px rgba(255, 211, 78, 0.35);
        transform: translateY(-4px) scale(1.02);
        transition: all 0.1s ease;
      }

      .past-card:hover img {
        transform: scale(1.05);
      }

      /* Benefit card hover: lift + glow */
      .benefit-card:hover {
        border: 2px solid #ffd34e;
        /* gold */
        box-shadow: 0 0 20px rgba(255, 211, 78, 0.4);
        transform: translateY(-5px) scale(1.03);
        transition: all 0.3s ease;
      }

      /* Team Grid Layout */
      .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
        align-items: start;
      }

      /* Individual Team Card */
      .individual-card {
        background: rgba(15, 15, 20, 0.8);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 2rem;
        text-align: center;
        position: relative;
        overflow: hidden;
        transition:
          transform 0.4s cubic-bezier(0.25, 0.75, 0.45, 1.1),
          box-shadow 0.4s,
          background 0.4s,
          border-color 0.4s,
          left 0.4s, top 0.4s, width 0.4s, height 0.4s;
        cursor: pointer;

      }

      .individual-card--centered {
        position: fixed !important;
        top: 50vh !important;
        left: 50vw !important;
        transform: translate(-50%, -50%) scale(1.2) !important;
        z-index: 9999 !important;
        width: 40vw !important;
        /* Optional: Set width and height for appearance */
        max-width: 90vw !important;
        height: auto !important;
        box-shadow:
          0 30px 70px 8px rgba(0, 0, 0, 0.5),
          0 0 50px 10px rgba(255, 211, 78, 0.25);
      }

      /* Optional: Remove pointer events on others while focused */
      .individual-card--overlay-blocker {
        pointer-events: none;
        opacity: 0.2;
        filter: blur(2px);
        transition: opacity 0.4s, filter 0.4s;
      }

      /* Core cloned card styles */
      .individual-card--clone {
        cursor: default;
        user-select: none;
        background: rgba(15, 15, 20, 0.95);
        border-radius: 1rem;
        box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 211, 78, 0.25);
        transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
        filter: none !important;
        pointer-events: auto !important;
      }

      /* Hovered glow effect for cloned card and original cards */
      .individual-card.hovered,
      .individual-card--clone.hovered {
        box-shadow:
          0 20px 40px rgba(0, 0, 0, 0.3),
          0 0 25px rgba(255, 211, 78, 0.15);
        border-color: rgba(255, 211, 78, 0.3);
        background: rgba(15, 15, 20, 0.95);
        transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
      }

      /* Role icon overlay glow on hover */
      .role-icon-overlay.hovered {
        box-shadow: 0 0 20px 6px rgba(255, 211, 78, 0.33);
        border-radius: 50%;
        transition: box-shadow 0.3s ease;
      }

      /* Profile image in cloned card */
      .individual-card--clone .profile-photo {
        width: 349px !important;
        height: 352px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        margin: 0 auto 20px !important;
        display: block !important;
      }

      /* Initials fallback photo in cloned card */
      .individual-card--clone .profile-initials {
        width: 180px !important;
        height: 180px !important;
        border-radius: 50% !important;
        font-size: 5rem !important;
        margin: 0 auto 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
      }

      /* Member name text in cloned card */
      .individual-card--clone .member-name {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 700;
        margin-top: 0 !important;
        color: #ffcf3c;
        text-shadow: 0 0 8px rgba(255, 211, 60, 0.9);
      }

      /* Member role text in cloned card */
      .individual-card--clone .member-role {
        text-align: center;
        font-size: 1.5rem;
        margin-top: 0.3rem !important;
        color: #ddd;
      }

      /* Optional: Smooth transition for visibility and scaling */
      .individual-card--clone,
      .individual-card {
        transition: all 0.3s ease;
      }

      /* Subtle Border Animation */
      .individual-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, #ffd34e, transparent);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.4s ease;
      }

      .individual-card:hover::before {
        transform: scaleX(1);
      }

      /* Hover Effects */
      .individual-card:hover {
        transform: translateY(-10px) scale(1.2);
        border-color: rgba(255, 211, 78, 0.3);
        box-shadow:
          0 20px 40px rgba(0, 0, 0, 0.3),
          0 0 25px rgba(255, 211, 78, 0.15);
        background: rgba(15, 15, 20, 0.95);
        z-index: 2;
      }

      /* Profile Photo */
      .profile-photo {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 1.5rem;
        border: 3px solid transparent;
        background: linear-gradient(white, white) padding-box,
          linear-gradient(45deg, #ffd34e, #b13bff) border-box;
        transition: all 0.4s ease;
        position: relative;
      }

      .profile-initials {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: linear-gradient(135deg, #b13bff, #5e17eb);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        color: white;
        font-weight: 700;
        font-size: 1.8rem;
        transition: all 0.4s ease;
        position: relative;
      }

      .individual-card:hover .profile-photo,
      .individual-card:hover .profile-initials {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 211, 78, 0.4);
      }

      /* Role Icon Overlay */
      .role-icon-overlay {
        position: absolute;
        bottom: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, #ffd34e, #b13bff);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0f0f14;
        font-size: 0.9rem;
        border: 2px solid rgba(15, 15, 20, 0.8);
        transition: all 0.3s ease;
      }

      .individual-card:hover .role-icon-overlay {
        transform: scale(1.15);
        box-shadow: 0 0 15px rgba(255, 211, 78, 0.6);
      }

      /* Member Name */
      .member-name {
        font-size: 1.3rem;
        font-weight: 700;
        color: white;
        margin-bottom: 0.5rem;
        transition: color 0.3s ease;
        line-height: 1.2;
      }

      .individual-card:hover .member-name {
        color: #ffd34e;
      }

      /* Member Role */
      .member-role {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 0.75rem;
      }

      /* Department Badge */
      .department-badge {
        display: inline-block;
        background: rgba(177, 59, 255, 0.2);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        border-radius: 20px;
        border: 1px solid rgba(177, 59, 255, 0.3);
        margin-top: 0.5rem;
        transition: all 0.3s ease;
      }

      .individual-card:hover .department-badge {
        background: rgba(177, 59, 255, 0.3);
        border-color: rgba(177, 59, 255, 0.5);
        transform: scale(1.05);
      }

      /* Card Variants for Visual Interest */
      .card-style-1 {
        background: linear-gradient(135deg, rgba(255, 211, 78, 0.08), rgba(15, 15, 20, 0.9));
      }

      .card-style-2 {
        background: linear-gradient(135deg, rgba(177, 59, 255, 0.08), rgba(15, 15, 20, 0.9));
      }

      .card-style-3 {
        background: linear-gradient(135deg, rgba(94, 23, 235, 0.08), rgba(15, 15, 20, 0.9));
      }

      .card-style-4 {
        background: linear-gradient(135deg, rgba(78, 205, 196, 0.08), rgba(15, 15, 20, 0.9));
      }

      /* Reveal Animation */
      .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
      }

      .reveal.in {
        opacity: 1;
        transform: translateY(0);
      }

      /* Floating Elements for Extra Visual Interest */
      .floating-element {
        position: absolute;
        width: 6px;
        height: 6px;
        background: rgba(255, 211, 78, 0.3);
        border-radius: 50%;
        opacity: 0;
        transition: all 0.4s ease;
      }

      .floating-element-1 {
        top: 15%;
        left: 85%;
        animation-delay: 0.2s;
      }

      .floating-element-2 {
        bottom: 20%;
        right: 88%;
        animation-delay: 0.4s;
      }

      .individual-card:hover .floating-element {
        opacity: 1;
        animation: float-dance 3s ease-in-out infinite;
      }

      @keyframes float-dance {

        0%,
        100% {
          transform: translateY(0);
        }

        50% {
          transform: translateY(-10px);
        }
      }

      /* Responsive Design */
      @media (max-width: 1200px) {
        .team-grid {
          grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
          gap: 1.75rem;
        }
      }

      @media (max-width: 768px) {
        .team-grid {
          grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
          gap: 1.5rem;
        }

        .individual-card {
          padding: 1.5rem;
        }

        .profile-photo,
        .profile-initials {
          width: 100px;
          height: 100px;
        }

        .profile-initials {
          font-size: 1.5rem;
        }

        .member-name {
          font-size: 1.2rem;
        }
      }

      @media (max-width: 640px) {
        .team-grid {
          grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
          gap: 1.25rem;
        }
      }

      @media (max-width: 480px) {
        .team-grid {
          grid-template-columns: 1fr 1fr;
          gap: 1rem;
        }

        .individual-card {
          padding: 1.25rem;
        }

        .profile-photo,
        .profile-initials {
          width: 80px;
          height: 80px;
        }

        .profile-initials {
          font-size: 1.2rem;
        }

        .member-name {
          font-size: 1.1rem;
        }

        .member-role {
          font-size: 0.9rem;
        }

        .department-badge {
          font-size: 0.7rem;
          padding: 0.3rem 0.8rem;
        }
      }




      /* Event Modal Styles */
      .event-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 10000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
      }

      .event-modal.active {
        opacity: 1;
        visibility: visible;
      }

      .modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
      }

      .modal-card {
        position: relative;
        width: 50vw;
        max-width: 90vw;
        max-height: 90vh;
        background: rgba(15, 15, 20, 0.95);
        border-radius: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transform: scale(0.8) translateY(50px);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }


      .individual-card--clone {
  pointer-events: none !important;
}

      .event-modal.active .modal-card {
        transform: scale(1) translateY(0);
      }

      .modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: white;
        cursor: pointer;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
      }

      .modal-close:hover {
        background: rgba(255, 0, 0, 0.8);
        border-color: rgba(255, 0, 0, 0.8);
        transform: scale(1.1);
      }

      .modal-content {
        flex: 1 1 auto;
        /* Take remaining height */
        overflow-y: auto;
        padding: 1.5rem 2rem;
        color: white;
        /* Optional: smooth scrolling */
        scroll-behavior: smooth;
      }

      /* Slideshow Container */
      .slideshow-container {
        position: relative;
        height: 300px;
        overflow: hidden;
        background: #000;
      }

      .slideshow-wrapper {
        width: 100%;
        height: 100%;
        overflow: hidden;
      }

      .slides-track {
        display: flex;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease;
      }

      .slide {
        flex: 0 0 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
      }

      .slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        /* Ensures whole image visible */
        display: block;
        margin: 0 auto;
      }



      /* Slideshow Navigation */
      .slide-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 50px;
        background: rgba(15, 15, 20, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        z-index: 10;
      }

      .slide-nav:hover {
        background: rgba(255, 211, 78, 0.8);
        border-color: rgba(255, 211, 78, 0.8);
        color: #0f0f14;
        transform: translateY(-50%) scale(1.1);
      }

      .slide-nav:disabled {
        opacity: 0.3;
        cursor: not-allowed;
      }

      .slide-prev {
        left: 15px;
      }

      .slide-next {
        right: 15px;
      }

      /* Slide Indicators */
      .slide-indicators {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
      }

      .slide-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
      }

      .slide-indicator.active {
        background: #ffd34e;
        transform: scale(1.3);
      }

      .slide-indicator:hover {
        background: rgba(255, 211, 78, 0.8);
      }

      /* Modal Details Section */
      .modal-details {
        padding: 2rem;
        flex: 1;
        overflow-y: auto;
      }

      .modal-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
        text-align: center;
      }

      .modal-date {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: #ffd34e;
        font-weight: 600;
        margin-bottom: 1.5rem;
      }

      .modal-description {
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        margin-bottom: 2rem;
        text-align: justify;
      }

      .modal-highlights {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 1.5rem;
        border-left: 4px solid #ffd34e;
      }

      .modal-highlights h4 {
        color: #ffd34e;
        font-weight: 600;
        margin-bottom: 1rem;
        font-size: 1.1rem;
      }

      .modal-highlights ul {
        list-style: none;
        padding: 0;
      }

      .modal-highlights li {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.5rem;
        padding-left: 1.5rem;
        position: relative;
      }

      .modal-highlights li::before {
        content: '✨';
        position: absolute;
        left: 0;
        color: #ffd34e;
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .modal-card {
          width: 95vw;
          max-height: 90vh;
        }

        .slideshow-container {
          position: relative;
          width: 100%;
          height: 400px;
          /* or your desktop suitable height */
          overflow: hidden;
          background: #000;
        }

        @media (max-width: 768px) {
          .slideshow-container {
            height: 250px;
            /* smaller height for mobile */
          }
        }

        .modal-details {
          padding: 1.5rem;
        }

        .modal-title {
          font-size: 1.5rem;
        }

        .slide-nav {
          width: 40px;
          height: 40px;
        }

        .modal-close {
          width: 35px;
          height: 35px;
          top: 15px;
          right: 15px;
        }
      }

      @media (max-width: 768px) {
        .slideshow-container {
          height: 250px;
          /* smaller for mobile */
        }

        .modal-details {
          padding: 1rem;
        }

        .slide-nav {
          width: 35px;
          height: 35px;
        }

        .slide-indicators {
          bottom: 10px;
        }

        .slide-indicator {
          width: 8px;
          height: 8px;
        }
      }

      /* Animation for modal entrance */
      @keyframes modalSlideIn {
        from {
          transform: scale(0.8) translateY(50px);
          opacity: 0;
        }

        to {
          transform: scale(1) translateY(0);
          opacity: 1;
        }
      }

      /* Enhanced past event cards with click cursor */
      .past-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        background: rgba(255 255 255 / 0.1);
        transition: transform 0.3s ease;
      }

      .past-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 1rem 1rem 0 0;
        display: block;
      }

      .past-card:hover {
        transform: translateY(-8px) scale(1.02);
        border: 2px solid #ffd34e;
        box-shadow: 0 0 25px rgba(255, 211, 78, 0.4);
      }

      .past-card::after {
        content: '👁️ View Gallery';
        position: absolute;
        bottom: 10px;
        right: 10px;
        background: rgba(255, 211, 78, 0.9);
        color: #0f0f14;
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.7rem;
        font-weight: 600;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
      }

      .past-card:hover::after {
        opacity: 1;
        transform: translateY(0);
      }






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

      /* Code snippets floating in background */
      .code-snippet {
        position: absolute;
        font-family: 'JetBrains Mono', monospace;
        font-size: 12px;
        color: #ffffff;
        opacity: 0.08;
        white-space: pre;
        animation: float-code 15s ease-in-out infinite;
      }

      .code-1 {
        top: 10%;
        left: 5%;
        animation-delay: 0s;
      }

      .code-2 {
        top: 20%;
        right: 10%;
        animation-delay: 2s;
      }

      .code-3 {
        top: 60%;
        left: 8%;
        animation-delay: 4s;
      }

      .code-4 {
        bottom: 25%;
        right: 15%;
        animation-delay: 6s;
      }

      .code-5 {
        top: 40%;
        right: 5%;
        animation-delay: 8s;
      }

      .code-6 {
        bottom: 15%;
        left: 12%;
        animation-delay: 10s;
      }

      @keyframes float-code {

        0%,
        100% {
          transform: translateY(0) rotate(0deg);
          opacity: 0.08;
        }

        50% {
          transform: translateY(-20px) rotate(2deg);
          opacity: 0.15;
        }
      }

      /* Circuit line patterns */
      .circuit-line {
        position: absolute;
        background: linear-gradient(90deg, transparent, #ffffff, transparent);
        height: 1px;
        animation: circuit-flow 8s linear infinite;
      }

      .circuit-1 {
        top: 15%;
        left: 0;
        width: 40%;
        animation-delay: 0s;
      }

      .circuit-2 {
        top: 45%;
        right: 0;
        width: 35%;
        animation-delay: 2s;
        background: linear-gradient(270deg, transparent, #ffffff, transparent);
      }

      .circuit-3 {
        bottom: 30%;
        left: 0;
        width: 50%;
        animation-delay: 4s;
      }

      .circuit-4 {
        bottom: 10%;
        right: 0;
        width: 30%;
        animation-delay: 6s;
        background: linear-gradient(270deg, transparent, #ffffff, transparent);
      }

      @keyframes circuit-flow {
        0% {
          opacity: 0;
          transform: scaleX(0);
        }

        50% {
          opacity: 0.3;
          transform: scaleX(1);
        }

        100% {
          opacity: 0;
          transform: scaleX(0);
        }
      }

      /* Binary rain */
      .binary-rain {
        position: absolute;
        top: 0;
        right: 20%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        opacity: 0.05;
      }

      .binary-char {
        font-family: 'JetBrains Mono', monospace;
        font-size: 10px;
        color: #ffffff;
        animation: binary-fall 12s linear infinite;
      }

      .binary-char:nth-child(2) {
        animation-delay: 2s;
      }

      .binary-char:nth-child(3) {
        animation-delay: 4s;
      }

      .binary-char:nth-child(4) {
        animation-delay: 6s;
      }

      .binary-char:nth-child(5) {
        animation-delay: 8s;
      }

      @keyframes binary-fall {
        0% {
          transform: translateY(-100px);
          opacity: 0;
        }

        50% {
          opacity: 0.1;
        }

        100% {
          transform: translateY(100vh);
          opacity: 0;
        }
      }

      /* Main logo section */
      .logo-section {
        text-align: center;
      }

      .acses-text {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 25px;
      }

      .acses-text span {
        font-family: 'Inter', sans-serif;
        font-size: 5rem;
        font-weight: 700;
        color: #ffffff;
        opacity: 0;
        transform: translateY(60px) scale(0.7);
        animation: letter-emerge 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
      }

      .letter-a {
        animation-delay: 0.1s;
      }

      .letter-c {
        animation-delay: 0.2s;
      }

      .letter-s {
        animation-delay: 0.3s;
      }

      .letter-e {
        animation-delay: 0.4s;
      }

      .letter-s2 {
        animation-delay: 0.5s;
      }

      @keyframes letter-emerge {
        0% {
          opacity: 0;
          transform: translateY(60px) scale(0.7);
        }

        100% {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }

      /* Tech underline */
      .tech-underline {
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #ffffff, transparent);
        margin: 0 auto;
        animation: tech-line-expand 1s ease-out 0.9s forwards;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
      }

      @keyframes tech-line-expand {
        0% {
          width: 0;
        }

        100% {
          width: 400px;
        }
      }

      /* Tagline */
      .tagline {
        text-align: center;
        animation: fade-in 0.8s ease 2s forwards;
      }

      @keyframes fade-in {
        0% {
          opacity: 0;
          transform: translateY(30px);
        }

        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Terminal loading */
      .loading-section {
        text-align: center;
        animation: fade-in 0.8s ease 2.6s forwards;
      }

      .terminal-loading {
        font-family: 'JetBrains Mono', monospace;
        color: #ffffff;
        font-size: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
      }

      .terminal-prompt {
        color: #00ff00;
      }

      .loading-text {
        animation: typing-dots 2s ease-in-out infinite;
      }

      .terminal-cursor {
        animation: cursor-blink 1s infinite;
        color: #ffffff;
      }

      @keyframes typing-dots {

        0%,
        50% {
          opacity: 1;
        }

        51%,
        100% {
          opacity: 0.5;
        }
      }

      @keyframes cursor-blink {

        0%,
        50% {
          opacity: 1;
        }

        51%,
        100% {
          opacity: 0;
        }
      }

      /* Progress container */
      .progress-container {
        width: 300px;
        margin: 0 auto;
      }

      .progress-track {
        width: 100%;
        height: 2px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 1px;
        overflow: hidden;
      }

      .progress-bar {
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, #00ff00, #ffffff);
        border-radius: 1px;
        animation: progress-load 1.5s ease-out 2.8s forwards;
        box-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
      }

      @keyframes progress-load {
        0% {
          width: 0;
        }

        100% {
          width: 100%;
        }
      }

      /* Mobile responsive */
      @media (max-width: 640px) {
        .acses-text {
          gap: 12px;
        }

        .acses-text span {
          font-size: 3.5rem;
        }

        .tagline h2 {
          font-size: 0.95rem;
        }

        .progress-container {
          width: 250px;
        }

        .tech-underline {
          animation-name: tech-line-expand-mobile;
        }

        .terminal-loading {
          font-size: 14px;
        }

        @keyframes tech-line-expand-mobile {
          0% {
            width: 0;
          }

          100% {
            width: 300px;
          }
        }
      }


      /* Clean About Section Styles */

      /* Stats Animation */
      .stat-box {
        transition: all 0.3s ease;
      }

      .stat-box:hover {
        transform: translateY(-5px);
      }

     .stat-number {
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.3s ease;
}

.stat-number.counting {
  color: #ffd34e;
  text-shadow: 0 0 20px rgba(255, 211, 78, 0.4);
}
.stat-number.plus::after {
  content: " +";
  color: #ffd34e; /* or your highlight color */
  font-weight: 700;
}



      /* Mission Box */
      .mission-box {
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
      }

      .mission-box:hover {
        border-color: rgba(255, 211, 78, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      }

      /* About Visual */
      .about-visual {
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        transition: all 0.3s ease;
      }

      .about-visual:hover {
        border-color: rgba(255, 211, 78, 0.2);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
      }

      /* Highlight Items */
      .highlight-item {
        border-radius: 12px;
        transition: all 0.3s ease;
        cursor: pointer;
      }

      .highlight-item:hover {
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.05);
      }

      .highlight-icon {
        transition: all 0.3s ease;
      }

      .highlight-item:hover .highlight-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 8px 25px rgba(255, 211, 78, 0.3);
      }

      /* Responsive Design */
      @media (max-width: 1024px) {
        .stats-row {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (max-width: 768px) {
        .stats-row {
          grid-template-columns: repeat(2, 1fr);
          gap: 1rem;
        }

        .about-visual {
          padding: 1.5rem;
        }

        .highlight-item {
          padding: 1rem;
        }

        .highlight-icon {
          width: 2.5rem;
          height: 2.5rem;
        }
      }

      @media (max-width: 640px) {
        .mission-box {
          padding: 1.5rem;
        }

        .highlight-item {
          flex-direction: column;
          text-align: center;
          gap: 0.75rem;
        }
      }

      /* Simple reveal animation */
      .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
      }

      .reveal.in {
        opacity: 1;
        transform: translateY(0);
      }


      /* Enhanced Hamburger Button */
      .hamburger-button {
        width: 50px;
        height: 50px;
        background: rgba(15, 15, 20, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        cursor: pointer;
      }

      .hamburger-button:hover {
        background: rgba(255, 211, 78, 0.1);
        border-color: rgba(255, 211, 78, 0.3);
        transform: scale(1.05);
      }

      .hamburger-box {
        position: relative;
        width: 24px;
        height: 18px;
      }

      .hamburger-inner {
        position: absolute;
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
      }

      .hamburger-inner::before,
      .hamburger-inner::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
      }

      .hamburger-inner::before {
        top: -8px;
      }

      .hamburger-inner::after {
        bottom: -8px;
      }

      /* Animated Hamburger States */
      .hamburger-button.active .hamburger-inner {
        background: transparent;
      }

      .hamburger-button.active .hamburger-inner::before {
        top: 0;
        transform: rotate(45deg);
        background: #ffd34e;
      }

      .hamburger-button.active .hamburger-inner::after {
        bottom: 0;
        transform: rotate(-45deg);
        background: #ffd34e;
      }

      /* Full-Screen Mobile Menu Overlay */
      .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 0, 61, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        z-index: 40;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
      }

      .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
      }

      /* Menu Background Effects */
      .menu-background {
        position: absolute;
        inset: 0;
        overflow: hidden;
        opacity: 0.6;
      }

      .gradient-orbs::before,
      .gradient-orbs::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 211, 78, 0.3), transparent 70%);
        animation: float-orbs 15s ease-in-out infinite;
      }

      .gradient-orbs::before {
        width: 300px;
        height: 300px;
        top: 10%;
        left: -10%;
        animation-delay: 0s;
      }

      .gradient-orbs::after {
        width: 400px;
        height: 400px;
        bottom: 10%;
        right: -15%;
        background: radial-gradient(circle, rgba(177, 59, 255, 0.2), transparent 70%);
        animation-delay: 7s;
      }

      @keyframes float-orbs {

        0%,
        100% {
          transform: translate(0, 0) scale(1);
        }

        25% {
          transform: translate(30px, -40px) scale(1.1);
        }

        50% {
          transform: translate(-20px, -80px) scale(0.9);
        }

        75% {
          transform: translate(-40px, -40px) scale(1.05);
        }
      }

      /* Floating Particles */
      .floating-particles {
        position: absolute;
        inset: 0;
      }

      .floating-particles::before,
      .floating-particles::after {
        content: '';
        position: absolute;
        width: 4px;
        height: 4px;
        background: rgba(255, 211, 78, 0.6);
        border-radius: 50%;
        animation: particle-float 12s linear infinite;
      }

      .floating-particles::before {
        top: 20%;
        left: 20%;
        animation-delay: 0s;
      }

      .floating-particles::after {
        top: 60%;
        right: 30%;
        animation-delay: 6s;
      }

      @keyframes particle-float {
        0% {
          opacity: 0;
          transform: translateY(100px);
        }

        10% {
          opacity: 1;
        }

        90% {
          opacity: 1;
        }

        100% {
          opacity: 0;
          transform: translateY(-100px);
        }
      }

      /* Mesh Pattern */
      .mesh-pattern {
        position: absolute;
        inset: 0;
        background-image:
          radial-gradient(circle at 25% 25%, rgba(255, 211, 78, 0.1) 0%, transparent 50%),
          radial-gradient(circle at 75% 75%, rgba(177, 59, 255, 0.1) 0%, transparent 50%);
        background-size: 200px 200px;
        animation: mesh-move 20s ease-in-out infinite;
      }

      @keyframes mesh-move {

        0%,
        100% {
          transform: translate(0, 0);
        }

        50% {
          transform: translate(-20px, -20px);
        }
      }

      /* Menu Content */
      .menu-content {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        z-index: 10;
      }

      /* Menu Header */
      .menu-header {
        position: absolute;
        top: 2rem;
        left: 2rem;
        opacity: 0;
        transform: translateY(-30px);
        transition: all 0.6s ease;
        transition-delay: 0.3s;
      }

      .mobile-menu-overlay.active .menu-header {
        opacity: 1;
        transform: translateY(0);
      }

      .menu-logo {
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .logo-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #ffd34e, #b13bff);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0f0f14;
        font-size: 1.2rem;
      }

      .logo-text {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
      }

      /* Navigation Links */
      .menu-navigation {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin: 2rem 0;
      }

      .menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 280px;
        padding: 1.25rem 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 0;
        transform: translateX(-50px);
        position: relative;
        overflow: hidden;
      }

      /* Staggered Animation for Menu Links */
      .menu-link:nth-child(1) {
        transition-delay: 0.1s;
      }

      .menu-link:nth-child(2) {
        transition-delay: 0.2s;
      }

      .menu-link:nth-child(3) {
        transition-delay: 0.3s;
      }

      .menu-link:nth-child(4) {
        transition-delay: 0.4s;
      }

      .menu-link:nth-child(5) {
        transition-delay: 0.5s;
      }

      .menu-link:nth-child(6) {
        transition-delay: 0.6s;
      }

      .menu-link:nth-child(7) {
        transition-delay: 0.7s;
      }

      .mobile-menu-overlay.active .menu-link {
        opacity: 1;
        transform: translateX(0);
      }

      /* Menu Link Hover Effects */
      .menu-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 211, 78, 0.1), transparent);
        transition: left 0.5s ease;
      }

      .menu-link:hover::before {
        left: 100%;
      }

      .menu-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 211, 78, 0.4);
        transform: translateX(10px) scale(1.02);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      }

      .menu-link-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #b13bff, #5e17eb);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
        transition: all 0.3s ease;
      }

      .menu-link:hover .menu-link-icon {
        transform: rotate(360deg) scale(1.1);
        background: linear-gradient(135deg, #ffd34e, #b13bff);
      }

      .menu-link-text {
        flex: 1;
        margin-left: 1rem;
      }

      .menu-link-arrow {
        color: rgba(255, 255, 255, 0.6);
        transition: all 0.3s ease;
      }

      .menu-link:hover .menu-link-arrow {
        color: #ffd34e;
        transform: translateX(5px);
      }

      /* Menu Footer */
      .menu-footer {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
        transition: all 0.6s ease;
        transition-delay: 0.8s;
      }

      .mobile-menu-overlay.active .menu-footer {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
      }

      .social-links {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 1rem;
      }

      .social-link {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        transition: all 0.3s ease;
      }

      .social-link:hover {
        background: #ffd34e;
        color: #0f0f14;
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 8px 25px rgba(255, 211, 78, 0.4);
      }

      .menu-tagline {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
        margin: 0;
      }

      /* Responsive Adjustments */
      @media (max-width: 480px) {
        .menu-link {
          width: 260px;
          padding: 1rem 1.25rem;
          font-size: 1rem;
        }

        .menu-content {
          padding: 1.5rem;
        }

        .menu-header {
          top: 1.5rem;
          left: 1.5rem;
        }

        .logo-icon {
          width: 35px;
          height: 35px;
        }

        .logo-text {
          font-size: 1.3rem;
        }
      }

      /* Menu Open Animation */
      .mobile-menu-overlay.active {
        animation: menu-reveal 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
      }

      @keyframes menu-reveal {
        0% {
          opacity: 0;
          transform: scale(0.8);
        }

        100% {
          opacity: 1;
          transform: scale(1);
        }
      }

      /* Next-Level Loading Screen */
      .loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, #0a003d 0%, #0b1020 50%, #070a16 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        overflow: hidden;
      }

      /* Loading Background Effects */
      .loading-background {
        position: absolute;
        inset: 0;
        opacity: 0.3;
      }

      /* Tech Grid */
      .tech-grid {
        position: absolute;
        inset: 0;
        background-image:
          linear-gradient(rgba(255, 211, 78, 0.1) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 211, 78, 0.1) 1px, transparent 1px);
        background-size: 50px 50px;
        animation: grid-move 20s linear infinite;
      }

      @keyframes grid-move {
        0% {
          transform: translate(0, 0);
        }

        100% {
          transform: translate(50px, 50px);
        }
      }

      /* Floating Code Elements */
      .floating-code {
        position: absolute;
        inset: 0;
      }

      .floating-code::before,
      .floating-code::after {
        content: '{ }';
        position: absolute;
        font-family: 'JetBrains Mono', monospace;
        font-size: 2rem;
        color: rgba(177, 59, 255, 0.2);
        animation: float-code 15s ease-in-out infinite;
      }

      .floating-code::before {
        top: 20%;
        left: 10%;
        animation-delay: 0s;
      }

      .floating-code::after {
        content: '</>';
        bottom: 30%;
        right: 15%;
        animation-delay: 7s;
      }

      @keyframes float-code {

        0%,
        100% {
          transform: translateY(0) rotate(0deg);
          opacity: 0.2;
        }

        50% {
          transform: translateY(-30px) rotate(5deg);
          opacity: 0.4;
        }
      }

      /* Energy Waves */
      .energy-waves {
        position: absolute;
        inset: 0;
        background:
          radial-gradient(circle at 30% 20%, rgba(255, 211, 78, 0.1) 0%, transparent 50%),
          radial-gradient(circle at 70% 80%, rgba(177, 59, 255, 0.1) 0%, transparent 50%);
        animation: wave-pulse 8s ease-in-out infinite;
      }

      @keyframes wave-pulse {

        0%,
        100% {
          transform: scale(1);
          opacity: 0.3;
        }

        50% {
          transform: scale(1.1);
          opacity: 0.6;
        }
      }

      /* Particle System */
      .particle-system {
        position: absolute;
        inset: 0;
      }

      .particle-system::before,
      .particle-system::after {
        content: '';
        position: absolute;
        width: 4px;
        height: 4px;
        background: #ffd34e;
        border-radius: 50%;
        animation: particle-move 12s linear infinite;
      }

      .particle-system::before {
        top: 10%;
        left: 20%;
        animation-delay: 0s;
      }

      .particle-system::after {
        top: 60%;
        right: 25%;
        animation-delay: 6s;
      }

      @keyframes particle-move {
        0% {
          opacity: 0;
          transform: translateY(100px) scale(0);
        }

        10% {
          opacity: 1;
          transform: translateY(0) scale(1);
        }

        90% {
          opacity: 1;
          transform: translateY(-20px) scale(1);
        }

        100% {
          opacity: 0;
          transform: translateY(-100px) scale(0);
        }
      }

      /* Main Loading Container */
      .loading-container {
        position: relative;
        text-align: center;
        z-index: 10;
      }

      /* Logo Animation */
      .logo-animation {
        margin-bottom: 3rem;
      }

      .logo-wrapper {
        position: relative;
        display: inline-block;
        margin-bottom: 2rem;
      }

      .logo-icon {
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, #ffd34e, #b13bff);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0f0f14;
        font-size: 2.5rem;
        position: relative;
        animation: logo-pulse 2s ease-in-out infinite;
        box-shadow: 0 0 40px rgba(255, 211, 78, 0.4);
      }

      @keyframes logo-pulse {

        0%,
        100% {
          transform: scale(1);
          box-shadow: 0 0 40px rgba(255, 211, 78, 0.4);
        }

        50% {
          transform: scale(1.05);
          box-shadow: 0 0 60px rgba(255, 211, 78, 0.6);
        }
      }

      .logo-glow {
        position: absolute;
        inset: -10px;
        background: conic-gradient(from 0deg, #ffd34e, #b13bff, #5e17eb, #ffd34e);
        border-radius: 25px;
        z-index: -1;
        opacity: 0.6;
        animation: logo-rotate 4s linear infinite;
      }

      @keyframes logo-rotate {
        0% {
          transform: rotate(0deg);
        }

        100% {
          transform: rotate(360deg);
        }
      }

      /* ACSES Text Animation */
      .acses-text {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
      }

      .letter {
        font-size: 4rem;
        font-weight: 700;
        color: white;
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
        animation: letter-drop 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
      }

      .letter:nth-child(1) {
        animation-delay: 0.5s;
      }

      .letter:nth-child(2) {
        animation-delay: 0.7s;
      }

      .letter:nth-child(3) {
        animation-delay: 0.9s;
      }

      .letter:nth-child(4) {
        animation-delay: 1.1s;
      }

      .letter:nth-child(5) {
        animation-delay: 1.3s;
      }

      @keyframes letter-drop {
        0% {
          opacity: 0;
          transform: translateY(50px) rotateX(90deg);
        }

        50% {
          opacity: 0.8;
          transform: translateY(-10px) rotateX(45deg);
        }

        100% {
          opacity: 1;
          transform: translateY(0) rotateX(0deg);
        }
      }

      /* Tagline */
      .tagline {
        opacity: 0;
        animation: fade-in-up 0.8s ease forwards;
        animation-delay: 2s;
      }

      .tagline-text {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.1rem;
        font-weight: 300;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }

      @keyframes fade-in-up {
        0% {
          opacity: 0;
          transform: translateY(20px);
        }

        100% {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Progress Section */
      .progress-section {
        margin-top: 3rem;
        opacity: 0;
        animation: fade-in-up 0.8s ease forwards;
        animation-delay: 2.5s;
      }

      /* Loading Messages */
      .loading-messages {
        margin-bottom: 2rem;
        height: 2rem;
        position: relative;
      }

      .message {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-family: 'JetBrains Mono', monospace;
        color: white;
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      .message.active {
        opacity: 1;
      }

      .terminal-prompt {
        color: #00ff00;
        margin-right: 0.5rem;
      }

      .cursor {
        animation: cursor-blink 1s infinite;
        color: #ffd34e;
      }

      @keyframes cursor-blink {

        0%,
        50% {
          opacity: 1;
        }

        51%,
        100% {
          opacity: 0;
        }
      }

      /* Progress Bar */
      .progress-container {
        margin-bottom: 2rem;
      }

      .progress-track {
        width: 400px;
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        margin: 0 auto 1rem;
        position: relative;
        overflow: hidden;
      }

      .progress-fill {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #ffd34e, #b13bff);
        border-radius: 3px;
        transition: width 0.3s ease;
        position: relative;
      }

      .progress-glow {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 0%;
        background: rgba(255, 211, 78, 0.6);
        border-radius: 3px;
        filter: blur(4px);
        transition: width 0.3s ease;
      }

      .progress-percentage {
        color: #ffd34e;
        font-family: 'JetBrains Mono', monospace;
        font-weight: 600;
        font-size: 1.1rem;
      }

      /* Loading Stats */
      .loading-stats {
        display: flex;
        justify-content: center;
        gap: 3rem;
        margin-top: 2rem;
      }

      .stat {
        text-align: center;
      }

      .stat-label {
        display: block;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
      }

      .stat-value {
        display: block;
        color: #ffd34e;
        font-family: 'JetBrains Mono', monospace;
        font-size: 1.2rem;
        font-weight: 600;
      }

      /* Tech Elements */
      .tech-elements {
        position: absolute;
        inset: 0;
        pointer-events: none;
        overflow: hidden;
      }

      .binary-rain {
        position: absolute;
        top: 0;
        right: 10%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        opacity: 0.1;
      }

      .binary-rain span {
        font-family: 'JetBrains Mono', monospace;
        color: #00ff00;
        font-size: 0.8rem;
        animation: binary-fall 8s linear infinite;
      }

      .binary-rain span:nth-child(1) {
        animation-delay: 0s;
      }

      .binary-rain span:nth-child(2) {
        animation-delay: 1s;
      }

      .binary-rain span:nth-child(3) {
        animation-delay: 2s;
      }

      .binary-rain span:nth-child(4) {
        animation-delay: 3s;
      }

      .binary-rain span:nth-child(5) {
        animation-delay: 4s;
      }

      @keyframes binary-fall {
        0% {
          transform: translateY(-50px);
          opacity: 0;
        }

        10% {
          opacity: 0.3;
        }

        90% {
          opacity: 0.3;
        }

        100% {
          transform: translateY(100vh);
          opacity: 0;
        }
      }

      .code-snippets {
        position: absolute;
        left: 10%;
        top: 20%;
        opacity: 0.1;
      }

      .code-snippet {
        font-family: 'JetBrains Mono', monospace;
        color: rgba(177, 59, 255, 0.6);
        font-size: 0.9rem;
        margin-bottom: 1rem;
        animation: code-flicker 3s ease-in-out infinite;
      }

      .code-snippet:nth-child(1) {
        animation-delay: 0s;
      }

      .code-snippet:nth-child(2) {
        animation-delay: 1s;
      }

      .code-snippet:nth-child(3) {
        animation-delay: 2s;
      }

      @keyframes code-flicker {

        0%,
        100% {
          opacity: 0.1;
        }

        50% {
          opacity: 0.3;
        }
      }

      /* Responsive Design */
      @media (max-width: 768px) {
        .letter {
          font-size: 3rem;
        }

        .logo-icon {
          width: 80px;
          height: 80px;
          font-size: 2rem;
        }

        .progress-track {
          width: 300px;
        }

        .loading-stats {
          gap: 2rem;
        }

        .tagline-text {
          font-size: 0.9rem;
        }
      }

      @media (max-width: 480px) {
        .letter {
          font-size: 2.5rem;
          gap: 0.25rem;
        }

        .logo-icon {
          width: 70px;
          height: 70px;
          font-size: 1.8rem;
        }

        .progress-track {
          width: 250px;
        }

        .loading-stats {
          flex-direction: column;
          gap: 1rem;
        }

        .loading-container {
          padding: 1rem;
        }
      }

      /* Exit Animation */
      .loading-screen.fade-out {
        opacity: 0;
        transform: scale(1.1);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }


      /* Contact Form Basic Styles */
      #contact-form input,
      #contact-form textarea {
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: white;
        font-size: 1rem;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
      }

      #contact-form input:focus,
      #contact-form textarea:focus {
        outline: none;
        border-color: #b13bff;
        box-shadow: 0 0 10px #b13bffaa;
        background-color: rgba(255, 255, 255, 0.1);
      }

      /* Button Style */
      .btn-magnetic {
        position: relative;
        color: white;
        font-weight: 700;
        cursor: pointer;
        overflow: hidden;
        border: none;
        transition: background-position 0.3s ease;
        background-size: 200% 100%;
        background-position: left center;
      }

      .btn-magnetic:hover {
        background-position: right center;
      }

      /* Shimmer effect inside button */
      .btn-magnetic .shimmer {
        position: absolute;
        top: 0;
        bottom: 0;
        left: -50%;
        width: 50%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
        animation: shimmer-animation 2.5s infinite;
      }

      @keyframes shimmer-animation {
        0% {
          left: -50%;
        }

        100% {
          left: 150%;
        }
      }

      /* Loading spinner inside button */
      .fa-spinner.fa-spin {
        margin-left: 0.5rem;
      }

      /* Contact message box for success/error */
      .contact-message {
        margin-top: 1rem;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-weight: 500;
        font-size: 1rem;
        animation: slideDownFade 0.3s ease forwards;
      }

      .contact-message.success {
        background-color: rgba(56, 161, 105, 0.15);
        border: 1px solid rgba(56, 161, 105, 0.5);
        color: #38a169;
      }

      .contact-message.error {
        background-color: rgba(220, 38, 38, 0.15);
        border: 1px solid rgba(220, 38, 38, 0.5);
        color: #dc2626;
      }

      .contact-message i {
        font-size: 1.3rem;
      }

      /* Slide down + fade in animation */
      @keyframes slideDownFade {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Inline field error messages */
      .field-error {
        color: #f87171;
        /* Red-400 */
        font-size: 0.85rem;
        margin-top: 0.25rem;
      }

      /* Error input style */
      input.error,
      textarea.error {
        border-color: #f87171 !important;
        box-shadow: 0 0 6px rgba(248, 113, 113, 0.5);
      }

      /* Responsive adjustments */
      @media (max-width: 640px) {

        #contact-form input,
        #contact-form textarea {
          font-size: 0.9rem;
        }

        .contact-message {
          font-size: 0.9rem;
        }
      }

      input.border-red-400,
      textarea.border-red-400 {
        border-color: #f87171 !important;
        background: #2f1112;
      }

      .contact-error-msg {
        color: #f87171;
        font-size: 0.95em;
        display: none;
        margin-top: 0.2em;
      }

      .spinner-border {
        border: 2px solid #fff;
        border-right-color: transparent;
        width: 1em;
        height: 1em;
        border-radius: 50%;
        display: inline-block;
        animation: spin .7s linear infinite;
        vertical-align: middle;
      }

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }