/* === CSS RESET & BASE === */
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;
}
body {
    line-height: 1.7;
    min-height: 100vh;
    background: #f9fbfc;
    color: #2d4057;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.01em;
    background-color: #f8fbfd;
}
@media (max-width:480px) {
  body { font-size:15px; }
}
*, *:before, *:after {
    box-sizing: inherit;
}
a {
    color: #143a5d;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #ffae00;
    outline: none;
    text-decoration: underline;
}
img, svg {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* === BRAND COLORS / VARIABLES === */
:root {
    --primary: #143a5d;
    --secondary: #ffae00;
    --accent: #ffffff;
    --pastel-blue: #e8f1fa;
    --pastel-yellow: #fff5d7;
    --pastel-pink: #ffe5ed;
    --pastel-peach: #ffe7dd;
    --pastel-green: #e5fffa;
    --pastel-purple: #f0e6ff;
    --text-main: #2d4057;
    --text-dark: #143a5d;
    --shadow: 0 12px 32px rgba(20,58,93,0.08), 0 2px 4px rgba(20,58,93,0.06);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--primary);
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.13;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.16;
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.22;
}
h4, h5, h6 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}
p, ul, ol, li {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    color: var(--text-main);
}
p {
    margin-bottom: 18px;
    font-weight: 400;
}
ul {
    padding-left: 24px;
    margin-bottom: 18px;
}
li {
    margin-bottom: 10px;
}
strong, b {
    font-weight: 700;
    color: var(--primary);
}
em, i {
    color: var(--secondary);
    font-style: italic;
}


/* === COMMON LAYOUT CLASSES === */
.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 18px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--accent);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

@media (max-width: 991px) {
  .section {
    padding: 32px 12px;
    margin-bottom: 40px;
  }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 16px;
}

.text-section {
    align-items: flex-start;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}

.feature-grid > div {
    background: var(--pastel-blue);
    border-radius: 18px;
    box-shadow: 0 4px 20px 2px rgba(20, 58, 93, 0.04);
    padding: 28px 20px 22px 20px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 230px;
    max-width: 315px;
    transition: box-shadow 0.2s, background 0.2s, transform 0.18s;
    margin-bottom: 20px;
}
.feature-grid > div img {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--pastel-yellow);
    box-shadow: 0 2px 9px rgba(20,58,93,0.07);
    padding: 3px;
}
.feature-grid > div h3 {
    margin-top: 0;
}
.feature-grid > div:hover {
    background: var(--pastel-green);
    box-shadow: 0 8px 32px 0 rgba(255,174,0,0.10), 0 1.5px 8px rgba(20,58,93,0.11);
    transform: translateY(-2px) scale(1.025);
}

/* == Testimonials / .testimonial-card == */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: var(--pastel-pink);
    padding: 28px 24px;
    border-radius: 18px;
    box-shadow: 0 4px 24px 2px rgba(20, 58, 93, 0.05);
    margin-bottom: 20px;
    max-width: 520px;
    font-size: 1.08rem;
    transition: background 0.24s, box-shadow 0.2s;
}
.testimonial-card p {
    color: var(--text-dark);
    margin-bottom: 6px;
}
.testimonial-card span {
    font-size: 1rem;
    color: #4f6a8d;
    font-weight: bold;
}
.testimonial-card:hover {
    background: var(--pastel-yellow);
    box-shadow: 0 8px 36px 2px rgba(255,174,0,0.15);
}

/* == FAQ Accordion == */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 8px;
}
.faq-accordion > div {
    background: var(--pastel-blue);
    border-radius: 16px;
    box-shadow: 0 2px 6px 0 rgba(20,58,93,0.07);
    padding: 18px 22px 15px 18px;
    transition: box-shadow 0.18s, background 0.16s;
}
.faq-accordion > div:hover {
    background: var(--pastel-purple);
    box-shadow: 0 4px 17px rgba(131,100,198,0.09);
}
.faq-accordion h3 { color: var(--primary); }

@media (min-width: 920px) {
   .feature-grid {
      justify-content: flex-start;
   }
}
@media (max-width: 900px) {
    .feature-grid { gap: 16px; }
}
@media (max-width: 600px) {
    .feature-grid > div {
      flex: 1 1 100%;
      min-width: 0;
      max-width: 100%;
    }
}

/* == Section & Cards == */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: var(--pastel-purple);
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(116, 87, 180, 0.10);
    padding: 28px 24px;
    transition: box-shadow 0.18s, background 0.2s;
}
.card:hover {
    box-shadow: 0 6px 28px 0 rgba(20,58,93,0.11);
    background: var(--pastel-blue);
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.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;
}

@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        gap: 20px;
    }
    .section {
        margin-bottom: 36px;
        padding: 23px 5px;
    }
    .card, .testimonial-card {
        padding: 20px 10px;
    }
}

/* === HEADER / NAVIGATION === */
header {
    width: 100%;
    background: var(--pastel-peach);
    border-bottom: 2px solid #fff8ef;
    position: relative;
    z-index: 30;
    box-shadow: 0 1px 20px 0 rgba(20,58,93,0.08);
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 12px;
}
header nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 7px;
    transition: background 0.18s, color 0.16s;
}
header nav a:hover,
header nav a:focus {
    background: var(--pastel-yellow);
    color: var(--secondary);
}
header a.btn-primary {
    margin-left: 28px;
}
header img {
    width: 135px;
    height: auto;
}

/* === PRIMARY BUTTON & INTERACTIVES === */
.btn-primary, .btn-secondary {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 12px 26px;
    font-size: 1.14rem;
    font-weight: 600;
    border-radius: 34px;
    color: var(--accent);
    background: linear-gradient(90deg, #ffae00 13%, #f9bad7 100%);
    box-shadow: 0 2px 16px 0 rgba(255,174,0,0.16);
    border: none;
    cursor: pointer;
    transition: background 0.22s, box-shadow 0.24s, color 0.18s, transform 0.13s;
    outline: none;
    letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(90deg, #ffc740 10%, #b6f0dd 100%);
    color: var(--primary);
    box-shadow: 0 8px 28px 0 rgba(255,174,0,0.21);
    transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
    background: var(--primary);
    color: var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus {
    background: var(--secondary);
    color: var(--primary);
}

/* === FOOTER === */
footer {
    background: var(--pastel-blue);
    border-top: 2px solid #eaf3f9;
    margin-top: 38px;
    box-shadow: 0 -1px 16px 0 rgba(20,58,93,0.04);
    font-size: 1rem;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 33px 16px 20px 16px;
}
footer img {
    width: 64px;
    margin-bottom: 8px;
}
footer nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}
footer nav a {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    padding: 3px 7px;
    border-radius: 6px;
    transition: background 0.16s, color 0.2s;
}
footer nav a:hover { background: var(--pastel-yellow); color: var(--secondary); }
footer small { color: #657991; font-size: 0.95rem; }

/* === MOBILE MENU (BURGER) === */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2.3rem;
    padding: 5px 11px;
    display: none;
    cursor: pointer;
    position: absolute;
    right: 22px;
    top: 28px;
    z-index: 200;
    border-radius: 7px;
    transition: background 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--pastel-yellow);
    color: var(--secondary);
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(252,245,232,0.98);
    transform: translateX(-120%);
    transition: transform 0.38s cubic-bezier(.8,.22,.19,.97);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 36px 0 0;
    box-shadow: 0 8px 36px rgba(20,58,93,0.17);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 2.2rem;
    align-self: flex-end;
    margin: 22px 14px 12px 0;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--pastel-pink);
    color: var(--primary);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin: 0 0 0 36px;
    width: 82vw;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    padding: 12px 10px;
    border-radius: 10px;
    transition: background 0.18s, color 0.18s;
    margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--pastel-yellow);
    color: var(--secondary);
}

@media (max-width: 1050px) {
    header nav, header a.btn-primary { display: none; }
    .mobile-menu-toggle { display: block; }
    header .container { justify-content: flex-start; }
}
@media (min-width: 1051px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
    header nav, header a.btn-primary { display: flex; }
}

/* === BUTTON SIZES ON SMALLER SCREENS === */
@media(max-width:480px) {
    .btn-primary, .btn-secondary {
        padding: 11px 12px;
        font-size: 1rem;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    left: 0; 
    bottom: 0;
    width: 100vw;
    background: linear-gradient(90deg, #ffe5ed 0%, #e5fffa 100%);
    color: #143a5d;
    box-shadow: 0 -4px 28px 0 rgba(20,58,93,0.14);
    display: flex;
    align-items: center;
    gap: 22px;
    z-index: 4000;
    padding: 22px 18px;
    border-radius: 18px 18px 0 0;
    animation: cookieBannerSlideIn 0.7s cubic-bezier(.66,.44,.16,1.12);
}
@keyframes cookieBannerSlideIn {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
    flex: 1;
    font-size: 1.07rem;
    font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary,
.cookie-banner .btn-settings {
    padding: 8px 21px;
    font-size: 1rem;
    border-radius: 26px;
    margin-right: 4px;
}
.cookie-banner .btn-settings {
    background: #fff7e1;
    color: #b78c1b;
    border: 1px solid var(--secondary);
    font-weight: 500;
    transition: background 0.18s, color 0.14s;
}
.cookie-banner .btn-settings:hover { background: #fffde9; color: var(--primary); }

@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        font-size: 1rem;
        padding: 14px 8px;
    }
    .cookie-banner-actions {
        gap: 7px;
    }
}

/* === COOKIE MODAL === */
.cookie-modal {
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(20,58,93,0.16);
    z-index: 4500;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}
.cookie-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
.cookie-modal-content {
    background: var(--accent);
    border-radius: 20px;
    max-width: 410px;
    width: 95vw;
    padding: 34px 20px 26px 20px;
    box-shadow: 0 7px 38px rgba(20,58,93,0.21);
    animation: cookieModalPopIn 0.45s cubic-bezier(.7,.33,.38,1.27);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
@keyframes cookieModalPopIn {
    from { transform: scale(0.93) translateY(28px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-content label, .cookie-modal-content p {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 7px;
}
.cookie-modal-category {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
    transform: scale(1.22);
    accent-color: var(--secondary);
}
.cookie-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

/* === INPUTS & FORMS (if any) === */
input, textarea, select {
    font-family: 'Roboto', Arial, sans-serif;
    border: 1px solid #d8e3ef;
    border-radius: 9px;
    padding: 10px 13px;
    font-size: 1rem;
    color: var(--primary);
    background: #f6fbff;
    margin-bottom: 16px;
    outline: none;
    transition: border 0.17s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 4px 1px #ffefbc;
}

/* === UTILITIES === */
.bg-pastel-yellow { background: var(--pastel-yellow) !important; }
.bg-pastel-purple { background: var(--pastel-purple) !important; }
.bg-pastel-pink { background: var(--pastel-pink) !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-24 { margin-top: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* === ANIMATION for micro-interaction === */
.card, .feature-grid > div, .testimonial-card, .faq-accordion > div {
  transition: box-shadow 0.18s, background 0.16s, transform 0.16s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .faq-accordion > div:hover {
    transform: scale(1.022);
    box-shadow: 0 8px 28px 0 rgba(142,175,237,0.14);
}

/* Subtle fade-in for hero sections etc. */
.section, .content-wrapper, .card, .testimonial-card {
    opacity: 0;
    animation: fadeInS 0.8s cubic-bezier(.66,.1,.18,1.08) 0.1s forwards;
}
@keyframes fadeInS {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* === Responsive adjustments === */
@media (max-width: 600px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.27rem; }
    h3, .feature-grid > div h3 { font-size: 1.05rem; }
    .container { padding: 0 6px; }
    .testimonial-card, .card { padding: 16px 7px; }
}

/* Prevent content overlapping, always give space between blocks */
section + section {
    margin-top: 30px;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-grid > div + div { margin-left: 0; }

/* == Hide scroll on body when modal/mobile-menu is open == */
body.modal-open, html.modal-open { overflow: hidden !important; }

/* == Custom scrollbar == */
::-webkit-scrollbar { width: 8px; background: #f9fbfc; }
::-webkit-scrollbar-thumb { background: #e5fffa; border-radius: 6px; }

