/* ========================
   CSS RESET & BASE STYLES
   ======================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F8F9;
  color: #1F2A38;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}

/* =============================
   TYPOGRAPHY (Luxury, Premium)
   ============================= */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, .hero h1 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #223A52;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #223A52;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #223A52;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #223A52;
}
p, li, table, th, td {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1F2A38;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #223A52;
}

/* ================
   BRAND COLORS
   ================ */
:root {
  --primary: #223A52;
  --secondary: #6CBF4B;
  --accent: #F1F6F9;
  --gold: #C9B26C;
  --white: #FFF;
  --black: #181818;
  --text: #222E3A;
  --shadow: rgba(34,58,82,0.06);
}

/* =========================
   LAYOUT & CONTAINER STYLES
   ========================= */
.container {
  width: 100%;
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main, footer {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ============
   HEADER / NAV
   ============ */
header {
  background: var(--primary);
  box-shadow: 0 2px 8px var(--shadow);
  padding: 0;
}
header .container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: var(--white);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background .16s, color .16s;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width .2s;
}
header nav a:hover, header nav a:focus {
  background: var(--gold);
  color: var(--primary);
}
header nav a:hover:after {
  width: 80%;
}
.cta-btn {
  background: var(--gold);
  color: var(--primary) !important;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 24px !important;
  border-radius: 32px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background .22s, color .18s, box-shadow .22s;
  border: none;
  margin-left: 16px;
  outline: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--gold) !important;
  box-shadow: 0 4px 24px rgba(200,178,108,0.14);
  border-bottom: 2px solid var(--gold);
}
header img {
  height: 56px;
  min-width: 104px;
  margin-right: 30px;
  padding: 0;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1202;
  box-shadow: 0 2px 8px var(--shadow);
  margin-left: 16px;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--gold);
}

/* ============
   MOBILE MENU
   ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,58,82,0.98);
  color: var(--white);
  z-index: 1200;
  transform: translateX(100vw);
  transition: transform 0.28s cubic-bezier(.68,.06,.43,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 0 24px;
  will-change: transform;
  box-shadow: 0 0 32px 0 rgba(34,58,82,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.25rem;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 1300;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--gold);
  color: var(--primary);
}
.mobile-nav {
  margin-top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid rgba(249,247,241,0.06);
  transition: color 0.16s;
  letter-spacing: 0.5px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  background: none;
}
.mobile-nav a.cta-btn {
  background: var(--gold);
  color: var(--primary);
  text-align: center;
  font-size: 1.1rem;
  border-radius: 32px;
  margin-top: 16px;
  padding: 14px 0 !important;
  box-shadow: 0 2px 8px var(--shadow);
}
.mobile-nav a.cta-btn:hover {
  background: var(--primary);
  color: var(--gold);
}

@media (max-width: 1015px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1016px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ====== HERO & SECTION ====== */
.hero {
  background: linear-gradient(120deg, #F1F6F9 80%, #C9B26C 180%);
  padding: 60px 0 40px 0;
  display: flex;
  align-items: center;
  min-height: 300px;
  box-shadow: 0 4px 32px 0 rgba(200,178,108,0.09);
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.25rem;
  color: #374E61;
  margin-bottom: 26px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ===== FLEXBOX FOR CONTENT LAYOUT (CRITICAL) ===== */
.feature-grid, .trainer-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature, .trainer-profiles > div {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  padding: 28px 22px 24px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  border-left: 5px solid var(--gold);
}
.feature img {
  height: 40px;
  margin-bottom: 12px;
}
.trainer-profiles > div h3 {
  margin-bottom: 10px;
}

.features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Testimonial cards */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #FFF;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(34,58,82,0.09);
  padding: 24px 22px 20px 22px;
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  color: #223A52;
  margin-bottom: 0;
  font-size: 1.07rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
}
.testimonial-card strong {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0;
}
.star-rating {
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 4px;
}
.trust-signals ul {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.trust-signals li {
  font-size: 1.06rem;
  color: #223A52;
  font-family: 'Oswald', Arial, sans-serif;
  padding-left: 18px;
  position: relative;
}
.trust-signals li:before {
  content: '\1F4AA';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.15rem;
}

/* Card container examples (for custom layouts) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: var(--accent);
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 3px solid var(--gold);
}

/***************
  TABLE STYLES
 ***************/
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 28px;
}
.pricing-table th, .pricing-table td {
  padding: 18px 14px;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: left;
  color: #223A52;
  background: #FFF;
}
.pricing-table th {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--primary);
  background: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.12rem;
}
.pricing-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--accent);
}
.pricing-table tr:nth-child(even) td {
  background: #F9FAFB;
}

/* ====== CTA SECTIONS ====== */
.cta {
  background: var(--primary);
  color: var(--gold);
  box-shadow: 0 3px 32px rgba(34,58,82,0.16);
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 38px 20px 44px 20px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 10px;
}
.cta h2, .cta p {
  color: var(--gold);
  text-align: center;
}
.cta .cta-btn {
  margin-top: 16px;
  font-size: 1.18rem;
}
/***** LEGAL & THANK YOU *****/
.legal, .thankyou {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 2px 18px rgba(34,58,82,0.06);
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal h1, .thankyou h1 {
  color: var(--primary);
}

/***** ABOUT PAGE EXTRAS *****/
.about ul, .features ul, .services ul {
  margin: 10px 0 24px 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about li:before, .features li:before, .services li:before {
  content: '\2022';
  color: var(--gold);
  display: inline-block; 
  width: 1.4em;
  margin-left: -1.4em;
  font-size: 1.15em;
}

/***** CONTACT PAGE *****/
.contact {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.address-info, .map {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 10px;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: 0 1px 8px var(--shadow);
}
.address-info h3, .map h3 {
  color: var(--primary);
}
.address-info img, .map img {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  margin-right: 6px;
}

/***** FOOTER *****/
footer {
  background: #223A52;
  color: var(--gold);
  padding: 48px 0 24px 0;
  box-shadow: 0 -2px 16px var(--shadow);
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--gold);
  font-size: 1.03rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.17s, color 0.14s;
}
footer nav a:hover {
  background: var(--gold);
  color: var(--primary);
}
footer .contact-info p {
  color: var(--gold);
  font-size: 0.98rem;
  margin-bottom: 4px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-logo img {
  height: 44px;
  width: auto;
  display: block;
  margin-top: 10px;
}

/* ===========
   BUTTONS
   =========== */
button, .cta-btn {
  font-family: 'Oswald', Arial, sans-serif;
  transition: background 0.2s, color 0.18s, box-shadow 0.18s;
  outline: none;
  border: none;
  cursor: pointer;
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--gold);
}

/* MICROINTERACTIONS */
.card, .feature, .testimonial-card, .feature-item,
.pricing-table, .address-info, .map {
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.2s;
}
.card:hover, .feature:hover, .testimonial-card:hover, .feature-item:hover, .about ul li:hover {
  box-shadow: 0 4px 24px 0 rgba(200,178,108,0.15);
  transform: translateY(-4px) scale(1.01);
  border-left-color: var(--secondary);
}

/* =======
RESPONSIVE
======= */
@media (max-width: 991px) {
  .feature-grid, .trainer-profiles, .testimonial-slider {
    gap: 16px;
  }
  .feature, .trainer-profiles > div, .testimonial-card {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, .contact, .about, .features, .services, .legal, .thankyou, .hero, .cta {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 40px;
  }
  .hero {
    min-height: 220px;
    padding: 32px 0 22px 0;
  }
  .feature-grid, .testimonial-slider, .trainer-profiles {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature, .trainer-profiles > div, .testimonial-card {
    min-width: 90%;
    max-width: 98vw;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header .container {
    flex-direction: row;
  }
  .cta-btn {
    padding: 11px 13vw !important;
    font-size: 1.08rem;
  }
}
@media (max-width: 526px) {
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  .hero .content-wrapper h1 { font-size: 1.44rem; }
  .feature, .testimonial-card, .about ul, .pricing-table th, .pricing-table td {
    font-size: 0.97rem;
    padding-left: 10px;
    padding-right: 10px;
  }
  .cta-btn {
    font-size: 0.95rem;
  }
  .mobile-menu {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ====================
   COOKIE CONSENT BANNER
   ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  z-index: 2000;
  width: 95vw;
  max-width: 600px;
  background: #223A52;
  color: var(--gold);
  box-shadow: 0 0 22px 0 rgba(34,58,82,0.16);
  border-radius: 19px 19px 0 0;
  padding: 28px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.18s;
  align-items: flex-start;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p {
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 4px;
}
.cookie-banner .cookie-actions {
  margin-top: 6px;
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  background: var(--gold);
  color: var(--primary);
  padding: 8px 16px;
  min-width: 115px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 23px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-top: 0;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.18s;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--gold);
  border: 1.2px solid var(--gold);
}
.cookie-btn.settings {
  background: var(--primary);
  color: var(--gold);
  border: 1.2px solid var(--gold);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--gold);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--gold);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--gold);
  color: var(--primary);
}

/******* COOKIE MODAL ******/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,58,82,0.85);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--accent);
  color: var(--primary);
  border-radius: 21px;
  padding: 42px 24px 32px 24px;
  width: 92vw;
  max-width: 420px;
  box-shadow: 0 4px 48px rgba(34,58,82,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h2 {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.36rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 8px;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background: var(--accent);
  border-radius: 11px;
  padding: 10px;
}
.cookie-option label {
  font-size: 1.06rem;
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
}
.cookie-option input[type='checkbox'] {
  margin-right: 6px;
  accent-color: var(--gold);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 9px;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: var(--gold);
  color: var(--primary);
}

/*********
  OTHERS
*********/
::-webkit-scrollbar {
  width: 9px;
  background: #F9F9F9;
}
::-webkit-scrollbar-thumb {
  background: #C9B26C;
  border-radius: 7px;
}
::-webkit-selection, ::selection {
  background: var(--gold);
  color: var(--primary);
}

/* ===================
   ACCESSIBILITY FOCUS
   =================== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ================
   Print adjustments
   ================ */
@media print {
  header, footer, .cta, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  main, .section, .container {
    padding: 0;
    margin: 0;
  }
}
