    html { scroll-behavior: smooth; }

    .hero { position: relative; background-color: #EEE8AA; overflow: hidden; }
    .hero::before {
      content: "";
      background-image: url("{% static 'home/hero_bg.jpg' %}");
      background-size: cover; background-position: center;
      opacity: 0.25; position: absolute; inset: 0; z-index: 0;
    }
    .hero-content { position: relative; z-index: 1; }

    #sticky-footer {
      position: fixed; bottom: 0; width: 100%; background: #0b1c48; color: white;
      display: flex; justify-content: space-around; align-items: center;
      padding: .8rem 0; z-index: 50;
      transition: all 0.4s ease;
      transform: translateY(100%); opacity: 0;
    }

    #sticky-footer.visible { transform: translateY(0); opacity: 1; }

    .int_tra { background-color: #BDB76B; }
    .signup { background-color: #666; }

    /* ========== HAMBURGER ========== */

.hamburger {
  width: 32px;
  height: 24px;
  position: relative;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #0b1c48;
  border-radius: 999px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.hamburger span::before,
.hamburger span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #0b1c48;
  border-radius: 999px;
  left: 0;
  transition: 0.3s ease;
}

.hamburger span::before { top: -9px; }
.hamburger span::after { top: 9px; }

.hamburger.active span {
  background: transparent;
}

.hamburger.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.hamburger.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* ========== ACTIVE LINK STYLE ========== */

.nav-link,
.mobile-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link.active,
.mobile-link.active {
  color: #0b1c48;
}

.nav-link.active::after,
.mobile-link.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #0b1c48;
  left: 0;
  bottom: 0;
}

/* ========== OVERLAY ACTIVE ========== */
#overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========== MOBILE MENU ACTIVE ========== */
#mobileMenu.show {
  transform: translateX(0);
}


#mobileMenu {
  transform: translateX(100%);
}

#mobileMenu.show {
  transform: translateX(0);
}

#overlay.active {
  opacity: 1;
  pointer-events: auto;
}


    .learn-pill {
      padding: 8px 18px;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 999px;
      font-weight: 500;
      font-size: 14px;
      transition: all 0.3s ease;
      cursor: default;
    }

    .learn-pill:hover {
      background: #e29b64;
      color: #0b1c48;
      transform: scale(1.05);
    }

/* ---------- STAGGER ANIMATION FOR MOBILE LINKS ---------- */
.mobile-link {
  opacity: 0;
  transform: translateX(20px);
}

#mobileMenu.show .mobile-link {
  animation: slideIn 0.4s ease forwards;
}

#mobileMenu.show .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobileMenu.show .mobile-link:nth-child(2) { animation-delay: 0.12s; }
#mobileMenu.show .mobile-link:nth-child(3) { animation-delay: 0.19s; }
#mobileMenu.show .mobile-link:nth-child(4) { animation-delay: 0.26s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#menuBtn {
  z-index: 900 !important;
  position: relative;
}


/* Glass + neon glow */
.glow-card {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 1.75rem;
  background: linear-gradient(120deg, transparent, #e29b64, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotate 4s linear infinite;
  z-index: 0;
}

.glow-card:hover::before {
  opacity: 1;
}

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

/* Smooth glass hover */
.glass-hover:hover {
  background: rgba(255,255,255,0.65);
}


/* Falling code effect */
.code-stream {
  position: absolute;
  top: -100%;
  width: 2px;
  height: 200%;
  background: linear-gradient(to bottom,
    transparent,
    rgba(250, 216, 170, 0.8),
    transparent
  );
  animation: stream 3s linear infinite;
}

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

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

@keyframes stream {
  to { transform: translateY(200%); }
}

/* Binary rain effect */
.animate-binary {
  animation: binaryMove 8s linear infinite;
}

@keyframes binaryMove {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}


  .soft-glow {
    transition: all 0.35s ease;
  }

  .soft-glow:hover {
    box-shadow:
      0 0 0 0 rgba(0,0,0,0),
      0 18px 35px -15px rgba(0,0,0,0.15);
    transform: translateY(-4px) scale(1.01);
    z-index: 5;
  }


  /* for header2 */

    html { scroll-behavior: smooth; }
    #sticky-header, #sticky-footer { transition: all 0.4s ease-in-out; }
    #sticky-header { transform: translateY(-100%); opacity: 0; }
    #sticky-header.visible { transform: translateY(0); opacity: 1; }
    #sticky-footer { position: fixed; bottom: 0; width: 100%; background: rgba(10,25,60,0.95);
      color: white; display: flex; justify-content: space-around; padding: .7rem 0;
      transform: translateY(100%); opacity: 0; z-index: 50; }
    #sticky-footer.visible { transform: translateY(0); opacity: 1; }
    .hero { position: relative; background: #0b1c48; overflow: hidden; }
    .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
    .hero-content { position: relative; z-index: 1; }
    .text-navy { color: #0b1c48; } .bg-navy { background-color: #0b1c48; }
 
