/* CSS RESET & BASE TYPOGRAPHY ----------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: #222C3A;
  background: #F5F6ED;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.35em;
  padding-left: 0.5em;
}
a {
  color: #26406B;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #3C5B8B;
  text-decoration: none;
}
strong, b {
  font-weight: 600;
}
.subtitle {
  font-size: 1.125rem;
  color: #364052;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  margin-top: 8px;
  margin-bottom: 16px;
  opacity: 0.85;
}
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #26406B;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin-top: 0.7em;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5em;
}
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
}

/* FLEXBOX LAYOUTS ------------------------------------------------------------------------- */
.feature-grid, .programs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 24px 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(38, 64, 107, 0.10);
  padding: 24px 24px 20px 24px;
  min-width: 220px;
  flex: 1 1 275px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.21s;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 28px rgba(38, 64, 107, 0.15);
  transform: translateY(-3px) scale(1.012);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(38, 64, 107, 0.10);
  padding: 28px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 7px 32px rgba(38, 64, 107, 0.16);
}
.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;
}
@media (max-width: 900px) {
  .feature-grid, .programs-grid, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .programs-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  section {
    padding: 25px 0;
    margin-bottom: 34px;
  }
}

/* BUTTONS & CTA STYLES ------------------------------------------------------------------- */
.cta-primary, .cta-primary:visited {
  display: inline-block;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.1rem;
  color: #fff;
  background: #26406B;
  border-radius: 8px;
  padding: 14px 38px;
  font-weight: 600;
  text-align: center;
  border: none;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(38, 64, 107, 0.07);
  transition: background 0.20s, box-shadow 0.20s, transform 0.16s;
  cursor: pointer;
  margin-top: 12px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #3C5B8B;
  box-shadow: 0 3px 20px rgba(61,80,125,0.13);
  color: #fff;
  transform: translateY(-2px) scale(1.045);
}
.cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.1rem;
  background: #A1B0C7;
  color: #26406B;
  border-radius: 8px;
  padding: 10px 32px;
  font-weight: 500;
  text-align: center;
  border: none;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 6px rgba(61,80,125,0.06);
  margin-top: 10px;
  transition: background 0.19s, color 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #8b98ab;
  color: #fff;
}
button, .cta-primary, .cta-secondary {
  outline: none;
  border: none;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid #A1B0C7;
  outline-offset: 2px;
}

/* NAVIGATION MENU ------------------------------------------------------------------------ */
header {
  width: 100%;
  background: #F5F6ED;
  border-bottom: 1px solid #E2E5DE;
  z-index: 299;
  position: relative;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 0 18px 0;
  max-width: 1220px;
  margin: 0 auto;
  font-family: 'Montserrat', serif;
}
.main-nav a {
  color: #26406B;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  border-radius: 6px;
  padding: 7px 16px;
  transition: background 0.14s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #A1B0C7;
  color: #fff;
}
.main-nav .cta-primary {
  margin-left: auto;
  margin-right: 0;
  background: #26406B;
  color: #fff !important;
  font-weight: 600;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 14px;
  vertical-align: middle;
}
/* MOBILE NAV ----------------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 19px;
  right: 23px;
  font-size: 2rem;
  background: none;
  color: #26406B;
  border: none;
  padding: 6px 20px 6px 6px;
  border-radius: 6px;
  line-height: 1;
  cursor: pointer;
  z-index: 1502;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E2E5DE;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38, 64, 107, 0.98);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.81,.01,.23,1);
  z-index: 1501;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding-top: 48px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 1503;
  padding: 10px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #A1B0C7;
  color: #26406B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: 'Montserrat', serif;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 8px;
  text-align: left;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A1B0C7;
  color: #26406B;
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-close,
  .mobile-nav,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER --------------------------------------------------------------------------------- */
footer {
  background: #26406B;
  color: #fff;
  padding: 40px 0 24px 0;
  margin-top: 60px;
  font-size: 1rem;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 26px;
}
.footer-nav a {
  color: #A1B0C7;
  font-size: 1rem;
  text-decoration: none;
  padding: 4px 16px;
  border-radius: 5px;
  transition: background 0.14s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #A1B0C7;
  color: #26406B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  color: #A1B0C7;
}
footer address {
  font-style: normal;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 3px;
}
footer a {
  color: #A1B0C7;
  text-decoration: underline;
}
footer a:hover {
  text-decoration: none;
  color: #fff;
}
footer small {
  color: #A1B0C7;
  margin-top: 16px;
  display: block;
}
@media (max-width: 600px) {
  footer {
    padding: 32px 0 16px 0;
    font-size: 0.97rem;
  }
  .footer-nav {
    gap: 12px;
    margin-bottom: 14px;
  }
  .footer-contact {
    gap: 3px;
    font-size: 0.94rem;
  }
}

/* TESTIMONIALS ---------------------------------------------------------------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 28px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 18px 28px;
  min-width: 265px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(38,64,107,0.09);
  margin-bottom: 20px;
  color: #26406B;
  font-size: 1.07rem;
  transition: box-shadow 0.21s, transform 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px rgba(38,64,107,0.17);
  transform: translateY(-2px) scale(1.012);
}
.testimonial-author {
  margin-top: 6px;
  color: #375278;
  font-style: italic;
  font-size: 1rem;
}
@media (max-width: 850px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}

/* CARD AND SECTION LAYOUTS ---------------------------------------------------------------- */
.benefits-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 0 0;
}
.client-logos {
  display: flex;
  gap: 16px;
  margin: 22px 0 10px 0;
  align-items: center;
  flex-wrap: wrap;
}
.quick-compare {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 11px rgba(38,64,107,0.07);
  padding: 20px 16px 12px 16px;
  margin-top: 18px;
  width: 100%;
  overflow-x: auto;
}
.quick-compare h3 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.quick-compare table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 1rem;
  background: transparent;
}
.quick-compare th, .quick-compare td {
  padding: 12px 10px;
  border: none;
}
.quick-compare tr:nth-child(even) {
  background: #F5F6ED;
}
.quick-compare tr:nth-child(odd) {
  background: #fff;
}
.quick-compare th {
  color: #26406B;
  font-weight: 600;
  border-bottom: 2px solid #A1B0C7;
}
.quick-compare td {
  color: #364052;
  font-weight: 500;
}
@media (max-width: 760px) {
  .quick-compare th, .quick-compare td {
    padding: 8px 4px;
    font-size: 0.97rem;
  }
}

/* VARIOUS LISTS, BLOGS, TABLES ----------------------------------------------------------- */
.blog-highlights {
  margin-top: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(38,64,107,0.06);
  padding: 14px 18px 14px 18px;
}
.blog-highlights h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.blog-highlights ul {
  list-style: disc inside;
  padding-left: 0;
}
.blog-highlights a {
  color: #26406B;
  text-decoration: underline;
  transition: color 0.15s;
}
.blog-highlights a:hover, .blog-highlights a:focus {
  color: #375278;
  text-decoration: none;
}
.newsletter-signup {
  margin: 14px 0 16px 0;
  padding: 16px 14px;
  background: #fff;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 1px 7px rgba(61,80,125,0.06);
}
.community-invite {
  margin-top: 12px;
  background: #f9faf5;
  border-radius: 8px;
  padding: 12px 16px 8px 16px;
}

/* MISCELLANEOUS BLOCKS ------------------------------------------------------------------- */
.case-study, .faq, .results-stats, .coach-bio, .team-intro {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px 12px 22px;
  box-shadow: 0 1px 7px rgba(38,64,107,0.09);
  margin-top: 15px;
}
.case-study h3, .faq h3, .results-stats h3, .coach-bio h3, .team-intro h2 {
  margin-top: 0;
}
.course-price {
  margin-top: 17px;
  font-size: 1.12rem;
  color: #26406B;
  font-weight: 700;
  letter-spacing: 0.015em;
}

/* RESPONSIVE SPACING AND BODY ----------------------------------------------------------- */
@media (max-width: 480px) {
  h1 {font-size: 1.75rem;}
  h2 {font-size: 1.35rem;}
  .cta-primary, .cta-secondary {padding: 10px 14px; font-size: 1rem;}
  .footer-contact, .footer-nav, .main-nav, .testimonial-card, .case-study, .card {
    padding-left: 6px; padding-right: 6px;
  }
}

/* COOKIE CONSENT BANNER & SETTINGS ------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #26406B;
  box-shadow: 0 -2px 16px rgba(38,64,107,0.13);
  z-index: 1630;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px 22px 32px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  transition: transform 0.2s cubic-bezier(.4,.88,.79,1.02), opacity 0.20s;
}
.cookie-banner.closed {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 2 1 280px;
  margin-right: 18px;
  font-size: 1.05rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.btn-cookie {
  font-family: 'Montserrat', serif;
  font-weight: 600;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 1rem;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
}
.btn-cookie.accept {
  background: #26406B;
  color: #fff;
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: #3C5B8B;
}
.btn-cookie.reject {
  background: #A1B0C7;
  color: #26406B;
}
.btn-cookie.reject:hover, .btn-cookie.reject:focus {
  background: #8392ac;
  color: #fff;
}
.btn-cookie.settings {
  background: #fff;
  color: #26406B;
  border: 1px solid #A1B0C7;
}
.btn-cookie.settings:hover, .btn-cookie.settings:focus {
  background: #A1B0C7;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 10px;
    gap: 12px;
  }
  .cookie-banner-actions {
    gap: 8px;
    width: 100%;
  }
}

/* COOKIE SETTINGS MODAL ------------------------------------------------------------------ */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,64,107,0.68);
  z-index: 1640;
  align-items: center;
  justify-content: center;
  padding: 24px 14px;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  color: #26406B;
  border-radius: 18px;
  box-shadow: 0 5px 44px rgba(38,64,107,0.19);
  max-width: 390px;
  width: 100%;
  padding: 36px 32px 28px 32px;
  font-family: 'Georgia', serif;
}
.cookie-modal-content h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.cookie-preference-group {
  margin: 18px 0 9px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-toggle-label {
  font-size: 1.02rem;
}
.cookie-switch {
  position: relative;
  width: 38px;
  height: 22px;
  display: inline-block;
  margin-right: 12px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #A1B0C7;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #26406B;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-switch input:checked + .cookie-slider:before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-category-desc {
  color: #364052;
  font-size: 0.97rem;
  margin-top: -3px;
  margin-bottom: 6px;
}

/* FOR OL/UL LISTS ------------------------------------------------------------------------ */
ul,ol {
  margin-bottom: 13px;
}
li {
  margin-bottom: 9px;
  font-size: 1rem;
  color: #222C3A;
}

/* UTILITY CLASSES ------------------------------------------------------------------------ */
.hidden { display: none !important; }
.visible { display: block !important; }
.text-center {text-align: center;}


/* SPECIALS: THANK YOU PAGE SECONDS BUTTON ----------------------------------------------- */
.cta-secondary {
  margin-top: 12px;
  margin-left: 0;
  font-weight: 600;
  font-family: 'Montserrat', 'Georgia', serif;
}

/* Miscellaneous typography and transitions ----------------------------------------------- */
*, *::before, *::after {
  transition-property: color, background, box-shadow, transform, opacity, border;
  transition-duration: 0.17s;
}

/* END OF STYLES ------------------------------------------------------------------------- */
