/* 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;
}
body {
  line-height: 1.5;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: none;
  max-width: 100%;
  vertical-align: middle;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* SOFT PASTEL THEME VARIABLES + FALLBACKS */
:root {
  --color-primary: #24356E;
  --color-secondary: #76C043;
  --color-accent: #E9F4EA;
  --color-bg-main: #F6FAFB;
  --color-bg-section: #F9F7FF;
  --color-bg-card: #FFF;
  --color-pastel1: #F4F6FF;
  --color-pastel2: #FFF7F2;
  --color-pastel3: #E9F4EA;
  --color-pastel4: #FFF8EC;
  --color-ui-border: #EAECF0;
  --color-shadow: rgba(156, 176, 197, 0.15);
  --color-grey-700: #374151;
  --color-grey-500: #73839D;
  --color-grey-200: #D9E0EC;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  min-height: 100vh;
  background: var(--color-bg-main);
  font-family: var(--font-body), Arial, sans-serif;
  color: var(--color-grey-700);
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.11rem;
  font-weight: 600;
}
p, .text-section p, ul, ol, li {
  font-family: var(--font-body), Arial, sans-serif;
  color: var(--color-grey-700);
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}
em {
  font-style: italic;
  color: var(--color-primary);
}
/* Spacing in content wrappers */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 22px;
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-pastel1);
  box-shadow: 0 1px 4px var(--color-shadow);
  position: relative;
  z-index: 105;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display), Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-grey-500);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-pastel3);
  color: var(--color-primary);
}
header img {
  height: 36px;
  width: auto;
  margin-right: 16px;
}
.cta-btn {
  display: inline-block;
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(90deg, #B1C2EC 0%, #B6EFD6 100%);
  background-color: var(--color-secondary);
  border-radius: 30px;
  padding: 12px 28px;
  box-shadow: 0px 2px 8px var(--color-shadow);
  transition: background 0.25s, transform 0.12s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #86D0A6 0%, #98BDFA 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 220;
  width: 46px;
  height: 46px;
  border-radius: 40px;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: #fff;
  box-shadow: 0 1px 8px var(--color-shadow);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--color-accent);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  background: rgba(249, 247, 255, 0.95);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.73,.14,.31,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  box-shadow: -4px 0 20px var(--color-shadow);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 22px 12px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  width: 40px; height: 40px;
  align-items: center;
  display: flex;
  justify-content: center;
  background: #fff;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 10px 36px;
}
.mobile-nav a {
  width: 100%;
  padding: 16px 10px;
  font-size: 1.33rem;
  color: var(--color-primary);
  background: var(--color-bg-main);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: background 0.12s, color 0.13s;
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 600;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-pastel3);
  color: var(--color-secondary);
}

@media (max-width: 990px) {
  header .container nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

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

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg,#E7D5FB 0%,#E9F4EA 100%);
  background-color: var(--color-bg-section);
  padding: 48px 0 44px 0;
  border-bottom: 2px solid var(--color-ui-border);
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  padding: 0 0;
  gap: 18px;
}
.hero p {
  color: var(--color-grey-500);
  margin-bottom: 20px;
  font-size: 1.13rem;
}

/* SECTION SPACING/STRUCTURE PER RULES */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: var(--color-bg-section);
  box-shadow: 0 6px 32px var(--color-shadow);
  display: flex;
  flex-direction: row;
  justify-content: center;
}
section > .container {
  width: 100%;
  padding: 0;
}

/* Media: section margin compact for first/hero */
section.hero {
  border-radius: 0 0 36px 36px;
  padding-top: 54px;
}

/* FLEXBOX CONTENT GRID */
.card-container, .card-grid, .feature-grid, .location-grid, .club-grid, .course-descriptions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 24px;
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-left: 6px solid var(--color-secondary);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-pastel3);
  border-radius: 18px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 22px 20px;
  margin-bottom: 16px;
  min-width: 200px;
}

/* CARDS & PROMOS */
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-card);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px 20px;
  min-width: 230px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 5px 22px var(--color-shadow);
  transform: translateY(-2px) scale(1.025);
}

/* FOR LISTED ICON BENEFITS */
.feature-grid > li,
.club-grid > div,
.location-grid > div,
.course-descriptions > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 1px 6px var(--color-shadow);
  padding: 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  gap: 6px;
  transition: box-shadow 0.13s, transform 0.11s;
}
.feature-grid > li img,
ul > li img,
.club-grid > div img,
.location-grid > div img {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}
.feature-grid > li:hover,
.club-grid > div:hover,
.location-grid > div:hover {
  box-shadow: 0 4px 16px var(--color-shadow);
  transform: scale(1.01);
}

/* TESTIMONIALS */
.testimonial-card p {
  font-size: 1.16rem;
  color: var(--color-grey-700);
  font-family: var(--font-display), Arial, sans-serif;
  margin-bottom: 6px;
}
.testimonial-meta {
  font-size: .96em;
  color: var(--color-primary);
  opacity: .8;
  font-family: var(--font-body);
  margin-left: 10px;
}
.testimonial-card {
  background: #fff;
  color: var(--color-grey-700);
  border-left: 6px solid var(--color-secondary);
}

/* BUTTONS */
button, input[type=submit], .cta-btn, .mobile-nav a, .cookie-btn {
  outline: none!important;
  transition: background 0.17s, color 0.13s, box-shadow 0.16s, transform 0.1s;
}
button:focus, .cta-btn:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 3px #BBF4C5;
}

/* INPUTS */
input[type=text], select {
  padding: 11px 14px;
  font-size: 1.07em;
  border: 1px solid var(--color-grey-200);
  border-radius: 10px;
  margin-right: 8px;
  background: #fff;
  box-shadow: 0 1px 4px var(--color-shadow);
}
input[type=text]:focus, select:focus {
  border-color: var(--color-secondary);
}

/* MISCELLANEOUS UTILITY */
.map-view {
  margin: 14px auto 12px auto;
  text-align: center;
}
.map-view img {
  width: 185px;
  height: auto;
}
.change-alerts {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px;
  background: var(--color-pastel2);
  border-radius: 10px;
  color: var(--color-primary);
  margin-bottom: 16px;
  box-shadow: 0 1px 8px var(--color-shadow);
  font-size: 1.03em;
}

/*********
  FOOTER
*********/
footer {
  background: var(--color-pastel1);
  padding: 34px 0 12px 0;
  margin: 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -10px 55px 0px var(--color-shadow);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo img {
  width: 54px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 16px;
}
.footer-nav a {
  color: var(--color-primary);
  font-size: .92em;
  margin-bottom: 2px;
  font-family: var(--font-display);
  opacity: 0.9;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .98em;
  color: var(--color-grey-500);
}
.footer-contact a {
  color: var(--color-secondary);
}
.footer-copy {
  display: flex;
  align-items: center;
  color: #9EA7C1;
  font-size: 0.92em;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 8px;
  justify-content: center;
}

/* FAQ, CONTACT, SUPPORT */
.faq-section, .support-info, .change-alerts, .support-options, .contact-options {
  background: var(--color-pastel4);
  border-radius: 14px;
  padding: 18px 18px;
  margin: 18px 0 14px 0;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.contact-options, .support-options {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-bottom: 16px;
}
.contact-options > div, .support-options > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}
.faq-section h3 {
  font-size: 1.16em;
  margin-bottom: 10px;
  color: var(--color-primary);
}

/* MODALS & OVERLAYS for cookie banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #FFF8EC 0%, #E9F4EA 100%);
  box-shadow: 0 -2px 30px var(--color-shadow);
  padding: 22px 18px 22px 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 16px 16px 0 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-grey-700);
  flex-wrap: wrap;
}
.cookie-banner .cookie-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-btn {
  display: inline-block;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 18px;
  font-size: 1em;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  margin-right: 4px;
  cursor: pointer;
  box-shadow: 0 1px 5px var(--color-shadow);
  transition: background 0.17s, color 0.12s, box-shadow 0.12s;
}
.cookie-btn:last-child {
  margin-right: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-bg-card);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: #fff;
}
/* Cookie Modal */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  background: rgba(54,44,111,0.23);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.17s;
}
.cookie-modal-bg.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: linear-gradient(120deg,#F4F6FF,#FFF8EC);
  border-radius: 24px;
  padding: 32px 28px 20px 28px;
  box-shadow: 0 8px 40px var(--color-shadow);
  min-width: 320px;
  max-width: 96vw;
  font-family: var(--font-body);
  color: var(--color-grey-700);
  z-index: 1300;
  position: relative;
  transition: transform 0.24s cubic-bezier(.8,.24,.4,.94);
  transform: translateY(32px);
  opacity: 0;
}
.cookie-modal-bg.active .cookie-modal {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.27s cubic-bezier(.8,.24,.4,.94);
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-size: 1.27em;
}
.cookie-modal .cookie-category {
  margin-bottom: 0.7em;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  font-size: 1em;
}
.cookie-modal .cookie-category label {
  cursor: pointer;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.65em;
  cursor: pointer;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 13px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1em;
  padding: 8px 15px;
}

/* FORM ELEMENTS FINE DETAILS */
label {
  font-size: 1rem;
  color: var(--color-grey-700);
  font-weight: 500;
}
select {
  max-width: 210px;
  background: #fff;
}

/*********
  RESPONSIVE
*********/
@media (max-width: 990px) {
  .container {
    max-width: 100vw;
    padding: 0 14px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-logo {
    margin-bottom: 14px;
  }
}
@media (max-width: 768px) {
  section, section.hero {
    padding: 24px 6px 22px 6px;
    border-radius: 0;
    margin-bottom: 38px;
  }
  .content-wrapper, .text-section {
    padding: 0;
  }
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.10rem;
    margin-bottom: 12px;
  }
  .card-container, .card-grid, .feature-grid, .location-grid, .club-grid, .course-descriptions {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 0;
    padding: 14px 10px;
    font-size: 1em;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: .98em;
  }
  .contact-options, .support-options {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .cookie-modal {
    min-width: 0;
    max-width: 95vw;
    padding: 16px 8px 12px 8px;
  }
}
@media (max-width: 540px) {
  .hero .container {
    padding: 0 2px;
  }
  .footer-logo img {
    width: 38px;
  }
  .cookie-banner {
    font-size: .93em;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-btn, .mobile-nav a, .cookie-btn, .feature-grid > li, .feature-item, .card, .testimonial-card {
  transition: box-shadow 0.17s, background 0.16s, transform 0.12s;
}
.card:active, .feature-item:active, .testimonial-card:active {
  filter: brightness(0.98);
}

/* Accessibility for focus states */
a:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide visually-hidden elements */
.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  white-space: nowrap;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}

/* ---- Utility ---- */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* END OF FILE */
