/* === 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: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { 
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1a237e;
  background: #F5F7FA;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color 0.2s cubic-bezier(.78, .37, .18, .87); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* === Brand Variables (with fallback) === */
:root {
  --color-primary: #1A237E;
  --color-secondary: #F5F7FA;
  --color-accent: #C62828;
  --color-accent-alt: #B71C1C;
  --color-white: #fff;
  --color-light: #F5F7FA;
  --color-black: #1A237E;
  --color-blue: #4e6cef;
  --color-yellow: #FFE066;
  --color-green: #58e3b5;
  --color-pink: #ffb4d9;
  --color-card: #fff;
  --shadow-xl: 0 8px 32px rgba(26,35,126,.10);
  --shadow-md: 0 4px 12px rgba(26,35,126,.13);
  --radius: 18px;
  --radius-sm: 13px;
}

/* === Typography (Playful/Dynamic) === */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 2px 0 #FFE066;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--color-accent);
  letter-spacing: .5px;
  text-shadow: 0 1px 0 #ffb4d9;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
p, ul li, ol li {
  font-size: 1rem;
  color: var(--color-black);
  margin-bottom: .8em;
  line-height: 1.65;
}
.hero p, .hero .content-wrapper p {
  font-size: 1.1rem;
  color: var(--color-accent-alt);
  font-weight: 600;
}
.text-section p, .content-wrapper .text-section p {
  color: var(--color-primary);
  opacity: .87;
}
ul li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li img {
  position: absolute;
  top: 3px; left: 0;
  width: 24px; height: 24px;
}

/* === Spacing & Container Classes === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 200px;
  max-width: 350px;
  flex: 1 0 250px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
  z-index: 2;
}
.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: center;
  gap: 20px;
  padding: 20px 22px;
  margin-bottom: 24px;
  background: var(--color-light);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  min-width: 260px; max-width: 400px;
  transition: box-shadow .22s, transform .22s, background .18s;
  color: #222;
}
.testimonial-card p {
  font-size: 1rem;
  color: #222;
  text-align: left;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-weight: 700;
  color: var(--color-accent-alt);
  font-size: .98rem;
}
.testimonial-card:hover {
  background: #fffde7;
  box-shadow: var(--shadow-xl);
  transform: scale(1.02) rotate(1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(110deg, #ffb4d9 0%, #58e3b5 70%, #F5F7FA 100%);
  padding: 60px 0 50px 0;
  margin-bottom: 36px;
  box-shadow: 0 4px 28px rgba(26,35,126,0.09);
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 9px;
  position: relative;
  z-index: 1;
  animation: heroBounceIn 1.3s cubic-bezier(.66,-0.13,.70,1.24) both 0.3s;
}
@keyframes heroBounceIn {
  0% { transform: scale(.98) translateY(-45px); opacity: 0; }
  60% { transform: scale(1.04) translateY(18px); opacity:1; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.hero .content-wrapper, .hero .container {
  align-items: flex-start;
  gap: 18px;
}
.hero .cta {
  margin-top: 18px;
}

/* === CTA Button Styles === */
.cta, .btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: .07em;
  border-radius: 44px;
  padding: 14px 34px;
  margin: 10px 0;
  box-shadow: 0 3px 14px rgba(198,40,40,.10);
  cursor: pointer;
  transition: background 0.20s, transform .11s, box-shadow .15s, color .19s;
  text-shadow: none;
  position: relative;
  outline: none;
}
.cta:hover, .btn:hover, button:hover, input[type="submit"]:hover {
  background: var(--color-blue);
  color: #fff;
  transform: translateY(-2.5px) scale(1.035) rotate(-1deg);
  box-shadow: 0 6px 30px rgba(76,124,235,0.13);
}
.cta:focus, .btn:focus, button:focus, input[type="submit"]:focus {
  background: var(--color-yellow);
  color: var(--color-black);
}

/* === Header and Navigation === */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(26,35,126,.09);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 10px;
  margin-bottom: 18px;
  z-index: 30;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px 16px 20px;
  position: relative;
}
header a img {
  height: 44px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 20px;
  transition: background .13s, color .15s;
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: .01em;
}
nav a.cta {
  font-size: 1.07rem;
  padding: 9px 25px;
  background: var(--color-accent);
  color: #fff;  
  border-radius: 28px;
  font-weight: 800;
}
nav a.cta:hover {
  background: var(--color-yellow);
  color: var(--color-primary);
}
nav a:hover:not(.cta) {
  background: var(--color-blue);
  color: #fff;
}

/* === Footer === */
footer {
  width: 100%;
  background: var(--color-white);
  border-top-left-radius: 40px;
  border-top-right-radius: 8px;
  box-shadow: 0 -3px 11px rgba(26,35,126,0.07);
  padding: 48px 0 28px 0;
  margin-top: 40px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: .96rem;
  color: var(--color-primary);
}
.footer-info a img {
  width: 38px; height: 38px;
}
.footer-info p {
  color: var(--color-black);
  font-size: .96rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: .98rem;
}
.footer-nav a:hover {
  text-decoration: underline wavy 2px var(--color-accent);
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--color-card);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: var(--color-blue);
  color: #fff;
  font-weight: 700;
}
tr:nth-child(odd) td { background: #f8fafe; }
tr:nth-child(even) td { background: #fff; }

/* === Fun Animations / Playful Microinteractions === */
nav a, .cta, .btn, .mobile-nav a {
  transition: background 0.19s, color 0.16s, transform 0.11s;
}
av a:active, .mobile-nav a:active, .cta:active, .btn:active {
  transform: scale(0.97) rotate(-2deg);
}
.card, .testimonial-card {
  transition: box-shadow .20s, background .20s, transform .17s;
}
.cta:after {
  content: ' ▶';
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-yellow);
  font-size: 1.05em;
  transition: transform .13s;
  margin-left: 4px;
}
.cta:hover:after { transform: translateX(4px) scaleX(1.15); }

/* === Mobile Menu === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  padding: 8px 14px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  z-index: 70;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-blue);
  color: var(--color-yellow);
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,35,126,0.96);
  z-index: 110;
  transform: translateX(-200%);
  transition: transform 0.34s cubic-bezier(.87,-0.11,.71,1.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 40px 28px;
  width: 94vw;
  max-width: 420px;
  min-height: 100vh;
  box-shadow: -3px 0 34px 0 rgba(14,16,56,0.13);
}
.mobile-menu.active {
  transform: translateX(0);
  transition: transform 0.34s cubic-bezier(.86,.27,.38,1.12);
}
.mobile-menu-close {
  position: absolute;
  right: 24px; top: 20px;
  background: none;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  z-index: 111;
  transition: color 0.16s;
}
.mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 44px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 4px 12px 0;
  border-bottom: 1px dashed #ffe06638;
  width: 100%;
  transition: color .16s, background .11s, transform .11s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-pink);
  background: none;
  transform: translateX(7px) scale(1.07);
}

/* --- Responsive (Mobile-first) --- */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .container {
    padding: 0 12px;
    max-width: 98vw;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding: 13px 10px 13px 10px;
    gap: 14px;
  }
  .hero h1 {
    font-size: 1.35rem;
    text-shadow: none;
  }
  h2 {
    font-size: 1.16rem;
    text-shadow: none;
  }
  .section, section {
    margin-bottom: 34px;
    padding: 22px 8px;
  }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 95vw;
    padding: 16px 8px;
  }
  .mobile-menu {
    width: 100vw;
    min-width: 0;
    padding: 20px 10px 28px 16px;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
    margin-top: 8px;
  }
}
/* --- Tablet --- */
@media (max-width: 1050px) {
  .container { max-width: 97vw; }
  .hero { padding: 40px 0 36px 0; }
}

/* === Cookie Banner & Modal === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-primary);
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 14px 22px 16px;
  box-shadow: 0 -4px 22px rgba(26,35,126,0.09);
  z-index: 180;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s cubic-bezier(.8,-0.13,.74,1.19);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: initial;
}
.cookie-banner .cookie-btn {
  background: var(--color-accent);
  color: #fff;
  border-radius: 24px;
  border: none;
  padding: 10px 23px;
  margin: 0 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background .13s, color .18s, transform .13s;
  cursor: pointer;
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-blue);
}
.cookie-banner .cookie-btn:hover {
  background: var(--color-yellow);
  color: var(--color-black);
  transform: scale(1.07);
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,35,126,0.67);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 14px 60px rgba(26,35,126,0.19);
  padding: 40px 32px 28px 32px;
  max-width: 95vw;
  min-width: 320px;
  color: var(--color-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalPop 0.43s cubic-bezier(.89,-0.18,.65,1.34);
}
@keyframes cookieModalPop {
  0% { transform: scale(.8) translateY(75px); opacity:0; }
  58% { transform: scale(1.04) translateY(-10px); opacity:.95; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.02rem;
  padding: 9px 0;
}
.cookie-cat-toggle {
  appearance: none;
  width: 40px;
  height: 20px;
  border-radius: 12px;
  background: #ccc;
  outline: none;
  border: 2px solid #eee;
  position: relative;
  transition: background .15s;
  cursor: pointer;
}
.cookie-cat-toggle:checked {
  background: var(--color-blue);
}
.cookie-cat-toggle:before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 50%;
  transform: translateY(-50%);
  transition: left .21s;
}
.cookie-cat-toggle:checked:before {
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal-actions .cookie-btn {
  min-width: 120px;
}
.cookie-modal-close {
  position: absolute;
  right: 24px; top: 13px;
  font-size: 1.46rem;
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 10;
  transition: color .13s;
}
.cookie-modal-close:hover {
  color: var(--color-primary);
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 20px 7px 22px 7px;
    min-width: 0;
    box-shadow: 0 4px 24px rgba(26,35,126,0.18);
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 12px 5px;
    font-size: .96rem;
  }
}

/* === Utility === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 12px !important; }
.mt-4 { margin-top: 24px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 24px !important; }
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* === Playful Decorative Shape (for fun) === */
.hero:after {
  content: '';
  position: absolute;
  bottom: 12px; right: 24px;
  width: 90px; height: 90px;
  background: var(--color-yellow);
  border-radius: 50% 37% 60% 50% / 40% 45% 55% 60%;
  opacity: .23;
  z-index: 0;
  pointer-events: none;
  animation: decorShapeFloat 4s ease-in-out infinite alternate;
}
@keyframes decorShapeFloat {
  0% { transform: translateY(0) rotate(-13deg); }
  70% { transform: translateY(-18px) rotate(14deg); }
  100% { transform: translateY(-9px) rotate(18deg); }
}

/* === Remove Default Map styling === */
.map {
  background: #f7e6e6;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: .98rem;
  color: var(--color-accent-alt);
  text-align: center;
  margin: 12px 0 0 0;
}

/* === Selection Highlight (Fun Accent) === */
::selection {
  background: var(--color-pink);
  color: var(--color-primary);
}

/* END */
