/* ======= CSS RESET AND 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F8FB;
  color: #223040;
}
* { box-sizing: border-box; }
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { margin-left: 1.5em; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px; }

:root {
  --primary: #204060;
  --secondary: #15B889;
  --accent: #F6F8FB;
  --danger: #CC314C;
  --shadow: 0 4px 16px 0 rgba(32,64,96,0.08);
}

body, button, input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #223040;
}
h1, h2, h3, h4 {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
h1 { font-size: 2.8rem; line-height: 1.1; font-weight: 700; color: var(--primary); }
h2 { font-size: 2rem; font-weight: 600; color: var(--secondary); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; color: var(--secondary); margin-bottom: 10px; }
p {
  margin-bottom: 20px;
  font-size: 1.06rem;
}
strong { font-weight: 700; }

/* ============ CONTAINER & LAYOUT ============= */
.container {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

/* ========== TYPOGRAPHY ========== */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600,700|Open+Sans:400,600,700&display=swap');

blockquote {
  margin: 0 0 24px 0;
  font-style: italic;
  color: var(--secondary);
  font-size: 1.12rem;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

/* ========== MAIN NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(39,103,139,0.09);
  padding: 0 0;
  min-height: 60px;
  position: relative;
  z-index: 25;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 20px 16px 20px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.2px;
  padding: 4px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2.5px solid var(--secondary);
}
.cta-btn {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--secondary) 60%, #11E2AD 100%);
  border: none;
  outline: none;
  border-radius: 32px;
  padding: 12px 32px;
  letter-spacing: 0.5px;
  margin-left: 12px;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s, box-shadow 0.14s;
  box-shadow: 0 6px 20px 0 rgba(21,184,137,0.13);
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #19D7A6 45%, var(--secondary) 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px 0 rgba(21,184,137,0.19);
}

/* =/////////// MOBILE MENU ///////////= */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: absolute;
  right: 20px;
  top: 13px;
  z-index: 51;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(32, 64, 96, 0.97);
  color: #fff;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.83,-0.06,.4,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 50px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 1010;
  height: 44px;
  width: 44px;
  line-height: 1;
  transition: color 0.11s, background 0.11s;
}
.mobile-menu-close:hover {
  color: var(--secondary);
  background: rgba(21,184,137, 0.11);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 38px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 11px 0;
  width: 100vw;
  padding-left: 40px;
  border-left: 4px solid transparent;
  transition: background 0.18s, color 0.15s, border-color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.08);
  color: var(--secondary);
  border-left: 4px solid var(--secondary);
}
@media (max-width: 1000px) {
  .main-nav { gap: 17px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ========== SECTION & CARD LAYOUTS ========== */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  min-width: 240px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.13s;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(21,184,137,0.16), var(--shadow);
  transform: translateY(-4px) scale(1.018);
}
.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;
  border-radius: 18px;
  background: #f3faf8;
  box-shadow: 0 4px 20px rgba(21,184,137,0.06);
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow 0.18s, border-color 0.13s;
  border-left: 6px solid var(--secondary);
  color: #1D2230;
}
.testimonial-card .testimonial-content p {
  color: #142230; font-size: 1.13rem;
}
.testimonial-rating {
  font-size: 1.5rem;
  color: #FFD600;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 2px;
  padding-left: 10px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 20px 20px 20px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 36px;
  height: 36px;
}

/* ========== LISTS, TABLES & FAQ ========== */
ul {
  margin-bottom: 15px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.7;
}
table {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(32,64,96,0.08);
  margin-bottom: 30px;
  width: 100%;
  overflow: hidden;
  border-spacing: 0;
}
th {
  background: var(--secondary);
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1px;
}
td {
  color: var(--primary);
}
tr:nth-child(even) td {
  background: #e4fff8;
}
tr:nth-child(odd) td {
  background: #fff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 8px;
}
.faq-list > div {
  background: #fff;
  margin-bottom: 8px;
  padding: 16px 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(50,180,150,0.07);
  color: var(--primary);
  font-size: 1.06rem;
}

/* ========== BIOTEXT / TRAINER ========== */
.trainer-bio {
  margin-bottom: 18px;
  padding: 16px 20px;
  background: #f8f5ff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(109,83,204,0.05);
  border-left: 5px solid #6DB9F7;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 0 0 18px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 20px 10px 20px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 0;
  opacity: 0.9;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #fff;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-copy {
  color: #b6d5ff;
  font-size: 0.98rem;
  margin-top: 20px;
  letter-spacing: .04em;
}

/* ========== BUTTONS ========== */
button, .button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 9px 28px;
  border-radius: 32px;
  border: none;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.12s;
  box-shadow: 0 3px 16px 0 rgba(21,184,137,.09);
  cursor: pointer;
}
button:hover, .button:hover { background: var(--primary); color: #fff; transform: scale(1.036); }
button:focus, .button:focus { outline: 2px solid var(--secondary); }

/* Distinctive / creative styling for some buttons */
.cta-btn, .cookie-accept-btn {
  font-size: 1.13rem;
  background: linear-gradient(90deg,var(--secondary) 60%, #45faaf 100%);
  box-shadow: 0 6px 24px 0 rgba(21,184,137,.14);
  font-family: 'Oswald', Arial, sans-serif;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 32px;
  letter-spacing: 0.5px;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus { background: linear-gradient(90deg,#24b987 53%, #03c58e 100%); }
.cookie-reject-btn {
  color: var(--danger);
  background: #fff;
  border: 2px solid var(--danger);
  margin-left: 10px;
  font-weight: 700;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: var(--danger);
  color: #fff;
}
.cookie-settings-btn {
  background: var(--primary);
  color: #fff;
  margin-left: 10px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #0c345a;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  color: var(--primary);
  width: 100vw;
  box-shadow: 0 -5px 24px 0 rgba(44,81,140,0.13);
  padding: 30px 22px 18px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 2050;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  animation: cookieSlideIn 0.8s cubic-bezier(.71,-0.13,.37,1.23);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 3 1 350px;
  font-size: 1.06rem;
  margin-bottom: 0;
}
.cookie-banner-action {
  flex: 1 0 250px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
@media (max-width: 580px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 8px 10px 8px;
    gap: 12px;
    font-size: 0.97rem;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-bg {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 99999;
  background: rgba(32,64,96, 0.58);
  align-items: center; justify-content: center;
  animation: cookieBGfadeIn .4s;
}
.cookie-modal-bg.open {
  display: flex;
}
@keyframes cookieBGfadeIn {
  0% { opacity: 0; } 100% {opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  padding: 32px 24px 23px 24px;
  min-width: 330px;
  box-shadow: 0 10px 40px 0 rgba(44,81,140,0.15);
  position: relative;
  animation: cookieModalIn .4s cubic-bezier(.71,-0.23,.46,1.04);
  max-width: 98vw;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.83) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.32rem;
  margin-bottom: 22px;
}
.cookie-modal-close {
  position: absolute;
  right: 22px; top: 14px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--danger);
  cursor: pointer;
  z-index: 2;
  height: 38px; width: 38px;
  transition: color 0.14s, background 0.13s;
}
.cookie-modal-close:hover {
  background: #ffe6ea;
  border-radius: 50%;
}
.cookie-modal-section {
  margin-bottom: 18px;
  font-size: 1.06rem;
}
.cookie-modal-section input[type=checkbox] {
  accent-color: var(--secondary);
  margin-right: 10px; width: 17px; height: 17px;
  cursor: pointer;
}
.cookie-modal-section label {
  cursor: pointer;
  font-weight: 600;
}
.cookie-modal-btns {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 11px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 920px) {
  .container, footer .container {
    padding: 0 8px;
    gap: 18px;
  }
  .card-container, .content-grid, .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 800px) {
  .footer-contact { font-size: 0.96rem; }
  .footer-nav { font-size: 0.97rem; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .container, .content-wrapper {
    padding: 0 8px;
  }
}
@media (max-width: 600px) {
  .container, footer .container {
    flex-direction: column;
    gap: 12px; align-items: flex-start;
    padding: 0 4px;
  }
  h1 { font-size: 1.51rem; }
  h2 { font-size: 1.16rem; }
  .section {
    padding: 25px 8px;
    border-radius: 14px;
    margin-bottom: 30px !important;
  }
  .testimonial-card, .feature-item {
    padding: 16px 10px;
    border-radius: 11px;
  }
  .card {
    border-radius: 12px;
    min-width: 135px;
    padding: 8px 6px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid, footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .feature-item, .testimonial-card {
  box-shadow: var(--shadow);
  transition: box-shadow 0.26s, transform 0.14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.016); box-shadow: 0 8px 24px 0 rgba(21,184,137,0.13), var(--shadow);
}

/* ========== ARTISTIC VISUALS ========== */
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 150px;
  height: 150px;
  background: rgba(21,184,137,0.08);
  border-radius: 55% 45% 48% 52%/50% 45% 55% 50%;
  z-index: 0;
  pointer-events: none;
  animation: blobFloat 7.3s linear infinite alternate;
  filter: blur(1.4px);
}
.section:nth-child(2)::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -80px;
  width: 120px;
  height: 120px;
  background: rgba(32,64,96,0.07);
  border-radius: 65% 35% 43% 57%/58% 42% 41% 59%;
  z-index: 0;
  pointer-events: none;
  animation: blobFloat 8.7s infinite alternate-reverse;
  filter: blur(.5px);
}
@keyframes blobFloat {
  0% { transform: scale(1) }
  60% { transform: scale(1.04) translateY(-10px) }
  100% { transform: scale(1.16) translateY(12px) }
}
.card, .feature-item, .testimonial-card, .faq-list > div, .card-container > .card {
  position: relative;
  z-index: 1;
}

/* ==== Artistic Fonts for Main Headlines ===== */
h1, h2, .cta-btn {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.8px;
  font-weight: 700;
}
h1 {
  text-shadow: 1px 2px 0 var(--accent),0 3px 16px rgba(21,184,137,0.09);
}
h2 {
  text-shadow: 0 2px 9px rgba(32, 64, 96,0.07);
}

/* ==== Unique dividers or underlines for artsy style ==== */
h2:after {
  content: '';
  display: block;
  margin-top: 6px;
  width: 42px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #1cb7f7 95%);
  border-radius: 2px;
}

/* ========== FORMS (if any to be added) ========== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid #d6e7ff;
  font-size: 1rem;
  transition: border 0.18s;
  margin-bottom: 15px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}

/* ============== UTILITY CLASSES ============ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* =============== MEDIA QUERIES: CARD/FLEX =============== */
@media (max-width: 500px) {
  .feature-item, .testimonial-card {
    min-width: 120px;
    padding: 13px 4px;
    font-size: 0.97rem;
  }
}

/* ========== Z-INDEX LAYERING ========== */
header, .mobile-menu, .cookie-banner, .cookie-modal-bg, .cookie-modal { z-index: 1000; }

/* ========== CLEARING FLOATS & ALIGNMENTS ========== */
.clearfix::after { content: ""; display: table; clear: both; }

/* ========== CREATIVE: UNIQUE BULLETS ========== */
ul li::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  background: var(--secondary);
  border-radius: 50%;
  vertical-align: middle;
}
ul li {
  list-style: none;
}

/* ========== TABLE WRAP FOR OVERFLOW ========== */
table { overflow-x: auto; display: block; }

/* ========== ANIMATIONS ========== */
.cta-btn, .button, .cookie-accept-btn, .cookie-settings-btn, .cookie-reject-btn {
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.12s;
}

/* ========== A11Y FOCUS STYLES ========== */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ========== PREVENT OVERLAPPING CONTENT ========== */
.card, .testimonial-card, .feature-item, section, .section, .card-container * {
  margin-bottom: 20px;
}
section:last-child, .section:last-child { margin-bottom: 0px !important; }

/* ========== ENSURE CONTRAST ON TESTIMONIALS ========= */
.testimonial-card {
  background: #fff;
  color: #142230;
  border-left: 8px solid var(--secondary);
}
.testimonial-content p { color: #142230; }
.testimonial-card strong { color: var(--primary); }

/* ========== PRINT FRIENDLY ========== */
@media print { .cta-btn, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-bg { display: none !important; } }
