/* 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, input, button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FAFAFA; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { font: inherit; background: none; border: none; outline: none; cursor: pointer; }

/* VARIABLES (with fallbacks) */
:root {
  --brand-primary: #17423B;
  --brand-secondary: #D3EFB3;
  --brand-accent: #FAFAFA;
  --pastel-pink: #FFE8EA;
  --pastel-peach: #FFF0DF;
  --pastel-blue: #E3F0FF;
  --pastel-green: #E9F8E5;
  --pastel-lilac: #F1E6FE;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --h1-size: 2.4rem;
  --h2-size: 2rem;
  --h3-size: 1.22rem;
  --p-size: 1rem;
  --small-size: 0.92rem;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 3px 16px 0 rgba(45, 71, 65, 0.10);
  --shadow-hover: 0 4px 24px 0 rgba(45, 71, 65, 0.16);
  --transition-main: 0.19s cubic-bezier(.42,0,.58,1);
  --section-padding: 40px 20px;
  --section-margin-bottom: 60px;
  --gap-main: 24px;
  --gap-sm: 16px;
  --gap-xs: 8px;
  --max-width: 1100px;
}

/* BODY & TYPOGRAPHY */
body {
  font-family: var(--font-body);
  font-size: var(--p-size);
  background: var(--pastel-peach);
  color: #254231;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: var(--h1-size); margin-top: 0; }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4, h5, h6 { font-size: 1rem; }
p, li, dd {
  font-size: var(--p-size);
  color: #285142;
  line-height: 1.7;
}
small { font-size: var(--small-size); color: #6b8574; }
strong { font-weight: bold; }

/* LINKS */
a { color: var(--brand-primary); transition: color var(--transition-main); }
a:hover, a:focus { color: #42a57f; text-decoration: underline; }

/* GENERAL LAYOUT UTILS */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-main);
}

.section {
  margin-bottom: var(--section-margin-bottom);
  padding: var(--section-padding);
  background: var(--pastel-lilac);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-main);
}
.section:last-child {
  margin-bottom: 0;
}

@media (min-width: 1000px) {
  .content-wrapper {
    padding: 0 12px;
  }
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: linear-gradient(90deg, #E3F0FF 0%, #E9F8E5 100%);
  box-shadow: 0 2px 18px 0 rgba(45, 71, 65, 0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 60;
}
header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-main);
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 9px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-main), color var(--transition-main);
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-green);
  color: #16574c;
}
header img {
  width: 140px;
  height: auto;

}
.cta-primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-size: 1.10rem;
  box-shadow: var(--shadow-card);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  border: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #b8e393;
  color: #1c412c;
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

/* MOBILE HEADER NAVIGATION */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--pastel-pink);
  color: var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 6px 18px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main);
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-green);
  color: #145031;
}

@media (min-width: 900px) {
  .mobile-menu-toggle { display: none; }
}
@media (max-width: 899px) {
  header nav { display: none; }
  .cta-primary { display: none; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(120deg, var(--pastel-blue), var(--pastel-green));
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.62,.01,.25,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-size: 2rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  align-self: flex-end;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #cde59d;
  color: #16574c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: 1.21rem;
  font-weight: 600;
  padding: 16px 8px 16px 0;
  border-radius: var(--radius-md);
  transition: background var(--transition-main), color var(--transition-main);
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-peach);
  color: #42a57f;
}
/* Hide menu by default on desktop */
@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

/* MAIN LAYOUT SECTIONS */
main {
  width: 100%;
  min-height: 70vh;
}
section {
  margin-bottom: var(--section-margin-bottom);
  padding: var(--section-padding);
  background: var(--brand-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
section:last-child { margin-bottom: 0; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* FEATURES/GRID LAYOUTS (FLexbox-only) */
.feature-grid, .service-list, .facility-list, .facility-highlights, .course-overview, .club-list, .news-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature-grid li, .service-list li, .facility-list li, .course-overview li, .club-list li, .facility-highlights li, .news-list li {
  background: var(--pastel-green);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 22px 18px 18px 18px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  border: 1.5px solid #e2e7db;
  transition: box-shadow var(--transition-main), border var(--transition-main), background var(--transition-main);
}
.feature-grid li:hover, .service-list li:hover, .facility-list li:hover, .course-overview li:hover {
  background: var(--pastel-lilac);
  box-shadow: var(--shadow-hover);
  border: 1.5px solid #c6dec1;
}
.feature-grid img, .facility-highlights img, .facility-list img, .club-list img, .service-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: grayscale(0.15) brightness(1.06);
}

@media (max-width: 900px) {
  .feature-grid, .service-list, .facility-list, .facility-highlights, .course-overview, .club-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-list li, .facility-list li, .course-overview li, .club-list li, .facility-highlights li {
    min-width: 0;
    width: 100%;
  }
}

/* CARD/CONTAINER PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--pastel-blue);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 20px 20px;
  transition: box-shadow var(--transition-main), background var(--transition-main);
}
.card:hover {
  background: var(--pastel-lilac);
  box-shadow: var(--shadow-hover);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 20px 20px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  border: 1.5px solid #e2e7db;
  font-family: var(--font-body);
  color: #1d3020;
  font-size: 1.04rem;
  transition: box-shadow var(--transition-main), border var(--transition-main), background var(--transition-main);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  background: var(--pastel-green);
}
.testimonial-card span {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card p {
  color: #254231;
  font-style: italic;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .testimonials {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .testimonial-card { max-width: 100%; }
}

/* TABLES (e.g. Weekly Schedule) */
.weekly-schedule-table {
  width: 100%;
  background: var(--pastel-pink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border-collapse: separate;
}
.weekly-schedule-table th,
.weekly-schedule-table td {
  padding: 14px 8px;
  font-size: 1rem;
  text-align: center;
  border-bottom: 1px solid #e9e9e9;
  color: #1c412c;
  font-family: var(--font-display);
}
.weekly-schedule-table th {
  background: var(--pastel-blue);
  color: var(--brand-primary);
}
.weekly-schedule-table tr:last-child td {
  border-bottom: none;
}

/* FAQ, NEWS & EVENTS */
.faq-list dt, .faq-list dd {
  padding-bottom: 6px;
}
.faq-list dt {
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--brand-primary);
  margin-top: 14px;
}
.faq-list dd {
  padding-left: 16px;
  color: #254231;
}

.news-list li, .club-events ul li, .live-updates ul li {
  background: var(--pastel-blue);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  padding: 13px 12px 11px 12px;
  font-size: 1.01rem;
  border: 1.2px solid #e2e7db;
}
.live-updates {
  margin-top: 17px;
  background: var(--pastel-lilac);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  box-shadow: var(--shadow-card);
}
.club-events, .live-updates {
  margin-bottom: 16px;
}
.club-events h3, .live-updates h3 {
  font-size: 1.08rem;
  color: var(--brand-primary);
  margin-bottom: 7px;
}

/* SOCIAL Links & CONTACT */
.social-links, .contact-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 8px 0;
  align-items: center;
}
.social-links li, .contact-footer ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.08rem;
  background: var(--pastel-blue);
  border-radius: var(--radius-sm);
  padding: 8px 13px;
}
.social-links img, .contact-footer ul img {
  width: 22px;
  height: 22px;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #E3F0FF 0%, #E9F8E5 100%);
  padding: 30px 0 9px 0;
  border-top: 1px solid #d8f6ea;
  margin-top: 38px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
footer nav a {
  color: var(--brand-primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-main), color var(--transition-main);
}
footer nav a:hover, footer nav a:focus {
  background: var(--pastel-green);
  color: #1c412c;
}
.contact-footer p {
  text-align: center;
  color: #254231;
  font-size: 1rem;
  line-height: 1.6;
}
footer small { margin-top: 10px; font-size: 0.93rem; }

/* RESPONSIVE CONTAINERS */
@media (max-width: 700px) {
  .container { padding-left: 9px; padding-right: 9px; }
  .section, section { padding: 20px 3px; border-radius: var(--radius-md); }
  header img { width: 110px; }
}

@media (max-width: 530px) {
  header .container { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* BUTTONS, FORMS, INTERACTIVES */
button, .cta-primary {
  outline: none;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
button:focus-visible, .cta-primary:focus-visible {
  outline: 2px dotted #69BB7B;
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS */
.cta-primary, .feature-grid li, .service-list li, .card, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close {
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), border var(--transition-main), transform var(--transition-main);
}
.cta-primary:active, button:active { transform: scale(0.98); }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: linear-gradient(95deg, #fffafc 0%, #e3f0ff 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 42px 0 rgba(45,71,65,.13);
  z-index: 1999;
  padding: 27px 28px 21px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 260px;
  max-width: 98vw;
  transition: opacity .28s;
}
.cookie-banner p {
  font-size: 1rem;
  color: #274d38;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1.04rem;
  padding: 10px 18px;
  margin: 0;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main);
  box-shadow: 0 1px 6px 0 rgba(33,66,41,.07);
}
.cookie-banner .accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: bold;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #b8e393;
  color: #135a40;
}
.cookie-banner .reject {
  background: var(--pastel-peach);
  color: #9b4e36;
  font-weight: bold;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ffe8ea;
  color: #b33232;
}
.cookie-banner .settings {
  background: var(--pastel-lilac);
  color: #726e95;
  font-weight: 600;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #e5dbfc;
  color: #482d5b;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; }


/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2000;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(100,125,135,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fffafc;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 60px 0 rgba(48, 61, 90, 0.13);
  max-width: 410px;
  min-width: 270px;
  width: 100%;
  padding: 40px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 2010;
  animation: popDown .3s cubic-bezier(.72,.01,.45,1);
}
@keyframes popDown {
  0% { transform: translateY(-28px) scale(.97); opacity: .7; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal .modal-close {
  align-self: flex-end;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  font-size: 1.21rem;
  font-weight: 700;
  margin-bottom: 9px;
  border: none;
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main);
}
.cookie-modal .modal-close:hover { background: #defdc1; color: #0f2f20; }

.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  color: var(--brand-primary);
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin: 8px 0 14px 0;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.cookie-category label {
  font-family: var(--font-body);
  color: #285142;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-secondary);
  width: 18px; height: 18px;
  border-radius: 5px;
}
.cookie-category.essential label {
  color: #1b3742;
}
.cookie-category.essential input[disabled] {
  opacity: 0.5;
  accent-color: #d1d1d1;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  font-family: var(--font-display);
  font-size: 1.07rem;
  padding: 10px 19px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  box-shadow: 0 1px 6px 0 rgba(33,66,41,.07);
}
.cookie-modal-actions .save {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal-actions .save:hover, .cookie-modal-actions .save:focus {
  background: #defdc1;
  color: #1c412c;
}
.cookie-modal-actions .cancel {
  background: var(--pastel-pink);
  color: #805568;
}
.cookie-modal-actions .cancel:hover {
  background: #ffe7f1;
  color: #c14170;
}

/* Subtle Animations for all cards */
.card, .feature-grid li, .service-list li, .testimonial-card {
  will-change: transform, box-shadow;
  transition: box-shadow var(--transition-main), background var(--transition-main), transform var(--transition-main);
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.013);
  box-shadow: var(--shadow-hover);
}

/* LAYOUT GAPS & SPACE CONSISTENCY */
.card-container, .content-grid, .feature-grid, .service-list, .facility-list, .facility-highlights, .course-overview, .testimonials {
  gap: 24px;
}
.card, .feature-grid li, .service-list li, .testimonial-card {
  margin-bottom: 20px;
}
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }

/* Ensure margins between ALL major elements are >=20px */
section, .section, .card, .testimonial-card, .feature-grid li, .service-list li, .course-overview li, .club-list li, .faq-list dt, .faq-list dd, .live-updates, .club-events {
  margin-bottom: 20px;
}

/* COLORFUL PASTEL ATMOSPHERE */
.section {
  background: linear-gradient(100deg, #FAFAFA 40%, #F1E6FE 100%);
  border: 1.7px solid #e3efea;
}

/* CUSTOM SCROLLBAR (gentle pastel) */
::-webkit-scrollbar {
  width: 8px;
  background: #e3f0ff;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #d3efb3;
  border-radius: 7px;
}

/* Focus States for Accessibility */
a:focus, button:focus, .cta-primary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px dotted #69BB7B;
  outline-offset: 2px;
  z-index: 2;
}

/* Hide visually for accessibility but not from screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Make sure logo never shrinks too much on small screens */
@media (max-width: 420px) {
  header img { width: 90px; }
}
