/* 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 {
  scroll-behavior: smooth;
  background: #FAF9FD;
  font-size: 16px;
}
body {
  min-height: 100vh;
  color: #254072;
  background: linear-gradient(180deg, #FCE3EC 0%, #E4F1FB 100%);
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #204586;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E65A1F;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #ffffffcc;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 6px 32px 0 rgba(60, 60, 120, 0.06);
}
th, td {
  padding: 16px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #E4F1FB;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #204586;
}
tr:nth-child(even) {
  background: #FAF9FD;
}
tr:nth-child(odd) {
  background: #FFF9F2;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #204586;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; }
h4 { font-size: 1.05rem; margin-bottom: 12px; }

/* Containers & Layout */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  background: #ffffffb8;
  border-radius: 24px;
  box-shadow: 0 4px 18px 0 rgba(35, 90, 120, 0.06);
  padding: 40px 32px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.text-section:hover {
  box-shadow: 0 8px 28px 0 rgba(230, 90, 31, 0.14);
}
.section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  width: 100%;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 0;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 10px;
  }
  .text-section {
    padding: 24px 10px;
  }
}

/* Card & Grid Patterns (FLEX ONLY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFDFB;
  border-radius: 19px;
  box-shadow: 0 4px 18px 0 rgba(230, 90, 31, 0.09);
  padding: 32px 24px;
  flex: 1 1 280px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(60, 80, 120, 0.15);
  transform: translateY(-4px) scale(1.015);
}
.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;
    gap: 24px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #FDF8FA;
  border-left: 7px solid #E65A1F;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px 0 rgba(32, 69, 134, 0.07);
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #2C3381;
  font-size: 1.13rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #204586;
  font-size: 0.98rem;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(32, 69, 134, 0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Buttons & Calls-to-action */
.cta-primary, .cta-secondary, button, .cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #FFD342;
  color: #204586;
  border: none;
  border-radius: 19px;
  padding: 13px 36px;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px 0 rgba(230, 90, 31, 0.12);
  transition: background 0.19s, color 0.21s, box-shadow 0.21s, transform 0.09s;
  margin-right: 12px;
  margin-bottom: 8px;
  display: inline-block;
  letter-spacing: 0.02em;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus, .cookie-actions button:focus, .cookie-actions button:hover {
  background: #E65A1F;
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(230, 90, 31, 0.17);
  transform: translateY(-1px) scale(1.03);
}
.cta-secondary {
  background: #204586;
  color: #FFF;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #E4F1FB;
  color: #204586;
}
button, .cookie-actions button {
  font-size: 0.98rem;
  padding: 10px 28px;
}
.cookie-actions .cookie-settings {
  background: #ffffff;
  color: #204586;
  border: 2px solid #FFD342;
}
.cookie-actions .cookie-settings:hover {
  background: #FFD342;
  color: #204586;
}

/* Main Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(32, 69, 134, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #254072;
  padding: 8px 16px;
  border-radius: 12px;
  transition: background 0.16s, color 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E4F1FB;
  color: #204586;
}
.main-nav .cta-primary {
  margin-left: 16px;
  background: #FFD342;
  color: #204586;
  padding: 10px 28px;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: #E65A1F;
  color: #fff;
}
.mobile-menu-toggle {
  background: #FFD342;
  color: #204586;
  font-size: 2rem;
  border: none;
  border-radius: 9px;
  padding: 6px 16px 8px 16px;
  margin-left: 14px;
  box-shadow: 0 4px 12px 0 rgba(230,90,31,0.10);
  display: none;
  transition: background 0.16s;
  cursor: pointer;
  z-index: 300;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E65A1F;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav a { font-size: 0.98rem; }
}
@media (max-width: 900px) {
  .main-nav a { padding: 7px 10px; }
}
@media (max-width: 880px) {
  .main-nav { gap: 11px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU (slide-in) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #254072ee;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.65,.05,.36,1), opacity 0.20s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFD342;
  color: #204586;
  border: none;
  font-size: 2rem;
  border-radius: 9px;
  width: 48px;
  height: 48px;
  margin: 24px 24px 8px auto;
  align-self: flex-end;
  cursor: pointer;
  box-shadow: 0 8px 24px 0 rgba(32, 69, 134, 0.14);
  transition: background 0.16s, color 0.19s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E65A1F;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 auto;
  margin-top: 40px;
  width: 90vw;
  max-width: 400px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #FFD342;
  background: transparent !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  padding: 12px 0 12px 10px;
  border-radius: 9px;
  width: 100%;
  transition: background 0.12s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffd34224;
  color: #fffbe8;
}
.mobile-nav a.cta-primary {
  background: #FFD342 !important;
  color: #204586 !important;
  font-weight: 800;
  margin-top: 8px;
  padding-left: 24px;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Footer */
footer {
  background: #FFF9F2;
  padding: 34px 0 20px 0;
  margin-top: 60px;
  border-top: 3px solid #FFD342;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: #204586;
}
.footer-brand img {
  height: 45px;
  width: auto;
  border-radius: 11px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav a {
  color: #204586;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 7px 13px;
  transition: background 0.15s, color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD342;
  color: #E65A1F;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #254072;
  font-size: 0.98rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}
.footer-contact div {
  display: flex;
  align-items: center;
}

@media (max-width: 1000px) {
  footer .container {
    gap: 30px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Custom Misc Spacing & General Elements */
p {
  margin-bottom: 18px;
}
strong {
  color: #E65A1F;
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #ECE9F0;
  margin: 34px 0 18px 0;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255, 211, 66, 0.99);
  color: #204586;
  box-shadow: 0 -4px 24px 0 rgba(32,69,134,0.09);
  width: 100vw;
  min-height: 88px;
  z-index: 25000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 17px 8vw 11px 8vw;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  gap: 20px;
  transition: bottom 0.3s, opacity 0.25s;
  animation: fadeInCookie 0.65s cubic-bezier(.6,.2,.56,1.15);
}
@keyframes fadeInCookie {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #204586;
  margin: 4px 0 2px 0;
  flex: 2;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 8px;
    font-size: 0.97rem;
  }
  .cookie-actions {
    width: 100%;
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(32,69,134,0.16);
  z-index: 27000;
  animation: fadeModal 0.25s;
}
.cookie-modal-backdrop.open {
  display: block;
}
@keyframes fadeModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%, 65%);
  min-width: 320px;
  max-width: 96vw;
  background: #fff;
  color: #204586;
  border-radius: 22px;
  box-shadow: 0 16px 60px 0 rgba(32,69,134,0.21);
  z-index: 30000;
  padding: 42px 24px 26px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  animation: modalUp 0.25s cubic-bezier(.7,.08,.45,1.19);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
@keyframes modalUp {
  0% { opacity: 0; transform: translate(-50%, 70%); }
  100% { opacity: 1; transform: translate(-50%, -50%); }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
  color: #204586;
}
.cookie-category .cookie-toggle {
  width: 36px;
  height: 20px;
  background: #FFD34277;
  border-radius: 19px;
  position: relative;
  display: inline-block;
  margin-right: 7px;
  transition: background 0.14s;
  vertical-align: middle;
  cursor: pointer;
}
.cookie-category .cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category .toggle-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 14px 0 rgba(32,69,134,0.07);
  transition: left 0.18s, background 0.15s;
}
.cookie-category .cookie-toggle input:checked + .toggle-slider {
  left: 18px;
  background: #FFD342;
}
.cookie-category .cookie-toggle input:checked ~ .cookie-toggle {
  background: #20458645;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 22px; right: 16px;
  background: transparent;
  color: #204586;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.14s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #E4F1FB;
}

/* Accessibility Focus Styling */
a:focus, button:focus, .cta-primary:focus, .mobile-menu-toggle:focus, .cookie-modal .modal-close:focus {
  outline: 2px solid #E65A1F;
  outline-offset: 3px;
}

/* Utilities */
.hide-on-desktop {
  display: none;
}
@media (max-width: 768px) {
  .hide-on-mobile { display: none; }
  .hide-on-desktop { display: block; }
}

/* Forms (for future contact forms) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  padding: 11px 14px;
  border: 1.5px solid #e4f1fb;
  background: #FDF8FA;
  margin-bottom: 18px;
  color: #204586;
  outline: none;
  transition: border 0.12s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #E65A1F;
  box-shadow: 0 3px 13px 0 #FFD34233;
}

/* Responsive Typography */
@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.36rem; }
  h3 { font-size: 1.12rem; }
  .footer-brand {
    font-size: 1rem;
  }
}

/* Dreamy Pastel Color Palette Extension */
body {
  /* extend soft gradient for dreamy effect */
  background: linear-gradient(135deg, #FCE3EC 0%, #E8f6fd 60%, #f2f8e7 100%);
}
.text-section, .card, .testimonial-card, .content-wrapper {
  box-shadow: 0 6px 36px 0 rgba(250, 153, 186, 0.055), 0 2px 10px 0 rgba(32,69,134,0.06);
}

/* Gentle Micro-Interactions */
.card, .testimonial-card, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .footer-nav a {
  transition: box-shadow 0.22s, transform 0.15s, background 0.16s, color 0.17s;
}
.card:active, .testimonial-card:active, .cta-primary:active, .cta-secondary:active {
  transform: scale(0.98);
}

/* Spacing Patterns for Consistency */
.section, .card, .content-wrapper, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 24px;
}
@media (max-width: 600px) {
  .card-container, .content-grid {
    gap: 13px;
  }
}

/* Icon Styling for Soft-Pastel Style */
.footer-contact img, .text-section img, .content-wrapper img, .card img {
  filter: drop-shadow(0 2px 6px rgba(230, 90, 31, 0.04)) drop-shadow(0 4px 16px rgba(250, 153, 186, 0.06));
  border-radius: 8px;
}

/* Accessibility: Ensure strong contrast in testimonials */
.testimonial-card {
  background: #fffafb;
  border-left: 7px solid #E65A1F;
}
.testimonial-card p, .testimonial-author {
  color: #204586;
}

/* Responsive fixes for overflowing content */
@media (max-width: 500px) {
  .text-section, .card {
    padding: 14px 4px;
  }
  .section {
    padding: 16px 0;
    margin-bottom: 18px;
  }
  table, th, td {
    font-size: 0.98rem;
    padding: 6px;
  }
}

/* Subtle Section Coloring for Dreaminess */
section:nth-child(even) .text-section {
  background: #FFF9F2;
}
section:nth-child(odd) .text-section {
  background: #ffffffb8;
}

/* List Bullet Styling */
ul li::marker, ol li::marker {
  color: #E65A1F;
  font-size: 1.12em;
}

/* Links inside .text-section */
.text-section a:not(.cta-primary) {
  color: #E65A1F;
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.13s;
}
.text-section a:not(.cta-primary):hover, .text-section a:not(.cta-primary):focus {
  color: #204586;
}

/* Hide cookie-modal backdrop if modal is not open */
.cookie-modal-backdrop:not(.open) {
  pointer-events: none;
  opacity: 0;
}

/* Optional: Fade-out interactions for closing (can add classes via JS for state) */
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, bottom 0.2s;
  bottom: -120px;
}

/* Utility class for visually-hidden (a11y) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap; border: 0; padding: 0;
}

/* End of CSS */
