/* --- CSS RESET & NORMALIZATION --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F7F1;
  color: #17494D;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #21696F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B1B68D;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
blockquote {
  quotes: "\201C" "\201D" "\2018" "\2019";
  font-style: italic;
}
th, td {
  padding: 8px;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* --- TYPOGRAPHY: CREATIVE & ARTISTIC --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  color: #17494D;
  margin-bottom: 24px;
  text-shadow: 1px 2px #B1B68D33;
}
h2 {
  font-size: 2rem;
  color: #17494D;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
h3 {
  font-size: 1.2rem;
  color: #21696F;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  color: #384348;
}
p, ul, ol, li, dl, dd, dt,
footer, blockquote, cite {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #17494D;
  margin-bottom: 1em;
}
strong {
  color: #21696F;
  font-weight: 700;
}

/* --- BUTTONS & CTAS --- */
.cta-primary, .cookie-banner .btn-primary {
  display: inline-block;
  background: #17494D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 28px;
  padding: 14px 32px;
  margin: 12px 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.14s, box-shadow 0.18s;
  box-shadow: 0 2px 12px #17494d18;
  position: relative;
  outline: none;
}
.cta-primary:hover,.cta-primary:focus,
.cookie-banner .btn-primary:hover,.cookie-banner .btn-primary:focus {
  background: #B1B68D;
  color: #17494D;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px #b1b68d22;
}
.btn-secondary, .cookie-banner .btn-secondary {
  background: #B1B68D;
  color: #17494D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 12px 22px;
  cursor: pointer;
  margin: 0 8px 0 0;
  transition: background 0.15s, color 0.15s;
}
.btn-secondary:hover, .btn-secondary:focus,
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #17494D;
  color: #fff;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #F4F7F1;
  padding: 0 0 8px 0;
  box-shadow: 0 3px 14px #B1B68D21;
  z-index: 100;
}
.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 12px 0;
  gap: 18px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #17494D;
  padding: 7px 12px;
  border-radius: 8px;
  background: transparent;
  transition: color 0.15s, background 0.19s;
  line-height: 1.3;
}
.main-nav a:hover, .main-nav a:focus {
  background: #B1B68D44;
  color: #21696F;
}
.main-nav .cta-primary {
  background: linear-gradient(90deg, #B1B68D 65%, #F4F7F1 100%);
  color: #17494D;
  box-shadow: 0 3px 16px #B1B68D33;
  border: 1.5px solid #B1B68D77;
  margin-left: 12px;
  font-size: 1rem;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #17494D;
  color: #fff;
  border: 1.5px solid #17494D;
}

.header-top img {
  height: 52px;
  width: auto;
  margin-right: 8px;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  background: transparent;
  color: #17494D;
  border: none;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  padding: 6px 12px;
  margin-left: 16px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B1B68D33;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #F4F7F1ee;
  z-index: 1111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.87,-0.14,.19,1.01);
  box-shadow: 2px 0 16px #B1B68D55;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #17494D;
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 24px 8px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B1B68D33;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 0 36px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #17494D;
  padding: 12px 10px;
  border-radius: 8px;
  background: transparent;
  font-weight: 600;
  width: 100%;
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B1B68D44;
  color: #21696F;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- SECTIONS, CONTAINERS, SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
}

/* Artistic accent for selected h2 elements */
h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 5px;
  margin: 12px 0 0 0;
  background: #B1B68D;
  border-radius: 3px;
  opacity: 0.59;
}

/* --- FLEXBOX GRIDS & PATTERNS --- */
.card-container, .feature-grid, .value-grid, .service-grid, .blog-teaser-list, .course-grid, .service-teasers {
  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;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px #17494d14;
  flex: 1 1 300px;
  min-width: 240px;
  color: #17494D;
  border-left: 6px solid #B1B68D;
}
.testimonial-card blockquote {
  color: #17494D;
  font-size: 1.15rem;
  margin: 0 0 10px 0;
}
.testimonial-card cite {
  color: #21696F;
  font-size: 1rem;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- CARDS & ARTISTIC TEASERS --- */
.feature-grid > div, .value-grid > div, .service-teasers > div, .service-grid > div, .course-grid > div, .blog-teaser-list > article {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px #21696F14;
  padding: 28px 26px;
  flex: 1 1 250px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.16s, background 0.11s;
  position: relative;
}
.feature-grid > div:hover, .value-grid > div:hover, .service-teasers > div:hover, .service-grid > div:hover, .course-grid > div:hover, .blog-teaser-list > article:hover {
  background: #B1B68D11;
  transform: translateY(-5px) scale(1.025) rotate(-1deg);
  box-shadow: 0 7px 26px #B1B68D21;
  z-index: 2;
}
.value-grid img, .feature-grid img, .contact-details img {
  height: 42px;
  width: 42px;
  filter: drop-shadow(0 2px 6px #B1B68D22);
  margin-bottom: 7px;
}

.service-teasers {
  margin-bottom: 24px;
}
.service-teasers > div {
  min-width: 220px;
}

.blog-teaser-list {
  width: 100%;
}
.blog-teaser-list > article a {
  display: inline-block;
  font-weight: 600;
  margin-top: 8px;
  padding: 8px 14px;
  background: #B1B68D44;
  border-radius: 10px;
  color: #17494D;
  text-decoration: none;
  transition: background 0.14s, color 0.14s;
}
.blog-teaser-list > article a:hover, .blog-teaser-list > article a:focus {
  background: #17494D;
  color: #fff;
}

/* Contact Section */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px #B1B68D10;
  padding: 12px 22px;
  gap: 9px;
}
.contact-details img {
  margin: 0 9px 0 0;
}

.map-placeholder {
  background: #B1B68D22;
  border-radius: 18px;
  padding: 24px 18px;
  margin: 12px 0;
  min-height: 100px;
}

/* --- TESTIMONIAL SECTION --- */
.testimonial-card {
  background: #fff !important;
  color: #17494D !important;
}
.testimonial-card blockquote {
  color: #17494D;
}
.testimonial-card cite {
  color: #21696F;
}

/* --- FOOTER STYLES --- */
footer {
  background: #17494D;
  color: #fff;
  padding: 0;
  margin-top: 40px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 16px #B1B68D22;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 16px 24px 16px;
}
.footer-top img {
  width: 54px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.82;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #B1B68D44;
  color: #F4F7F1;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.97rem;
  opacity: 0.95;
  background: #17494D;
  padding: 16px 18px;
  border-radius: 0 0 28px 28px;
}
.footer-bottom a {
  color: #B1B68D;
  margin-right: 5px;
}

/* --- DL FAQ STYLES --- */
dt {
  font-weight: 700;
  color: #21696F;
  margin-top: 18px;
  font-size: 1.09rem;
}
dd {
  margin-bottom: 8px;
  color: #17494D;
  margin-left: 0;
  font-size: 1rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px){
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .content-wrapper {
    max-width: 98vw;
  }
}
@media (max-width: 992px){
  .card-container, .feature-grid, .value-grid, .service-grid, .blog-teaser-list, .course-grid, .service-teasers  {
    gap: 18px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .section {
    padding: 24px 4vw;
    margin-bottom: 34px;
  }
  .main-nav {
    display: none;
  }
  .header-top {
    padding: 12px 0 4px 0;
  }
  .card-container, .feature-grid, .value-grid, .service-grid, .blog-teaser-list, .course-grid, .service-teasers  {
    flex-direction: column;
    gap: 22px;
  }
  .contact-details {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 7px;
    padding: 16px 8px;
  }
  .footer-top nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 1rem;
  }
  p, ul, ol, li, dl, dd, dt {
    font-size: 0.98rem;
  }
  .footer-top img {
    width: 38px;
  }
}

/* --- MICRO-INTERACTIONS & EFFECTS --- */
.card-container > .card,
.feature-grid > div, .value-grid > div, .service-grid > div, .service-teasers > div, .blog-teaser-list > article {
  transition: transform 0.18s, box-shadow 0.19s, background 0.13s;
  will-change: transform;
}
.card-container > .card:active, .feature-grid > div:active, .value-grid > div:active, .service-grid > div:active, .service-teasers > div:active, .blog-teaser-list > article:active {
  transform: scale(0.97);
  box-shadow: 0 1px 8px #B1B68D22;
}

/* Focus styles for accessibility */
a:focus, button:focus, .cta-primary:focus, .btn-secondary:focus {
  outline: 2px solid #B1B68D;
  outline-offset: 1.5px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1700;
  background: #fff;
  color: #17494D;
  box-shadow: 0 -6px 28px #17494d26;
  padding: 24px 16px 18px 16px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner .banner-text {
  flex: 1 1 210px;
  margin-bottom: 7px;
  font-size: 1rem;
  color: #17494D;
}
.cookie-banner .banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  margin: 0;
  padding: 10px 20px;
  font-size: 0.97rem;
  border-radius: 16px;
  box-shadow: 0 2px 7px #B1B68D33;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #B1B68D;
  border: 1.5px solid #B1B68D;
  border-radius: 16px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #B1B68D;
  color: #17494D;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 15px 8px;
    gap: 12px;
  }
  .cookie-banner .banner-actions {
    gap: 10px;
  }
}

/* --- COOKIE CONSENT MODAL POPUP --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1800;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 73, 77, 0.56);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBackdrop 0.23s;
}
@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 44px #17494d33;
  max-width: 385px;
  width: 92vw;
  margin: 22px;
  padding: 30px 22px 18px 22px;
  z-index: 1805;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideInModal 0.32s cubic-bezier(.83,-0.05,.19,1.01);
  position: relative;
}
@keyframes slideInModal {
  from { transform: translateY(70px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: #17494D;
}
.cookie-modal-category {
  margin-bottom: 13px;
}
.cookie-modal-category label {
  font-weight: 500;
  color: #21696F;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #B1B68D;
  width: 18px;
  height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  padding: 8px 20px;
  font-size: 0.97rem;
  border-radius: 15px;
  margin-left: 0;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #B1B68D;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #B1B68D33;
}
/* --- END COOKIE STYLES --- */

/* --- ARTISTIC/CREATIVE COLOR SPLASHES & ACCENTS --- */
h1, h2, h3 {
  position: relative;
}
h1:before, h2:before {
  content: '';
  display: block;
  position: absolute;
  left: -15px;
  top: 8px;
  width: 20px;
  height: 20px;
  background: #B1B68D;
  opacity: 0.17;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Add playful underline for display headings */
h1, h2 {
  z-index: 2;
}
h1::after {
  content: '';
  display: block;
  height: 5px;
  width: 64px;
  background: #B1B68D;
  margin: 13px 0 2px 0;
  border-radius: 6px;
  opacity: 0.45;
}

/* --- FORM ELEMENTS --- */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid #B1B68D;
  background: #fff;
  color: #17494D;
  border-radius: 12px;
  padding: 9px 14px;
  margin-bottom: 16px;
  font-size: 1.03rem;
  transition: border 0.13s;
}
input:focus, textarea:focus {
  border-color: #21696F;
  outline: none;
}
label {
  font-size: 1rem;
  color: #21696F;
  margin-bottom: 5px;
  font-weight: 600;
}

/* --- LISTS --- */
ul, ol {
  margin-left: 1.1em;
}
ul li, ol li {
  padding-left: 0.4em;
  margin-bottom: 7px;
  position: relative;
  color: #17494D;
}
ul li:before {
  content: '\2022';
  color: #B1B68D;
  margin-right: 8px;
  font-size: 1.08em;
  vertical-align: middle;
}
ol li:before {
  display: none;
}

/* --- MISC: PREVENT OVERLAP --- */
.card, .testimonial-card, .contact-details > div, .feature-grid > div, .value-grid > div, .service-grid > div, .service-teasers > div, .blog-teaser-list > article {
  margin-bottom: 20px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* --- Hide visually but keep for accessibility --- */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
}
