/* =========================
   HEADER BASE
========================= */

.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

/* =========================
   NAVBAR (DEFAULT HERO)
========================= */

.navbar-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 20px;

  border-radius: var(--radius-pill);

  background: transparent;
  box-shadow: none;
}

/* =========================
   LOGO
========================= */

.nav-logo img {
  height: 40px;
  transition: var(--transition);
}

.nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

/* default transparent header logo */
.logo-default {
  opacity: 1;
}

/* scrolled header logo hidden initially */
.logo-on-scroll {
  position: absolute;
  left: 0;
  opacity: 0;
}

/* when header bg appears */
.site-header.scrolled .logo-default {
  opacity: 0;
}

.site-header.scrolled .logo-on-scroll {
  opacity: 1;
}

/* =========================
   MENU
========================= */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* NAV LINKS (HERO MODE FIXED) */

.nav-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;

  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.4px; /* 👈 spacing between letters */

  color: #fff;
  border-radius: var(--radius-pill);

  /* NEW: visible on banner */
  background: rgba(0, 0, 0, 0.25); /* dark overlay instead of glass */
  border: 1px solid rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(4px);

  transition: var(--transition);
}

/* ICON VISIBILITY */

.nav-link i {
  font-size: 16px;
  font-weight: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  line-height: 1;
  letter-spacing: 1px;

  transform: translateY(-1px);
}

/* HOVER (PREMIUM GLOW EDGE) */
.nav-link:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));

  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.35);

  transform: translateY(-2px);
}

/* ACTIVE (YOUR GRADIENT — ENHANCED) */
.nav-link.active {
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));

  color: #fff;

  box-shadow:
    0 10px 30px rgba(66, 133, 244, 0.35),
    0 4px 15px rgba(52, 168, 83, 0.25);
}

/* =========================
   CTA BUTTON
========================= */

.nav-cta {
  padding: 10px 22px;
  font-weight: 600;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* =========================
   SCROLLED STATE (PREMIUM GLASS++)
========================= */

.site-header.scrolled {
  top: 10px;
}

.site-header.scrolled .navbar-premium {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border-radius: var(--radius-pill);

  /* PREMIUM SHADOW STACK */
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.12),
    0 8px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);

  border: 1px solid rgba(255, 255, 255, 0.6);

  padding: 10px 20px;
}

/* LOGO DARK */
.site-header.scrolled .nav-logo img {
  filter: none;
}

/* NAV LINKS DARK MODE */
.site-header.scrolled .nav-link {
  color: var(--color-text);

  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);

  backdrop-filter: blur(10px);
}

/* ICON FIX DARK */
.site-header.scrolled .nav-link i {
  color: var(--color-text);
  opacity: 0.9;
}

/* HOVER DARK */
.site-header.scrolled .nav-link:hover {
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));

  color: #fff;

  box-shadow:
    0 10px 30px rgba(66, 133, 244, 0.35),
    0 4px 15px rgba(52, 168, 83, 0.25);
}
.site-header.scrolled .nav-link:hover i {
  color: #fff;
}

/* ACTIVE DARK */
.site-header.scrolled .nav-link.active {
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));

  color: #fff;

  box-shadow:
    0 10px 30px rgba(66, 133, 244, 0.35),
    0 4px 15px rgba(52, 168, 83, 0.25);
}
.site-header.scrolled .nav-link.active i {
  color: #fff;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {
  .nav-menu {
    display: none;
  }
}

.mobile-toggle {
  width: 42px;
  height: 42px;

  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  cursor: pointer;
}

/* lines */
.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* when active */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;

  background: linear-gradient(180deg, #0b0f1a, #070a12);
  color: #fff;

  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.4);

  display: flex;
  flex-direction: column;
  padding: 20px;

  transition: 0.4s;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1100;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-header img {
  height: 40px;
  margin-bottom: 10px;
}

.mobile-menu-header p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* LINKS */
.mobile-menu-links a,
.dropdown-toggle {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 38px;
  height: 38px;

  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: var(--transition);
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

/* DROPDOWN */
.menu-dropdown .dropdown-menu {
  display: none;
  padding-left: 10px;
}

.menu-dropdown.active .dropdown-menu {
  display: block;
}

/* NEWSLETTER */
.mobile-newsletter {
  margin-top: 20px;
}

.mobile-newsletter h5 {
  margin-bottom: 8px;
}

/* CONTACT */
.mobile-contact {
  margin-top: 20px;
  font-size: 13px;
}

.mobile-contact i {
  margin-right: 8px;
}

/* SOCIALS */
.mobile-socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.mobile-socials a {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

/* MOBILE BOTTOM NAV */

.mobile-bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 24px);
  max-width: 500px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);

  border-radius: 24px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);

  padding: 6px 10px;
  z-index: 1000;
}

/* list */
.mobile-bottom-nav ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* item */
.mobile-bottom-nav li {
  flex: 1;
  text-align: center;
}

/* link */
.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;

  font-size: 11px;
  color: #000000;
  text-decoration: none;

  transition: var(--transition);
}

/* icon */
.circle-icon {
  width: 42px;
  height: 42px;

  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.05);

  margin-bottom: 4px;

  transition: var(--transition);
}

.circle-icon i {
  font-size: 20px;
}

/* ACTIVE CENTER BUTTON */
.mobile-bottom-nav .active .circle-icon {
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
  color: #fff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
}

.mobile-bottom-nav .active span {
  color: var(--color-blue);
  font-weight: 600;
}

/* hover */
.mobile-bottom-nav a:hover .circle-icon {
  transform: translateY(-3px);
}

/* DESKTOP */
@media (min-width: 1024px) {
  .mobile-bottom-nav {
    display: none;
  }

  .mobile-toggle {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 1023px) {
  .nav-menu {
    display: none;
  }
}

@media (max-width: 1023px) {
  .site-footer {
    display: none;
  }
}

.logo-mobile {
  display: none;
}

@media (max-width: 1199px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
  }
}

.site-header {
  z-index: 1100; /* above everything */
}

.mobile-toggle {
  z-index: 1200; /* highest clickable */
  position: relative;
}

.mobile-menu {
  z-index: 1150; /* below toggle, above content */
}

.mobile-bottom-nav {
  z-index: 1050; /* below menu */
}

@media (max-width: 601px) {
  .nav-cta {
    display: none;
  }
}

/* =========================
   BASE
========================= */

.site-footer {
  position: relative;
  color: #fff;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(66, 133, 244, 0.25),
      transparent 45%
    ),
    radial-gradient(circle at 80% 0%, rgba(52, 168, 83, 0.2), transparent 45%),
    linear-gradient(180deg, #0a0f1f, #050812);
}

/* =========================
   TOP GRID
========================= */

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding: var(--space-6) 0;
}

/* headings */
.footer-col h4 {
  margin-bottom: var(--space-2);
  color: #fff;
}

/* links */
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-sm);
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
}

/* highlight links */
.footer-col a.highlight {
  color: var(--color-yellow);
}

.footer-col a:hover {
  transform: translateX(6px);
  text-decoration: none;
}

.footer-col li:hover a {
  color: var(--color-yellow);
  transform: translateX(6px);
  text-decoration: none;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter-box {
  display: flex;
  gap: 10px;
  margin-top: var(--space-2);
}

.newsletter-box input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.newsletter-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* =========================
   SOCIALS
========================= */

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: var(--space-2);
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);

  transition: var(--transition);
}

.footer-socials a:hover {
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
  transform: translateY(-3px);
}

/* =========================
   MID SECTION (BRAND)
========================= */

.footer-mid {
  text-align: center;
  padding: var(--space-4) 0;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  color: var(--color-yellow);
  margin-bottom: var(--space-2);
}

.footer-address {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer-contact {
  max-width: 700px;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--color-yellow);
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.footer-contact a:hover {
  transform: translateY(-3px);
}

/* CENTER THE WHOLE BLOCK */

.footer-mid .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  max-width: 900px;
  margin: 0 auto;
}

/* =========================
   BOTTOM
========================= */

.footer-bottom {
  padding: 16px 0;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
