/* CSS RESET & BASE STYLES */
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 {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #023047;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8ecae6;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #111;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
p, li, span {
  font-size: 1rem;
  color: #232323;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* LAYOUT AND CONTAINERS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* FLEX UTILITY PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  background: #fafbfc;
  border: 1px solid #e7e8ea;
  box-shadow: 0 4px 24px rgba(30,30,30,0.07);
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 28px 22px 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  transition: box-shadow 0.3s, border-color 0.2s;
}
.card:hover,
.card:focus-within {
  border-color: #8ecae6;
  box-shadow: 0 8px 32px rgba(2,48,71,0.14);
  z-index: 2;
}
.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;
  background: #f5f6fa;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(2,48,71,0.08);
  margin-bottom: 20px;
  border: 1px solid #ececec;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fcfcfc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(50, 50, 50, 0.08);
  padding: 22px 18px 14px 18px;
  border: 1px solid #ededed;
  transition: box-shadow 0.25s, border-color 0.2s;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(2,48,71,0.10);
  border-color: #b4b3b3;
}

/* NAVIGATION STYLES */
header {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  min-height: 68px;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: grayscale(100%);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 6px;
  transition: background 0.18s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #232323;
  color: #fff;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: #111;
  border-radius: 24px;
  padding: 11px 30px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(2, 48, 71, 0.10);
  border: none;
  margin-left: 18px;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8ecae6;
  color: #111;
  box-shadow: 0 8px 24px rgba(2,48,71,0.11);
}
.text-link {
  color: #023047;
  border-bottom: 2px solid #8ecae6;
  font-weight: 500;
  display: inline-block;
  padding: 2px 0;
  transition: border-color 0.15s, color 0.15s;
}
.text-link:hover, .text-link:focus {
  color: #ffb703;
  border-bottom: 2px solid #ffb703;
}

/* FOOTER */
footer {
  background: #18191A;
  color: #fff;
  padding: 40px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction:row;
  flex-wrap:wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .logo img {
  filter: invert(1) grayscale(100%);
  height: 38px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #e5e5e5;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  margin-bottom: 2px;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #8ecae6;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.97rem;
  color: #d7d7da;
  margin-top: 6px;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact img {
  width: 18px; height: 18px; vertical-align: middle; margin-right: 7px;
  filter: grayscale(100%) invert(0.8);
}

/* HERO & PAGE SECTION STYLES */
.hero {
  background: #1a1b1e;
  color: #fff;
  padding: 80px 0 72px 0;
  min-height: 350px;
}
.hero .container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.hero .subheadline {
  color: #eaeaea;
  font-size: 1.25rem;
  max-width: 540px;
  margin-bottom: 28px;
}
.hero .cta-btn {
  background: #8ecae6;
  color: #02203a;
}
.hero .cta-btn:hover {
  background: #ffb703;
  color: #18191A;
}

/* FEATURES */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item img {
  width: 42px; height: 42px;
  margin-bottom: 6px;
  filter: grayscale(100%);
}
.features h2 {
  margin-bottom: 22px;
  font-size: 2rem;
  color: #111;
  letter-spacing: 0.03em;
}
.features .feature-item h3 {
  color: #222;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.features .feature-item p {
  color: #434343;
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 0;
}
.usp-list li {
  font-size: 1.04rem;
  color: #333;
  position: relative;
  padding-left: 22px;
}
.usp-list li:before {
  content: "•";
  color: #8ecae6;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

/* COURSE / SPORTS PAGE */
.sports-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.course-item {
  background: #f5f6fa;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 18px 14px 18px;
  gap: 10px;
  box-shadow: 0 1px 7px rgba(2,48,71,0.07);
  border: 1px solid #ececec;
  transition: box-shadow 0.25s, border-color 0.2s;
  flex-basis: 220px;
  min-width: 200px;
  max-width: 275px;
}
.course-item img {
  width: 38px;
  height: 38px;
  filter: grayscale(100%);
}
.course-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #1a1a1a;
}
.course-item p {
  color: #444;
  font-size: 0.97rem;
  margin-bottom: 0;
}
.course-item:hover {
  box-shadow: 0 6px 20px rgba(2,48,71,0.13);
  border-color: #8ecae6;
}

/* SCHEDULE HIGHLIGHT STYLES */
.schedule-highlight ul,
.schedule ul,
.benefits ul,
.signup-form-section ul,
.faq ul,
.about-mission ul,
.about-team ul,
.about-community ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}
.schedule-highlight li,
.schedule li,
.benefits li,
.signup-form-section li,
.faq li,
.about-mission ul li,
.about-team ul li,
.about-community ul li {
  font-size: 1rem;
  color: #222;
  position: relative;
  padding-left: 0;
}
.schedule-highlight li strong,
.schedule li strong,
.benefits li strong,
.signup-form-section li strong,
.faq li strong,
.about-mission li strong,
.about-team li strong {
  color: #111;
  font-weight: 700;
}

.dynamic-timetable ul, .booking-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-options {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-options ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.filter-options li {
  color: #444;
  background: #ebebeb;
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 0.96rem;
  transition: background 0.13s;
  cursor: pointer;
}
.filter-options li:hover, .filter-options li:focus {
  background: #8ecae6;
  color: #18191A;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #18191A;
  border-left: 6px solid #8ecae6;
  box-shadow: 0 2px 12px rgba(48,48,48,0.11);
}
.testimonial-card p {
  font-style: italic;
  color: #191b20;
}
.testimonial-card span {
  color: #023047;
  font-weight: 600;
  font-size: 0.98rem;
}

/* ABOUT & COMMUNITY SECTION */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* THANK YOU / SUCCESS SECTION */
.thank-you, .trial-cta, .privacy-policy, .gdpr-info, .terms-of-use, .cookie-policy {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 36px rgba(2,48,71,0.07);
  margin-top: 40px;
  margin-bottom: 40px;
}

.thank-you .cta-btn, .trial-cta .cta-btn {
  background: #8ecae6;
  color: #18191A;
  margin-top: 20px;
}
.thank-you .cta-btn:hover, .trial-cta .cta-btn:hover {
  background: #ffb703;
  color: #18191A;
}

/* CONTACT SECTION (Global reuse) */
.contact-section, .contact-short, .footer-contact {
  font-size: 1rem;
}
.contact-section .footer-contact a {
  color: #0277b6;
  border-bottom: 1px dashed #b4b4b4;
  transition: border-color 0.15s, color 0.15s;
}
.contact-section .footer-contact a:hover,
.contact-section .footer-contact a:focus {
  color: #ffb703;
  border-bottom: 1px solid #ffb703;
}

/* MODALS & BANNERS */
/* COOKIE BANNER + MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #232426;
  color: #fff;
  padding: 26px 20px 16px 20px;
  width: 100%;
  box-shadow: 0 -2px 14px rgba(34,34,34,0.14);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  animation: cookieSlideIn 0.6s cubic-bezier(.6,.16,.33,1.19);
}
@keyframes cookieSlideIn {
  from {transform: translateY(100%); opacity: 0; }
  to   {transform: translateY(0); opacity: 1; }
}
.cookie-banner strong { color: #8ecae6; }
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-banner .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 24px;
  background: #fff;
  border: none;
  border-radius: 18px;
  color: #232426;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2,48,71,0.10);
  font-weight: 600;
  transition: background 0.17s, color 0.14s;
}
.cookie-banner .btn.accept {
  background: #8ecae6;
  color: #111;
}
.cookie-banner .btn.reject {
  background: #fff;
  color: #111;
  border: 1px solid #e0e0e0;
}
.cookie-banner .btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: #ffb703;
  color: #18191A;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,22,26,0.76);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalOverlayIn 0.3s;
}
@keyframes modalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #18191A;
  border-radius: 16px;
  max-width: 370px;
  padding: 30px 20px 26px 24px;
  box-shadow: 0 8px 48px rgba(2,48,71,0.19);
  animation: modalAppear 0.35s;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes modalAppear {
  from {transform: translateY(80px) scale(.98); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h2 {
  color: #023047;
  font-size: 1.22rem;
  margin-bottom: 5px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f6f7fa;
  border-radius: 12px;
  padding: 13px 12px;
}
.cookie-category .toggle {
  margin-left: auto;
  width: 36px;
  height: 20px;
  background: #e7e7e7;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}
.cookie-category .toggle[data-enabled="true"] {
  background: #8ecae6;
}
.cookie-category .toggle span {
  display: block;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.19s;
}
.cookie-category .toggle[data-enabled="true"] span {
  left: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal .btn-save {
  background: #8ecae6;
  color: #111;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(2,48,71,0.08);
  font-weight: 600;
  transition: background 0.19s, color 0.13s;
}
.cookie-modal .btn-save:hover, .cookie-modal .btn-save:focus {
  background: #ffb703;
  color: #18191A;
}
.cookie-modal .btn-close {
  background: transparent;
  border: none;
  color: #222;
  font-size: 1.4rem;
  position: absolute;
  top: 14px; right: 17px;
  cursor: pointer;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 120;
  background: none;
  border: none;
  font-size: 2.05rem;
  padding: 6px 14px 6px 8px;
  color: #023047;
  cursor: pointer;
  transition: color 0.13s, background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #8ecae6;
}
.mobile-menu {
  display: none;
}

@media (max-width: 990px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 0;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #18191A;
  color: #fff;
  z-index: 2004;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.67,.12,.34,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 18px 22px 12px 0;
  cursor: pointer;
  z-index: 4;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8ecae6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fcfcfc;
  font-size: 1.18rem;
  padding: 16px 32px;
  border-bottom: 1px solid #222224;
  transition: background 0.15s, color 0.16s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222;
  color: #8ecae6;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero {
    padding: 62px 0 48px 0;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .features .feature-grid,
  .sports-overview-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .main-nav {
    gap: 13px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    margin-bottom: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .usp-list {
    gap: 6px;
    margin-top: 13px;
   }
  .section {
    padding: 26px 8px;
  }
  footer {
    padding: 28px 0 10px 0;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero .subheadline {
    font-size: 1.02rem;
    margin-bottom: 16px;
  }
  .cta-btn {
    font-size: 0.98rem;
    padding: 9px 18px;
  }
  .schedule-highlight, .features, .about-preview, .schedule, .trial-benefits, .privacy-policy, .cookie-policy, .gdpr-info, .terms-of-use {
    padding: 22px 0 22px 0;
  }
  .sports-overview-grid, .features .feature-grid {
    gap: 12px;
  }
}

/* MICROS: SMALL BUTTON EFFECTS, SHADOWS, ANIMATION HELPERS */
.cta-btn, .btn, .cookie-banner .btn, .cookie-modal .btn-save {
  transition: box-shadow 0.15s, background 0.19s, color 0.13s, transform 0.15s;
}
.cta-btn:hover, .btn:hover, .cookie-banner .btn:hover, .cookie-modal .btn-save:hover {
  box-shadow: 0 4px 22px rgba(2,48,71,0.10), 0 1.5px 9px rgba(2,48,71,.09);
  transform: translateY(-2px) scale(1.03);
}

/* REMOVE OUTLINE FOR MOUSE USERS, KEEP FOR KEYBOARD */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #8ecae6;
  outline-offset: 2px;
}

/* Scrollbar Styling for subtle sophistication */
body::-webkit-scrollbar {
  width: 10px;
  background: #f5f5f7;
}
body::-webkit-scrollbar-thumb {
  background: #cdcdcd;
  border-radius: 8px;
}

/* Miscellaneous enhancements */
hr {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 28px 0;
}

/* Print logo monochrome if needed */
@media print {
  .logo img,
  footer .logo img {
    filter: grayscale(100%) !important;
  }
}

/* Hide cookie banner when not needed */
.cookie-banner[hidden] {
  display: none !important;
}

/* Hide cookie modal when not shown */
.cookie-modal-overlay[hidden] {
  display: none !important;
}
