/* ==========================================================================
   Golfhouse Midwest - Main Stylesheet
   100% Responsive, Mobile-First Optimized & Static-Ready
   ========================================================================== */

/* Local Fonts */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary-color: #191970;       /* Midnight / Midwest Navy */
  --primary-dark: #0f1238;        /* Deep Navy for footer */
  --primary-light: #24248a;
  --accent-blue: #313199;         /* CTA Button background */
  --accent-blue-hover: #4343b8;   /* CTA Button hover */
  --accent-gold: #c5a059;         /* Elegant golf gold accent */
  --accent-gold-hover: #d8b26a;
  --text-dark: #161616;
  --text-muted: #555555;
  --text-silver: #babacb;         /* Lavender silver on dark navy */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 84px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Buttons (Touch target >= 44px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  touch-action: manipulation;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(49, 49, 153, 0.35);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--accent-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(49, 49, 153, 0.45);
}

/* Custom Header Donation Button */
.btn-donate {
  background: linear-gradient(135deg, #c5a059 0%, #b38e44 100%);
  color: #0d1033;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.09em;
  padding: 11px 24px;
  min-height: 44px;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-donate:hover, .btn-donate:focus {
  background: linear-gradient(135deg, #d8b26a 0%, #c5a059 100%);
  color: #07091e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.55);
}

.btn-donate .donate-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-donate:hover .donate-icon {
  transform: scale(1.15);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 60px;
  width: auto;
  max-width: 240px;
  aspect-ratio: 4 / 1;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary-color);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .header-actions {
    display: none;
  }
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-color);
  min-width: 44px;
  min-height: 44px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.mobile-toggle:hover, .mobile-toggle:focus {
  background-color: rgba(25, 25, 112, 0.06);
}

.mobile-toggle svg {
  width: 30px;
  height: 30px;
  display: block;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background-color: #ffffff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.mobile-nav-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 0;
  display: block;
  min-height: 44px;
}

/* ==========================================================================
   Hero Section - Cinematic & Expansive (Full Viewport, Non-Jumping)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height, 84px));
  min-height: calc(100dvh - var(--header-height, 84px));
  height: calc(100vh - var(--header-height, 84px));
  height: calc(100dvh - var(--header-height, 84px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0b0f24;
  width: 100%;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 15, 36, 0.38) 0%,
    rgba(15, 20, 50, 0.22) 50%,
    rgba(11, 15, 36, 0.42) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 820px;
  border-left: 3px solid rgba(255, 255, 255, 0.85);
  padding-left: 36px;
}

.hero-tagline {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-subtagline {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 34px;
  color: #f1f3f9;
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   Partner Logos Section - Clean, Prestigious Showcase
   ========================================================================== */
.partners-section {
  padding-top: 65px;
  padding-bottom: 60px;
  background-color: #ffffff;
  width: 100%;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: center;
  justify-items: center;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  padding: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  min-height: 48px;
}

.partner-item:hover, .partner-item:focus {
  transform: translateY(-5px) scale(1.02);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.09));
}

.partner-item img {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

/* ==========================================================================
   Mission Statement Section - Midnight Navy & Soft Slate Typography
   ========================================================================== */
.mission-section {
  padding-top: 85px;
  padding-bottom: 85px;
  background: linear-gradient(135deg, #131748 0%, #191970 50%, #1c1d63 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 100%;
}

.mission-heading {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.mission-divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 0 auto 24px auto;
  border: none;
  border-radius: 2px;
}

.mission-text {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-silver);
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

/* ==========================================================================
   Upcoming Events Section
   ========================================================================== */
.events-section {
  padding-top: 75px;
  padding-bottom: 85px;
  background-color: #ffffff;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--primary-color);
  display: inline-block;
  letter-spacing: -0.01em;
}

.section-divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 14px auto 0;
  border: none;
  border-radius: 2px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.event-card {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef0f3;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.event-card:hover, .event-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(25, 25, 112, 0.14);
}

.event-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background-color: #0f1238;
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-card-media img {
  transform: scale(1.05);
}

.event-card-body {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.35;
  transition: color 0.25s ease;
}

.event-card:hover .event-card-title {
  color: var(--accent-blue-hover);
}

/* ==========================================================================
   Social Section
   ========================================================================== */
.social-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  width: 100%;
}

.social-section .section-title {
  color: #ffffff;
}

.social-section .section-divider {
  background-color: #ffffff;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 44px;
  min-height: 44px;
}

.social-link:hover, .social-link:focus {
  background-color: #ffffff;
  color: var(--primary-color);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding-top: 45px;
  padding-bottom: 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer-brand {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.footer-copyright {
  font-size: 14px;
  color: #a0a5be;
  margin-bottom: 16px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  font-size: 13px;
  color: #8c90a8;
  flex-wrap: wrap;
}

.footer-legal-links a,
.footer-legal-links .footer-link-btn {
  padding: 4px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #8c90a8;
  text-decoration: none;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links .footer-link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Legal Pages (Privacy Policy, Terms)
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, #131748 0%, #191970 100%);
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
  width: 100%;
}

.page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.legal-content {
  padding-top: 50px;
  padding-bottom: 75px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.legal-content h2 {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 32px;
  margin-bottom: 14px;
}

.legal-content p {
  margin-bottom: 16px;
  color: #374151;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 22px;
  padding-left: 24px;
  color: #374151;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ==========================================================================
   Contact Modal (Google Forms Embedded iFrame)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 36, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  background-color: var(--bg-white, #ffffff);
  width: 100%;
  max-width: min(700px, calc(100vw - 24px));
  height: min(92vh, 820px);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(11, 15, 36, 0.38);
  display: flex;
  flex-direction: column;
  padding: 20px 24px 16px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header--iframe {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.modal-header-text {
  flex: 1;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color, #191970);
  line-height: 1.2;
  margin: 0;
  font-family: inherit;
}

.modal-divider {
  width: 44px;
  height: 3px;
  background-color: var(--accent-gold, #c5a059);
  border: none;
  border-radius: 2px;
  margin: 8px 0 0 0;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  padding: 4px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-left: 12px;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  color: var(--primary-color, #191970);
  background-color: rgba(25, 25, 112, 0.06);
}

.modal-iframe-container {
  flex: 1;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(25, 25, 112, 0.1);
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.google-form-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.modal-iframe-footer {
  padding-top: 10px;
  text-align: center;
  flex-shrink: 0;
}

.modal-iframe-fallback {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.modal-iframe-fallback a {
  color: var(--primary-color, #191970);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.modal-iframe-fallback a:hover {
  color: var(--accent-gold, #c5a059);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-drawer {
    display: block;
  }

  :root {
    --header-height: 76px;
  }

  .hero-section {
    min-height: calc(100vh - var(--header-height, 76px));
    min-height: calc(100dvh - var(--header-height, 76px));
    height: auto;
  }

  .hero-content {
    border-left: 2px solid rgba(255, 255, 255, 0.85);
    padding-left: 24px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-logo img {
    height: 48px;
    max-width: 190px;
  }

  .hero-section {
    min-height: calc(100vh - var(--header-height, 68px));
    min-height: calc(100dvh - var(--header-height, 68px));
    height: auto;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 40px;
    border-left: none;
    padding-left: 0;
    text-align: center;
  }

  .hero-subtagline {
    margin-left: auto;
    margin-right: auto;
  }

  .partners-section {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-item {
    max-width: 280px;
    margin: 0 auto;
  }

  .mission-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .events-section {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .modal-card {
    padding: 18px 16px 14px;
  }

  .social-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-logo img {
    height: 40px;
    max-width: 160px;
  }

  .hero-section {
    min-height: calc(100vh - var(--header-height, 64px));
    min-height: calc(100dvh - var(--header-height, 64px));
    height: auto;
  }

  .hero-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero-tagline {
    font-size: 30px;
  }

  .hero-subtagline {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
  }

  .modal-card {
    padding: 16px 14px 12px;
    height: 94vh;
    border-radius: 10px;
  }

  .modal-title {
    font-size: 20px;
  }
}

/* ==========================================================================
   Cookie Consent Banner & Preferences Modal
   ========================================================================== */
.gh-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #0d1033;
  color: #ffffff;
  border-top: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  padding: 20px 24px;
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s;
}

.gh-cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.gh-cookie-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.gh-cookie-banner-text {
  flex: 1 1 540px;
}

.gh-cookie-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.gh-cookie-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.gh-cookie-icon-svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-gold);
  vertical-align: middle;
}

.gh-cookie-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.gh-cookie-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0;
}

.gh-cookie-policy-link {
  color: #c5a059;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.gh-cookie-policy-link:hover {
  color: #e2ba6f;
}

.gh-cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.gh-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.gh-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.gh-btn-text {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.gh-btn-text:hover {
  color: #ffffff;
  text-decoration: underline;
}

.gh-btn-accept {
  background: #c5a059;
  color: #0d1033;
  border: 1px solid #c5a059;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.gh-btn-accept:hover {
  background: #d8b268;
  border-color: #d8b268;
  color: #080a21;
}

/* Cookie Preferences Modal */
.gh-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 36, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gh-cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.gh-cookie-modal-card {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 32px 28px;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.gh-cookie-modal-backdrop.open .gh-cookie-modal-card {
  transform: translateY(0);
}

.gh-cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.gh-cookie-modal-title {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.gh-cookie-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.gh-cookie-modal-close:hover {
  color: var(--text-dark);
}

.gh-cookie-modal-intro {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 22px;
}

.gh-cookie-category {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.gh-cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gh-cookie-cat-name {
  font-size: 15px;
  color: var(--primary-color);
  display: block;
}

.gh-cookie-cat-badge {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gh-cookie-cat-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Toggle Switch */
.gh-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.gh-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.gh-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 26px;
}

.gh-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gh-switch input:checked + .gh-slider {
  background-color: var(--primary-color);
}

.gh-switch input:focus-visible + .gh-slider {
  outline: 2px solid var(--accent-gold);
}

.gh-switch input:checked + .gh-slider:before {
  transform: translateX(22px);
}

.gh-cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   FAQ Page & Accordion Styles
   ========================================================================== */
.faq-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.6;
}

.faq-group {
  margin-bottom: 44px;
}

.faq-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(197, 160, 89, 0.35);
}

.faq-group-icon {
  color: var(--accent-gold);
  display: flex;
  align-items: center;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.faq-item.active {
  border-color: rgba(25, 25, 112, 0.3);
  box-shadow: 0 4px 14px rgba(25, 25, 112, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background-color: #f8fafc;
  color: var(--primary-light);
}

.faq-item.active .faq-question {
  background-color: #f8fafc;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px 22px;
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
  animation: faqFadeIn 0.25s ease-out;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.faq-answer li {
  margin-bottom: 6px;
}

.faq-answer a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--accent-blue-hover);
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-cta-box {
  background: linear-gradient(135deg, #131748 0%, #191970 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 36px 30px;
  text-align: center;
  margin-top: 50px;
}

.faq-cta-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.faq-cta-text {
  font-size: 15.5px;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 auto 22px;
}

@media (max-width: 768px) {
  .gh-cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .gh-cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .gh-cookie-banner-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .gh-cookie-modal-footer {
    flex-direction: column;
  }

  .gh-cookie-modal-footer .btn {
    width: 100%;
  }
}
