/* ======================  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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F5F6FA;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22324C;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #22324C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9B8FCB;
}
ul, ol {
  margin: 0 0 16px 20px;
}
li {
  margin-bottom: 8px;
}
input, button, textarea, select {
  font: inherit;
  border-radius: 0;
}
button {
  cursor: pointer;
  outline: none;
  border: none;
  background: #ECB365;
  color: #22324C;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(34,50,76,0.05);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
button:focus {
  outline: 2px solid #AFC7E5;
}

/* ======================  COLOR VARIABLES ============================= */
:root {
  --primary: #22324C;
  --secondary: #ECB365;
  --accent: #F5F7FA;
  --pastel-blue: #AFC7E5;
  --pastel-purple: #DFDFF8;
  --pastel-pink: #FFD5E5;
  --pastel-yellow: #FFF4D9;
  --pastel-mint: #E0F7F3;
  --soft-shadow: 0 2px 18px 0 rgba(211, 216, 232, 0.18);
}

/* ======================  TYPOGRAPHY ====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #22324C;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  font-weight: 600;
}

p, ul, ol, small {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #22324C;
  line-height: 1.7;
}
p {
  margin-bottom: 16px;
}
small, .text-section small {
  font-size: 0.94rem;
  color: #576586;
}
strong {
  font-weight: 600;
}

/* ======================  LAYOUT CLASSES & CONTAINERS ====================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}
@media (max-width: 700px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

.card-container, .features-grid, .blog-post-list, .category-filter, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  padding: 28px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}

/* Testimonials & Review Boxes */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--pastel-mint);
  border-radius: 18px;
  box-shadow: 0 1.5px 6px 0 rgba(179,204,211,0.13);
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card p {
  flex: 1 1 70%;
  margin-bottom: 0;
  color: #22324C;
  font-size: 1.11rem;
  line-height: 1.6;
}
.testimonial-card small {
  min-width: 125px;
  color: #557;
  font-weight: 600;
}
.testimonial-card img {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
.testimonial-card:hover {
  transform: scale(1.012);
  box-shadow: 0 7px 18px 0 rgba(179,204,211,0.15);
}

/* Blog Posts & Filters */
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post-list .text-section {
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  flex: 1 1 265px;
  min-width: 265px;
  max-width: 360px;
  padding: 18px 16px 14px 16px;
  margin-bottom: 0;
}
.category-filter {
  display: flex;
  gap: 10px;
  font-size: 0.98rem;
  color: #546370;
  margin-bottom: 0;
}

/* Map Embed */
.map-embed {
  background: var(--pastel-yellow);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  padding: 16px 20px;
  margin-top: 16px;
}

/* ======================  HEADER & NAVIGATION ====================== */
header {
  background: linear-gradient(90deg, #DFDFF8 0%, #E0F7F3 100%);
  box-shadow: 0 3px 14px 0 rgba(34,50,76,0.07);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
header img {
  height: 48px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #22324C;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.13s, color 0.13s;
}
nav a:hover, nav a:focus {
  background: var(--pastel-blue);
  color: #746e9a;
}
.cta-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  background: var(--secondary);
  color: #22324C;
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 36px;
  box-shadow: 0 4px 16px rgba(233,210,143,0.13);
  font-size: 1.08rem;
  margin-left: 24px;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  border: 2px solid var(--secondary);
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFF4D9;
  color: #2E4064;
  border: 2px solid #FFF4D9;
  box-shadow: 0 7px 32px 0 rgba(233,210,143,0.17);
}

/* ======================  MOBILE MENU (HAMBURGER) ====================== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  nav {
    display: none !important;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: var(--secondary);
    color: #22324C;
    font-size: 2.2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    z-index: 1040;
    box-shadow: 0 3px 12px 0 rgba(236, 179, 101, 0.16);
    transition: background 0.18s;
  }
  .mobile-menu-toggle:active {
    background: #eed399;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(115deg, #AFC7E5 15%, #DFDFF8 85%);
  box-shadow: 0 0 32px 0 rgba(124,147,187, 0.19);
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.28s, transform 0.36s cubic-bezier(.32,.85,.46,1.19);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--pastel-blue);
  color: #22324C;
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  z-index: 5010;
  box-shadow: 0 2px 12px 0 rgba(175,199,229,0.17);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #dfdff8;
  color: #7c8dad;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-top: 90px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.19rem;
  color: #22324C;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 0;
  width: 80%;
  border-radius: 10px;
  transition: background 0.14s, color 0.14s;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e0f7f3;
  color: #746e9a;
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ======================  HERO SECTION ====================== */
.hero {
  background: linear-gradient(135deg, #F3F7FF 14%, #FFE1ED 96%);
  padding: 62px 0 52px 0;
  margin-bottom: 40px;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 6px 36px 0 rgba(175,199,229,0.14);
}
.hero .container {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.hero h1 {
  background: linear-gradient(100deg, #AFC7E5 20%, #FFD5E5 92%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.8rem;
  text-shadow: 0 3px 30px #fff5;
  margin-bottom: 10px;
}
.hero p {
  color: #272e44;
  font-size: 1.13rem;
  margin-bottom: 21px;
}
.hero .cta-btn {
  margin-left: 0;
  margin-top: 18px;
  font-size: 1.22rem;
  letter-spacing: 0.007em;
}
@media (max-width: 700px) {
  .hero {
    padding: 36px 0 18px 0;
    border-radius: 0 0 24px 24px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
}

/* ======================  FEATURES & CARDS ====================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  align-items: stretch;
}
.features-grid > div {
  flex: 1 1 250px;
  min-width: 220px;
  background: var(--pastel-purple);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 0;
  transition: box-shadow 0.18s, transform 0.17s;
}
.features-grid > div:hover {
  box-shadow: 0 9px 24px 0 rgba(144,120,215,0.10);
  transform: translateY(-5px) scale(1.022);
}
.features-grid h3 {
  font-size: 1.14rem;
  margin-bottom: 7px;
  margin-top: 7px;
  color: #22324C;
}
.features-grid p {
  color: #405473;
  font-size: 1.02rem;
}
.features-grid img {
  margin-bottom: 7px;
  width: 44px;
  height: 44px;
}

/* ======================  TEXT SECTION ====================== */
.text-section {
  background: var(--pastel-yellow);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  padding: 18px 22px;
  margin-bottom: 20px;
}
.text-section ul {
  margin-top: 10px;
  margin-left: 28px;
  color: #393e51;
}
.text-section li {
  margin-bottom: 10px;
  list-style: disc inside;
  color: #23355a;
}
.text-section img {
  vertical-align: middle;
  margin-right: 10px;
}

/* ======================  BUTTONS & INTERACTIONS ====================== */
button, .cta-btn {
  transition: background 0.22s, color 0.18s, box-shadow 0.19s, border 0.14s;
}
button:hover, .cta-btn:hover,
button:focus, .cta-btn:focus {
  filter: brightness(1.06);
  box-shadow: 0 8px 32px 0 rgba(236,179,101,0.14);
  outline: none;
}

/* FORM ELEMENTS (for future) */
input, textarea, select {
  border: 1px solid #cfdbeb;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  margin-bottom: 15px;
  width: 100%;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #AFC7E5;
  outline: none;
}

/* ======================  FOOTER ====================== */
footer {
  background: linear-gradient(90deg, #AFC7E5 20%, #DFDFF8 90%);
  color: #22324C;
  border-radius: 44px 44px 0 0;
  margin-top: 44px;
  box-shadow: 0 -1.3px 12px 0 rgba(143,170,221,0.08);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 18px 16px 18px;
  gap: 32px;
}
footer img {
  height: 48px;
  margin-bottom: 20px;
}
footer nav {
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  color: #22324C;
  font-size: 1.02rem;
  background: none;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  transition: color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #6e7b93;
}
footer .text-section {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  font-size: 1.01rem;
}
footer small {
  display: block;
  font-size: 0.97rem;
  color: #65718A;
  text-align: right;
  margin-top: 12px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    padding: 24px 8px 12px 8px;
  }
}

/* ======================  RESPONSIVENESS ====================== */
@media (max-width: 1070px) {
  .features-grid > div {
    min-width: 170px;
  }
  .testimonial-card p {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .features-grid {
    gap: 16px;
  }
  .features-grid > div {
    padding: 17px 10px;
  }
}
@media (max-width: 768px) {
  .container, .section .container, .footer .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid{
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card{
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    font-size: 1rem;
  }
  .text-image-section{
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .blog-post-list{
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 500px) {
  .card, .features-grid > div {
    min-width: 98vw !important;
    max-width: 99vw !important;
    padding: 16px 6px;
  }
}

/* ====================== COOKIE CONSENT BANNER ====================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #e0f7f3 0%, #ffd5e5 100%);
  box-shadow: 0 -3px 22px 0 rgba(223,152,183,0.13);
  z-index: 6000;
  padding: 24px 15px 15px 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 1.04rem;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  transition: transform 0.37s cubic-bezier(0.43,0.86,0.26,1.08), opacity 0.33s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(160px);
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  color: #22324C;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 11px 20px;
  border-radius: 24px;
  font-weight: 600;
  border: 2px solid transparent;
  background: var(--secondary);
  color: #22324C;
  transition: background 0.19s, color 0.19s, border 0.18s;
}
.cookie-banner .reject {
  background: #eceafa;
  color: #22324C;
  border: 2px solid #E0F7F3;
}
.cookie-banner .settings {
  background: var(--pastel-blue);
  color: #22324C;
  border: 2px solid #AFC7E5;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFF4D9;
  color: #334;
  border: 2px solid #ECB365;
  outline: none;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    padding: 14px 5px 6px 6px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 9px;
  }
}

/* ====================== COOKIE PREFERENCES MODAL ====================== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32, 38, 39, 0.36);
  z-index: 6100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.29s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: linear-gradient(120deg,#DFDFF8 82%, #E0F7F3 100%);
  min-width: 312px;
  max-width: 98vw;
  padding: 30px 40px 20px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 46px 0 rgba(143,170,221,0.18);
  z-index: 6200;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-pop-in .36s cubic-bezier(.61,.18,.47,1.14);
}
@keyframes cookie-pop-in {
  from { transform: scale(0.92); opacity: 0.2; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #22324C;
  opacity: 0.66;
  cursor: pointer;
  z-index: 6210;
}
.cookie-modal-close:hover {
  color: #7c8dad;
  opacity: 1;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  font-size: 1.04rem;
  flex: 1 0 130px;
  color: #22324C;
  font-weight: 500;
}
.cookie-modal .cookie-toggle {
  width: 42px;
  height: 22px;
  background: #e0f7f3;
  border-radius: 12px;
  position: relative;
}
.cookie-modal .cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 42px;
  height: 22px;
  margin: 0;
  position: absolute;
  left: 0; top: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #AFC7E5;
  transition: left 0.22s;
}
.cookie-modal .cookie-toggle input[type="checkbox"]:checked + .cookie-slider {
  left: 23px;
  background: #ECB365;
}
.cookie-modal .cookie-toggle input[type="checkbox"]:disabled + .cookie-slider {
  opacity: 0.45;
  background: #DDDDEB;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  border-radius: 18px;
  font-size: 1rem;
  padding: 10px 22px;
  background: var(--secondary);
  font-weight: 600;
  border: 2px solid #ECB365;
}
.cookie-modal-actions button:hover {
  background: #FFF4D9;
  border-color: #FFF4D9;
}

@media (max-width: 460px) {
  .cookie-modal {
    min-width: 0;
    padding: 16px 6px 13px 6px;
  }
  .cookie-modal h2 {
    font-size: 1.09rem;
  }
}

/* ====================== MISCELLANEOUS & ANIMATIONS ====================== */
::-webkit-scrollbar {
  width: 10px;
  background: #E0F7F3;
}
::-webkit-scrollbar-thumb {
  background: #AFC7E5;
  border-radius: 7px;
}

.fade-in {
  animation: fade-in 0.58s .1s both;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====================== END OF STYLE ====================== */