/* --- TOP BAR WRAPPER --- */

.topnewbanner,
.topnewbanner a,
.topnewbanner span,
.topnewbanner button {
  font-family: Rubik, Verdana, Arial, Helvetica, sans-serif;
}

.topnewbanner {
  background: linear-gradient(135deg, #263850 0%, #1c2a3f 45%, #31496a 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  color: #f3f6ff;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.topnew-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* --- BRANDING --- */

.brand {
  flex-shrink: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.brand-logo {
  display: block;
}

.brand-name {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.brand-asterisk {
  color: #ffdc7a;
  margin-right: 2px;
}

/* --- NAV & CONTACT LAYOUT --- */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex: 1;
}

/* keep existing id for any legacy script */
#cssmenu {
  flex: 1;
}

/* --- NAV LINKS --- */

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-start;
}

.nav-item {
  position: relative;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #eaf0ff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out;
  border: 1px solid transparent;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.15), transparent 60%);
  background-color: rgba(255, 255, 255, 0.04);
}

.nav-item a img {
  display: block;
}

.nav-item a:hover,
.nav-item a:focus-visible {
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.25), transparent 60%);
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
  outline: none;
}

/* Optional "current" highlight – add .is-active on the <li> for current page */
.nav-item.is-active > a {
  background: linear-gradient(135deg, #ffdc7a, #ffb347);
  color: #1c2638;
  text-shadow: none;
  border-color: rgba(255, 255, 255, 0.7);
}

/* --- CONTACT INFO --- */

/* --- CONTACT INFO --- */

.contact-info {
  display: flex;
  flex-direction: column;          /* stack phone + email vertically on desktop */
  align-items: flex-end;           /* align them to the right edge */
  gap: 0.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-icon {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.contact-text a {
  color: #ffdc7a;
  text-decoration: none;
  font-weight: 500;
}

.contact-text a:hover,
.contact-text a:focus-visible {
  text-decoration: underline;
}


/* Social icons area (if you ever unhide it) */
.social-icons img {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.25rem;
}

/* --- HAMBURGER BUTTON (MOBILE) --- */

.nav-toggle {
  display: none; /* hidden on desktop */
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.25rem 0.55rem;
  cursor: pointer;
  margin-left: auto;
  line-height: 1;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: #f8fbff;
  margin: 3px 0;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

/* When nav is open (see tiny JS below) */
.topnewbanner.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.topnewbanner.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.topnewbanner.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* --- RESPONSIVE BEHAVIOUR --- */

@media (max-width: 900px) {
  .topnew-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .navbar {
    width: 100%;
  }

  .contact-info {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .topnew-inner {
    padding: 0.5rem 0.75rem;
    flex-wrap: wrap;
    align-items: center;
  }

  /* Brand on the left, burger on the right (row 1) */
  .brand {
    flex: 1 0 auto;
    order: 1;
  }

  .nav-toggle {
    display: inline-block;
    order: 2;
    margin-left: 0;  /* override any desktop auto alignment */
  }

  /* --- ANIMATED DROPDOWN PANEL AS A FULL-WIDTH ROW (row 2) --- */
.navbar {
    order: 3;
    flex: 0 0 100%;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;

    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;

    /* Start collapsed: no visual panel, no extra height */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    padding: 0;                /* was: 0 0.75rem 0.75rem; */
    margin-top: 0;             /* was: 0.5rem; */
    border-radius: 14px;
    border: 0;                 /* hide border until open */
    box-shadow: none;          /* hide shadow until open */
    background: transparent;   /* no panel until open */
    position: relative;
    transition:
      max-height 0.28s ease-out,
      opacity 0.2s ease-out,
      transform 0.2s ease-out,
      padding 0.18s ease-out,
      margin-top 0.18s ease-out,
      border 0.18s ease-out,
      box-shadow 0.18s ease-out,
      background 0.18s ease-out;
  }

  .navbar::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
      inset 0 0 0 1px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.02);
    pointer-events: none;
    opacity: 0;                /* hidden while collapsed */
    transition: opacity 0.18s ease-out;
  }

  /* When burger is toggled */
  .topnewbanner.nav-open .navbar {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);

    /* Panel appearance only when open */
    padding: 0.75rem 0.75rem 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.6);
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.12), transparent 50%),
                rgba(9, 15, 26, 0.96);
  }

  .topnewbanner.nav-open .navbar::before {
    opacity: 1;
  }

  /* --- TWO-COLUMN MOBILE NAVIGATION --- */
  .nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* two equal columns */
    gap: 0.5rem 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    font-size: 0.92rem;
    white-space: nowrap;
    box-sizing: border-box;
  }

  /* --- CONTACT INFO UNDER MENU --- */
  .contact-info {
    width: 100%;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 0.4rem;
    column-gap: 1rem;
    margin-top: 0.25rem;
    align-items: center;
    font-size: 0.85rem;
  }

  .contact-item {
    white-space: normal;
  }
}

/* Slight tightening on very small screens */
@media (max-width: 480px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .nav-item a {
    font-size: 0.9rem;
  }

  .contact-info {
    font-size: 0.82rem;
  }
}

/* Force nav to ignore tick/list-style images */
.topnewbanner .nav-list,
.topnewbanner .nav-list li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  margin: 0;
  padding: 0;
}

/* --- PRIVACY / COOKIE BANNER --- */

.privacy-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 120; /* above nav (z=100) */
  display: flex;
  justify-content: center;
  pointer-events: none; /* inner handles clicks */
}

.privacy-inner {
  pointer-events: auto;
  max-width: 1200px;
  margin: 0 0.75rem 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(255,255,255,0.12), transparent 55%),
    #1c2638;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #f3f6ff;
  font-family: Rubik, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9rem;

  /* slide/fade animation base */
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.privacy-text {
  margin: 0;
  line-height: 1.4;
}

.privacy-text a {
  color: #ffdc7a;
  text-decoration: underline;
}

.privacy-text a:hover,
.privacy-text a:focus-visible {
  text-decoration: none;
}

.privacy-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: linear-gradient(135deg, #ffdc7a, #ffb347);
  color: #22263a;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    filter 0.15s ease-out;
}

.privacy-btn:hover,
.privacy-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  filter: brightness(1.05);
  outline: none;
}

/* Hidden state */
.privacy-banner.privacy-hidden .privacy-inner {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .privacy-inner {
    margin: 0 0.5rem 0.5rem;
    padding: 0.6rem 0.7rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .privacy-btn {
    width: 100%;
    text-align: center;
  }
}
/* Force white text in the privacy banner */
.privacy-banner,
.privacy-banner p,
.privacy-banner .privacy-text,
.privacy-banner strong {
  color: #f3f6ff !important;
}

/* Links stay gold inside the banner */
.privacy-banner .privacy-text a {
  color: #ffdc7a !important;
  text-decoration: underline;
}

.privacy-banner .privacy-text a:hover,
.privacy-banner .privacy-text a:focus-visible {
  text-decoration: none;
}

/* ---- PAGE SUB-NAVIGATION ---- */

.page-subnav {
  margin: 1.75rem 0 1.25rem;
}

/* No bullets, horizontal tiling, wraps to next line */
.page-subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Ensure no other list styles bleed in (.tick, etc.) */
.page-subnav-list li {
  list-style: none;
  list-style-type: none;
  list-style-image: none;
}

/* Each subnav item */
.subnav-item {
  /* allow pills to grow/shrink and wrap */
  flex: 0 1 auto;
}

/* The pill-style link – lighter, more “secondary” than top nav */
.subnav-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(38, 56, 80, 0.22);

  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(240, 244, 252, 0.98)
    );
  color: #263850;
  text-decoration: none;
  font-family: Rubik, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);

  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    transform 0.12s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

/* Icon wrap so we can control spacing & alignment */
.subnav-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.subnav-icon-wrap img {
  display: block;
  height: 16px;
  width: auto;
}

/* Text parts */
.subnav-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.subnav-text-secondary {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.8;
}

/* Hover / focus – subtle lift, a nod to the gold accent used in main nav */
.subnav-item a:hover,
.subnav-item a:focus-visible {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 1),
      rgba(235, 241, 253, 1)
    );
  border-color: rgba(255, 220, 122, 0.9);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
  outline: none;
}

/* --- Responsive tweaks --- */

/* On narrow screens, let them stretch a bit wider */
@media (max-width: 300px) {
  .subnav-item {
    flex: 1 1 100%;
  }

  .subnav-item a {
    justify-content: flex-start;
  }
}
