/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #EAE9E6;
  color: #1B311F;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #225E35;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, .main-nav a:focus {
  color: #16804c;
}
ul, ol {
  padding-left: 1.2em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 12px;
}
th {
  background-color: #f1f3ea;
  font-weight: bold;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 0.03em;
  color: #225E35;
}
tr:nth-child(even) td {
  background-color: #f6f8f2;
}
tr:nth-child(odd) td {
  background-color: #fff;
}
strong {
  color: #225E35;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #225E35;
  font-weight: 700;
  margin-bottom: 0.7em;
  line-height: 1.15;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
p {
  margin-bottom: 1.2em;
}

/* CONTAINERS & UTILITY */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(38,70,29,0.10);
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 6px 16px rgba(34,94,53,0.15);
}
.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: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(34,94,53,0.11);
  padding: 28px 25px;
  margin-right: 20px;
  min-width: 270px;
  max-width: 370px;
  border: 1px solid #e5ecdb;
  transition: box-shadow 0.24s;
}
.testimonial-card blockquote {
  color: #1B311F;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.5;
}
.testimonial-card span {
  color: #225E35;
  font-weight: 500;
}
.star-rating img {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: bottom;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: #dff4e2 url('../assets/texture-leaf.jpg') bottom right/48% no-repeat;
  padding: 60px 0 40px 0;
  position: relative;
}
.hero .container { position: relative; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 25px;
}
.hero h1 {
  font-size: 2.2rem;
  color: #17472b;
  text-shadow: 0 2px 8px rgba(34,94,53,0.07);
}
.hero p {
  font-size: 1.15rem;
  color: #225E35;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: #f5f9f3;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(38,70,29, 0.07);
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 24px rgba(34,94,53,0.09);
  transform: translateY(-6px) scale(1.025);
}
.feature-grid img {
  width: 48px;
  margin-bottom: 14px;
  display: block;
}

/* TESTIMONIALS SLIDER */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}

/* CTA SECTION */
.cta.section, section.cta {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 32px rgba(38,70,29,0.10);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cta .cta.primary {
  font-size: 1.14rem;
  padding: 16px 38px;
}

/* BUTTONS */
.cta, .btn, .primary, .secondary {
  display: inline-block;
  font-family: 'Oswald',Arial,sans-serif;
  border-radius: 32px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, border 0.16s;
  cursor: pointer;
  outline: none;
  border: none;
}
.cta.primary {
  background: #225E35;
  color: #fff;
  border: 2px solid #225E35;
  padding: 14px 32px;
  box-shadow: 0 2px 8px rgba(34,94,53,0.08);
  font-size: 1.11rem;
}
.cta.primary:hover, .cta.primary:focus {
  background: #279250;
  color: #fff;
  border-color: #16804c;
  box-shadow: 0 6px 18px rgba(34,94,53,0.17);
}
.cta.secondary {
  background: #EAE9E6;
  color: #225E35;
  border: 2px solid #225E35;
  padding: 12px 25px;
  font-size: 1rem;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #cbe7d2;
  color: #225E35;
}


/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 16px rgba(34,94,53,0.05);
  padding-top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  min-height: 80px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #225E35;
  position: relative;
  padding: 6px 4px;
}
.main-nav a::after {
  content: "";
  display: block;
  width: 0%;
  height: 3px;
  background: #225E35;
  border-radius: 2px;
  transition: width 0.21s;
  margin: 0 auto;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 60%;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.05rem;
  color: #225E35;
  cursor: pointer;
  margin-left: 10px;
  z-index: 1103;
  line-height: 1;
  transition: color .17s, background .18s;
}
.mobile-menu-toggle:focus {
  background: #dff4e2;
  border-radius: 50%;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,34,19,0.88);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.87,.23,.22,.84);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  margin: 38px 28px 15px 0;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  align-self: flex-end;
  z-index: 2102;
  transition: color 0.2s, background .17s;
}
.mobile-menu-close:focus {
  background: #225E35;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 38px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  padding: 16px 0 4px 0;
  letter-spacing: 0.04em;
  font-weight: 700;
  background: none;
  border: none;
  transition: color 0.18s, background 0.18s;
  border-radius: 6px;
  min-width: 88px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #82d7a2;
  background: rgba(34,94,53,0.24);
}

/* Hide main nav on mobile, show burger */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta.primary {
    display: none;
  }
}

/* Show mobile menu on overlay */
@media (max-width: 1020px) {
  .mobile-menu {
    display: flex;
  }
}

/* SECTIONS GENERIC SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features, .services, .about, .location, .contact-section, .thank-you, .about-trainer, .features-trainer, .privacy-policy, .gdpr-policy, .cookie-policy, .terms-of-service {
  background: #f7f9f5;
  border-radius: 16px;
  margin-bottom: 44px;
  box-shadow: 0 2px 8px rgba(22,44,24,0.05);
}

/* SPECIAL GRIDS AND FLEX LAYOUTS */
.instructor-highlights {
  background: #EAE9E6;
  border-radius: 12px;
  padding: 20px;
  margin-top: 18px;
  color: #225E35;
}
.specializations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
}
.specializations-grid > div {
  flex: 1 1 180px;
  min-width: 160px;
  padding: 14px 12px;
  background: #f5f9f3;
  border-radius: 8px;
  font-size: 1rem;
  color: #17472b;
  box-shadow: 0 0px 6px rgba(34,94,53,0.07);
}

/* FEATURES FOR TRAINER/GENERIC LIST */
.features ul, .services ul, .location ul, .text-section ul, .features-trainer ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 16px;
}
.features ul li, .services ul li, .location ul li, .text-section ul li, .features-trainer ul li {
  margin-bottom: 10px;
  color: #1B311F;
  font-size: 1.01rem;
}

/* PRICING TABLE */
.pricing-table {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,94,53,0.06);
  border: 1px solid #e5ecdb;
  margin: 17px 0 22px 0;
}
.pricing-table th, .pricing-table td {
  border-bottom: 1px solid #e5ecdb;
}
.pricing-table th:last-child, .pricing-table td:last-child {
  border-right: none;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.contact-details p, .location ul li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.contact-details img, .location ul img {
  width: 22px;
  height: 22px;
  display: inline-block;
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  background: #225E35;
  color: #fff;
  padding: 36px 0 24px 0;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  box-shadow: 0 -2px 28px rgba(22,44,24,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 35px;
  align-items: flex-start;
}
.footer-logo img {
  width: 56px;
  display: block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #b7e2c5;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #f4eedc;
}
.footer-contact {
  font-size: 0.99rem;
  color: #e8f5e5;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  width: 18px;
  margin-right: 5px;
  vertical-align: middle;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .footer-logo img {
    width: 44px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.18rem; }
  .hero {
    padding: 34px 0 20px 0;
    background-size: 80%;
  }
  .feature-grid, .testimonial-slider, .card-container, .content-grid, .specializations-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .card, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: left;
  }
  header .container {
    flex-direction: row;
    gap: 7px;
    min-height: 60px;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  section, .section {
    padding: 26px 7px;
    margin-bottom: 34px;
  }
}
@media (max-width: 500px) {
  body {
    font-size: 15px;
  }
  .hero {
    padding: 18px 0 11px 0;
    background-size: 110%;
  }
  .footer-logo img {
    width: 32px;
  }
  .cta.primary, .cta.secondary {
    width: 100%;
    padding: 12px 9px;
    font-size: 1rem;
  }
}

/* Transitions, Micro-interactions */
.card, .feature-grid > div, .testimonial-card, .cta.primary, .cta.secondary, .mobile-nav a, .main-nav a {
  transition: box-shadow .21s, transform .17s, background .14s, border .14s, color .14s;
}
.mobile-menu, .mobile-menu.open {
  transition: transform 0.34s cubic-bezier(.87,.23,.22,.84), opacity 0.22s;
}

/* COOKIE CONSENT BANNER */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4009;
  background: #225E35;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 24px 18px 24px;
  gap: 22px;
  box-shadow: 0 -2px 24px rgba(34,94,53,0.16);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  animation: cookieSlideIn 0.8s cubic-bezier(.65,.01,.35,1.2);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
#cookie-banner p {
  margin: 0;
  font-size: 1.01rem;
  flex: 1 1 auto;
}
#cookie-banner button {
  margin-left: 10px;
  margin-right: 0;
  min-width: 118px;
  font-family: 'Oswald',Arial,sans-serif;
  font-size: 1rem;
  padding: 9px 13px;
  border-radius: 23px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.15s,color 0.15s,box-shadow 0.15s;
}
#cookie-banner .cookie-accept {
  background: #b7e2c5;
  color: #225E35;
}
#cookie-banner .cookie-accept:hover {
  background: #82d7a2;
  color: #17472b;
}
#cookie-banner .cookie-reject {
  background: #fff;
  color: #225E35;
  border: 1px solid #b7e2c5;
}
#cookie-banner .cookie-reject:hover {
  background: #EAE9E6;
  color: #16804c;
}
#cookie-banner .cookie-settings {
  background: #225E35;
  color: #b7e2c5;
  border: 1.5px solid #b7e2c5;
}
#cookie-banner .cookie-settings:hover {
  background: #17472b;
  color: #fff;
}
@media (max-width: 750px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 11px 13px 11px;
  }
  #cookie-banner button {
    min-width: 100px;
    font-size: .98rem;
    margin-bottom: 5px;
  }
}

/* COOKIE MODAL POPUP */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(17,34,21,0.82);
  z-index: 4050;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.19s;
}
#cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
#cookie-modal .modal-content {
  background: #f7f9f5;
  color: #225E35;
  border-radius: 24px;
  max-width: 400px;
  width: 90vw;
  padding: 30px 22px 25px 22px;
  box-shadow: 0 12px 64px rgba(34,94,53,0.23);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#cookie-modal h2 {
  font-size: 1.14rem;
  margin-bottom: 7px;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 26px;
  right: 22px;
  background: none;
  border: none;
  font-size: 1.27rem;
  color: #225E35;
  cursor: pointer;
}
#cookie-modal ul {
  list-style-type: none;
  padding-left: 0;
}
#cookie-modal li {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
}
#cookie-modal label {
  font-weight: 500;
  color: #17472b;
}
#cookie-modal .cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: #EAE9E6;
  position: relative;
  margin-left: 7px;
  display: inline-block;
  vertical-align: middle;
}
#cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
#cookie-modal .cookie-toggle span {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #b7e2c5;
  border-radius: 50%;
  transition: left 0.20s, background 0.20s;
}
#cookie-modal .cookie-toggle input:checked + span {
  left: 18px;
  background: #225E35;
}
#cookie-modal .cookie-accept, #cookie-modal .cookie-reject {
  min-width: 102px;
  padding: 8px 14px;
}
#cookie-modal .cookie-accept {
  background: #225E35;
  color: #fff;
  border: none;
}
#cookie-modal .cookie-reject {
  background: #fff;
  color: #225E35;
  border: 1px solid #b7e2c5;
}
#cookie-modal .cookie-accept:hover {
  background: #16804c;
}
#cookie-modal .cookie-reject:hover {
  background: #EAE9E6;
  color: #16804c;
}

/* Z-INDEX SAFETY */
header, .mobile-menu, #cookie-banner, #cookie-modal { z-index: 4000; }

/* OTHER COMMON CLASSES */
.text-section {
  margin-bottom: 16px;
}

::-webkit-scrollbar {
  width: 10px;
  background: #f7f9f5;
}
::-webkit-scrollbar-thumb {
  background: #b7e2c5;
  border-radius: 16px;
}

/* Organic Shapes (Decorative example) */
.section,
.features,
.card,
.cta.section,
.testimonial-card,
.feature-grid>div,
.specializations-grid>div {
  border-radius: 20px 46px 22px 28px/28px 22px 46px 20px;
}

/* Accessibility: Focus States */
a:focus-visible, .cta:focus-visible, button:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px solid #82d7a2;
  outline-offset: 2px;
  background: #cbe7d2;
  color: #17472b;
}

/* Modal for Cookie (overrides) */
#cookie-modal .modal-content:focus, #cookie-modal .modal-content:focus-visible {
  outline: 2px solid #225E35;
}

/* END OF STYLES */