/* RESET & BASE TYPOGRAPHY ---------------------------------------------------- */
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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #E5E7E2;
  color: #204d39;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #246148;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B79A5C;
}

/* HEADINGS & TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #204d39;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, blockquote, table, cite {
  font-size: 1rem;
  color: #173325;
}
p {
  margin-bottom: 16px;
  max-width: 700px;
}
strong {
  font-weight: 700;
  color: #204d39;
}
blockquote {
  border-left: 4px solid #B79A5C;
  padding-left: 16px;
  color: #204d39;
  margin-bottom: 12px;
  font-style: italic;
}
cite {
  display: block;
  margin-top: 6px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.95rem;
  color: #246148;
  font-style: normal;
  letter-spacing: 0.05em;
}

/* BUTTONS & LINKS ---------------------------------------------------------- */
.btn-primary {
  background: #246148;
  color: #fff;
  border: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 13px 38px;
  border-radius: 30px 8px 30px 8px;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(36,97,72,0.10);
  transition: background 0.2s, box-shadow 0.18s, color 0.2s, transform 0.18s;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B79A5C;
  color: #204d39;
  box-shadow: 0 4px 16px rgba(183,154,92,0.18);
  transform: translateY(-2px) scale(1.04) skew(-4deg, 0);
}
.btn-secondary {
  background: #E5E7E2;
  color: #204d39;
  border: 2px solid #246148;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 32px;
  border-radius: 8px 30px 8px 30px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(32,77,57,0.07);
  transition: background 0.18s, border 0.18s, color 0.18s, transform 0.15s;
  margin-top: 8px;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #246148;
  color: #fff;
  border-color: #B79A5C;
  transform: translateY(-2px) scale(1.035);
}

/* SITE LAYOUT ELEMENTS ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* GEOMETRIC GRIDS (using flex only) --------------------------------------- */
.feature-grid, .course-grid, .card-container, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 12px;
}
.feature-grid > div,
.course-grid > div {
  flex: 1 1 240px;
  min-width: 230px;
  background: #fff;
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 2px 14px rgba(32,77,57,0.08);
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border: 2px solid #e5e7e2;
  transition: outline 0.2s, box-shadow 0.18s, border 0.18s;
}
.feature-grid > div:hover, .course-grid > div:hover {
  border-color: #B79A5C;
  box-shadow: 0 8px 24px rgba(183,154,92,0.10);
  outline: 2px solid #B79A5C;
}
.feature-grid img, .course-grid img {
  width: 50px; height: 50px; margin-bottom: 16px;
}

.card-container {
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 2px 14px rgba(32,77,57,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 23px;
  border: 1.5px solid #E5E7E2;
  transition: outline 0.2s, box-shadow 0.16s, border 0.16s;
}
.card:hover {
  border-color: #246148;
  box-shadow: 0 7px 21px rgba(36,97,72,0.09);
  outline: 2px solid #B79A5C;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
}

/* HERO SECTION ------------------------------------------------------------ */
.hero {
  background: linear-gradient(90deg, #E5E7E2 80%, #B79A5C 100%);
  border-bottom: 6px solid #246148;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 38px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.9rem;
  letter-spacing: 0.025em;
  color: #204d39;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.22rem;
  margin-bottom: 14px;
}

/* CTA SECTION ------------------------------------------------------------- */
.cta {
  background: #246148;
  color: #fff;
  border-radius: 32px 0 32px 0;
  margin-bottom: 0;
  margin-top: 40px;
  padding: 48px 20px;
  box-shadow: 0 10px 34px rgba(32,77,57,0.10);
  border: 2px solid #B79A5C;
}
.cta h2, .cta p {
  color: #fff;
}

/* TESTIMONIALS ------------------------------------------------------------ */
.testimonials {
  background: #fff;
  border-radius: 28px 0 28px 0;
  padding-top: 36px;
  padding-bottom: 36px;
  margin-bottom: 60px;
}
.testimonials h2 {
  text-align: left;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F8F9F7;
  border-radius: 14px 6px 14px 6px;
  box-shadow: 0 1.5px 6px rgba(32,77,57,0.12);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 400px;
  border: 1.5px solid #B79A5C;
  flex: 1 1 240px;
  transition: box-shadow 0.14s, border 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(36,97,72,0.09);
  border-color: #246148;
}
.testimonial-card blockquote {
  color: #204d39;
  border: none;
  font-size: 1.1rem;
}
.testimonial-rating {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-bottom: -6px;
}
.testimonial-rating img {
  width: 22px;
  height: 22px;
}
.testimonials cite {
  color: #246148;
  font-size: 0.96rem;
  font-style: normal;
}

/* PRICING TABLE ----------------------------------------------------------- */
.pricing-table {
  border-collapse: collapse;
  width: 100%;
  background: #F8F9F7;
  border-radius: 14px 4px 14px 4px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 1.5px 6px rgba(32,77,57,0.08);
}
.pricing-table th, .pricing-table td {
  border: 1px solid #E5E7E2;
  padding: 16px 11px;
  text-align: left;
  font-size: 1rem;
}
.pricing-table thead th {
  background: #B79A5C;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  border-bottom: 2px solid #204d39;
}
.pricing-table tbody tr:nth-child(odd) {
  background: #fff;
}
.pricing-table tbody tr:nth-child(even) {
  background: #F8F9F7;
}

/* HEADER & NAV ------------------------------------------------------------ */
header {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 12px 0 12px 0;
  border-bottom: 2.5px solid #E5E7E2;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.logo img {
  width: 135px;
  height: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: 44px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: #204d39;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border 0.18s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #B79A5C;
  position: absolute;
  left: 0; bottom: -2px;
  transition: width 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B79A5C;
}
.main-nav a:hover:after {
  width: 100%;
}
.mobile-menu-toggle {
  display: none;
  background: #246148;
  color: #fff;
  font-size: 1.85rem;
  border: none;
  border-radius: 7px;
  padding: 2px 13px;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B79A5C; color: #204d39;
}

/* MOBILE MENU ------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 1000;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(36,97,72,0.94);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #B79A5C;
  color: #204d39;
  border: none;
  font-size: 2.2rem;
  border-radius: 7px;
  padding: 2px 18px;
  margin: 28px 0 10px 30px;
  align-self: flex-start;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 1021;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #246148;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 40px 0 0 38px;
  width: 70vw;
  max-width: 335px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B79A5C;
  border-color: #B79A5C;
}

/* FOOTER ------------------------------------------------------------------ */
footer {
  background: #204d39;
  color: #fff;
  padding: 40px 0 12px 0;
  margin-top: 48px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 22px;
}
.footer-columns > div, .footer-contact {
  min-width: 220px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 6px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B79A5C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact h3 {
  font-size: 1.08rem;
  color: #B79A5C;
  letter-spacing: 0.045em;
  margin-bottom: 7px;
}
.footer-contact p, .footer-contact a {
  font-size: 0.96rem;
  color: #e0e4df;
  margin-bottom: 2px;
}
.footer-contact img {
  width: 16px;
  vertical-align: middle;
  margin-right: 4px;
}
.brand-tagline {
  margin-top: 17px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.04rem;
  color: #B79A5C;
}
.footer-bottom {
  text-align: center;
  color: #aaa;
  font-size: 0.99rem;
}

/* SOCIAL NAV -------------------------------------------------------------- */
.social-nav {
  display: flex;
  gap: 28px;
  margin-top: 12px;
}
.social-nav a {
  color: #246148;
  font-size: 1.03rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color 0.14s;
}
.social-nav a:hover {
  color: #B79A5C;
}
.social-nav img {
  width: 22px;
  height: 22px;
}

/* BOOKING INFO ------------------------------------------------------------ */
.booking-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.booking-info ul {
  margin-bottom: 9px;
}

/* LEGAL PAGES ------------------------------------------------------------- */
.legal {
  background: #fff;
  border-radius: 18px 0 18px 0;
  padding: 40px 23px 37px 23px;
  margin-bottom: 60px;
  box-shadow: 0 1.5px 12px rgba(32,77,57,0.06);
}
.legal h1, .legal h2 {
  color: #246148;
}
.legal a {
  color: #246148;
  text-decoration: underline;
}

/* TABLE STYLING ENHANCEMENTS ---------------------------------------------- */
table {
  margin-top: 16px;
  min-width: 220px;
}

/* RESPONSIVE -------------------------------------------------------------- */
@media (max-width: 1150px) {
  .container { max-width: 99vw; }
  .footer-columns { gap: 24px; }
}
@media (max-width: 900px) {
  .feature-grid, .course-grid, .card-container, .testimonial-slider, .footer-columns, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-columns > div {
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .container { padding-left: 12px; padding-right: 12px; }
  .hero { padding-top: 30px; padding-bottom: 18px; }
  .hero h1 { font-size: 2rem; }
  .cta { padding: 32px 12px; }
  .testimonials, .legal {
    padding: 23px 7px 25px 7px;
  }
  .pricing-table th, .pricing-table td {
    padding: 10px 5px;
    font-size: 0.96rem;
  }
  .footer-contact, .footer-nav, .brand-tagline {
    font-size: 0.99rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-wrapper, .text-section {
    gap: 14px;
  }
  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
  .btn-primary { font-size: 1rem; padding: 10px 24px; }
  .brand-tagline { font-size: 0.91rem; }
}

/* FINE-TUNE FONT LOADING -------------------------------------------------- */
@font-face {
  font-family: 'Playfair Display';
  src: local('Playfair Display'), url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: local('Lato'), url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* COOKIE CONSENT BANNER --------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(32,77,57,0.13);
  padding: 23px 18px 17px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  z-index: 9999;
  transition: transform 0.32s, opacity 0.20s;
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner-text {
  color: #204d39;
  font-size: 1.04rem;
  max-width: 65vw;
}
.cookie-banner-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner .btn-cookie {
  background: #246148;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  border: none;
  padding: 7px 22px;
  border-radius: 19px 7px 19px 7px;
  font-size: 0.99rem;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.btn-cookie.cookie-settings {
  background: #B79A5C;
  color: #204d39;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #B79A5C;
  color: #204d39;
}
.cookie-banner .btn-cookie.cookie-settings:hover {
  background: #246148;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL ------------------------------------------------ */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,77,57,0.43);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px 3px 19px 3px;
  box-shadow: 0 5px 34px rgba(32,77,57,0.16);
  padding: 34px 26px 22px 26px;
  min-width: 340px;
  max-width: 90vw;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #204d39;
  z-index: 10100;
  animation: cookieModalAppear 0.28s cubic-bezier(.64,0,.09,1) 1;
}
@keyframes cookieModalAppear {
  from { transform: scale(0.84) translateY(40px); opacity:0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: #246148;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category-label {
  flex: 1;
  line-height: 1.4;
  color: #173325;
  font-size: 0.99rem;
}
.cookie-toggle-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #E5E7E2;
  border-radius: 14px;
  position: relative;
  outline: none;
  margin-right: 9px;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle-switch:checked {
  background: #246148;
}
.cookie-toggle-switch:disabled {
  background: #ddd;
  cursor: not-allowed;
}
.cookie-toggle-switch::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.16s;
}
.cookie-toggle-switch:checked::before {
  left: 20px;
  background: #B79A5C;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal-actions .btn-cookie {
  min-width: 94px;
}

/* Z-INDEX CONTEXT --------------------------------------------------------- */
header { z-index: 1001; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay, .cookie-modal { z-index: 3100; }

/* INTERACTIVE STATES (MICRO INTERACTIONS) --------------------------------- */
a, button, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .btn-cookie {
  transition: background 0.16s, color 0.16s, transform 0.13s, box-shadow 0.21s;
}
.btn-primary:active, .btn-secondary:active, .btn-cookie:active {
  box-shadow: 0 0 0 3px #B79A5C44;
  transform: scale(0.96) skew(-2deg, 0);
}
.mobile-nav a:active {
  color: #fff;
  background: #B79A5C20;
  border-radius: 8px;
}

/* SPACING / MARGIN ENFORCEMENTS ------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container > *, .feature-grid > *, .course-grid > *, .testimonial-slider > *, .content-grid > *, .footer-columns > * {
  margin-bottom: 20px;
}

/* PREVENT OVERLAPPING ----------------------------------------------------- */
.card, .testimonial-card, .footer-columns > div, .feature-grid > div, .course-grid > div {
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
}

/* MISC -------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #e4e8e3;
}
::-webkit-scrollbar-thumb {
  background: #24614844;
  border-radius: 5px;
}

/* END OF CSS */
