/* -----------------------------
   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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #F8FAFB;
  color: #223250;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* -----------------------------
   CUSTOM PROPERTIES (Fall-back for pastel scheme)
------------------------------*/
:root {
  --color-brand-primary: #1A3557;
  --color-brand-secondary: #4EAA6B;
  --color-brand-accent: #F2F2F2;
  --color-pink: #F7C9DA;
  --color-yellow: #FFF4B6;
  --color-mint: #C3ECD2;
  --color-blue: #DEF1FA;
  --color-lila: #E8DFFF;
  --color-shadow: rgba(34,50,80,0.06);
  --color-shadow-strong: rgba(34,50,80,0.13);
  --section-bg: #FBF8FF;
  --card-bg: #FFFFFF;
  --text-main: #223250;
  --text-darker: #1A3557;
  --text-light: #547080;
  --cta-yellow: #FFF7C6;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: var(--color-blue);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-brand-primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 16px;
}
strong, b {
  color: var(--color-brand-secondary);
}

/* Soft/dreamy atmosphere */
.section {
  background: var(--section-bg);
  border-radius: 21px;
  box-shadow: 0 6px 30px var(--color-shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 20px;
  margin-top: 16px;
  margin-bottom: 24px;
}

/* -----------------------------
   FLEX LAYOUTS
------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid, .course-grid, .membership-perks-grid, .trainer-bios-list, .benefits-grid, .facility-features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.course-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 24px 0;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-lila);
  box-shadow: 0 4px 14px var(--color-shadow);
  margin-bottom: 24px;
  border-radius: 16px;
  min-width: 220px;
  max-width: 600px;
}
.reviews-summary, .member-achievements, .success-highlights, .before-after-snippets {
  background: var(--color-mint);
  color: var(--color-brand-primary);
  border-radius: 14px;
  margin: 24px 0;
  padding: 20px 20px;
  box-shadow: 0 2px 7px var(--color-shadow);
}

.card {
  background: var(--card-bg);
  box-shadow: 0 2px 14px var(--color-shadow);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 28px 20px;
  position: relative;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 8px 24px var(--color-shadow-strong);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Spacing between cards/sections */
.card-container > *,
.feature-grid > *,
.membership-perks-grid > *,
.benefits-grid > *,
.facility-features-grid > *,
.trainer-bios-list > * {
  margin-bottom: 20px;
}

/* Quick contact */
.quick-contact, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quick-contact p, .contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Pricing Table */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--color-pink);
  border-radius: 14px;
  padding: 18px 16px;
  margin: 20px 0 32px 0;
}
.pricing-table > div {
  background: var(--card-bg);
  border-radius: 13px;
  box-shadow: 0 1px 6px var(--color-shadow);
  flex: 1 1 210px;
  padding: 20px 16px;
  margin-bottom: 0;
  transition: box-shadow 0.19s;
}
.pricing-table > div:hover {
  box-shadow: 0 8px 20px var(--color-shadow-strong);
}

/* -----------------------------
   BUTTONS & LINKS
------------------------------*/
.cta-btn, .cta-btn.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 38px;
  padding: 13px 34px;
  background: linear-gradient(90deg, #F7C9DA 0%, #FFF4B6 100%);
  color: var(--color-brand-primary);
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.25s, color 0.15s;
  margin: 12px 0 0 0;
  display: inline-block;
  text-align: center;
  min-width: 160px;
}
.cta-btn.primary {
  background: linear-gradient(90deg, #C3ECD2 0%, #DEF1FA 100%);
  color: var(--color-brand-primary);
  border: 2px solid var(--color-brand-secondary);
}
.cta-btn:hover {
  background: linear-gradient(98deg, #FFF7C6 0%, #F7C9DA 100%);
  color: var(--color-brand-secondary);
  box-shadow: 0 6px 21px var(--color-shadow-strong);
}
a {
  transition: color 0.15s, text-decoration 0.2s;
}
a:hover {
  color: var(--color-brand-secondary);
  text-decoration: underline;
}

/* Navbar / Header */
header {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  justify-content: flex-start;
}
header img {
  max-height: 52px;
}
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 22px;
  color: var(--color-brand-primary);
  transition: background 0.17s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-lila);
  color: var(--color-brand-secondary);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-brand-primary);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  padding: 10px 18px 12px 18px;
  border: 2px solid var(--color-pink);
  position: absolute;
  right: 16px;
  top: 18px;
  z-index: 105;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-brand-secondary);
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(2px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 12px 40px var(--color-shadow-strong);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: var(--color-brand-secondary);
  color: #fff;
  border-radius: 50%;
  padding: 8px 16px 10px 16px;
  border: 2px solid var(--color-brand-primary);
  position: relative;
  margin: 28px 0 22px 22px;
  align-self: flex-end;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px 28px 32px 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-brand-primary);
  background: var(--color-pink);
  border-radius: 24px;
  padding: 13px 0 13px 23px;
  margin-bottom: 8px;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover {
  background: var(--color-brand-secondary);
  color: #fff;
}

/* Hide main-nav & .cta-btn in header on small screens */
@media (max-width: 980px) {
  .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -----------------------------
   FOOTER
------------------------------*/
footer {
  background: linear-gradient(0deg, #F7C9DA 0%, #DEF1FA 100%);
  font-size: 0.97rem;
  box-shadow: 0 -3px 22px var(--color-shadow);
  margin-top: 60px;
  padding: 36px 0 10px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 20px;
}
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 180px;
  max-width: 350px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-links a {
  color: var(--color-brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.13s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-links a:hover {
  color: var(--color-brand-secondary);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-media-icons {
  display: flex;
  gap: 18px;
}
.social-media-icons img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #FFF4B6;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: box-shadow 0.2s;
}
.social-media-icons img:hover {
  box-shadow: 0 5px 18px var(--color-shadow-strong);
}
.contact-snippet {
  color: var(--text-light);
  font-size: 0.99rem;
  margin-top: 6px;
}

/* -----------------------------
   CARD DESIGN & SHADOWS
------------------------------*/
.course-grid > div, .feature-grid > div, .membership-perks-grid > div, .facility-features-grid > div, .benefits-grid > div, .trainer-bios-list > div {
  background: var(--card-bg);
  padding: 24px 18px 18px 18px;
  border-radius: 14px;
  box-shadow: 0 3px 16px var(--color-shadow);
  transition: box-shadow 0.18s, transform 0.23s;
  min-width: 210px;
  flex: 1 1 250px;
  margin-bottom: 0;
}
.course-grid > div:hover, .feature-grid > div:hover, .membership-perks-grid > div:hover, .facility-features-grid > div:hover, .benefits-grid > div:hover {
  box-shadow: 0 6px 25px var(--color-shadow-strong);
  transform: translateY(-4px) scale(1.022);
}
.feature-grid img, .facility-features-grid img, .benefits-grid img, .membership-perks-grid img, .course-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

/* -----------------------------
   TESTIMONIALS & REVIEWS
------------------------------*/
.testimonial-card {
  background: var(--color-lila);
  color: var(--text-darker);
  font-size: 1.07rem;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-left: 6px solid var(--color-pink);
  position: relative;
  margin-bottom: 20px;
  min-width: 200px;
  transition: box-shadow 0.18s, border-color 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 18px var(--color-shadow-strong);
  border-color: var(--color-brand-secondary);
}
.testimonial-card strong {
  font-weight: 600;
  color: var(--color-brand-primary);
}

/* ------------
  LISTS
------------*/
ul, ol {
  margin-bottom: 18px;
  padding-left: 18px;
  color: var(--text-main);
}
ul li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 16px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--color-brand-secondary);
  border-radius: 50%;
  position: absolute;
  left: 0; top: 7px;
}
ol li {
  list-style: decimal;
  margin-left: 1.2em;
  margin-bottom: 7px;
}

/* ----------------------
   MICRO-INTERACTIONS
-----------------------*/
.card, .testimonial-card,
.course-grid > div, .feature-grid > div, .membership-perks-grid > div, .facility-features-grid > div, .benefits-grid > div {
  transition: box-shadow 0.21s, transform 0.22s, border-color 0.12s;
}
.cta-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .cookie-banner button {
  transition: background 0.22s, color 0.19s, box-shadow 0.19s;
}

/* ----------------------
   RESPONSIVENESS
-----------------------*/
@media (max-width: 1199px) {
  .container {
    max-width: 990px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 750px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  header .container {
    gap: 12px;
    padding: 13px 8px;
  }
  .footer-section {
    min-width: 100px;
    max-width: 100%;
  }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 23px 8px;
    margin-bottom: 36px;
  }
  .course-grid, .membership-perks-grid, .feature-grid, .benefits-grid, .trainer-bios-list, .facility-features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .pricing-table {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card, .testimonial-card {
    max-width: 100%;
    min-width: 80px;
    padding: 17px 10px;
  }
  .mobile-menu {
    padding: 0;
  }
  .footer-section {
    gap: 10px;
    margin-bottom: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 14px;
    padding: 0 10px;
  }
}
@media (max-width: 520px) {
  .main-nav, .header .cta-btn {
    display: none !important;
  }
  .section, .text-section {
    padding: 12px 2px;
  }
}

/* Utility: quick-links */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.quick-links a {
  color: var(--color-brand-primary);
}
.quick-links a:hover {
  color: var(--color-brand-secondary);
}


/* -----------------------------
   COOKIE CONSENT BANNER
------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff4b6;
  box-shadow: 0 -2px 30px var(--color-shadow);
  padding: 22px 16px 28px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  z-index: 500;
  justify-content: center;
  font-size: 1.025rem;
  animation: slideup 0.46s cubic-bezier(.4,0,.2,1);
}
@keyframes slideup {
  from { transform: translateY(100px); opacity: 0.1; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 180px;
  color: var(--color-brand-primary);
  margin-bottom: 0;
}
.cookie-btn, .cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  padding: 9px 22px;
  margin: 0 4px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  outline: none;
  background: var(--color-mint);
  color: var(--color-brand-primary);
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.17s, color 0.16s, box-shadow 0.15s;
}
.cookie-banner button.accept {
  background: var(--color-brand-secondary);
  color: #fff;
}
.cookie-banner button.reject {
  background: #F7C9DA;
  color: var(--color-brand-primary);
}
.cookie-banner button.settings {
  background: var(--color-blue);
  color: var(--color-brand-primary);
}
.cookie-banner button:hover {
  box-shadow: 0 2px 10px var(--color-shadow-strong);
  background: var(--color-brand-primary);
  color: #fff;
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 505;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(50,39,69,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  max-width: 400px;
  width: 96vw;
  border-radius: 18px;
  box-shadow: 0 6px 28px var(--color-shadow-strong);
  padding: 36px 24px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
}
.cookie-modal h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.cookie-toggle {
  width: 40px; height: 22px;
  background: var(--color-mint);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-brand-secondary);
}
.cookie-toggle .circle {
  position: absolute;
  top: 2px; left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: left 0.18s;
}
.cookie-toggle[aria-checked="true"] .circle {
  left: 19px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 1.6rem;
  color: var(--color-brand-primary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .close-modal:hover {
  color: var(--color-brand-secondary);
}

/* Essential cookies always enabled */
.cookie-category.essential .cookie-toggle {
  background: #e2e2e2 !important;
  pointer-events: none;
}

/* -----------------------------
   ACCESSIBILITY & FOCUS STATES
------------------------------*/
a:focus, .cta-btn:focus, .mobile-nav a:focus,
.cookie-btn:focus, .cookie-banner button:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--color-brand-secondary);
  outline-offset: 2px;
  background: var(--color-focus, #DEF1FA);
}

/* -----------------------------
   CUSTOM SCROLLBARS
------------------------------*/
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-blue);
}
::-webkit-scrollbar-thumb {
  background: #F7C9DA;
  border-radius: 10px;
}

/* -----------------------------
   MISC VISUALS
------------------------------*/
.map-embed {
  border-radius: 15px;
  background: var(--color-mint);
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 10px 16px;
  margin: 16px 0;
}

.how-to-arrive-description, .parking-info, .equipment-highlights, .plan-descriptions, .joining-steps, .value-propositions, .inclusives-list, .quick-contact, .before-after-snippets, .member-achievements {
  background: var(--color-yellow);
  border-radius: 12px;
  padding: 16px 14px;
  margin-bottom: 14px;
  color: var(--color-brand-primary);
  font-size: 1rem;
  box-shadow: 0 1px 5px var(--color-shadow);
}

/* For instructional icons */
.container img[alt*=Icon],
.content-wrapper img[alt*=Icon] {
  background: linear-gradient(130deg, #C3ECD2 10%, #F7C9DA 75%);
  border-radius: 12px;
  box-shadow: 0 1.5px 6px var(--color-shadow);
  padding: 11px;
  width: 46px;
  height: 46px;
  margin-bottom: 0.6rem;
}

/* THANK YOU PAGE style */
.thank-you {
  background: var(--color-mint);
  color: var(--color-brand-primary);
  border-radius: 16px;
  padding: 30px 18px;
  font-size: 1.12rem;
  text-align: center;
  box-shadow: 0 1px 11px var(--color-shadow);
  margin: 30px 0 10px 0;
}

/* Prevent unwanted overlaps, always allow breathing room */
main, .container, .content-wrapper, .section, .footer-section {
  min-width: 0;
}

/* Hide cookie banner if accepted (handled by JS toggling class) */
.cookie-banner.hide {
  display: none !important;
}

/* Hide cookie modal if not shown (again, JS controlled) */
.cookie-modal-overlay.hide {
  display: none !important;
}

/* -----------------------------
 END STYLE.CSS
 ------------------------------*/
