/* =============================================================
   LAYOUT.CSS — Navigation, Footer, Hero, and Section Layouts
   ============================================================= */


/* ── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.nav-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo span {
  color: var(--color-cta);
}

.nav-logo img {
  display: inline-block;
  width: 160px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text-light);
  /* transition: var(--transition-base); */
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--color-primary);
  /* background: var(--color-primary-light); */
  border: 1px solid var(--color-cta-hover);
}

.nav-link.active {
  color: var(--color-white);
  background: var(--color-cta-hover);
  border: 1px solid transparent;
}

/* CTA button in nav */
.nav-cta {
  background: linear-gradient(135deg, var(--color-cta), var(--color-cta-hover));
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(255, 140, 58, 0.35);
  transition: var(--transition-base);
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 140, 58, 0.45);
}

.btn-row {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.nav-login-btn {
  background: linear-gradient(to bottom,  #494faa 0%,#3f4293 100%);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgb(132 58 255 / 35%);
  transition: var(--transition-base);
  text-decoration: none;
}

.nav-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgb(132 58 255 / 45%);
  background: #3f4293;
  background: linear-gradient(to bottom,  #3f4293 0%,#494faa 100%);
}

/* Hamburger — mobile only */

.mobile-sitemap {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-base);
  display: block;
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm);
  z-index: 999;
  flex-direction: row;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.mobile-menu.open {
  display: flex;
  flex-wrap: wrap;
}

.mobile-link {
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-weight: 500;
  color: var(--color-text-light);
  transition: var(--transition-base);
  text-decoration: none;
  width: 49%;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.mobile-menu .btn {
  width: 98%;
  justify-content: center;
}

/* ── Sitemap ───────────────────────────────────── */
.trig {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #3f4293, #2e3170);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(63, 66, 147, 0.4);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s;
  animation: tg 3s ease-in-out infinite;
}

.trig:hover {
  transform: scale(1.08);
  box-shadow:
    0 8px 36px rgba(63, 66, 147, 0.5),
    0 0 0 6px rgba(63, 66, 147, 0.1);
}

.trig:active {
  transform: scale(0.96);
}

@keyframes tg {
  0%,
  100% {
    box-shadow:
      0 6px 28px rgba(63, 66, 147, 0.4),
      0 0 0 0 rgba(63, 66, 147, 0.25);
  }

  50% {
    box-shadow:
      0 6px 28px rgba(63, 66, 147, 0.4),
      0 0 0 10px rgba(63, 66, 147, 0);
  }
}

.sitemap .pnl {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
  width: min(420px, 100vw);
  height: 100dvh;
  /* background: #3f4293; */
  /* background: #171E59;
  background: linear-gradient(-45deg,rgba(23, 30, 89, 1) 0%, rgba(9, 9, 121, 1) 50%, rgba(50, 59, 129, 1) 100%); */
  background: url(../images/sitemap-bg.png) no-repeat;
  background-size: 100% 100%;
  background-position: bottom;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid #fff;
}

.sitemap .pnl.on {
  transform: translateX(0);
  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.7);
}

.sitemap .hdr {
  flex-shrink: 0;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sitemap .ht {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sitemap .ht i {
  color: #ff8c3a;
}

.sitemap .cls {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #d0d2f0;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}

.sitemap .cls:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.sitemap .bd {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 0 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.sitemap .bd::-webkit-scrollbar {
  width: 5px;
}

.sitemap .bd::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.sitemap .lk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s,
    padding-left 0.2s;
}

.sitemap .lk:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding-left: 34px;
}

.sitemap .lk i {
  font-size: 0.8rem;
  width: 20px;
  text-align: center;
  opacity: 0.55;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.sitemap .lk:hover i {
  opacity: 1;
}

.sitemap .lk.active {
  color: #fff;
  padding-left: 20px !important;
  background: rgba(255, 255, 255, 0.08);

  i {
    opacity: 1;
    color: #ff8c3a;
  }
}

.sitemap .sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 20px;
}

.sitemap .sec {
  margin: 5px 15px 0;
  border-radius: 12px;
  overflow: hidden;
}

.sitemap .stg {
  width: 100%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #e8eaf6;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  transition:
    background 0.2s,
    color 0.2s;
  border-radius: 12px;
}

.sitemap .stg:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sitemap .iw {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.sitemap .stg:hover .iw {
  transform: scale(1.08);
}

.sitemap .ch {
  margin-left: auto;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.35);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.25s;
  flex-shrink: 0;
}

.sitemap .sec.exp .ch {
  transform: rotate(90deg);
  color: #fff;
}

.sitemap .sec.exp .stg {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 12px 12px 0 0;
}

.sitemap .sl {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sitemap .sc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.sitemap .sec.exp .sc {
  color: rgba(255, 255, 255, 0.55);
}

.sitemap .sct {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(0, 0, 0, 0.12);
  border-radius: 0 0 12px 12px;
}

.sitemap .sec.exp .sct {
  max-height: 800px;
}

.sitemap .si {
  padding: 6px 10px 10px;
}

.sitemap .it {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition:
    background 0.2s,
    color 0.2s,
    padding-left 0.2s;
}

.sitemap .it:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding-left: 20px;
}

.sitemap .it i {
  font-size: 0.72rem;
  width: 18px;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.sitemap .it:hover i {
  opacity: 1;
}

.sitemap .it.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding-left: 20px !important;
}

.sitemap .it.active i {
  opacity: 1;
  color: #ff8c3a;
}

.sitemap .dv {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 16px;
}

.sitemap .ft {
  flex-shrink: 0;
  padding: 16px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sitemap .fb {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.sitemap .fb:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.sitemap [data-c="orange"] {
  .iw {
    background: rgba(255, 160, 100, 0.2);
    color: #ffb088;
  }
  .nm {
    color: #ffb088;
  }
}

.sitemap [data-c="teal"] {
  .iw {
    background: rgba(56, 220, 180, 0.2);
    color: #6ee0c0;
  }
  .nm {
    color: #6ee0c0;
  }
}

.sitemap [data-c="blue"] {
  .iw {
    background: rgba(100, 170, 255, 0.2);
    color: #8abaff;
  }
  .nm {
    color: #8abaff;
  }
}
  

@media (max-width: 480px) {
  .sitemap .trig {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .sitemap .hdr {
    padding: 20px;
  }

  .sitemap .lk {
    padding-left: 20px;
  }

  .sitemap .lk:hover {
    padding-left: 26px;
  }

  .sitemap .sep {
    margin: 8px 20px;
  }

  .sitemap .sec {
    margin: 4px 10px 0;
  }

  .sitemap .ft {
    padding: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sitemap .pnl,
  .sitemap .sct,
  .sitemap .ch,
  .sitemap .trig,
  .hint {
    transition: none;
    animation: none;
  }
}
/* ── Sitemap ───────────────────────────────────── */


/* ── Page Hero Banners ───────────────────────────────────── */

/* Page hero — shared style for inner pages */
.page-hero {
  padding: 120px 0 40px;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.80);
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--text-lg);
}

/* Blue gradient */
.hero-blue {
  background: linear-gradient(135deg, #001f3f 0%, var(--color-primary) 50%, #004080 100%);
}

/* Dark blue */
.hero-dark {
  background: linear-gradient(135deg, var(--color-dark-hero) 0%, var(--color-primary) 100%);
}

/* Teal blend */
.hero-teal {
  background: linear-gradient(135deg, #001f3f 0%, var(--color-primary) 50%, #004080 100%);
  /* background: linear-gradient(135deg, #001f3f 0%, var(--color-accent) 100%); */
}


/*== BRAND MESSAGE — Marquee ==================== */
  .brand-message {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0 0;
    /* border-top: 1px solid rgba(63, 66, 147, 0.12);
    border-bottom: 1px solid rgba(63, 66, 147, 0.12); */
    background: #ffffff;
  }

  .brand-message__track {
    display: flex;
    width: max-content;
    padding: 5px 0;
    background: linear-gradient(
      90deg,
      #3f4293 0%,
      #6b3fad 25%,
      #f681fe 50%,
      #fd8c00 75%,
      #3f4293 100%
    );
    background-size: 300% 100%;
    animation: marqueeScroll 70s linear infinite, trackGradient 10s ease-in-out infinite;
  }

  .brand-message__track:hover {
    animation-play-state: paused;
  }

  @keyframes trackGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .brand-message__item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 0 0 25px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .brand-message__text {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }

  .brand-message__text em {
    display: inline-block;
    padding: 0 5px;
    border-radius: 6px;
    font-style: normal;
    color: #3f4293;
    font-weight: 600;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    background-color: #FFFFFF;
    margin: 0 3px;
  }

  .brand-message__dot {
    display: inline-block;
    /* width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); */
  }

  @keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Fade edges */
  .brand-message::before,
  .brand-message::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
  }

  .brand-message::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff, transparent);
  }

  .brand-message::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff, transparent);
  }

  @media (max-width: 640px) {
    .brand-message { padding: 22px 0; }
    .brand-message__item { gap: 20px; padding: 0 20px; }
    .brand-message::before,
    .brand-message::after { width: 60px; }
  }
/*== BRAND MESSAGE — Marquee ==================== */


/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--color-dark);
  padding: 60px 0 32px;
  color: rgba(255, 255, 255, 0.70);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 150px;
  gap: 48px;
  margin-bottom: 48px;
}

/* Brand column */
.footer-brand .nav-logo {
  color: var(--color-white);
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.60);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.10);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: var(--transition-base);
  text-decoration: none;

  i {
    line-height: 0;
  }
}

.social-btn:hover {
  background: var(--color-cta);
}

/* Link columns */
.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-cta);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.60);
  transition: var(--transition-base);
  text-decoration: none;
  cursor: pointer;
}

.footer-link:hover,
.footer-link.active {
  color: var(--color-cta);
}


/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.40);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.40);
  transition: var(--transition-base);
  cursor: pointer;
}

.footer-legal a:hover {
  color: var(--color-cta);
}

.all-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 850px) {
  .nav-inner {
    padding: 0 15px;
  }
  .nav-links {
    gap: 5px;
  }
  .nav-link {
    padding: 2px 8px;
  }
  .nav-cta {
    padding: 10px 20px;
  }
  .btn-row {
    display: none;
  }
  .mobile-menu .btn-row {
    display: flex;
    width: 100%;
  }
  .mobile-menu .btn-row a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

@media screen and (max-width: 640px) {
  .mobile-link {
    padding: 5px 10px;
  }
  .site-footer {
    padding: 50px 0;
  }
}