/* =================== CSS RESET & BASE ==================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  background: #F9F6F2;
  color: #154734;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.65;
  letter-spacing: 0.01em;
  font-size: 1rem;
  background: #FFF9F2;
}

img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}
a {
  color: #154734;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 6px;
}
a:focus {
  outline: 2px solid #C6A15D;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #154734;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }

p, ul, ol, table { margin-bottom: 18px; }
ul, ol { margin-left: 24px; }
li { margin-bottom: 8px; }

strong, b { font-weight: 700; }
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: #FFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(198,161,93,0.07);
}
th, td {
  padding: 16px 14px;
  text-align: left;
}
th {
  background: #EAE3D2;
  font-weight: 700;
}
td { border-bottom: 1px solid #F0E0BD; }
tr:last-child td { border-bottom: none; }

/* ================= CONTAINER & SECTIONS =================== */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(198,161,93,0.10);
  transition: box-shadow 0.2s;
}
.section:last-child { margin-bottom: 0; }

.hero {
  background: #FFF9F2;
  padding: 40px 0 28px 0;
  margin-bottom: 44px;
}
.hero h1 {
  color: #154734;
  font-size: 2.1rem;
}
.hero p {
  color: #5F4833;
  font-size: 1.1rem;
}

/* ================= FLEX LAYOUT GLOBALS =================== */
.card-container, .card-grid, .feature-grid, .course-teasers, .course-grid, .trainer-profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
}
.card { margin-bottom: 20px; position: relative; background: #FFF; border-radius: 16px; box-shadow: 0 2px 16px rgba(21,71,52,0.08); padding: 24px; }

/* ================= NAVIGATION =================== */
header {
  background: #FFFDF9;
  box-shadow: 0 2px 12px rgba(198,161,93,0.07);
  padding: 0 0 0 0;
  position: relative;
  z-index: 11;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 16px 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.main-nav a {
  color: #154734;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #C6A15D;
  color: #FFF;
}
.main-nav img {
  height: 34px;
  margin-right: 22px;
}
.primary-cta {
  background: #C6A15D;
  color: #FFF;
  font-weight: bold;
  border-radius: 22px;
  padding: 9px 28px;
  font-size: 1.1rem;
  margin-left: 8px;
  transition: box-shadow .16s, background .16s;
  border: none;
  box-shadow: 0 2px 10px rgba(198,161,93,0.08);
  cursor: pointer;
  display: inline-block;
  outline: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: #154734;
  color: #fff;
  box-shadow: 0 4px 20px rgba(198,161,93,0.16);
}

/* Mobile menu hamburger */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: #C6A15D;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 22;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #9e7a36; }

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(198,161,93, 0.98);
  box-shadow: 0 4px 32px rgba(21,71,52,0.25);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  z-index: 9999;
  padding: 36px 32px 20px 32px;
  pointer-events: none;
}
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  position: absolute;
  top: 16px;
  right: 20px;
  cursor: pointer;
  z-index: 10000;
  border-radius: 8px;
  padding: 0 8px;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: rgba(21,71,52,0.16); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 54px;
  gap: 22px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  background: none;
  font-weight: 500;
  border-radius: 10px;
  padding: 14px 12px;
  transition: background .13s, color .15s;
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #154734;
  color: #FFF9F2;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================= HERO/BANNER =================== */
.hero {
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 2px 24px rgba(198,161,93,0.07);
  margin-bottom: 48px;
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.5rem; }
}

/* ================= FEATURE & COURSE GRIDS =================== */
.feature-grid > div, .course-teasers > div, .course-grid > div, .trainer-profile {
  flex: 1 1 min(260px,100%);
  background: #FFF;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 2px 16px rgba(198,161,93,0.09);
  transition: box-shadow .16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  min-width: 250px;
}
.feature-grid > div:hover,
.course-teasers > div:hover,
.course-grid > div:hover,
.trainer-profile:hover {
  box-shadow: 0 6px 38px rgba(198,161,93,0.18);
}
.feature-grid img, .course-teasers img, .course-grid img {
  width: 48px;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .feature-grid, .course-teasers, .course-grid, .trainer-profile-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .course-teasers > div, .course-grid > div, .trainer-profile {
    min-width: unset;
    width: 100%;
  }
}

/* ================= TESTIMONIALS =================== */
.testimonials, .testimonial-slider {
  width: 100%;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 14px;
}
.testimonial-card {
  background: #FFF5E8;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(198,161,93,0.12);
  padding: 32px 26px 20px 26px;
  margin-bottom: 24px;
  flex: 1 1 min(290px, 100%);
  flex-direction: column;
  align-items: flex-start;
  color: #222;
  transition: box-shadow .14s, transform .12s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(198,161,93,0.21);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  color: #154734;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card strong {
  color: #5F4833;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: .02em;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { min-width: 0; width: 100%; }
}

/* ================= CTA BANNER =================== */
.cta-banner {
  background: #C6A15D;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px rgba(21,71,52,0.09);
  padding: 44px 0;
  margin: 60px 0 0 0;
  text-align: center;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}
.cta-banner .primary-cta {
  margin-top: 18px;
  font-size: 1.16rem;
  background: #154734;
  color: #FFF;
}
.cta-banner .primary-cta:hover, .cta-banner .primary-cta:focus {
  background: #C6A15D;
  color: #FFF;
  box-shadow: 0 5px 32px rgba(21,71,52,0.18);
}

/* ================= FOOTER =================== */
footer {
  background: #154734;
  color: #fff;
  padding-top: 44px;
  padding-bottom: 30px;
  margin-top: 50px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 18px rgba(21,71,52,0.10);
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
}
.footer-main img {
  height: 40px;
  margin-bottom: 12px;
}
.footer-main p {
  color: #faede1;
  font-size: 1rem;
}
.footer-main a {
  color: #F3E6D5;
  border-radius: 7px;
  padding: 3px 6px;
  transition: background .10s, color .10s;
}
.footer-main a:hover, .footer-main a:focus {
  background: #C6A15D;
  color: #fff;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

/* ================= CARDS =================== */
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(21,71,52,0.09);
  padding: 24px 20px;
  background: #fff;
}

/* ================= TEXT-SECTIONS, MAP =================== */
.text-section p, .text-section ul, .text-section ol {
  margin-bottom: 10px;
  color: #2c2f26;
}
.map-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #FFF8E7;
  border-radius: 14px;
  padding: 18px;
  margin: 26px 0 18px 0;
  box-shadow: 0 2px 16px rgba(198,161,93,0.10);
  color: #154734;
  font-size: 0.98rem;
}

/* ================= UTILITY SECTIONS =================== */
.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;
}

/* =============== LISTS, OL/UL/LI RESET =============== */
ul, ol {
  padding-left: 26px;
}
ul li, ol li {
  margin-bottom: 6px;
  color: #154734;
  font-size: 1rem;
}
.text-section ul li::marker {
  color: #C6A15D;
}

/* =============== CONTACT OPTIONS ============== */
.contact-options {
  display: flex;
  gap: 22px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.contact-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #154734;
  color: #fff;
  padding: 9px 16px;
  border-radius: 14px;
  font-size: 1.04rem;
  font-weight: 500;
  transition: background .16s, color .16s;
  box-shadow: 0 2px 10px rgba(198,161,93,0.04);
}
.contact-options a:hover, .contact-options a:focus {
  background: #C6A15D;
  color: #FFF;
}
.contact-options img { width: 22px; }

/* =============== FORMS & BUTTONS =============== */
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #C6A15D;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 18px;
  font-size: 1.1rem;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  transition: background .15s, box-shadow .14s;
}
button:hover, button:focus { background: #154734; color: #fff; }
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ece1d0;
  font-size: 1rem;
  margin-bottom: 14px;
}
input:focus, textarea:focus { outline: 2px solid #C6A15D; }

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 10012;
  background: #FFF8EB;
  color: #154734;
  box-shadow: 0 -4px 32px rgba(21,71,52,0.10);
  padding: 22px 16px 22px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px;
  font-size: 1.02rem;
}
.cookie-banner__text {
  max-width: 420px;
  flex: 1 1 260px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .cookie-btn,
.cookie-banner .cookie-settings-btn {
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 8px 20px;
  border-radius: 14px;
  border: none;
  background: #C6A15D;
  color: #fff;
  transition: background .16s;
  min-width: 120px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #154734;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #FFD3B2;
  color: #154734;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #F2BA7C;
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    text-align: left;
    padding: 26px 10px;
  }
}

/* ============== COOKIE SETTINGS MODAL ================ */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(21,71,52,0.43);
  z-index: 12000;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cookie-modal.open {
  display: flex;
  pointer-events: auto;
  animation: fade-in .22s;
}
@keyframes fade-in {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal__content {
  background: #fff9f2;
  border-radius: 24px;
  padding: 36px 30px 28px 30px;
  max-width: 410px;
  width: 90vw;
  box-shadow: 0 2px 38px rgba(198,161,93,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slide-in-modal .29s;
  position: relative;
}
@keyframes slide-in-modal {
  0% { transform: translateY(26px) scale(0.98) rotate(-1deg); opacity: 0; }
  80% { transform: translateY(-6px) scale(1.008) rotate(0.1deg); opacity: .96; }
  100% { transform: translateY(0) scale(1) rotate(0); opacity: 1; }
}
.cookie-modal__content h2 {
  font-size: 1.3rem;
  color: #154734;
  margin-bottom: 8px;
}
.cookie-modal__close {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #154734;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 5px;
  transition: background .13s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: #C6A15D;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 12px;
  background: #FFF3DF;
  padding: 12px 10px;
  font-size: 1rem;
  color: #154734;
}
.cookie-category input[type="checkbox"] {
  accent-color: #C6A15D;
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.cookie-category .always-on {
  background: #C6A15D;
  color: #fff;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.89em;
  margin-left: 10px;
}
.cookie-modal__actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal__actions .cookie-btn {
  padding: 8px 20px;
}

/* ============== THANK YOU PAGE ============== */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF9F2;
  border-radius: 24px;
  min-height: 320px;
  padding: 56px 18px;
}
.thank-you h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
}

/* =============== LEGAL / POLICY SECTIONS ============== */
.legal {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(198,161,93,0.10);
  margin-bottom: 60px;
  padding: 40px 20px;
  color: #154734;
}
.privacy-policy h1, .cookie-policy h1, .terms h1, .gdpr h1 {
  font-size: 2rem;
  color: #154734;
  margin-bottom: 18px;
}

/* ================ RESPONSIVE BREAKPOINTS ================ */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 100vw; padding: 0 7px; }
  .content-wrapper { gap: 18px; }
  .main-nav { display: none; }
  .hero { padding: 26px 0 18px 0; }
  .section { padding: 18px 9px; }
  .feature-grid, .course-teasers, .course-grid, .trainer-profile-list {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-slider { gap: 14px; }
  .testimonial-card {
    padding: 20px 10px 16px 10px;
    min-width: 0;
  }
  .cta-banner {
    padding: 24px 0;
    border-radius: 12px;
  }
  .thank-you h1 { font-size: 1.4rem; }
  .about-intro, .about, .team-overview, .why-choose-us, .courses, .enrollment-process, .pricing-table, .packages, .faq {
    margin-bottom: 38px;
    padding: 14px 6px; 
  }
  .text-image-section { flex-direction: column; gap: 14px; }
}

@media (max-width: 500px) {
  .hero h1 { font-size: 1.2rem; }
  .footer-main img { height: 32px; }
  .footer-main p { font-size: 0.93rem; }
  .cookie-banner__text { font-size: 0.97rem; }
  .cookie-modal__content { padding: 22px 7px 13px 7px; max-width: 99vw; }
}

/* ============== ANIMATIONS =============== */
.primary-cta, .feature-grid>div, .card, .card-container .card, .testimonial-card, .contact-options a {
  transition: box-shadow 0.18s, background 0.18s, color .13s, transform .13s;
}
.primary-cta:active, .feature-grid>div:active, .contact-options a:active {
  transform: translateY(2px) scale(.98);
}

/* ================ PRINT ================ */
@media print {
  header, .mobile-menu, .footer-main, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #111; }
}
