/* ======================== */
/* CSS RESET AND 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,
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;
}
body {
    line-height: 1.4;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background: #F7F8FA;
    color: #29406A;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #5563a5;
    text-decoration: none;
    transition: color 0.25s;
}
a:hover, a:focus {
    color: #71BC78;
    outline: none;
}
ul, ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
strong, b {
    font-weight: 700;
}
hr {
    border: none;
    border-top: 1px solid #eaecef;
    margin: 24px 0;
}

/* ==================== */
/* COLOR VARIABLES     */
/* ==================== */
:root {
    --color-primary: #29406A;
    --color-secondary: #71BC78;
    --color-accent: #F6EEDB;
    --color-bg: #F7F8FA;
    --color-pastel-blue: #BDD7EF;
    --color-pastel-green: #C3E9D3;
    --color-pastel-pink: #F9D7EE;
    --color-pastel-yellow: #FFF8DB;
    --color-pastel-purple: #E7D7F9;
    --color-white: #fff;
    --text-dark: #29406A;
    --text-light: #ffffff;
    --shadow-soft: 0 2px 12px 0 rgba(41, 64, 106, 0.08);
}

/* ======================== */
/* TYPOGRAPHY              */
/* ======================== */
h1, .h1 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    line-height: 1.15;
}
@media (min-width: 600px) {
    h1, .h1 {
        font-size: 2.8rem;
    }
}
h2, .h2 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    line-height: 1.18;
}
@media (min-width: 600px){
    h2, .h2 {
        font-size: 2rem;
    }
}
h3, .h3 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}
h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: var(--color-primary);
}
p, ul, ol, li, .text-section {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: 1.7;
}
.text-section {
    margin-bottom: 24px;
}
@media (min-width: 600px){
    p, ul, ol, li, .text-section {
        font-size: 1.07rem;
    }
}

/* ======================== */
/* CONTAINERS, SECTION     */
/* ======================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
section {
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
@media (max-width: 900px) {
    .section {
        margin-bottom: 40px;
        padding: 28px 10px;
    }
}

/* Consistent spacing for sections/cards */
section:not(:last-child) {
    margin-bottom: 32px;
}

/* ======================== */
/* FLEXBOX LAYOUT CLASSES   */
/* ======================== */
.features-grid, .steps-grid, .card-container, .content-grid, .testimonials-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    align-items: stretch;
    margin-top: 10px;
    margin-bottom: 20px;
}
@media (max-width: 768px){
    .features-grid, .steps-grid, .card-container, .content-grid, .testimonials-wrapper {
        gap: 16px;
        flex-direction: column;
    }
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 28px 20px;
    transition: box-shadow 0.18s;
    min-width: 240px;
}
.card:hover {
    box-shadow: 0 8px 30px 0 rgba(113,188,120,0.12);
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.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: 18px;
    }
}
.testimonials-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 16px 0;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--color-pastel-blue);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    min-width: 260px;
    margin-bottom: 20px;
    transition: transform 0.22s, box-shadow 0.16s;
    border-left: 4px solid var(--color-secondary);
    flex: 1 1 290px;
    max-width: 400px;
}
.testimonial-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px 0 rgba(113, 188, 120, 0.14);
}
.testimonial-content p {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
}
.testimonial-author {
    color: var(--color-primary);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}
.star-rating {
    color: #FFD96B;
    font-size: 1.2em;
    display: block;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.text-section {
    padding-top: 2px;
    margin-bottom: 18px;
}

/* =============== */
/* HEADER          */
/* =============== */
header {
    background: var(--color-pastel-yellow);
    box-shadow: 0 2px 8px 0 rgba(113,188,120,0.04);
    position: relative;
    z-index: 1002;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 0;
}
header a img {
    height: 44px;
}
nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-primary);
    padding: 7px 14px;
    border-radius: 16px;
    transition: background 0.22s, color 0.22s;
}
nav a:hover,
nav a:focus {
    background: var(--color-pastel-blue);
    color: var(--color-secondary);
}
@media (max-width: 900px) {
    nav {
        gap: 16px;
    }
    header a img {
        height: 33px;
    }
}

/* =============== */
/* CTA BUTTONS     */
/* =============== */
.cta-primary,
.cta-secondary {
    display: inline-block;
    border-radius: 24px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 13px 34px;
    margin-top: 8px;
    margin-bottom: 8px;
    border: none;
    outline: none;
    transition: background .22s,color .22s, box-shadow .17s;
    box-shadow: 0 1px 6px 0 rgba(113,188,120,0.08);
    cursor: pointer;
}
.cta-primary {
    background: var(--color-secondary);
    color: var(--text-light);
    border: 2px solid var(--color-secondary);
}
.cta-primary:hover, .cta-primary:focus {
    background: var(--color-primary);
    color: #FFF;
    border-color: var(--color-primary);
    box-shadow: 0 3px 20px 0 rgba(41,64,106,.15);
}
.cta-secondary {
    background: var(--color-pastel-blue);
    color: var(--color-primary);
    border: 2px solid var(--color-secondary);
}
.cta-secondary:hover, .cta-secondary:focus {
    background: var(--color-secondary);
    color: var(--text-light);
    border-color: var(--color-secondary);
    box-shadow: 0 3px 20px 0 rgba(41,64,106,.12);
}
@media (max-width: 520px) {
    .cta-primary,
    .cta-secondary {
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
    }
}

/* =============== */
/* MOBILE MENU     */
/* =============== */
.mobile-menu-toggle {
    display: none;
    font-size: 2.1rem;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    outline: none;
    margin-left: 14px;
    padding: 6px 16px 0 6px;
    border-radius: 28px;
    transition: background 0.19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: var(--color-pastel-blue);
}
@media (max-width: 900px) {
    nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
.mobile-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(41,64,106,0.98);
    color: var(--text-light);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 18px;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    font-size: 2rem;
    background: none;
    color: var(--color-pastel-yellow);
    border: none;
    position: absolute;
    top: 18px;
    right: 25px;
    cursor: pointer;
    z-index: 2100;
    padding: 4px 11px;
    border-radius: 50px;
    transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: rgba(41,64,106,0.22);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 60px;
    align-items: center;
}
.mobile-nav a {
    color: var(--text-light);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.22rem;
    font-weight: 500;
    padding: 14px 30px;
    border-radius: 20px;
    width: 80vw;
    text-align: center;
    transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-secondary);
    color: var(--text-light);
}
@media (min-width: 901px) {
    .mobile-menu { display: none; }
}

/* =========== */
/* MAIN        */
/* =========== */
main {
    margin: 30px 0 70px 0;
}
@media (max-width: 600px) {
    main {
        margin: 12px 0 50px 0;
    }
}
section {
    margin-bottom: 28px;
    padding: 28px 0;
}

/* =========== */
/* TABLES      */
/* =========== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
thead th {
    background: var(--color-pastel-purple);
    color: var(--color-primary);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 15px 8px;
    text-align: left;
    border-bottom: 2px solid var(--color-secondary);
}
tbody td {
    padding: 12px 8px;
    border-bottom: 1px solid #F0F0F0;
    color: var(--color-primary);
}
@media (max-width: 650px) {
    table, thead, tbody, tr, th, td {
        display: block;
        width: 100%;
    }
    thead { display: none; }
    tr {
        margin-bottom: 8px;
    }
    td {
        padding: 10px 5px;
        border-bottom: 1px solid #EEEEEE;
    }
}

/* =========== */
/* FOOTER      */
/* =========== */
footer {
    background: var(--color-pastel-yellow);
    border-top: 1px solid #E7E7E7;
    box-shadow: 0 -2px 10px rgba(113,188,120,0.06);
    padding: 18px 0 0 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
footer .container {
    padding-bottom: 10px;
}
footer .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    min-height: 80px;
}
footer nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
footer nav a {
    color: var(--color-primary);
    font-size: 1rem;
    padding: 3px 0;
    border-radius: 8px;
    transition: background 0.17s;
}
footer nav a:hover {
    background: var(--color-pastel-blue);
    color: var(--color-secondary);
}
footer img {
    height: 40px;
    margin-bottom: 7px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--color-primary);
    font-size: 0.98em;
}
.footer-contact img {
    height: 1.1em;
    vertical-align: middle;
    margin-right: 8px;
}
@media (max-width: 700px) {
    footer .content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0;
    }
    footer nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ================ */
/* FAQ, ACCORDION   */
/* ================ */
/* (Questions in .faq sections) */
.content-wrapper>div>h3 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1.03rem;
    margin-top: 20px;
    margin-bottom: 7px;
    color: var(--color-primary);
}

/* ================ */
/* PASTEL DECORATIVE */
/* ================ */
.features-grid > div,
.steps-grid > div {
    background: var(--color-pastel-green);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 24px 18px;
    min-width: 200px;
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.16s, background 0.18s;
}
.features-grid > div:hover,
.steps-grid > div:hover {
    background: var(--color-pastel-blue);
    box-shadow: 0 6px 30px 0 rgba(41,64,106,0.07);
}
.features-grid img, .steps-grid img {
    height: 38px;
    margin-bottom: 10px;
}

/* ==================== */
/* SPACING/LAYOUT UTIL  */
/* ==================== */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ==================== */
/* ANIMATIONS + HOVERS */
/* ==================== */
@media (hover: hover) {
    .card:hover, .features-grid > div:hover, .steps-grid > div:hover {
        box-shadow: 0 6px 24px 0 rgba(113,188,120,0.09);
        background: var(--color-pastel-blue);
    }
}

/* ================ */
/* COOKIE BANNER + MODAL */
/* ================ */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: var(--color-pastel-blue);
    color: var(--color-primary);
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3000;
    box-shadow: 0 -6px 30px 0 rgba(41,64,106,0.12);
    padding: 16px 12px;
    animation: cookieBannerIn 0.48s ease;
}
@keyframes cookieBannerIn {
    0% { transform: translateY(120%); opacity: 0; }
    80% { transform: translateY(-12px); opacity: 0.98; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
    font-size: 0.98rem;
    margin-bottom: 14px;
    text-align: center;
}
.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 2px;
    justify-content: center;
}
.cookie-banner .cookie-btn {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    padding: 8px 22px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid var(--color-secondary);
    background: var(--color-secondary);
    color: var(--text-light);
    margin: 0;
    cursor: pointer;
    transition: background .18s,color .18s;
    outline: none;
}
.cookie-banner .cookie-btn.cookie-settings {
    background: var(--color-accent);
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}
.cookie-banner .cookie-btn:hover {
    background: var(--color-primary);
    color: var(--text-light);
}
.cookie-banner .cookie-btn.cookie-settings:hover {
    background: var(--color-pastel-blue);
    color: var(--color-secondary);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 3500;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 14px 40px 0 rgba(41,64,106,0.17);
    max-width: 98vw;
    width: 370px;
    transform: translate(-50%, -55%) scale(1);
    padding: 30px 22px 22px 22px;
    display: none;
    animation: cookieModalIn 0.39s cubic-bezier(0.77,0.23,0.19,1.0);
}
.cookie-modal.open {
    display: block;
}
@keyframes cookieModalIn {
    0% { transform: translate(-50%, -80%) scale(0.98); opacity: 0; }
    90% { transform: translate(-50%, -60%) scale(1.04); opacity: 1; }
    100% { transform: translate(-50%, -55%) scale(1); opacity: 1; }
}
.cookie-modal h3 {
    margin-bottom: 16px;
    color: var(--color-primary);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 600;
}
.cookie-modal .cookie-category {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal label {
    font-size: 1rem;
    color: var(--color-primary);
}
.cookie-modal input[type='checkbox'] {
    transform: scale(1.15);
    accent-color: var(--color-secondary);
    margin-right: 6px;
}
.cookie-modal .modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 19px;
}
.cookie-modal .close-modal {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.15rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0 0 0 3px;
}
@media (max-width: 500px) {
    .cookie-modal {
        width: 96vw;
        padding: 14px 5px 12px 5px;
        border-radius: 13px;
    }
}

/* ==================== */
/* RESPONSIVENESS      */
/* ==================== */
@media (max-width: 900px) {
    .container {
        max-width: 98vw;
        padding: 0 6px;
    }
}
@media (max-width: 510px) {
    h1, .h1 { font-size: 1.45rem; }
    h2, .h2 { font-size: 1.08rem; }
    .content-wrapper { gap: 12px; }
    section { padding: 14px 0; }
}

/* ==================== */
/* SCROLLBAR STYLING   */
/* ==================== */
body::-webkit-scrollbar {
    width: 10px;
    background: var(--color-pastel-yellow);
}
body::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 6px;
}

/* ================ */
/* PASTEL EFFECTS   */
/* ================ */
.card, .features-grid > div, .steps-grid > div {
    transition: box-shadow 0.27s, background 0.18s;
}
section {
    box-shadow: 0 7px 30px -12px rgba(249, 215, 238, 0.08);
    border-radius: 24px;
}
@media (max-width: 900px) {
    section {
        border-radius: 14px;
    }
}

/* Ensure no flex item overlaps */
.features-grid > div, .steps-grid > div, .testimonial-card {
    min-width: 0;
    min-height: 0;
}

/* ================ */
/* UTILITY CLASSES  */
/* ================ */
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }

/* ================ */
/* NO ABSOLUTE/GRID */
/* ================ */
/* All layouts are flexbox. No grid/columns/absolute/card positioning for content! */
