/* === Shared Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-teal);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(41,38,155,0.35);
  color: var(--color-white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.7);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

/* === Cards === */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* === Section Typography components === */
.section-label {
  display: inline-block;
  background: var(--color-teal-light);
  color: var(--color-teal);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-gray-900);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* === Navigation Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: var(--space-4) 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: var(--color-navy);
  padding: var(--space-2) 0;
  box-shadow: var(--shadow-md);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Logo Container & Styling */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
  color: var(--color-white);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

/* Light header logo overrides */
.site-header.header-light .logo-title {
  color: var(--color-navy);
}

.site-header.header-light .logo-subtitle {
  color: var(--color-teal);
}

.site-header.header-light .logo-icon {
  filter: none;
}

/* Scrolled header logo overrides */
.site-header.scrolled .logo-title,
.site-header.header-light.scrolled .logo-title {
  color: var(--color-white);
}

.site-header.scrolled .logo-subtitle,
.site-header.header-light.scrolled .logo-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.site-header.scrolled .logo-icon,
.site-header.header-light.scrolled .logo-icon {
  filter: none;
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-6);
}
.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: var(--space-2) 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-white);
}
.site-header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}
.site-header.scrolled .nav-link:hover, 
.site-header.scrolled .nav-link.active {
  color: var(--color-white);
}
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-navy-mid);
  list-style: none;
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  display: none;
  border: 1px solid var(--color-navy-light);
}
.dropdown-menu li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu li a:hover {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
}
.nav-dropdown:hover .dropdown-menu {
  display: block;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: var(--space-2);
}
.nav-hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  display: block;
}

/* === Footer === */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8) 0;
  border-top: 1px solid var(--color-navy-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
.footer-logo {
  margin-bottom: var(--space-4);
}
.footer-tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}
.footer-socials {
  display: flex;
  gap: var(--space-4);
}
.footer-socials a {
  width: 40px;
  height: 40px;
  background: var(--color-navy-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s, color 0.2s;
}
.footer-socials a:hover {
  background: var(--color-teal);
  color: white;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: white;
  margin-bottom: var(--space-6);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: var(--space-3);
}
.footer-col ul li a {
  transition: color 0.2s ease;
}
.footer-col ul li a:hover {
  color: var(--color-teal);
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}
.footer-contact-list li i {
  color: var(--color-teal);
  width: 16px;
  text-align: center;
}
.footer-bottom {
  border-top: 1px solid var(--color-navy-light);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
}
.footer-legal a {
  margin-left: var(--space-6);
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: var(--color-teal);
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  background: var(--color-navy-mid);
  color: white;
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-8);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  border: 1px solid var(--color-navy-light);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(100px);
  pointer-events: none;
  display: none !important;
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
  width: 100%;
}
.cookie-content p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}
.cookie-content a {
  color: var(--color-teal);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: var(--space-3);
}

/* === Responsive Nav / Hamburger Styles === */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    height: 100vh;
    width: 300px;
    background: var(--color-navy-mid);
    flex-direction: column;
    padding: var(--space-20) var(--space-8);
    align-items: flex-start;
    transition: transform 0.4s ease, visibility 0.4s ease;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    border-left: 1px solid var(--color-navy-light);
    gap: var(--space-4);
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .nav-dropdown:hover .dropdown-menu {
    display: none;
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    background: transparent;
    border: none;
    padding-left: var(--space-4);
    margin-top: var(--space-2);
  }
  .nav-cta {
    display: none;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
  .footer-legal a {
    margin: 0 var(--space-3);
  }
}

/* === Inner Hero & Breadcrumbs === */
.inner-hero {
  position: relative;
  height: 320px;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: 80px; /* offset fixed header */
}
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(41,38,155,0.4) 100%);
  z-index: 1;
}
.inner-hero .container {
  position: relative;
  z-index: 2;
}
.inner-hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: white;
  margin: 0;
}
.breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}
.breadcrumb a {
  color: var(--color-teal);
  text-decoration: none;
  font-weight: var(--weight-medium);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  margin: 0 var(--space-2);
}

/* Legal Layout */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
}
.legal-header {
  margin-bottom: var(--space-10);
  border-bottom: 2px solid var(--color-gray-100);
  padding-bottom: var(--space-8);
}
.legal-date {
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}
.legal-body section {
  margin-bottom: var(--space-8);
}
.legal-body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
  border-left: 4px solid var(--color-teal);
  padding-left: var(--space-4);
  font-weight: var(--weight-bold);
}
.legal-body h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-gray-900);
  margin: var(--space-5) 0 var(--space-3) 0;
}
.legal-body p {
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}
.legal-body ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.legal-body ul li {
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

/* === Light Header for Inner Pages === */
.site-header.header-light {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-100);
}

.site-header.header-light .nav-link {
  color: var(--color-gray-700);
}

.site-header.header-light .nav-link:hover,
.site-header.header-light .nav-link.active {
  color: var(--color-navy-light);
}

.site-header.header-light .nav-dropdown .dropdown-menu {
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  box-shadow: var(--shadow-md);
}

.site-header.header-light .nav-dropdown .dropdown-menu li a {
  color: var(--color-gray-700);
}

.site-header.header-light .nav-dropdown .dropdown-menu li a:hover {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
}

.site-header.header-light .nav-hamburger span {
  background: var(--color-gray-700);
}

/* Scrolled state overrides for light header */
.site-header.header-light.scrolled {
  background: var(--color-navy);
  border-bottom: none;
}

.site-header.header-light.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.header-light.scrolled .nav-link:hover,
.site-header.header-light.scrolled .nav-link.active {
  color: var(--color-white);
}

.site-header.header-light.scrolled .nav-dropdown .dropdown-menu {
  background: var(--color-navy-mid);
  border: 1px solid var(--color-navy-light);
  box-shadow: var(--shadow-lg);
}

.site-header.header-light.scrolled .nav-dropdown .dropdown-menu li a {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.header-light.scrolled .nav-dropdown .dropdown-menu li a:hover {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
}

.site-header.header-light.scrolled .nav-hamburger span {
  background: white;
}

/* Mobile responsive adjustments for light header menu drawer */
@media (max-width: 992px) {
  .site-header.header-light .nav-links .nav-link {
    color: rgba(255, 255, 255, 0.85);
  }
  .site-header.header-light .nav-links .nav-link:hover,
  .site-header.header-light .nav-links .nav-link.active {
    color: var(--color-white);
  }
  .site-header.header-light .nav-dropdown .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.85);
  }
  .site-header.header-light .nav-dropdown .dropdown-menu li a:hover {
    color: var(--color-teal);
    background: transparent;
  }
  .site-header.header-light .nav-hamburger.open span {
    background: white;
  }
}

