/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1B263B;
  background-color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.7;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
ul, ol {
  list-style: none;
  margin-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1B263B;
  letter-spacing: -.01em;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.15rem; }
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #314165;
  margin-bottom: 10px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
strong {
  font-weight: 700;
}
blockquote {
  border-left: 4px solid #5D8233;
  padding-left: 20px;
  margin: 24px 0;
  color: #1B263B;
  font-style: italic;
  background: #F7F8FA;
}

/* --- CONTAINER UTILITY --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E7EAF0;
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 16px;
  gap: 16px;
  position: relative;
}
.logo-link img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1B263B;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 6px;
  transition: background .16s, color .16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4D35E;
  color: #1B263B;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #5D8233;
  color: #fff;
  font-weight: 700;
  padding: 11px 28px;
  border: none;
  border-radius: 24px;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(45,61,94,0.06);
  transition: background .22s, box-shadow .22s, transform .16s;
  cursor: pointer;
  outline: none;
  text-align: center;
  display: inline-block;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1B263B;
  color: #fff;
  box-shadow: 0 4px 20px rgba(45,61,94,0.10);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  background: #fff;
  border: 1.5px solid #5D8233;
  border-radius: 8px;
  font-size: 2rem;
  color: #5D8233;
  cursor: pointer;
  padding: 5px 13px;
  margin-left: 10px;
  line-height: 1;
  transition: background .18s, color .18s;
  display: none;
  z-index: 1101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #5D8233;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(27,38,59,0.96);
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.77,0,.18,1);
  padding-top: 30px;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 10px 20px 32px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #F4D35E;
  cursor: pointer;
  z-index: 1210;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  padding: 10px 28px;
  border-radius: 10px;
  width: 80vw;
  text-align: center;
  margin: 0 auto;
  background: rgba(93,130,51, 0.05);
  transition: background .15s, color .15s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4D35E;
  color: #1B263B;
}

/* --- GENERAL SECTION & FLEX LAYOUTS--- */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 740px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(27,38,59,0.05);
  padding: 26px 24px 20px 24px;
  border-radius: 14px;
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 340px;
}
.feature-item img {
  height: 44px;
  width: 44px;
  margin-bottom: 6px;
  filter: grayscale(0.6) contrast(1.19);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(27,38,59,0.08);
  padding: 26px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(27,38,59,0.07);
  border-radius: 15px;
  padding: 20px 32px 20px 22px;
  margin-bottom: 20px;
  max-width: 620px;
  border-left: 6px solid #5D8233;
  font-size: 1rem;
}
.testimonial-card p {
  color: #1B263B;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: .97rem;
  color: #5D8233;
  font-style: italic;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.trainer-bio {
  background: #F7F8FA;
  border-radius: 13px;
  box-shadow: 0 2px 7px rgba(27,38,59,0.04);
  padding: 18px 22px;
  margin-bottom: 20px;
  font-size: 1.01rem;
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(27,38,59,0.06);
  font-size: 1rem;
}
thead tr {
  background: #1B263B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
}
td, th {
  padding: 14px 16px;
  text-align: left;
}
tbody tr {
  border-top: 1px solid #E7EAF0;
}
tbody tr:nth-child(even) {
  background: #F8FAFB;
}

/* --- LISTS --- */
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  color: #314165;
  position: relative;
  line-height: 1.65;
}
ul li::before {
  content: '';
  display: inline-block;
  margin-right: 10px;
  width: 7px;
  height: 7px;
  background: #5D8233;
  border-radius: 50%;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
ol li::before {
  display: none; /* numbers only */
}
ul li img, ol li img {
  display: inline-block;
  width: 21px; height: 21px;
  margin-right: 9px;
  margin-bottom: -4px;
}

/* --- FOOTER --- */
footer {
  background: #F7F8FA;
  border-top: 1px solid #E7EAF0;
  padding: 40px 0 22px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer .footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B263B;
  font-size: .97rem;
  padding: 6px 11px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F4D35E;
  color: #1B263B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact p {
  font-size: .98rem;
  display: flex;
  align-items: center;
  color: #314165;
  gap: 8px;
  margin-bottom: 5px;
}
.footer-contact img {
  width: 17px;
  height: 17px;
}
footer small {
  color: #8898B4;
  margin-top: 20px;
  font-size: .92rem;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 24px 16px 18px 16px;
  background: #fff;
  border-top: 1px solid #E7EAF0;
  box-shadow: 0 -4px 32px rgba(27,38,59,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  z-index: 2200;
  min-height: 72px;
  font-size: 1rem;
  animation: cookie-fade-in .5s;
}
@keyframes cookie-fade-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #1B263B;
  max-width: 780px;
  flex: 1 1 400px;
  font-size: .98rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-settings-btn {
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: .97rem;
  padding: 8px 24px;
  cursor: pointer;
  background: #F4D35E;
  color: #1B263B;
  transition: background .2s, color .2s;
}
.cookie-btn.accept {
  background: #5D8233;
  color: #fff;
}
.cookie-btn.reject {
  background: #1B263B;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #E2EDCD;
  color: #1B263B;
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,38,59,0.72);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .33s;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 4px 32px rgba(27,38,59,0.13);
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  animation: cookie-modal-anim .33s;
}
@keyframes cookie-modal-anim {
  from { transform: scale(.94); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #1B263B;
  font-weight: 700;
  margin-bottom: 2px;
}
.cookie-modal .modal-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-pref-category {
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #F7F8FA;
}
.cookie-pref-label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #314165;
  flex: 1 1 auto;
  letter-spacing: 0em;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #E7EAF0;
  border-radius: 12px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .13s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #5D8233;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1px 3px rgba(27,38,59,0.05);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1020px) {
  .container {
    max-width: 93vw;
  }
  .footer-contact {
    min-width: 260px;
  }
}
@media (max-width: 880px) {
  .feature-grid, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature-item, .card {
    min-width: 180px;
    max-width: 95vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 6px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  section, .section {
    padding: 38px 3px 38px 3px;
    margin-bottom: 40px;
  }
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .content-wrapper, .text-section {
    padding: 0 2px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    padding: 18px 10px 18px 12px;
    max-width: 98vw;
  }
  .trainer-bio {
    padding: 13px 5px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.02rem; }
  table th, table td {
    padding: 6px 7px;
  }
  .footer-contact p {
    font-size: .91rem;
  }
}
@media (max-width: 480px) {
  .cookie-banner__text {
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 19px 6vw 16px 6vw;
    font-size: .99rem;
  }
}

/* --- ANIMATIONS / MICRO INTERACTIONS --- */
.cta-btn, .main-nav a, .cookie-btn, .cookie-settings-btn, .footer-nav a {
  transition: background .15s, color .15s, box-shadow .12s, transform .09s;
}
.cta-btn:active, .main-nav a:active, .cookie-btn:active, .footer-nav a:active {
  transform: scale(0.97);
}

.feature-item:hover, .card:hover {
  box-shadow: 0 4px 22px rgba(27,38,59,0.13);
  transform: translateY(-3px) scale(1.012);
  transition: box-shadow .21s, transform .13s;
}

/* --- UTILITIES AND MISC STYLES --- */
::-webkit-input-placeholder { color: #B3B9C9; }
::-moz-placeholder { color: #B3B9C9; }
:-ms-input-placeholder { color: #B3B9C9; }
::placeholder { color: #B3B9C9; }

[aria-current="page"], .main-nav a.active {
  background: #F4D35E;
  color: #1B263B;
}

/* --- OVERRIDES FOR DARK BG (mobile menu overlays, etc) --- */
.mobile-menu, .mobile-menu nav a {
  color: #fff;
}
.mobile-menu nav a.active,
.mobile-menu nav a[aria-current="page"] {
  background: #F4D35E;
  color: #1B263B;
}

/* --- Z-INDEX CONTROLS --- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 1100;
}
.mobile-menu {
  z-index: 1200;
}
.cookie-banner {
  z-index: 2200;
}
.cookie-modal-overlay {
  z-index: 2300;
}

/* --- HIDE/SHOW CLASSES FOR JS --- */
.hide, .is-hidden {
  display: none !important;
}

/* --- TYPOGRAPHY SCALE --- */
.display-heading { font-size: 2.5rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; color: #1B263B; }
.section-heading { font-size: 2rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; color: #1B263B; }
.sub-heading { font-size: 1.32rem; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 500; color: #5D8233; }

/* --- BUTTONS --- */
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus {
  outline: 2px solid #F4D35E;
}

/* --- ACCESSIBILITY FOCUS BOOST --- */
:focus-visible {
  outline: 2px solid #F4D35E;
  outline-offset: 2px;
}

/* --- FORM FIELDS --- */
input, textarea, select {
  border: 1px solid #E7EAF0;
  border-radius: 7px;
  font-size: 1rem;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: #F7F8FA;
  color: #1B263B;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #5D8233;
  background: #fff;
}

/* --- CUSTOM CLASSES FROM PROVIDED MANDATORYS --- */
.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;
}

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