/* RESET & BASE TYPOGRAPHY (Mobile-first) */
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,
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 {
  font-size: 16px;
  background: #FFF8F1;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Georgia, Times, serif;
  color: #223244;
  background: #FFF8F1;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.4em;
}
a {
  color: #175263;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #397487;
  text-decoration: underline;
}
strong {
  font-weight: 600;
}

/* FONT FACES (Assuming Montserrat and Roboto loaded via link or @import in HTML) */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Georgia, Times, serif;
  color: #175263;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 22px;
  line-height: 1.18;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
p {
  font-size: 1rem;
  color: #2D4551;
  margin-bottom: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(23,82,99,0.08);
  transition: box-shadow 0.25s;
}
.section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(130,182,197,0.10);
  border-radius: 18px;
  margin-bottom: 20px;
  padding: 28px 20px;
  flex: 1 1 260px;
  position: relative;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover,.card:focus-within {
  box-shadow: 0 8px 30px 0 rgba(23, 82, 99,0.18);
  transform: translateY(-2px) scale(1.012);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

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

.features-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 8px;
}
.features-icons img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 4px #eee6;
  background: #F8F6F2;
  padding: 8px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #F6FBFE;
  border-left: 5px solid #175263;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(23,82,99,0.08);
  color: #15303A;
  font-style: italic;
  position: relative;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px 0 rgba(23,82,99,0.15);
}
.testimonial-card p {
  color: #15303A;
  font-size: 1.06rem;
  margin: 0 0 8px 0;
}
.testimonial-card span {
  font-family: 'Montserrat', serif;
  font-style: normal;
  color: #175263;
}
@media (max-width: 550px) {
  .testimonial-card {
    flex-direction: column;
    padding: 13px;
  }
}

/* HEADER & NAV */
header {
  background: #fff;
  border-bottom: 1.5px solid #E8ECEF;
  box-shadow: 0 2px 16px 0 rgba(23,82,99,0.04);
  position: relative;
  z-index: 1001;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  min-height: 60px;
}
header a img {
  max-height: 46px;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.03rem;
  color: #175263;
  padding: 4px 7px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.main-nav a:hover,.main-nav a:focus {
  background: #CEDDE2;
  color: #15303A;
  text-decoration: none;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', serif;
  font-size: 1.08rem;
  background: #175263;
  color: #FFF8F1;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 15px;
  box-shadow: 0 4px 16px 0 rgba(23,82,99,0.09);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background 0.17s, box-shadow 0.19s, transform 0.19s, color 0.13s;
}
.cta-btn:hover,.cta-btn:focus {
  background: #223244;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(23,82,99,0.12);
  text-decoration: none;
  transform: translateY(-2px) scale(1.032);
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  .cta-btn {
    padding: 10px 18px;
    margin-left: 5px;
    font-size: 1rem;
  }
  header .container {
    min-height: 54px;
  }
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #175263;
  color: #FFF8F1;
  position: fixed;
  top: 17px;
  right: 18px;
  z-index: 1301;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.21s, color 0.13s;
  box-shadow: 0 2px 12px 0 rgba(23,82,99,0.18);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #223244;
}
@media (max-width: 960px) {
  .main-nav,.cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,82,99,0.86);
  z-index: 1900;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.88,-0.01,.27,1.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  position: absolute;
  top: 28px;
  right: 27px;
  z-index: 1910;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 85px;
  margin-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.4rem;
  color: #FFF8F1;
  padding: 11px 8px 11px 0;
  border-bottom: 1.5px solid #82B6C5;
  outline: none;
  min-width: 180px;
  min-height: 40px;
  transition: color 0.16s, background 0.12s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #175263;
  color: #ffeede;
  border-radius: 6px;
  text-decoration: none;
}
@media (max-width: 520px) {
  .mobile-nav a {
    font-size: 1.12rem;
    min-width: 110px;
    margin-left: 0;
  }
  .mobile-nav {
    margin-left: 16px;
  }
  .mobile-menu-close {
    right: 16px;
    top: 13px;
  }
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(110deg, #FFF8F1 70%, #F6FBFE 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 6px 36px 0 rgba(23,82,99,0.07);
  margin-bottom: 44px;
  padding: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 360px;
  padding: 32px 14px 32px 14px;
}
.hero .cta-btn {
  margin-left: 0;
  margin-top: 20px;
}
.hero h1 {
  margin-bottom: 14px;
  font-size: 2.3rem;
}
@media (max-width:600px) {
  .hero .container {
    min-height: 230px;
    padding: 22px 6px;
  }
  .hero h1 {
    font-size: 1.48rem;
  }
}

/* BUTTONS & MICRO-INTERACTIONS */
button, .cta-btn {
  font-family: inherit;
  cursor: pointer;
  outline: none;
}
button:focus, .cta-btn:focus {
  box-shadow: 0 0 0 3px #82B6C5AA;
}

/* CARD & GRID COMPONENTS (for possible expansion) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

/* FOOTER */
footer {
  background: #175263;
  color: #FFF8F1;
  padding: 40px 0 32px 0;
  margin-top: 60px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 18px 0 rgba(23,82,99,0.10);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
}
.footer-logo img {
  max-height: 65px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #e6ecf5;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 3px;
  transition: color 0.14s;
  padding: 2px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #BCE8F7;
  text-decoration: underline;
}
.footer-contact p {
  font-size: 0.98rem;
  color: #FDF9F3;
  margin-bottom: 7px;
  line-height: 1.57;
}
.footer-contact a {
  color: #e6ecf5;
  text-decoration: underline;
}
.footer-contact img {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  opacity: 0.73;
}
@media (max-width: 920px) {
  footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 22px 0 18px 0;
    margin-top: 40px;
    border-radius: 16px 16px 0 0;
  }
}

/* SPACING (Mandatory) */
.section, .card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .container, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .footer-logo, .footer-contact, .footer-nav {
    align-items: flex-start;
  }
  .features-icons {
    gap: 16px;
    margin-top: 8px;
  }
}

/* COOKIE CONSENT BANNER/MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: #FFF8F1;
  box-shadow: 0 -2px 18px 0 rgba(23,82,99,0.12);
  border-top: 2px solid #e1e7ea;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4000;
  padding: 26px 14px 17px 14px;
  animation: cookiefadein 0.6s cubic-bezier(.49,.88,.49,.99);
  font-size: 1.02rem;
}
@keyframes cookiefadein {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #223244;
  margin-bottom: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #82B6C5;
  color: #FFF8F1;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-family: 'Montserrat', serif;
  font-size: 1.02rem;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.16s, color 0.15s;
  font-weight: 500;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #175263;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #175263;
  border: 1.5px solid #175263;
  box-shadow: none;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #F6FBFE;
  color: #175263;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(23,82,99,0.75);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiefadein 0.45s;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 38px 26px 28px 26px;
  max-width: 355px;
  width: 95vw;
  box-shadow: 0 6px 32px 0 rgba(23,82,99,0.22);
  color: #175263;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h2 {
  color: #175263;
  margin-bottom: 14px;
  font-size: 1.22rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 15px;
  background: none;
  border: none;
  color: #175263;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 12px;
  margin-top: 13px;
  width: 100%;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
}
.cookie-category label {
  font-size: 1.05rem;
  color: #175263;
  font-family: 'Roboto', serif;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #82B6C5;
}
.cookie-modal-content .cookie-actions {
  margin-top: 13px;
  gap: 13px;
}
@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 12vw 3vw 7vw 3vw;
    min-width: 0;
  }
}

/* --- UTILS --- */
:focus-visible {
  outline: 2.5px dashed #82B6C5;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #ced8e0; }
::-moz-placeholder { color: #ced8e0; }
:-ms-input-placeholder { color: #ced8e0; }
::placeholder { color: #ced8e0; }

/* Visually hidden for accessibility (e.g. labels for modals) */
.visually-hidden {
  position: absolute!important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- CUSTOM OVERRIDES (for consistent 20px+ spacing) --- */
.content-wrapper > *:not(:last-child),
.container > *:not(:last-child),
.card-container > *:not(:last-child),
.content-grid > *:not(:last-child),
.section > *:not(:last-child),
.feature-item > *:not(:last-child),
.text-image-section > *:not(:last-child) {
  margin-bottom: 20px;
}

/* Subtle transitions for links, buttons, and cards */
a, button, .card, .cta-btn, .main-nav a, .mobile-nav a {
  transition: color 0.13s, background 0.18s, box-shadow 0.18s, transform 0.17s;
}

/* Hide mobile menu (for screens > 960px) */
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- END --- */
