/* ----------------------------
    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, menu, 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,
main, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F5F7;
  color: #18487A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
strong {
  font-weight: 600;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ----------------------------
     VARIABLES & BRAND COLORS
---------------------------- */
:root {
  --primary: #18487A;
  --primary-hover: #163b63;
  --secondary: #6BC04B;
  --secondary-hover: #54a237;
  --accent: #F2F5F7;
  --text: #18487A;
  --text-light: #405575;
  --white: #FFF;
  --gray-light: #E6EAF0;
  --gray: #BCC7D3;
  --gray-dark: #4A6079;
  --shadow: 0 2px 12px 0 rgba(24, 72, 122, 0.08);
  --radius: 12px;
  --transition: 0.18s cubic-bezier(.47,.23,.51,.89);
  --font-body: 'Roboto', Arial, sans-serif;
  --font-display: 'Montserrat', Arial, sans-serif;
}

/* -------------------------
     TYPOGRAPHY & SCALE
-------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.18;
  color: var(--primary);
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  h1, .h1 { font-size: 2.7rem; }
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  h2, .h2 { font-size: 2rem; }
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--gray-dark);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gray-dark);
  margin-bottom: 8px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 10px;
}
p:last-child, li:last-child { margin-bottom: 0; }
blockquote {
  background: var(--accent);
  color: var(--primary);
  border-left: 4px solid var(--secondary);
  font-family: var(--font-display);
  font-style: italic;
  padding: 24px;
  margin: 32px 0;
  border-radius: var(--radius);
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 36px;
  box-shadow: var(--shadow);
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-top: 12px;
  gap: 10px;
}
.cta-btn.primary {
  background: var(--primary);
  color: #fff;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(107,192,75,0.15);
}
.cta-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--primary);
  color: #fff;
}

/* -----------------------------
   LAYOUT CONTAINERS & SPACING
------------------------------ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .content-wrapper {
    gap: 36px;
  }
}

/* ------------------------------
   HEADER & NAVIGATION BAR
------------------------------- */
header {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(24, 72, 122, 0.08);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 28px;
}
header img {
  height: 48px;
}
.main-nav {
  display: none;
}
@media (min-width: 900px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    font-family: var(--font-display);
  }
  .main-nav a {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
  }
  .main-nav a:hover, .main-nav a:focus {
    color: var(--primary);
    background: var(--gray-light);
  }
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ------------------
  MOBILE MENU OVERLAY
------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 72, 122, 0.98);
  backdrop-filter: blur(2px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 20px 18px 0 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.47,.23,.51,.89);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 24px;
  border: none;
  cursor: pointer;
  padding: 0 6px;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  background: none;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: #fff;
  padding: 8px 0 8px 10px;
  border-radius: 8px;
  width: 100%;
  display: block;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------------------
         HERO SECTION
------------------------------- */
.hero-section {
  background: linear-gradient(120deg, var(--accent) 75%, var(--secondary) 110%);
  padding: 48px 0 32px 0;
  box-shadow: 0 4px 24px rgba(24, 72, 122, 0.05);
  margin-bottom: 60px;
}
.hero-section .container {
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
}
.hero-section h1 {
  color: var(--primary);
  margin-bottom: 10px;
}
.hero-section p {
  color: var(--gray-dark);
  font-size: 1.16rem;
  margin-bottom: 18px;
}

/* ---------------------------
      FLEX PATTERN SECTIONS
---------------------------- */
.feature-grid, .service-list, .service-cards, .event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid li, .service-list li, .service-cards li, .event-list li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 275px;
  padding: 24px 22px 16px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--gray-light);
}
.feature-grid li:hover, .service-list li:hover, .service-cards li:hover, .event-list li:hover {
  box-shadow: 0 6px 32px rgba(24, 72, 122, 0.13);
  transform: translateY(-4px);
}
.feature-grid img {
  height: 36px;
  margin-bottom: 16px;
}
.price {
  margin-top: 10px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.12rem;
}

/* SERVICE/CARD FLEX CONTAINER */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--gray-light);
}
.card:hover {
  box-shadow: 0 8px 36px rgba(24, 72, 122, 0.14);
  transform: translateY(-4px);
}

/* CONTENT GRID */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* TEXT-IMAGE SECTION */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid, .service-list, .service-cards, .event-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(24, 72, 122, 0.11);
  padding: 24px 28px 20px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 355px;
  flex: 1 1 270px;
  border: 1px solid var(--gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(24, 72, 122, 0.20);
  transform: translateY(-4px);
}
.testimonial-card p {
  color: var(--gray-dark);
  font-size: 1.08rem;
  font-family: var(--font-body);
  text-align: left;
}
.testimonial-meta {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}
.star-ratings {
  color: #F6B11E;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

/* CTA SECTION */
.cta-section {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 56px;
  box-shadow: 0 4px 20px rgba(24, 72, 122, 0.11);
  padding: 44px 20px 44px 20px;
}
.cta-section h2, .cta-section p {
  color: #fff;
}
.cta-section .cta-btn {
  margin-top: 20px;
  background: var(--secondary);
  color: var(--primary);
}
.cta-section .cta-btn:hover {
  background: #fff;
  color: var(--primary);
}

/* -------------------------------
     TABLES & TIMETABLE STYLING
------------------------------- */
.price-table, .timetable-grid table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  overflow-x: auto;
}
.price-table th, .price-table td, .timetable-grid th, .timetable-grid td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-light);
  text-align: left;
  font-family: var(--font-body);
}
.price-table thead th, .timetable-grid thead th {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.price-table tbody tr:last-child td, .timetable-grid tbody tr:last-child td {
  border-bottom: none;
}
.timetable-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.filter-by-service {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  margin-left: 0;
  min-width: 220px;
  font-family: var(--font-body);
  color: var(--primary);
}
.filter-by-service h3 {
  margin-bottom: 12px;
}
.filter-by-service ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-by-service li {
  font-size: 1rem;
  color: var(--primary);
  margin: 0;
}
.upcoming-classes {
  margin-top: 32px;
}

/* LIST STYLES (FEATURES, etc) */
.feature-list, .stats-list, .event-highlights ul, .service-highlights ul, .contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.feature-list li, .stats-list li, .event-highlights ul li, .service-highlights ul li {
  background: none;
  border-left: 2px solid var(--secondary);
  padding-left: 12px;
  color: var(--gray-dark);
  font-size: 1.04rem;
}

.stats-list strong {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.16rem;
  margin-right: 10px;
}
.event-highlights h3, .service-highlights {
  margin-bottom: 12px;
}

/* CONTACT DETAILS */
.contact-details ul {
  gap: 10px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.09rem;
  color: var(--gray-dark);
}
.contact-details img {
  height: 30px;
  width: 30px;
}

/* FEATURE ITEM FLEX PATTERN */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------
          FOOTER STYLING
------------------------------ */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 17px 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 16px rgba(24,72,122,0.07);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-logo img {
  height: 56px;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.03rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact a {
  color: var(--secondary);
  transition: color var(--transition);
  font-weight: 500;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
  text-decoration: underline;
}
footer p {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.97rem;
  margin-bottom: 0;
}
@media (max-width: 960px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* -------------------------
        MISC. & UTILITIES
-------------------------- */
.confirmation-message {
  color: var(--secondary);
  font-size: 1.15rem;
  font-style: italic;
}
.next-steps p {
  margin-bottom: 18px;
}

/* ---------------------------
      COOKIE CONSENT BANNER
---------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: var(--primary);
  color: #fff;
  padding: 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -2px 18px rgba(24,72,122,0.17);
  animation: cookieFadeIn 0.6s ease;
  transition: transform var(--transition);
}
@keyframes cookieFadeIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1rem;
  max-width: 540px;
  text-align: center;
}
.cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 2px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 8px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--white);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; width:100vw; height:100vh;
  background: rgba(24,72,122,0.74);
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity var(--transition);
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 36px rgba(24, 72, 122, 0.14);
  padding: 36px 22px 28px 22px;
  width: 90%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  animation: cookieModalIn 0.26s ease;
  position: relative;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 12px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.9rem;
  cursor: pointer;
  z-index: 2;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  border-radius: 16px;
  background: var(--gray-light);
  position: relative;
  flex-shrink: 0;
  margin-left: 8px;
  cursor: pointer;
}
.cookie-toggle.active {
  background: var(--secondary);
}
.cookie-toggle-slider {
  position: absolute;
  width: 22px;
  height: 22px;
  top: 1px; left: 1px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.23s cubic-bezier(.47,.23,.51,.89);
}
.cookie-toggle.active .cookie-toggle-slider {
  left: 17px;
}
.cookie-category label {
  font-weight: 500;
  margin-left: 0;
}
.cookie-category .essential {
  color: var(--gray-dark);
  font-style: italic;
}
/* END Cookie consent */

/* ---------------------
     FORM & INPUTS
---------------------- */
input, select, textarea {
  font-family: var(--font-body);
  border-radius: 7px;
  border: 1px solid var(--gray-light);
  padding: 10px 14px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
}
label {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 7px;
}

/* -------------------------
 RESPONSIVE BEHAVIOR
-------------------------- */
@media (max-width: 900px) {
  .feature-grid li, .service-list li, .service-cards li, .event-list li, .card {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .timetable-grid {
    flex-direction: column;
    gap: 24px;
  }
  .filter-by-service {
    margin-left: 0;
    min-width: unset;
    width: 100%;
  }
  .footer-nav, .footer-contact {
    gap: 10px;
  }
  .footer-logo img {
    height: 44px;
  }
}
@media (max-width: 600px) {
  .section, .cta-section {
    padding: 28px 8px;
  }
  .feature-grid, .service-list, .service-cards, .event-list, .card-container, .content-grid {
    gap: 14px;
  }
  .hero-section {
    padding: 20px 0 12px 0;
  }
  .cta-section {
    padding: 30px 8px 30px 8px;
  }
  .card, .testimonial-card {
    padding: 14px 6vw;
  }
  .testimonials-slider {
    gap: 10px;
  }
}

/* --------------
   PRINT STYLING
--------------- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
  header, footer {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}

/* Hide visually, but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; /* added line */
  border: 0;
}
