/* ==== CSS RESET & NORMALIZATION ==== */
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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  box-shadow: none;
}

/* ==== BRAND VARIABLES ==== */
:root {
  --color-primary: #243C5A;
  --color-secondary: #F28D35;
  --color-accent: #F2F2F2;
  --color-white: #fff;
  --color-black: #181A1B;
  --color-shadow: rgba(36, 60, 90, 0.08);
  --color-border: #E3E8EE;
  --color-focus: #F28D35;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 12px var(--color-shadow);
  --transition: 0.15s cubic-bezier(.5,.15,.5,.85);
}

/* ==== BASE TYPOGRAPHY ==== */
body {
  color: var(--color-primary);
  background: var(--color-accent);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}
blockquote {
  border-left: 4px solid var(--color-secondary);
  margin: 0 0 20px 0;
  padding: 12px 20px;
  color: var(--color-primary);
  background: var(--color-white);
  font-style: italic;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
address {
  font-style: normal;
  margin-bottom: 8px;
  color: var(--color-primary);
}

/* ==== CONTAINERS & LAYOUT ==== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  align-items: center;
  gap: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
}

/* ==== NAVIGATION ==== */
header {
  background: var(--color-white);
  box-shadow: 0 1px 8px rgba(36,60,90,0.04);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: flex-start;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1rem;
}
.main-nav img {
  height: 32px;
  width: auto;
  margin-right: 20px;
}
.main-nav a {
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 6px;
  transition: background var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
}
.cta-primary {
  background: var(--color-secondary);
  color: var(--color-white)!important;
  padding: 10px 26px;
  border-radius: 24px;
  font-weight: 700;
  margin-left: 16px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(242,141,53,0.08);
  transition: background var(--transition), transform var(--transition);
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #E57A1B;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 12px rgba(242,141,53,0.18);
}
.cta-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 9px 24px;
  border-radius: 24px;
  border: 1px solid var(--color-primary);
  font-weight: 600;
  margin-top: 6px;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 1px solid var(--color-primary);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  color: var(--color-primary);
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 45;
  border-radius: 6px;
}
.mobile-menu-toggle:focus {
  background: var(--color-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(.7,.2,.25,1);
  box-shadow: 0 8px 32px rgba(36,60,90,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 26px 0 0;
  background: var(--color-accent);
  border-radius: 6px;
  border: none;
  padding: 6px 13px;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  margin-top: 50px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--font-display);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
@media (max-width: 1020px) {
  .main-nav a {
    font-size: 0.98rem;
    padding: 6px 9px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.95rem;
    padding: 6px 7px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    gap: 15px;
  }
  .cta-primary {
    padding: 8px 18px;
    margin-left: 8px;
    font-size: 0.96rem;
  }
}
@media (max-width: 808px) {
  .main-nav {
    padding-left: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== HERO SECTIONS ==== */
.hero, .about-hero, .blog-hero, .testimonials-hero, .contact-hero, .confirmation-message {
  background: var(--color-accent);
  padding-top: 52px;
  padding-bottom: 52px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: none;
}
.hero h1, .about-hero h1, .blog-hero h1, .testimonials-hero h1, .contact-hero h1 {
  color: var(--color-primary);
}
.hero .cta-primary {
  margin-top: 14px;
}

/* ==== FEATURES, CARDS & LISTS ==== */
.features ul, .brand-values ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  align-items: flex-start;
}
.features ul li, .brand-values ul li {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  font-size: 1.09rem;
  gap: 12px;
  color: var(--color-primary);
  min-width: 222px;
  margin-bottom: 12px;
}
.features ul img,
.brand-values ul img {
  width: 30px;
  height: 30px;
}

.services-overview .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 24px 0;
}
.services-overview .course-list > div {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  min-width: 225px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.services-overview .course-list > div:hover {
  box-shadow: 0 8px 24px rgba(36,60,90,0.16);
  transform: translateY(-5px) scale(1.015);
}

.courses-list .course-block {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 28px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.courses-list .course-block h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.blog-list .blog-post {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-block ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-block ul li {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  color: var(--color-primary);
}

.brand-values ul li {
  min-width: 215px;
}

.team-intro ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.team-intro ul li {
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 11px 20px;
  font-size: 1.04rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.coach-bio {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  margin-bottom: 14px;
}

/* ==== TESTIMONIALS ==== */
.testimonials-preview, .testimonial-list, .video-testimonials {
  background: var(--color-accent);
  border-radius: var(--radius);
}
.testimonials-preview .testimonial-card, 
.testimonial-list .testimonial-card, 
.video-testimonials .testimonial-card,
.coaching-details .testimonial-card {
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.testimonial-card blockquote {
  border: none;
  margin: 0 0 12px 0;
  padding: 0;
  background: transparent;
  font-style: italic;
  font-size: 1.12rem;
  color: var(--color-primary);
  box-shadow: none;
}
.testimonial-card p strong {
  font-size: 1rem;
  font-family: var(--font-display);
}

/* ==== TABLES (Course Comparison) ==== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 1rem;
}
thead {
  background: var(--color-accent);
}
th, td {
  padding: 14px 16px;
  text-align: left;
}
th {
  font-family: var(--font-display);
  font-size: 1.04rem;
}
tbody tr {
  border-bottom: 1px solid var(--color-border);
}
tbody tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: var(--color-accent);
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  th, td {
    padding: 12px 8px;
  }
}

/* ==== LEGAL PAGES ==== */
.legal-content {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 26px;
  padding: 32px 24px;
}
.legal-content h2 {
  margin-top: 20px;
}

/* ==== CALL-TO-ACTION SECTIONS ==== */
.cta, .blog-cta, .confirmation-message {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.cta h2, .blog-cta h2, .confirmation-message h1 {
  color: var(--color-white);
}
.cta .cta-primary, .blog-cta .cta-primary, .confirmation-message .cta-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  margin-top: 14px;
}
.cta .cta-primary:hover, .blog-cta .cta-primary:hover, .confirmation-message .cta-primary:hover {
  background: #E57A1B;
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 34px 0 30px 0;
  margin-top: 48px;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-body);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.98rem;
  transition: background var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
}
.footer-contact img {
  width: 32px;
  height: 32px;
  margin-right: 7px;
}
footer address {
  color: var(--color-primary);
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 -2px 16px rgba(36,60,90,0.10);
  border-top: 1px solid var(--color-border);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px 16px 14px;
  gap: 18px;
  font-size: 1rem;
  color: var(--color-primary);
  transition: transform 0.25s cubic-bezier(.5,.6,.5,1.07), opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 2px;
}
.cookie-banner button {
  font-family: var(--font-display);
  border: none;
  border-radius: 22px;
  padding: 7px 22px;
  font-size: 1em;
  margin-right: 0;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.cookie-banner .cookie-accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #E57A1B;
}
.cookie-banner .cookie-reject {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--color-primary);
  text-decoration: underline;
  padding: 0 6px;
  border-radius: 0;
  border: none;
  font-size: 1em;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: var(--color-secondary);
  text-decoration: none;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(36,60,90,0.26);
  z-index: 1100;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show {
  display: flex;
  animation: fadeInModal 0.25s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(36,60,90,0.19);
  padding: 38px 28px 28px 28px;
  width: 98vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1rem;
  color: var(--color-primary);
  position: relative;
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.cookie-modal .category-label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-modal .category-toggle {
  width: 38px;
  height: 22px;
  border-radius: 14px;
  background: var(--color-accent);
  border: 1px solid var(--color-border);
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.cookie-modal .category-toggle[data-checked="true"] {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-modal .category-toggle::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(36,60,90,0.14);
  transition: left var(--transition);
}
.cookie-modal .category-toggle[data-checked="true"]::before {
  left: 18px;
}
.cookie-modal .category-toggle[data-disabled="true"],
.cookie-modal .category-toggle[data-disabled="true"]::before {
  background: #d7d7d7;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.45rem;
  background: transparent;
  border: none;
  color: var(--color-primary);
  border-radius: 4px;
  padding: 1px 10px;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 20px 6vw 18px 6vw;
    max-width: 95vw;
  }
}

/* ==== FORMS (inputs, not present but future safe) ==== */
input, textarea, select {
  font-family: var(--font-body);
  background: var(--color-accent);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  padding: 10px;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px rgba(242, 141, 53, 0.15);
  outline: none;
}
label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-primary);
}

/* ==== ANIMATIONS ==== */
.cta-primary,.cta-secondary,button,a {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.card, .course-block, .blog-post, .testimonial-card {
  transition: box-shadow var(--transition), transform var(--transition), border var(--transition);
}
.card:hover, .course-block:hover, .blog-post:hover {
  box-shadow: 0 4px 17px 3px rgba(36, 60, 90, 0.11);
  transform: translateY(-3px) scale(1.01);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1100px) {
  .container { max-width: 90vw; }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; }
  .features ul, .brand-values ul {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 4vw;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-section {
    gap: 12px;
  }
  .features ul, .brand-values ul {
    flex-direction: column;
    gap: 10px;
  }
  .services-overview .course-list {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 14px;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .team-intro ul, .faq-block ul {
    gap: 8px;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .cta, .blog-cta, .confirmation-message { padding: 26px 8px; }
  .main-nav img, .footer-contact img { height: 24px; }
}

/* ==== Miscellaneous ==== */
::-webkit-input-placeholder { color: #8692a6; opacity:1; }
::-moz-placeholder { color: #8692a6; opacity:1; }
:-ms-input-placeholder { color: #8692a6; opacity:1; }
::placeholder { color: #8692a6; opacity: 1; }

/* Hide scrollbars for mobile nav overlays */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
}

/* ==== Accessibility ==== */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

[aria-current="page"], .main-nav a.active, .mobile-nav a.active {
  background: var(--color-accent);
  color: var(--color-secondary) !important;
}
