/* ----------------------------------
   CSS RESET & BASELINE NORMALIZATION
---------------------------------- */
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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  color: #222;
  background-color: #FAFAFA;
  font-family: 'Roboto', Georgia, serif;
  font-weight: 400;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #124780;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #32B67A;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ----------------------------------
   TYPOGRAPHY – Elegant Classic
---------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #124780;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p, ul, ol {
  color: #363636;
  margin-bottom: 18px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}

/* ----------------------------------
   CONTAINER AND LAYOUT
---------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----------------------------------
   HEADER & NAVIGATION
---------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(18,71,128,0.07);
  border-bottom: 1px solid #EEE;
  font-family: 'Montserrat', Georgia, serif;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 32px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
header nav a {
  font-size: 1rem;
  color: #124780;
  padding: 5px 0;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #32B67A;
}
.cta-btn {
  display: inline-block;
  background: #124780;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 28px;
  border-radius: 30px;
  box-shadow: 0 3px 17px rgba(18,71,128,0.07);
  margin-left: 16px;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #32B67A;
  color: #fff;
  box-shadow: 0 6px 24px rgba(50,182,122,0.14);
}
header img {
  max-height: 48px;
  height: 48px;
}
@media (max-width: 900px) {
  header .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  header nav {
    gap: 16px;
  }
}

/* ----------------------------------
   MOBILE MENU (BURGER NAV)
---------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: #124780;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(18,71,128,0.10);
  border: none;
  transition: background .2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #32B67A;
}
@media (max-width: 900px) {
  header nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  z-index: 1080;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,250,250,0.98);
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 3px 0 24px rgba(50,182,122,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 15px 0 auto;
  font-size: 2rem;
  background: #124780;
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px rgba(18,71,128,0.09);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #32B67A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  width: 100%;
  padding-left: 30px;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.2rem;
  padding: 14px 0 14px 4px;
  color: #124780;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  width: 100%;
  border-radius: 5px;
  transition: background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e7efe6;
  color: #32B67A;
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------------------------
   MAIN LAYOUT & SECTIONS
---------------------------------- */
main {
  width: 100%;
  background: #FAFAFA;
  padding-bottom: 60px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 17px rgba(18,71,128,0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* ----------------------------------
   FLEX UTILITY CLASSES
---------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(18,71,128,0.05);
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(50,182,122,0.16);
}
.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;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.features-grid > div {
  background: #fff;
  border-radius: 13px;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 1px 12px rgba(18,71,128,0.06);
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow .16s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 32px rgba(50,182,122,0.14);
}
.features-grid img {
  max-height: 60px;
  margin-bottom: 12px;
}
.features-grid h3 {
  color: #124780;
  font-size: 1.15rem;
  margin: 8px 0 8px 0;
  text-align: center;
}
.features-grid p {
  color: #363636;
  text-align: center;
  font-size: 0.98rem;
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 22px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(18,71,128,0.08);
  flex: 1 1 320px;
  min-width: 300px;
  max-width: 420px;
  margin-bottom: 20px;
  color: #222;
  font-size: 1.08rem;
  transition: box-shadow .18s, border .18s;
}
.testimonial-card p {
  color: #222;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card strong {
  color: #124780;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 7px 36px rgba(50,182,122,0.12);
  border: 1px solid #32B67A;
}

/* ----------------------------------
   BUTTONS, LINKS, INTERACTIVES
---------------------------------- */
button, .cta-btn {
  transition: background .16s, color .15s, box-shadow .16s;
}
button:active {
  outline: none;
  box-shadow: 0 1px 5px #12478033;
}

/* ----------------------------------
   FOOTER
---------------------------------- */
footer {
  background: #124780;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  padding-top: 38px;
  padding-bottom: 22px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 16px;
}
footer a {
  color: #fff;
  text-decoration: underline dotted 1px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #FAFAFA;
  font-size: 0.95rem;
  margin-bottom: 2.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color .16s;
}
footer nav a:hover { color:#32B67A; }
.contact-info {
  font-size: 0.99rem;
  color: #e2e2e2;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-info img {
  width: 19px;
  vertical-align: middle;
  margin-right: 8px;
}
.social-media-links {
  display: flex;
  gap: 12px;
  margin-top: 13px;
}
.social-media-links a img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  transition: box-shadow .18s;
  box-shadow: 0 1px 8px rgba(18,71,128,0.07);
}
.social-media-links a:hover img {
  box-shadow: 0 5px 12px rgba(50,182,122,0.16);
}
@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer .container {
    padding: 0 5px;
  }
}

/* ----------------------------------
   RESPONSIVE DESIGN
---------------------------------- */
@media (max-width: 1024px) {
  .features-grid {
    gap: 16px;
  }
  .features-grid > div {
    min-width: 250px;
    padding: 25px 15px 18px 15px;
  }
}
@media (max-width: 820px) {
  .testimonial-slider {
    gap: 14px;
  }
  .testimonial-card {
    min-width: 220px;
    font-size: 1rem;
    padding: 20px 12px;
  }
}
@media (max-width: 750px) {
  .container {
    padding: 0 10px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.01rem; }
  section, .section {
    padding: 28px 3px;
    margin-bottom: 32px;
  }
  .features-grid {
    flex-direction: column;
    gap: 15px;
  }
  .features-grid > div {
    min-width: 100px;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    padding: 20px 12px 14px 12px;
  }
  .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 550px) {
  .testimonial-card {
    padding: 16px 7px;
    font-size: 0.96rem;
    min-width: 120px;
  }
  section, .section { padding: 18px 0; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: center; }
  .features-grid { flex-direction: column; }
  .testimonial-slider, .card-container, .content-grid { flex-direction: column; gap: 15px; }
}

/* ----------------------------------
   CARD & LIST STYLING
---------------------------------- */
ul, ol {
  font-size: 1rem;
  color: #363636;
  padding-left: 22px;
  margin: 0 0 18px 0;
}
ul li, ol li {
  margin-bottom: 7px;
  list-style-type: disc;
}

/* ----------------------------------
   COOKIE CONSENT BANNER + MODAL
---------------------------------- */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  padding: 22px 24px;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(18,71,128,0.07);
  border-top: 1px solid #eee;
  font-size: 1rem;
  transition: transform .33s;
  gap: 20px;
}
.cookie-banner.hidden {
  transform: translateY(110%);
}
.cookie-banner__text {
  font-size: 0.96rem;
  color: #363636;
  flex: 1 1 auto;
  margin-bottom: 0;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 8px 20px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  background: #124780;
  color: #fff;
  font-weight: 600;
  transition: background .15s, color .14s;
}
.cookie-btn.accept {
  background: #32B67A;
}
.cookie-btn.settings {
  background: #fafafa;
  color: #124780;
  border: 1px solid #124780;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #124780;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #218c5a;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e7efe6;
  color: #124780;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 7px;
    gap: 13px;
  }
}
/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10100;
  width: 100vw;
  height: 100vh;
  background: rgba(18,71,128,0.045);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .29s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__box {
  background: #fff;
  border-radius: 17px;
  padding: 38px 32px 28px 32px;
  box-shadow: 0 10px 40px rgba(18,71,128,0.14);
  min-width: 340px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #124780;
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: none;
  transition: background .16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #32B67A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  color: #124780;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #32B67A;
  border-radius: 4px;
}
.cookie-category .essential {
  color: #32B67A;
  font-size: .95rem;
  font-weight: 500;
}
@media (max-width: 500px) {
  .cookie-modal__box {
    min-width: 90vw;
    padding: 20px 8px 14px 8px;
    gap: 11px;
  }
}

/* ----------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
---------------------------------- */
.card, .features-grid > div, .testimonial-card {
  transition: box-shadow .16s, border .14s, transform .13s;
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 9px 37px rgba(18,71,128,0.10), 0 1.5px 5px #32b67a13;
}
.cta-btn:active {
  transform: scale(0.97);
}
.mobile-menu.open {
  box-shadow: 0 10px 32px rgba(18,71,128,0.12);
}

/* ----------------------------------
   ACCESSIBILITY
---------------------------------- */
:focus {
  outline: 2px solid #32B67A;
  outline-offset: 1.5px;
}

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