/* CSS RESET & NORMALIZE */

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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  line-height: 1.5;
  background: #F2EADB;
  color: #24496C;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

a {
  color: #76A453;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #24496C;
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.6em;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #24496C;
  font-weight: 700;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p {
  margin-bottom: 14px;
  font-size: 1rem;
}

strong {
  font-weight: 700;
  color: #24496C;
}

em {
  font-style: italic;
  color: #76A453;
}

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

.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* SPACING PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(36,73,108,0.08);
  padding: 28px 22px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(36,73,108,0.18);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(36,73,108,0.11);
  min-width: 220px;
  max-width: 380px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/**********************/
/* HEADER + NAV       */
/**********************/
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(36,73,108,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}

header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  min-height: 74px;
}

header img {
  height: 40px;
  border-radius: 8px;
  margin-right: 8px;
}

header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

header nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #24496C;
  padding: 8px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  font-size: 1.06em;
  transition: background 0.2s, color 0.2s;
}

header nav a:hover, header nav a:focus {
  background: #F2EADB;
  color: #76A453;
}

.cta-btn {
  background: #76A453;
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 30px;
  font-size: 1.1em;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(118,164,83,0.11);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #24496C;
  color: #fff;
  box-shadow: 0 4px 20px rgba(36,73,108,0.16);
  transform: translateY(-2px) scale(1.03);
}

/*************************/
/* MOBILE MENU            */
/*************************/
.mobile-menu-toggle {
  display: none;
  background: #F2EADB;
  color: #24496C;
  font-size: 2.1em;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
  z-index: 32;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #76A453;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 310px;
  background: #fff;
  box-shadow: -4px 0 18px rgba(36,73,108,0.20);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.86,.03,.65,.98);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 24px 20px 0 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: #F2EADB;
  color: #24496C;
  border: none;
  border-radius: 50%;
  font-size: 2em;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 60;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #76A453;
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #24496C;
  font-size: 1.16em;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  text-decoration: none;
  padding: 13px 10px;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2EADB;
  color: #76A453;
}

/****************************************/
/* HERO SECTIONS                        */
/****************************************/
.hero {
  background: #24496C;
  color: #fff;
  padding: 64px 0 48px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 32px 0 rgba(36,73,108, 0.11);
}
.hero h1, .hero p, .hero a {
  color: #fff;
}
.hero h1 {
  font-size: 2.5rem;
}

.hero .cta-btn {
  background: #76A453;
  color: #fff;
  margin-top: 20px;
}
.hero .cta-btn:hover,
.hero .cta-btn:focus {
  background: #fff;
  color: #24496C;
}

/****************************************/
/* GENERIC SECTION, BACKGROUNDS, BUTTONS */
/****************************************/
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

section.cta {
  background: #76A453;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 6px 32px rgba(118,164,83,0.10);
}
section.cta h2,
section.cta p {
  color: #fff;
}

.icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}
.icon-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,73,108,0.08);
  font-size: 1em;
  color: #24496C;
  min-width: 210px;
}

.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  list-style: none;
  margin-bottom: 24px;
}
.feature_grid li, .feature_grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 15px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,73,108,0.07);
  font-size: 1.05em;
  color: #24496C;
  min-width: 230px;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}
.feature_grid img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #F2EADB;
}

.card, .testimonial-card {
  transition: box-shadow 0.20s, transform 0.16s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(36,73,108,0.16);
  transform: translateY(-2px) scale(1.015);
}

/************************/
/* TESTIMONIALS + RATING */
/************************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}

.testimonial-card {
  color: #24496C;
  background: #fff;
  min-width: 230px;
}
.testimonial-card p {
  font-size: 1.07em;
  line-height: 1.5;
  color: #24496C;
  margin-bottom: 5px;
}
.testimonial-card strong {
  color: #76A453;
  font-size: 1em;
}

.rating-summary {
  margin: 15px 0 0 0;
  color: #24496C;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.03em;
}
.rating-summary strong {
  color: #76A453;
}
.rating-summary span {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  font-size: 0.98em;
}

/********** CARDS ************/
.card {
  min-width: 220px;
  border: none;
}

/********* LISTS ******/
.text-section {
  margin-bottom: 24px;
}
.text-section ul {
  margin-bottom: 17px;
}
.text-section li {
  padding-left: 0.45em;
  margin-bottom: 10px;
}

/********* ANNOUNCEMENTS & QUOTES ***********/
.carousel-announcements, .important-info-highlights {
  background: #fffbea;
  border-left: 6px solid #76A453;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(118,164,83, 0.04);
  color: #24496C;
  padding: 18px 26px;
  margin: 15px 0 0 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.motivation-quotes {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.motivation-quotes p {
  font-style: italic;
  color: #76A453;
  font-size: 1.15em;
}

/*********************/
/* FOOTER            */
/*********************/
footer {
  background: #24496C;
  color: #fff;
  padding: 45px 0 20px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 32px rgba(36,73,108, 0.09);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-navigation {
  display: flex;
  gap: 24px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.footer-navigation a {
  color: #F2EADB;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1em;
  transition: color 0.2s;
  padding: 5px 0;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: #76A453;
}
.brand-logo img {
  max-height: 44px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}
.contact-shortinfo {
  color: #F2EADB;
  font-size: 0.99em;
  text-align: center;
}

/********************************************/
/* COOKIE CONSENT BANNER AND MODAL           */
/********************************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 24px rgba(36,73,108,0.11);
  border-radius: 24px 24px 0 0;
  padding: 22px 16px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  z-index: 150;
  transition: transform 0.38s cubic-bezier(.69,.14,.47,.98);
  transform: translateY(0);
  font-size: 1.08em;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-banner-title {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #24496C;
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 2px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-accept {
  background: #76A453;
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #24496C;
  color: #fff;
}
.cookie-reject {
  background: transparent;
  color: #24496C;
  border: 1.5px solid #24496C;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #76A453;
  border-color: #76A453;
  color: #fff;
}
.cookie-settings {
  background: #F2EADB;
  color: #24496C;
}
.cookie-settings:hover,
.cookie-settings:focus {
  background: #24496C;
  color: #fff;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,73,108,0.23);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(36,73,108,0.20);
  padding: 36px 28px;
  min-width: 315px;
  max-width: 94vw;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideUp .36s cubic-bezier(.72,.01,.47,.96);
}
.cookie-modal h2 {
  font-size: 1.28em;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #24496C;
  margin-bottom: 8px;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}
.cookie-modal li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-category-toggle {
  width: 23px;
  height: 23px;
  appearance: none;
  border: 2px solid #24496C;
  border-radius: 7px;
  background: #fff;
  outline: none;
  margin-right: 6px;
  cursor: pointer;
  position: relative;
  transition: border 0.13s, background 0.12s;
}
.cookie-modal .cookie-category-toggle:checked {
  background: #76A453;
  border-color: #76A453;
}
.cookie-modal .cookie-category-toggle:disabled {
  background: #F2EADB;
  border-color: #b5b5b5;
  cursor: not-allowed;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}
@keyframes fadeIn {
  0% { opacity: 0; } to { opacity: 1; }
}
@keyframes slideUp {
  0% { transform: translateY(120px); opacity: 0; } to { transform: translateY(0); opacity: 1;}
}

/********************************************************/
/* RESPONSIVE DESIGN (MOBILE-FIRST)                     */
/********************************************************/
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    max-width: 99vw;
  }
  .footer-navigation {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 1.72rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .hero {
    padding: 36px 0 28px 0;
    border-radius: 0 0 18px 18px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 56px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    padding: 8px 18px;
    font-size: 1em;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .icon-list {
    flex-direction: column;
    gap: 17px;
  }
  .feature_grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  footer {
    padding: 21px 0 10px 0;
    border-radius: 14px 14px 0 0;
  }
  .cookie-banner {
    font-size: 0.99em;
    padding: 14px 6px 14px 8px;
    border-radius: 14px 14px 0 0;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1.10rem;
  }
  .hero {
    padding: 18px 0 12px 0;
  }
  .card, .testimonial-card {
    padding: 14px 10px;
  }
  .cookie-modal {
    padding: 20px 8px;
    min-width: 90vw;
  }
}

/**************** FLEXBOX LAYOUTS: FORCED ****************/
/* All layout containers here use flex and gap+margin only */
.card-container,
.content-grid,
.testimonial-slider,
.icon-list,
.feature_grid,
.footer-navigation,
.text-image-section,
.cookie-banner-buttons,
.cookie-modal-buttons,
.mobile-nav {
  display: flex !important;
}

.card-container,
.content-grid,
.testimonial-slider,
.feature_grid,
.footer-navigation,
.icon-list,
.text-image-section,
.mobile-nav {
  flex-wrap: wrap !important;
  gap: 20px;
}

.text-image-section {
  align-items: center;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px;
  }
}
/***********************************************************/
/* UTILITY & HELPER CLASSES                                */
/***********************************************************/
.rounded {
  border-radius: 14px !important;
}
.shadow {
  box-shadow: 0 2px 14px rgba(36,73,108,0.09) !important;
}
.bg-white {
  background: #fff !important;
  color: #24496C !important;
}
.bg-primary {
  background: #24496C !important;
  color: #fff !important;
}
.bg-accent {
  background: #F2EADB !important;
  color: #24496C !important;
}

/**************************************************************/
/* CUSTOM SCROLLBAR FOR MODALS & CARDS - Friendlier Feeling   */
/**************************************************************/
::-webkit-scrollbar {
  width: 10px;
  background: #F2EADB;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #76A453;
  border-radius: 8px;
}

/********************************/
/* INPUTS (if present in modals) */
/********************************/
input, select, textarea, button {
  font-family: inherit;
  font-size: 1em;
  border-radius: 8px;
  outline: none;
}
button:focus, a:focus {
  outline: 2px solid #76A453;
  outline-offset: 1.5px;
}

/************ HIDE ELEMENTS UTILITY ************/
.hide { display: none !important; }

/******************************************************/
/* MICRO-INTERACTIONS + HOVER STATES (CARDS, BUTTONS) */
/******************************************************/
.card, .testimonial-card, .icon-list > div, .feature_grid li {
  cursor: pointer;
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .testimonial-card:hover, .icon-list>div:hover, .feature_grid li:hover {
  box-shadow: 0 8px 24px rgba(36,73,108,0.13);
  transform: translateY(-2px) scale(1.012);
}
