/* ======================================================   CSS RESET & NORMALIZE   ====================================================== */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  line-height: 1.6;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  color: #222;
  background: #FAFAF6;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

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

ul, ol {
  padding-left: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  margin: 0 0 0.5em 0;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; letter-spacing: 0.01em; }
h2 { font-size: 2rem; margin-top: 24px; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p, li, address, em {
  font-size: 1rem;
  font-family: 'Roboto', Georgia, serif;
  color: #222;
}

strong {
  font-weight: 700;
  color: #174A5A;
  font-family: 'Montserrat', Georgia, serif;
}

a {
  color: #174A5A;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #B07543;
  text-decoration: underline;
}

/* ===================  FLEXBOX CONTAINERS  ====================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .content-wrapper {
    gap: 32px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 3px 18px 0 rgba(23,74,90,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(23,74,90,0.15);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAFAF6;
  border: 1px solid #DCD5BB;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(132,80,23,0.06);
  color: #193A43;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================  TYPOGRAPHY SCALE  ====================== */
.hero h1 { font-size: 2.4rem; }
.hero p { font-size: 1.2rem; max-width: 600px; }
.section h2 { font-size: 2rem; }
.section h3 { font-size: 1.4rem; }
.cta, .cta.primary, .cta.secondary {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.5px;
  font-size: 1.125rem;
}

@media (min-width: 992px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.15rem; }
  h3 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.9rem; }
}

/* ===================  MAIN NAVIGATION (DESKTOP & MOBILE)  ====================== */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 9px 0 rgba(23,74,90,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #174A5A;
  position: relative;
  transition: background 0.24s, color 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0ECE4;
  color: #B07543;
}
.cta.primary {
  background: #174A5A;
  color: #FFF !important;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(23,74,90,0.06);
  border-radius: 7px;
  padding: 10px 22px;
  margin-left: 14px;
  transition: background 0.25s, color 0.18s, box-shadow 0.32s;
  cursor: pointer;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #B07543;
  color: #FFF;
  box-shadow: 0 4px 16px 0 rgba(23,74,90,0.10);
}
.cta.secondary {
  background: transparent;
  color: #174A5A;
  border: 1px solid #B07543;
  border-radius: 7px;
  padding: 10px 22px;
  transition: background 0.24s, color 0.21s, border 0.22s;
  cursor: pointer;
  outline: none;
  margin-top: 10px;
  align-self: flex-start;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #B07543;
  color: #FFF;
}

/* ===================  MOBILE MENU (BURGER NAV)  ====================== */
.mobile-menu-toggle {
  display: inline-flex;
  position: relative;
  z-index: 1202;
  padding: 8px 12px;
  background: #FAFAF6;
  border: 1px solid #DCD5BB;
  border-radius: 6px;
  font-size: 2rem;
  color: #174A5A;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.21s, border 0.21s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #DCD5BB;
}
@media (min-width: 990px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #FAFAF6;
  box-shadow: 0 4px 40px 0 rgba(23,74,90,0.17);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.7,0,.3,1);
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  margin: 18px 22px 10px 0;
  color: #174A5A;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover { color: #B07543; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding-left: 28px;
  padding-top: 16px;
}
.mobile-nav a {
  padding: 15px 0;
  font-size: 1.15rem;
  color: #174A5A;
  font-family: 'Montserrat', Georgia, serif;
  border-bottom: 1px solid #ECE7E2;
  transition: background 0.20s, color 0.23s;
  border-radius: 0;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus { color: #B07543; background: #EDEADE; }

@media (min-width: 990px) {
  .mobile-menu, .mobile-menu.open { display: none !important; }
  .main-nav { display: flex; }
}
@media (max-width: 989px) {
  .main-nav { display: none; }
}

/* ===================  HERO SECTIONS  =========================== */
.hero {
  background: #FFF;
  padding: 56px 0 36px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px 0 rgba(220,213,187,0.09);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 26px;
  margin-left: 0;
  padding-left: 0;
}
@media (min-width: 768px) {
  .hero { padding: 70px 0 48px 0; }
  .hero .container { align-items: flex-start; }
}

/* ===================  FEATURE/CONTENT CARDS  ==================== */
.features .content-wrapper ul, .services-preview .content-wrapper ul,
.services-list .content-wrapper ul, .curriculum-features .content-wrapper ul,
.impact-features .content-wrapper ul, .about-section .content-wrapper ul, .why-section .content-wrapper ul,
.trainer-bios .content-wrapper ul, .method-features .content-wrapper ul,
.contact-info .content-wrapper ul, .location-info .content-wrapper ul,
.quick-contact .content-wrapper ul, .more-questions .content-wrapper ul, .contact-details .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 0;
  margin-top: 10px;
}
.features .content-wrapper ul li,
.services-preview .content-wrapper ul li,
.services-list .content-wrapper ul li,
.curriculum-features .content-wrapper ul li,
.impact-features .content-wrapper ul li,
.about-section .content-wrapper ul li,
.why-section .content-wrapper ul li,
.trainer-bios .content-wrapper ul li,
.method-features .content-wrapper ul li,
.quick-contact .content-wrapper ul li,
.more-questions .content-wrapper ul li,
.contact-details .content-wrapper ul li,
.location-info .content-wrapper ul li {
  flex: 1 1 230px;
  padding: 18px 18px 17px 0;
  margin-right: 0;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0 1px 7px 0 rgba(220,213,187,0.05);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 900px) {
  .features .content-wrapper ul, .services-list .content-wrapper ul,
  .about-section .content-wrapper ul, .why-section .content-wrapper ul,
  .curriculum-features .content-wrapper ul, .impact-features .content-wrapper ul {
    flex-direction: column;
    gap: 20px;
  }
  .features .content-wrapper ul li,
  .services-list .content-wrapper ul li,
  .about-section .content-wrapper ul li,
  .why-section .content-wrapper ul li,
  .curriculum-features .content-wrapper ul li,
  .impact-features .content-wrapper ul li {
    min-width: unset;
    width: 100%;
  }
}
.features .content-wrapper ul li img,
.quick-contact .content-wrapper ul li img,
.contact-details .content-wrapper ul li img,
.about-section .content-wrapper ul li img,
.contact-info .content-wrapper ul li img {
  height: 34px;
  width: auto;
  margin-bottom: 5px;
  filter: grayscale(0.3) saturate(0.85) opacity(0.95);
}

/* ===================  TESTIMONIALS  ==================== */
.testimonials .content-wrapper, .testimonials-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.testimonial-card {
  background: #FAFAF6;
  border: 1.5px solid #DCD5BB;
  box-shadow: 0 3px 17px 0 rgba(23,74,90,0.06);
  border-radius: 13px;
  max-width: 430px;
  min-width: 230px;
  color: #222;
  font-size: 1.05rem;
  font-style: italic;
  text-align: left;
}
.testimonial-card strong {
  color: #845017;
  font-style: normal;
  display: block;
  margin-top: 12px;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

/* ===================  CALL TO ACTION  ==================== */
.cta-section {
  margin-bottom: 48px;
  padding: 24px 14px;
  background: #FFF;
  border: 1px solid #DCD5BB;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(220,213,187,0.04);
}

/* ===================  FOOTER  ==================== */
footer {
  background: #174A5A;
  color: #FFF;
  padding: 40px 0 18px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 6px;
}
.footer-navigation a {
  color: #DCD5BB;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.05rem;
  opacity: 0.92;
  padding: 3px 8px;
  border-radius: 4px;
  transition: color 0.18s, background 0.20s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #845017;
  background: #EDEADE4a;
}
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
}
.social-icons img {
  height: 27px;
  width: 27px;
  filter: grayscale(0.3) brightness(1.25) contrast(0.88);
  opacity: 0.96;
  transition: filter 0.18s, opacity 0.22s;
  cursor: pointer;
}
.social-icons img:hover {
  opacity: 1;
  filter: none;
}
footer address {
  font-style: normal;
  color: #F6F0E4;
  font-size: 0.99rem;
}
footer p {
  font-size: 0.97rem;
  color: #DDD3BC;
}

/* ===================  THANK YOU PAGE SPECIALS  ==================== */
.thank-you .content-wrapper {
  align-items: center;
  gap: 18px;
  text-align: center;
}
.thank-you .cta {
  margin: 20px 0;
}
.follow-us {
  display: flex;
  align-items: center;
  gap: 14px;
}
.follow-us img {
  height: 26px;
  width: 26px;
  margin-left: 0;
}

/* ===================  FAQ ACCORDION  ==================== */
.faq-accordion h3 {
  cursor: pointer;
  font-size: 1.15rem;
  padding: 13px 0 2px 0;
  color: #174A5A;
  font-family: 'Montserrat', Georgia, serif;
  border-bottom: 1px solid #DCD5BB;
  margin-bottom: 2px;
  transition: color 0.19s, background 0.13s;
}
.faq-accordion h3:hover, .faq-accordion h3:focus {
  color: #B07543;
  background: #F2EFE7;
}
.faq-accordion p {
  margin-bottom: 10px;
  color: #174A5A;
  font-size: 1rem;
}

/* ===================  LEGAL SECTIONS  ==================== */
.legal {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(220,213,187,0.08);
  margin-bottom: 64px;
  padding: 34px 28px 38px;
}
.legal h1, .legal h2 {
  color: #174A5A;
}
.legal ul {
  list-style: disc inside;
  color: #222;
  margin-bottom: 16px;
  margin-top: 6px;
  padding-left: 18px;
}

/* ===================  MISC / BRAND ELEMENTS  ==================== */
.brand-promise, .team-teaser {
  background: #F8F6F1;
  border-left: 5px solid #B07543;
  padding: 12px 20px;
  border-radius: 7px;
  color: #174A5A;
  font-size: 1.07rem;
  margin-top: 14px;
  font-style: italic;
}
.opening-hours, .map-text {
  background: #FAF9F6;
  font-style: italic;
  color: #845017;
  border-left: 3px solid #174A5A;
  padding: 10px 18px;
  border-radius: 7px;
}

/* ===================  RESPONSIVE DESIGN  ==================== */
@media (max-width: 768px) {
  .container { padding: 0 8px; }
    
  .content-wrapper,
  .content-grid,
  .card-container,
  .features .content-wrapper ul,
  .services-preview .content-wrapper ul,
  .services-list .content-wrapper ul,
  .curriculum-features .content-wrapper ul, 
  .impact-features .content-wrapper ul,
  .about-section .content-wrapper ul, .why-section .content-wrapper ul, .trainer-bios .content-wrapper ul, .method-features .content-wrapper ul,
  .quick-contact .content-wrapper ul, .contact-details .content-wrapper ul, .location-info .content-wrapper ul {
    flex-direction: column !important;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start !important;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 8px 8px;
  }
  .hero {
    padding: 30px 0 16px 0;
  }
  .section, .cta-section, .legal {
    padding: 20px 8px 26px 8px;
    margin-bottom: 28px;
  }
  .testimonial-card { min-width: unset; max-width: unset; }
  .footer-navigation, .social-icons { flex-wrap: wrap; justify-content: flex-start; }
  footer .container { gap: 8px; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  h1 { font-size: 1.58rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.05rem; }
  .hero h1 { font-size: 1.55rem; }
  .cta, .cta.primary, .cta.secondary { font-size: 0.98rem; padding: 11px 16px; }
}

/* ===========   SMOOTH TRANSITION MICRO-ACTIONS   ============ */
button, .cta, .cta.primary, .cta.secondary {
  transition: background 0.23s, color 0.19s, border 0.19s, box-shadow 0.32s, transform 0.18s;
}
button:active, .cta:active {
  transform: translateY(1.5px) scale(0.96);
}
a:focus, button:focus, .cta:focus {
  outline: 2px solid #B07543;
  outline-offset: 2px;
}

/* ===================   COOKIE CONSENT BANNER   ==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFFCEF;
  color: #222;
  box-shadow: 0 -4px 34px 0 rgba(220,213,187,0.21);
  border-top: 2px solid #DCD5BB;
  z-index: 1800;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 8vw 14px 8vw;
  font-size: 1rem;
  animation: bannerAppear 0.55s cubic-bezier(.8,0,.3,1);
}
@keyframes bannerAppear {
  from { opacity: 0; transform: translateY(110px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: 26px;
}
.cookie-banner button {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  background: #FFF;
  color: #845017;
  padding: 8px 18px;
  min-width: 112px;
  box-shadow: 0 1px 6px 0 rgba(220,213,187,0.11);
  cursor: pointer;
  transition: background 0.22s, color 0.21s, box-shadow 0.26s;
}
.cookie-banner button.accept {
  background: #174A5A;
  color: #FFF;
  border: 1px solid #174A5A;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #B07543;
  border-color: #B07543;
  color: #FFF; 
}
.cookie-banner button.reject {
  background: #FFF;
  color: #174A5A;
  border: 1.5px solid #B07543;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #B07543;
  color: #FFF;
}
.cookie-banner button.settings {
  background: #FFFCEF;
  color: #845017;
  border: 1.5px solid #DCD5BB;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #DCD5BB;
  color: #174A5A;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2500;
  background: rgba(23,74,90,0.14);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalAppear 0.44s cubic-bezier(.8,0,.3,1);
}
@keyframes modalAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 7px 40px 0 rgba(23,74,90,0.14);
  padding: 38px 24px 30px 24px;
  max-width: 370px;
  min-width: 260px;
  color: #174A5A;
  font-family: 'Roboto', Georgia, serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #845017;
  cursor: pointer;
}
.cookie-modal .modal-title {
  font-size: 1.22rem;
  font-family: 'Montserrat', Georgia, serif;
  color: #174A5A;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category .toggle {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: #E1DAC5;
  position: relative;
  cursor: pointer;
  margin-right: 12px;
  flex-shrink: 0;
}
.cookie-modal .cookie-category .toggle.active {
  background: #B07543;
}
.cookie-modal .cookie-category .toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.21s;
}
.cookie-modal .cookie-category .toggle.active::before {
  left: 18px;
}
.cookie-modal .cookie-category .label {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #174A5A;
}
.cookie-modal .cookie-category.essential .toggle {
  background: #8CC6BE;
  pointer-events: none;
}
.cookie-modal .cookie-category.essential .label {
  opacity: 0.68;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 8px 16px;
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Georgia, serif;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(220,213,187,0.11);
}
.cookie-modal .modal-actions .accept {
  background: #174A5A;
  color: #FFF;
  margin-left: 6px;
}
.cookie-modal .modal-actions .accept:hover, .cookie-modal .modal-actions .accept:focus {
  background: #B07543;
}
.cookie-modal .modal-actions .cancel {
  background: #FFFCEF;
  color: #174A5A;
  border: 1.2px solid #DCD5BB;
}
.cookie-modal .modal-actions .cancel:hover, .cookie-modal .modal-actions .cancel:focus {
  background: #DCD5BB;
  color: #845017;
}

/* ===================  ACCESSIBILITY  ==================== */
@media (max-width: 480px) {
  .cookie-banner { padding: 10px 4vw 10px 4vw; flex-direction: column; gap: 13px; }
  .cookie-banner .cookie-buttons { margin-left: 0; justify-content: flex-start; gap: 9px; }
  .cookie-modal .modal-content { padding: 26px 5vw 20px 5vw; min-width: unset; }
}

/* =================== UTILITIES ==================== */
.shadow {
  box-shadow: 0 6px 24px 0 rgba(23,74,90,0.12);
}
.rounded {
  border-radius: 13px;
}
.text-center {
  text-align: center !important;
}
.bg-accent {
  background: #B07543;
  color: #FFF;
}
.bg-primary {
  background: #174A5A;
  color: #FFF;
}
.bg-secondary {
  background: #DCD5BB;
  color: #174A5A;
}

/* ===================  END ==================== */
