/* === 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

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

body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #15204A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

img,
picture {
  max-width: 100%;
  display: block;
}

ul,ol {
  list-style: disc;
  margin-left: 32px;
}
a {
  color: #E5454F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,a:focus {
  color: #B21824;
  outline: none;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.15; }
h3 { font-size: 1.375rem; margin-bottom: 16px; line-height: 1.2; }
h4 { font-size: 1.15rem; margin-bottom: 12px; }
p, li, span, strong, em {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #1D274E;
}
strong {
  font-weight: bold;
}
p {
  margin-bottom: 1.1em;
}
section ul, section ol {
  margin-top: 8px;
  margin-bottom: 16px;
}

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

/****** REQUIRED SPACING - SECTIONS & FLEX GRID PATTERNS ******/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
}
.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;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/******* MAIN BRAND COLORS *******/
:root {
  --primary: #15204A;
  --primary-dark: #10183a;
  --secondary: #FFD447;
  --accent: #E5454F;
  --accent-dark: #B21824;
  --bg: #FFFFFF;
  --text-dark: #15204A;
  --text-light: #FFFFFF;
  --shadow: 0 8px 36px 0 rgba(21,32,74,0.10), 0 1.5px 5px 0 rgba(21,32,74,0.05);
  --radius: 18px;
  --elevation: 0 4px 18px 0 rgba(229,69,79,0.09);
}

/* ==== NAVIGATION ==== */
header {
  background: var(--primary);
  color: var(--text-light);
  width: 100%;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(21,32,74,0.13);
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 18px;
  width: 100%;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul li {
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.045rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: .03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  padding-top: 4px;
  transition: color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a.active {
  color: var(--secondary);
  border-bottom: 3px solid var(--accent-dark);
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  padding: 12px 30px;
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--elevation);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.25s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-dark);
  box-shadow: 0 8px 24px 0 rgba(229,69,79,0.19);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ffe98f;
  color: var(--accent-dark);
}
.btn-tertiary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--accfe nt);
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-dark);
}

header .btn-primary {
  margin-left: 18px;
  font-size: 1rem;
  padding: 10px 24px;
}

/****** MOBILE NAVIGATION *******/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 16px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 2rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  z-index: 50;
  transition: background 0.16s;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(21,32,74,0.11);
}
.mobile-menu-toggle:active {
  background: #ffe88a;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: var(--primary-dark);
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.6,0,0.2,1);
  box-shadow: 5px 0 50px 0 rgba(21,32,74,.17);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  padding: 16px 16px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 24px;
  margin-top: 4vh;
  gap: 14px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 8px 12px 0;
  transition: color 0.18s, background 0.15s;
  border-radius: 7px;
  margin-bottom: 5px;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(229,69,79,0.17);
}

/***** HERO & GENERAL SECTIONS ******/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:nth-child(even) {
  background: rgba(255, 212, 71, 0.10);
}

.feature-grid, .service-grid, .team-bios, .instructor-profiles, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid, .service-grid {
  justify-content: flex-start;
}
.feature-item, .service-item, .bio, .instructor-card, .testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 18px 22px;
  min-width: 220px;
  min-height: 210px;
  flex: 1 1 260px;
  transition: transform 0.14s, box-shadow 0.16s;
  border: 2px solid #f9f7f2;
  position: relative;
}
.feature-item:hover, .service-item:hover, .instructor-card:hover, .testimonial-card:hover {
  transform: translateY(-5px) scale(1.021);
  box-shadow: 0 12px 36px 0 rgba(229,69,79,0.11), var(--shadow);
}
.feature-item img, .service-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 4px;
}

/**** TESTIMONIALS (HIGH CONTRAST) ****/
.testimonial-list {
  gap: 28px;
  flex-wrap: wrap;
  margin: 24px 0;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: #1D274E;
  border: 2.5px solid var(--secondary);
  box-shadow: 0 4px 18px 0 rgba(229,69,79,0.09);
  min-width: 250px;
  flex: 1 1 340px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.16s, border-color 0.19s;
}
.testimonial-card span {
  color: var(--accent-dark);
  font-size: .96rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-top: 8px;
}
.testimonial-card:hover {
  border-color: var(--accent-dark);
  box-shadow: 0 12px 34px 0 rgba(229,69,79,.14);
}

/**** CONTACT INFO BLOCKS *****/
.contact-info {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  color: var(--primary);
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: inherit;
}
.contact-info img {
  width: 22px; height: 22px;
  object-fit: contain;
  filter: none;
}

/****** TAILED LAYOUT WRAPPERS (e.g. bios, schedule) *****/
.team-bios, .instructor-profiles {
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}
.bio, .instructor-card {
  background: #fff;
  border: 2px solid #E8EEFC;
  box-shadow: 0 2px 14px 0 rgba(21,32,74,0.07);
  border-radius: var(--radius);
  padding: 20px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  margin-bottom: 16px;
  transition: border-color 0.16s, box-shadow 0.13s;
}
.instructor-card h3 {
  font-size: 1.35rem;
  margin-bottom: 7px;
}
.instructor-card em {
  color: var(--accent);
  font-size: .96rem;
}
.bio:hover, .instructor-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 22px 0 rgba(229,69,79,0.12), 0 2px 9px 0 rgba(21,32,74,0.06);
}

/**** SCHEDULE TABLE ****/
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(229,69,79,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
}
.schedule-table thead tr {
  background: var(--secondary);
  color: var(--primary);
}
.schedule-table th,
.schedule-table td {
  padding: 14px 10px;
  text-align: center;
  font-size: 1.05rem;
  border-bottom: 1.5px solid #f5eaa2;
}
.schedule-table tbody tr {
  transition: background 0.15s;
}
.schedule-table tbody tr:hover {
  background: #fff6e8;
}
.schedule-table th {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
}

/****** MAP PLACEHOLDER ******/
.map-placeholder {
  background: #E8EEFC;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bcbcbc;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.note {
  color: #9c9c9c;
}

/****** FOOTER ******/
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 36px 0 20px 0;
  margin-top: 40px;
  width: 100%;
}
.footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
  font-size: .99rem;
}
.footer-nav a {
  color: var(--secondary);
  transition: color 0.18s;
  font-weight: 700;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-size: 1rem;
  margin-top: 8px;
}
.footer-branding img {
  height: 33px;
  width: auto;
}

/****** MISC: Tertiary, Ordered Lists, etc. ******/
ol {
  margin-bottom: 20px;
  margin-left: 32px;
}
ol li {
  margin-bottom: 6px;
  font-size: 1rem;
}

/****** COOKIE CONSENT BANNER & MODAL ******/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  min-height: 66px;
  background: #fff;
  border-top: 3px solid var(--accent-dark);
  box-shadow: 0 -4px 18px 0 rgba(21,32,74,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  padding: 20px 16px;
  gap: 24px;
  animation: cb-fadein 0.9s cubic-bezier(.45,0,.2,1);
}
@keyframes cb-fadein {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-text {
  color: var(--primary);
  font-size: 1rem;
  margin-right: 14px;
  max-width: 520px;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1.08rem;
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.15s, transform 0.09s;
  box-shadow: 0 2px 10px 0 rgba(21,32,74,0.09);
  outline: none;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-dark);
}
.cookie-btn.reject {
  background: #e8e9eb;
  color: var(--accent-dark);
  font-weight: 500;
}
.cookie-btn.reject:hover {
  background: #ffdada;
  color: var(--accent);
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings:hover {
  background: #fff6be;
}

/***** COOKIE MODAL *****/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; bottom:0; right:0;
  width:100vw; height: 100vh;
  background: rgba(21, 32, 74, 0.38);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: cookie-overlay-fadein 0.22s;
}
@keyframes cookie-overlay-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 56px 0 rgba(21,32,74,0.18);
  padding: 36px 28px 24px 28px;
  min-width: 320px; max-width: 480px;
  position: relative;
  animation: cookie-modal-fadein 0.27s cubic-bezier(.25,.93,.39,.97);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; transform: translateY(44px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-title {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.44rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 11px; right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.17s;
  z-index: 3;
}
.cookie-modal .close-modal-btn:hover {
  color: var(--accent-dark);
}
.cookie-prefs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-category input[type='checkbox'],
.cookie-category input[type='radio'] {
  accent-color: var(--accent);
  margin-top: 5px;
}
.cookie-category .category-desc {
  font-size: .98rem;
  color: #585858;
}

/******** VISUAL HIERARCHY: COLORS & SHAPE EFFECTS *******/
.card, .feature-item, .service-item, .bio, .instructor-card, .testimonial-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid #ECECEC;
  background: #fff;
}

/****** TRANSITIONS & MICROINTERACTIONS ******/
.card, .feature-item, .service-item, .bio, .instructor-card, .testimonial-card, .btn-primary, .btn-secondary, .btn-tertiary {
  transition: box-shadow 0.18s, transform 0.14s, border-color 0.18s, background 0.2s, color 0.16s;
}

/****** ANIMATIONS *****/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/****** RESPONSIVE DESIGN (MOBILE-FIRST)******/
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid, .team-bios, .instructor-profiles, .testimonial-list {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.41rem; }
  .main-nav ul { display: none; }
  .main-nav .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .service-grid, .team-bios, .instructor-profiles, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .service-item, .bio, .instructor-card, .testimonial-card {
    min-width: 180px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    padding: 16px 13px;
  }
  section {
    margin-bottom: 36px;
    padding: 24px 7px;
  }
  .content-wrapper {
    gap: 14px;
    padding: 0;
  }
  .footer-branding {
    flex-direction: column;
    gap: 5px;
  }
  .cookie-modal {
    min-width: 94vw;
    max-width: 98vw;
    padding: 25px 9vw;
  }
  .main-nav {
    padding: 7px 6px 7px 10px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.09rem; }
  .feature-item, .service-item, .bio, .instructor-card, .testimonial-card {
    padding: 9px 4vw;
  }
}
/******* FLEX LAYOUTS on MOBILE ******/
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/****** FORMS, MODALS, ETC. ******/
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}
button { cursor: pointer; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0.5px;
}

/**** UTILITY CLASSES ******/
.text-center { text-align: center; }
.text-left   { text-align: left;   }
.text-right  { text-align: right;  }
.w-100      { width: 100%;        }
.bold       { font-weight: bold;  }
.uppercase  { text-transform: uppercase; }

/* Hide cookie banner if JavaScript sets .hide */
.cookie-banner.hide { display: none !important; }

/****** OVERLAY/SCROLL LOCK FOR MOBILE MENU *******/
body.menu-open {
  overflow: hidden;
}
.mobile-menu.open {
  animation: slideinMenu 0.34s cubic-bezier(.48,.13,.29,.97);
}
@keyframes slideinMenu {
  from { transform: translateX(-100vw); }
  to { transform: translateX(0); }
}
/***** Z-INDEXES FOR OVERLAYS *****/
header, .main-nav { z-index: 50; }
.mobile-menu { z-index: 1000; }
.cookie-banner { z-index: 1300; }
.cookie-modal-overlay { z-index: 2000; }

/* Ensure no CSS grid or columns are used anywhere */
/* End of style.css */