/* ===================================================================
   RESET & NORMALIZATION - Start with a clean, consistent base
   =================================================================== */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #21366b;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
}

/* ===================================================================
   BASE COLORS & BRAND VARS
   =================================================================== */
:root {
  --color-primary: #21366b;
  --color-secondary: #88b04b;
  --color-accent: #f7f7f7;
  --color-warm1: #ffe9d2;
  --color-warm2: #fff7ef;
  --color-warm3: #fde1ba;
  --color-warm4: #fcd4b1;
  --color-warning: #ffaf45;
  --color-grey: #7d869c;
  --color-white: #fff;
  --color-black: #111;
  --radius: 18px;
  --radius-btn: 24px;
  --shadow1: 0 2px 8px rgba(240,140,30,0.07), 0 1.5px 6px rgba(33,54,107,0.07);
  --shadow-card: 0 4px 20px rgba(33,54,107,0.09);
  --shadow-strong: 0 8px 24px rgba(33,54,107,0.16);
  --transition: 0.28s cubic-bezier(.68,-0.55,.27,1.55);
}

/* ===================================================================
   TYPOGRAPHY - Font family, weights, sizes, headings
   =================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--color-primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.16;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.27rem;
  font-weight: 600;
  margin-bottom: 7px;
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-grey);
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
.subheadline {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-secondary);
  margin: 0 0 24px 0;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ===================================================================
   CONTAINER - Responsive centered layout
   =================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-warm2);
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
}

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
header {
  background: var(--color-warm3);
  box-shadow: 0 4px 18px rgba(33,54,107,0.04);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
  position: relative;
}
header a img {
  width: 154px;
  height: auto;
  margin-right: 25px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 5px 0 5px 0;
  border-radius: 3px;
  transition: background .2s, color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-warm1);
  color: var(--color-secondary);
}
.btn.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-left: 18px;
  box-shadow: var(--shadow1);
  transition: background var(--transition), box-shadow var(--transition), transform .17s;
  cursor: pointer;
  outline: none;
  border: none;
  display: inline-block;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #6c8e36;
  box-shadow: var(--shadow-strong);
  transform: translateY(-1px) scale(1.03);
}
.btn.btn-secondary {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 10px;
  box-shadow: var(--shadow1);
  transition: background var(--transition), box-shadow var(--transition), transform .17s;
  display: inline-block;
}
.btn.btn-secondary:hover,
.btn.btn-secondary:focus {
  background: #132044;
  box-shadow: var(--shadow-strong);
  transform: translateY(-1px) scale(1.025);
}

/* ======================
   Hamburger Menu (Mobile)
   ====================== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 2rem;
  border-radius: 18px;
  padding: 10px 16px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: var(--shadow1);
  transition: background .17s, color .19s, transform .2s;
  z-index: 110;
}
.mobile-menu-toggle:active {
  background: var(--color-primary);
}

/* ============
   MOBILE MENU
   ============ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(33,54,107,0.94);
  color: #fff;
  z-index: 200;
  transform: translateX(100vw);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  margin: 28px 32px 0 0;
  cursor: pointer;
  align-self: flex-end;
  z-index: 210;
}
.mobile-nav {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  border-radius: 6px;
  padding: 12px 32px;
  transition: background .17s, color .16s;
  width: 80%;
  text-align: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ============
   MAIN LAYOUT
   ============ */
main {
  padding-bottom: 48px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-warm2);
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
}
section.hero {
  background: var(--color-warm1);
  text-align: center;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--color-primary);
}
.hero .subheadline {
  font-size: 1.27rem;
  color: var(--color-secondary);
}

/* ========================
   CARDS, FEATURES, GRIDS
   ======================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 20px 0 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 100%;
  transition: box-shadow .20s, transform .18s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
}
.feature-item:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-3px) scale(1.01);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  padding: 24px 20px;
  transition: box-shadow .20s, transform .18s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.008);
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section img {
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
}

/* =============================
   TESTIMONIAL CARDS AND GROUPS
   ============================= */
.testimonial-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 20px 0 0 0;
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  width: 100%;
  flex: 1 1 310px;
  min-width: 275px;
  max-width: 410px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .15s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-strong);
  transform: scale(1.013);
}
.testimonial-card blockquote {
  font-size: 1.09rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 11px;
}
.testimonial-meta {
  font-size: 0.92rem;
  color: #845f12;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.star-rating {
  color: var(--color-warning);
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.06em;
}


/* ==============
   BLOG LIST/CARDS
   ==============
*/
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.blog-post-preview {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 20px 19px 20px;
  flex: 1 1 265px;
  min-width: 215px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .20s, transform .17s;
}
.blog-post-preview:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.015);
}
.blog-post-preview h3 {
  font-size: 1.21rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.blog-post-preview .category-tag {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 14px;
  font-size: 0.82rem;
  display: inline-block;
  padding: 4px 14px;
  margin-top: 5px;
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.category-filters a {
  background: var(--color-warm3);
  color: var(--color-primary);
  border-radius: 15px;
  padding: 7px 20px;
  font-size: 0.98rem;
  transition: background .15s, color .15s;
}
.category-filters a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ============
   FAQ / SCHEDULE LISTS
   ============ */
.faq-list,
.schedule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0;
}
.faq-list > div,
.schedule-list > div {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 20px 17px 20px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  min-width: 230px;
  transition: box-shadow .20s, transform .16s;
}
.faq-list > div:hover,
.schedule-list > div:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-1px) scale(1.01);
}

/* ===================
   FOOTER
   =================== */
footer {
  background: var(--color-warm3);
  padding: 38px 0 0 0;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -1.5px 8px rgba(240,140,30,0.07);
  margin-top: 32px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 12px;
}
.footer-nav a {
  color: var(--color-primary);
  opacity: 0.82;
  transition: color .13s, opacity .13s;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  opacity: 1;
  background: var(--color-warm2);
}
.contact-info {
  color: var(--color-grey);
  font-size: 0.97rem;
  margin-top: 8px;
}
footer a img {
  width: 68px;
  height: auto;
  margin-bottom: 15px;
}

/* ===============================
   SPECIAL/UTILITY CLASSES & LAYOUTS
   =============================== */
.legal-text {
  line-height: 1.7;
  font-size: 1rem;
  color: var(--color-grey);
  background: var(--color-warm2);
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  padding: 24px 20px;
  margin-bottom: 12px;
}
.address-map {
  background: var(--color-warm4);
  border-radius: var(--radius);
  padding: 22px 22px 13px 20px;
  box-shadow: var(--shadow1);
  margin-bottom: 16px;
}
.contact-details {
  background: var(--color-warm2);
  border-radius: var(--radius);
  padding: 18px 19px 10px 17px;
  box-shadow: var(--shadow1);
}
.contact-details img {
  width: 21px;
  height: 21px;
  margin-right: 10px;
  vertical-align: middle;
}
.before-after {
  background: var(--color-warm4);
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  padding: 18px 20px;
  margin-top: 22px;
}
.recommended-content {
  background: var(--color-warm1);
  border-radius: 12px;
  padding: 15px 17px;
  font-size: 1.03rem;
  font-style: italic;
  color: var(--color-secondary);
  margin-top: 19px;
}

/* ==============================
   COOKIE CONSENT BANNER & MODAL
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-warm1);
  color: var(--color-primary);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  box-shadow: 0 -4px 22px rgba(33,54,107,0.11);
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 18px 18px;
  gap: 22px;
  font-size: 1.02rem;
  animation: fadeInBottom .6s;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 24px;
  font-size: 0.98rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow1);
  transition: background .15s, color .14s, box-shadow .15s;
}
.cookie-banner .accept-btn {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-banner .accept-btn:hover {
  background: #6c8e36;
}
.cookie-banner .reject-btn {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-banner .reject-btn:hover {
  background: #151e38;
}
.cookie-banner .settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .settings-btn:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,54,107,0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s;
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 19px;
  box-shadow: var(--shadow-strong);
  padding: 38px 30px 31px 30px;
  max-width: 410px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideDown .3s;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cookie-modal .category-switch {
  margin-left: auto;
}
.cookie-modal .category-switch input[type="checkbox"] {
  display: none;
}
.cookie-modal .category-switch label {
  display: inline-block;
  width: 38px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  transition: background .14s;
  box-shadow: var(--shadow1);
}
.cookie-modal .category-switch label:after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-secondary);
  position: absolute;
  left: 2px; top: 2px;
  transition: left .15s, background .14s;
}
.cookie-modal .category-switch input[type="checkbox"]:checked + label {
  background: var(--color-secondary);
}
.cookie-modal .category-switch input[type="checkbox"]:checked + label:after {
  left: 18px;
  background: var(--color-primary);
}
.cookie-modal .essential {
  font-weight: 600;
  color: var(--color-grey);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 23px;
  border-radius: var(--radius-btn);
  font-size: 0.98rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow1);
}
.cookie-modal .cookie-modal-actions .save-btn {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal .cookie-modal-actions .cancel-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-modal .cookie-modal-actions .cancel-btn:hover {
  background: var(--color-secondary);
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { transform: translateY(-32px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ====================================
   TRANSITIONS, MICRO-INTERACTIONS
   ==================================== */
a, button, .btn {
  transition: background .18s, color .18s, box-shadow .16s, transform .16s;
}
input, select, textarea {
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  padding: 10px 14px;
  margin-bottom: 14px;
  border: 1px solid var(--color-warm3);
  transition: box-shadow .16s, border-color .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 2px 2px var(--color-warm1);
}

/* =========================================
   RESPONSIVE DESIGN (Mobile First Approach)
   ========================================= */
@media (max-width: 1100px) {
  .container {
    max-width: 920px;
    padding: 0 13px;
  }
  .features-grid, .content-grid, .testimonial-group, .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .features-grid, .content-grid, .testimonial-group, .card-container, .blog-list {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-height: 62px;
    padding: 0 11px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    align-self: flex-end;
  }
  .section, section {
    margin-bottom: 37px;
    padding: 27px 7px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .features-grid, .testimonial-group, .card-container, .blog-list, .faq-list, .schedule-list, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .feature-item, .testimonial-card, .card, .blog-post-preview, .faq-list > div, .schedule-list > div {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    margin-bottom: 15px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 11px;
    margin-top: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .category-filters {
    gap: 6px;
  }
  .cookie-modal {
    padding: 22px 8px 19px 8px;
    max-width: 97vw;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .section, section {
    padding: 17px 2px;
  }
  .btn.btn-primary, .btn.btn-secondary {
    padding: 10px 16px;
    font-size: 0.99rem;
  }
  .cookie-banner {
    padding: 14px 7px 11px 7px;
    font-size: 0.94rem;
    flex-direction: column;
    gap: 11px;
  }
  .cookie-modal {
    padding: 13px 4px 9px 4px;
    font-size: 0.95rem;
  }
}

/* ============================================
   MISC: OTHER UTILITY CLASSES, ACCESSIBILITY
   ============================================ */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  background: var(--color-warm2);
}
::-webkit-scrollbar-thumb {
  background: var(--color-warm1);
  border-radius: 5px;
}

/* End of CSS */
