/* ===== 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7FBFE;
  color: #24384D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin-left: 18px;
}

/* ===== VARIABLES & BRAND COLORS (fallbacks included) ===== */
:root {
  --primary: #24384D;
  --secondary: #ADE0E6;
  --accent: #FFB600;
  --danger: #FE4692;
  --success: #31D379;
  --info: #46A6FE;
  --bg-light: #F7FBFE;
  --bg-card: #fff;
  --text-main: #24384D;
  --text-light: #fff;
  --shadow: 0 2px 16px 0 rgba(36, 56, 77, 0.08);
  --radius: 18px;
  --radius-sm: 10px;
  --gap-main: 24px;
  --gap-card: 20px;
  --transition: 0.25s cubic-bezier(0.4,0.3,0.2,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===== TYPOGRAPHY & HIERARCHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
@media (min-width:600px) {
  h1 { font-size: 2.9rem; }
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  margin-top: 0;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: 0;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
  margin-top: 0;
}
p, li, a, span, td, th, address {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.7;
}
p {
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}
.text-section p {
  font-size: 1.17rem;
  margin-bottom: 16px;
}

/* ==== FUN PLAYFUL FONT FOR DYNAMIC HEADINGS ==== */
.hero h1, .cta h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--accent);
  text-shadow: 0 1px 0 #fff2, 1px 3px 8px rgba(36,56,77,0.05);
  letter-spacing: 0.5px;
}

/* ====== LAYOUT ====== */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(255,182,0,0.19), var(--shadow);
  transform: translateY(-6px) scale(1.03) rotate(-1.2deg);
}
.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: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px 0 rgba(36,56,77,0.07);
  position: relative;
  z-index: 1;
  min-width: 0;
  color: #18293E;
  font-size: 1.11rem;
}
.testimonial-card p {
  color: #18293E;
  font-style: italic;
  font-size: 1.13rem;
}
.testimonial-card span {
  color: #24384D;
  font-size: 1rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FAQ List Styling */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-list h3 {
  font-size: 1.15rem;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.faq-list > div {
  background: var(--bg-card);
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

/* Hero Section */
.hero {
  background: linear-gradient(110deg, var(--secondary) 64%, var(--accent) 100%);
  padding: 52px 0 44px 0;
  border-bottom-right-radius: 80px;
  box-shadow: 0 4px 24px 0 rgba(36,56,77,.08);
  margin-bottom: 42px;
  overflow: hidden;
  position: relative;
}
.hero .container {
  z-index: 2;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}
.hero p {
  color: var(--primary);
  font-size: 1.22rem;
  line-height: 1.6;
  margin-bottom: 6px;
}

/* CTA Section */
.cta {
  margin-bottom: 0;
  background: var(--accent);
  border-top-left-radius: 80px;
  box-shadow: 0 -2px 24px 0 rgba(36,56,77,0.04);
  color: var(--primary);
  padding: 54px 0 50px 0;
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: var(--primary);
}

/* ===== HEADER AND NAVIGATION ===== */
header {
  background: var(--bg-light);
  box-shadow: 0 2px 12px 0 rgba(36,56,77,0.044);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 39;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-main);
  padding: 14px 20px 10px 20px;
  min-height: 67px;
}
header img {
  height: 43px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  padding: 7px 17px;
  border-radius: 9px;
  transition: background .19s, color .16s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
  outline: none;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 10px 30px 11px 30px;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px 0 rgba(255,182,0,0.13);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.22s;
  margin-left: 10px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05) skewY(-2deg) rotate(-2deg);
  outline: none;
}

/* HAMBURGER MENU BUTTON */
.mobile-menu-toggle {
  display: flex;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 44px;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px 0 rgba(36,56,77,0.09);
  cursor: pointer;
  transition: background .21s, color .15s, transform .19s;
  z-index: 42;
  margin-left: 10px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}

/* Hide desktop nav/cta button on mobile */
@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ===== MOBILE MENU (FULLSCREEN OVERLAY) ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(108deg, var(--secondary) 80%, var(--accent) 100%);
  box-shadow: 0 8px 50px 0 rgba(36,56,77,0.12);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.36,1.2,.26,1);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 42px;
  font-size: 2.2rem;
  font-family: var(--font-display);
  margin: 18px 25px 15px 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(255,182,0,0.08);
  transition: background 0.19s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 34px 0 35px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  background: none;
  padding: 13px 0 13px 3px;
  border-radius: 9px;
  width: 100%;
  display: block;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  outline: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 54px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}
.brand-footer {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-bottom: 6px;
}
.brand-footer img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}
.brand-footer p {
  color: #fff;
  font-size: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #fff;
  font-size: 1rem;
}
.footer-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline dotted;
}
.footer-links a:hover {
  color: #fff;
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 7px;
}

@media (max-width: 860px) {
  .footer-links {
    flex-direction: column;
    gap: 2px;
  }
  .brand-footer {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    margin-bottom: 8px;
  }
  .footer-links a {
    margin-bottom: 3px;
  }
}

/* ===== CARDS ===== */
.card-container,
.content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 24px;
}

/* ===== BUTTONS & LINKS ===== */
button, .cta-btn, input[type=submit] {
  font-family: var(--font-display);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
button:active, .cta-btn:active {
  transform: scale(0.93) rotate(-1deg);
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
@keyframes playful-bounce {
  0%   { transform:translateY(0); }
  30%  { transform:translateY(-7px) scale(1.05) skewY(-2deg); }
  50%  { transform:translateY(2px) scale(0.97) skewX(-1deg); }
  100% { transform:translateY(0); }
}
.cta-btn:hover {
  animation: playful-bounce .38s 1;
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px);} to { opacity:1; transform:none; }
}
.hero .content-wrapper, .cta .content-wrapper {
  animation: fadeInUp 0.8s;
}
.testimonial-card {
  animation: fadeInUp .7s;
}

/* Fun animated underline on links */
a:not(.cta-btn):not(.footer-links a):after {
  display: block;
  content: '';
  border-bottom: 2.5px solid var(--accent);
  transform: scaleX(0);
  transition: transform .25s;
}
a:not(.cta-btn):not(.footer-links a):hover:after, 
a:not(.cta-btn):not(.footer-links a):focus:after {
  transform: scaleX(1);
}

/* ======= LISTS (UL, OL) ======= */
ul, ol {
  margin-top: 0.15em;
  padding-left: 22px;
  margin-bottom: 19px;
}
ul li, ol li {
  margin-bottom: 6.5px;
  padding-left: 1px;
  font-size: 1.07rem;
}
ul li::marker {
  color: var(--accent);
  font-size: 1.22em;
}
ol li::marker {
  color: var(--primary);
  font-weight: bold;
}

/* ====== BREADCRUMBS (If present) ====== */
.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.98rem;
  color: #829CBC;
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: underline;
}
.breadcrumb a:hover {
  color: var(--primary);
}

/* ===== SPACING ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.content-grid {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.testimonial-card {
  margin-bottom: 20px;
}
.feature-item {
  gap: 15px;
}
.text-image-section {
  gap: 30px;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .hero, .cta {
    border-radius: 0 0 52px 0;
    padding: 36px 0 32px 0;
  }
  .section {
    padding: 32px 10px;
    margin-bottom: 42px;
  }
}
@media (max-width: 768px) {
  .footer .container, footer .container {
    gap: 1.1rem;
    padding: 0 8px;
  }
  .content-wrapper, .brand-footer {
    gap: 12px;
  }
  .hero {
    padding: 26px 0 18px 0;
    border-bottom-right-radius: 45px;
  }
  .cta {
    padding: 32px 0 27px 0;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 { font-size: 1.4rem;}
  .text-section p { font-size: 1rem; }
  .content-wrapper {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 14px;
  }
}
@media (max-width: 500px) {
  header .container { padding: 10px 8px 9px 8px; }
  .container { padding: 0 4px; }
  .section { padding: 22px 2px; }
  .card { padding: 13px 6px; }
  .footer { padding: 22px 0 8px 0;}
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  padding: 14px 18px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 -2px 14px 0 rgba(36,56,77,0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 1080;
  animation: fadeInUp 0.7s;
}
@media (max-width: 700px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 7px;
    font-size: 1rem;
    font-size: 0.97rem;
  }
}
.cookie-consent .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 700;
  padding: 7px 19px;
  margin: 0 2px;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s, transform .17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: var(--primary);
  border: 2px dashed var(--accent);
  padding: 7px 16px;
}
.cookie-btn.cookie-settings:hover {
  background: var(--accent);
  color: #fff;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal {
  position: fixed;
  z-index: 1100;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,56,77,0.70);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp .22s;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px 0 rgba(36,56,77,0.18);
  padding: 38px 22px 24px 22px;
  min-width: 310px;
  max-width: 96vw;
  width: 365px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: stretch;
  animation: fadeInUp .28s .04s backwards;
}
.cookie-modal h3 {
  font-size: 1.13rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 7px;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 88px;
}
@media (max-width: 500px) {
  .cookie-modal .modal-content {
    width: 99vw; min-width: unset; max-width: 99vw;
    padding: 20px 4px 18px 8px;
  }
}

/* ======= MISCELLANEOUS ======= */
::-webkit-input-placeholder { color: #B7D2E0; }
::-moz-placeholder { color: #B7D2E0; }
:-ms-input-placeholder { color: #B7D2E0; }
::placeholder { color: #B7D2E0; }

hr {
  border: none;
  border-top: 2px dashed var(--accent);
  margin: 27px 0;
  opacity: .65;
}

/* Selection highlight */
::selection {
  background: var(--accent);
  color: #fff;
}

/* ===== DYNAMIC, PLAYFUL DECORATIVE ELEMENTS (for fun!) ===== */
.hero:before {
  content: '';
  display: block;
  position: absolute;
  right: -55px; bottom: 7%;
  width: 160px;
  height: 160px;
  border-radius: 60% 40% 54% 46% / 45% 55% 48% 52%;
  background: var(--accent);
  opacity: .13;
  z-index: 0;
  animation: decorative-wiggle 7s infinite alternate ease-in-out;
}
@keyframes decorative-wiggle {
  0% { transform: rotate(0deg) scale(1,1); }
  47% { transform: rotate(2deg) scale(1.05,1.04); }
  100% { transform: rotate(-5deg) scale(0.98,1.01); }
}

.cta:after {
  content: '';
  display: inline-block;
  width: 58px;
  height: 58px;
  border-radius: 37px 10px 30px 39px / 22px 45px 33px 44px;
  background: var(--secondary);
  position: absolute;
  right: 26px;
  bottom: 10px;
  opacity: .11;
  z-index: 0;
  animation: decorative-wiggle 4.8s infinite alternate-reverse cubic-bezier(.66,1.8,.22,1);
}

/* ======= PRINT FRIENDLY ======= */
@media print {
  header, footer, .cookie-consent, .cookie-modal { display: none !important; }
}
section {
  padding: 20px 0;
}