:root {
  --primary: #0b2d72;
  --accent: #d35400;
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
}

/* Base */
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
}

/* Header wrapper */
.site-header {
  padding: 18px;
  display: flex;
  justify-content: center;
    position: fixed;
}

/* Pill container */
.header-pill {
  background: var(--gradient);
  border-radius: 60px;
  padding: 14px 22px;
  width: 95%;
  max-width: 1400px;

  display: flex;
  align-items: center;
  gap: 26px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: fixed;
}

/* Logo */
.logo img {
  height: 38px;
  display: block;
}

/* Navigation (Desktop) */
.nav {
  display: flex;
  gap: 26px;
  flex: 1;
}
.nav-icon {
  font-size: 17px;          /* ⬆ Bigger & visible */
  opacity: 0.95;
}
.nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* Actions */
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Icon button */
.icon-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #ffffff;
}

/* CTA button */
.cta-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;

  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;

  transition: all 0.25s ease;
}

.cta-btn:hover {
  background: rgba(255,255,255,0.15);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #ffffff;
  cursor: pointer;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 1024px) {
  .header-pill {
    padding: 14px 18px;
  }

  .nav {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-pill {
    flex-wrap: wrap;
    border-radius: 22px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    width: 100%;
    order: 3;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 16px;
    border-radius: 10px;
  }

  .nav a:hover {
    background: rgba(255,255,255,0.15);
  }

  .actions {
    order: 2;
    margin-left: auto;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .cta-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .logo img {
    height: 32px;
  }
}
/* ===============================
   NAV BASE
================================ */
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;
}

.nav a,
.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
}

.nav-link span {
  font-size: 11px;
  opacity: 0.8;
}

/* ===============================
   DROPDOWN
================================ */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 130%;
  left: 0;
  min-width: 220px;
  background: #0b2d72;
  border-radius: 14px;
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;

  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  z-index: 999;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #e6ecff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.12);
}

/* Desktop hover */
@media (min-width: 901px) {
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 900px) {

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--gradient);
    border-radius: 22px;
    padding: 14px;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.08);
    display: none;
    width: 100%;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }
}
/* Dropdown caret */
.dropdown-icon {
  font-size: 14px;          /* ⬆ Bigger arrow */
  margin-left: 6px;
  opacity: 0.85;
  transition: transform 0.25s ease;
}

/* Rotate arrow on open (desktop hover & mobile open) */
.has-dropdown:hover .dropdown-icon,
.has-dropdown.open .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown links with icons */
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown a i {
  font-size: 15px;
  opacity: 0.9;
}

/* Nav button alignment */
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* ===============================
   HEADER BASE
================================ */
.site-header {
  position: relative;
  z-index: 1000;
  transition: all 0.35s ease;
}

/* Initial state (pill) */
.header-pill {
  /* max-width: 1400px; */
  margin: 0 auto;
  border-radius: 60px;
  transition: all 0.35s ease;
}

/* ===============================
   STICKY STATE
================================ */
.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* Full-width transformation */
.site-header.is-sticky .header-pill {
  max-width: 100%;
  border-radius: 0;
  padding-left: 40px;
  padding-right: 40px;
}


/* Slightly compact height when sticky */
.site-header.is-sticky .nav-link {
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-header.is-sticky .cta-btn {
  padding: 8px 18px;
}

/* Optional subtle backdrop polish */
.site-header.is-sticky {
  backdrop-filter: blur(8px);
}
