/* === 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
    display: block;
}
body {
    line-height: 1.5;
    background: #f4f6fb;
    color: #223344;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #37a0cf;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #223344;
    outline: none;
}
ul, ol {
    margin-left: 24px;
    margin-bottom: 16px;
}
li {
    margin-bottom: 8px;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    color: #223344;
    letter-spacing: 0.01em;
    font-weight: 700;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.15;
}
h2 {
    font-size: 1.9rem;
    margin-bottom: 18px;
    line-height: 1.2;
}
h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.25;
}
h4, h5, h6 {
    font-size: 1rem;
    line-height: 1.3;
}
p, .subheadline {
    font-family: 'Roboto', Arial, sans-serif;
    color: #223344;
    font-size: 1rem;
    margin-bottom: 16px;
}
.subheadline {
    font-size: 1.15rem;
    color: #37a0cf;
    font-weight: 500;
    margin-bottom: 24px;
}
blockquote {
    border-left: 4px solid #37a0cf;
    padding-left: 20px;
    margin-bottom: 12px;
    font-style: italic;
    color: #223344;
}

/* ==== CONTAINERS AND GRIDS ==== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(34,51,68,0.06);
}
.feature-grid,
.card-container,
.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 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;
}
.team-highlights ul,
.statistics,
ul.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 3px 12px rgba(34,51,68,0.07);
    padding: 28px 20px;
    margin-bottom: 20px;
    position: relative;
    min-width: 250px;
    max-width: 330px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 2px solid #37a0cf22;
    transition: box-shadow 0.25s, transform 0.25s, border 0.25s;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(34,51,68,0.14);
    border: 2px solid #37a0cf88;
    transform: translateY(-4px) scale(1.01);
    z-index: 2;
}
.feature-grid > div {
    background: #f4f6fb;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(34,51,68,0.04);
    padding: 26px 18px;
    min-width: 220px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: box-shadow 0.2s, border 0.2s;
    border: 2px solid #22334409;
    margin-bottom: 0;
    position: relative;
}
.feature-grid > div:hover {
    box-shadow: 0 4px 16px rgba(55,160,207,0.08);
    border: 2px solid #37a0cf;
    z-index: 1;
}

.text-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 16px;
}

.statistics {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 1.15rem;
    color: #223344;
    font-weight: 600;
    margin-top: 8px;
}
.statistics span {
    font-size: 1.35rem;
    color: #37a0cf;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    margin-right: 6px;
}

/* ==== BUTTONS & CALL-TO-ACTION ==== */
.cta-btn, button, .cookie-btn {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-block;
    padding: 12px 36px;
    background: #37a0cf;
    color: #fff;
    border: none;
    border-radius: 26px;
    box-shadow: 0 2px 8px rgba(55,160,207,0.13);
    transition: background 0.2s, color 0.2s, box-shadow 0.22s, transform 0.12s;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 8px;
}
.cta-btn:focus, .cta-btn:hover, button:focus, button:hover, .cookie-btn:focus, .cookie-btn:hover {
    background: #223344;
    color: #fff;
    box-shadow: 0 4px 16px rgba(34,51,68,0.15);
    outline: none;
    transform: translateY(-1px) scale(1.025);
    text-decoration: none;
}

/* ==== NAVIGATION ==== */
header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(34,51,68,0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    display: flex;
    align-items: center;
    height: 80px;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
}
header img {
    height: 48px;
    width: auto;
    margin-right: 24px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #223344;
    padding: 8px 8px;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.17s, color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus {
    background: #37a0cf18;
    color: #37a0cf;
    outline: none;
}
.mobile-menu-toggle {
    background: none;
    color: #37a0cf;
    border: none;
    font-size: 2.2rem;
    padding: 6px 14px;
    border-radius: 9px;
    cursor: pointer;
    margin-left: 18px;
    display: none;
    transition: background 0.18s, color 0.18s;
    z-index: 102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #2233440e;
    color: #223344;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(34,51,68,0.93);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
    z-index: 900;
    visibility: hidden;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu-close {
    background: none;
    color: #fff;
    border: none;
    font-size: 2.2rem;
    padding: 21px 28px 12px 18px;
    cursor: pointer;
    align-self: flex-end;
    border-radius: 9px;
    transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
    background: #37a0cf55;
    color: #37a0cf;
    outline: none;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    width: 90vw;
    max-width: 350px;
    background: #223344;
    padding: 40px 30px 16px 30px;
    box-shadow: -6px 0 16px rgba(34,51,68,0.22);
    height: 100vh;
    align-items: flex-start;
    gap: 18px;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 12px;
    border-radius: 11px;
    margin-bottom: 2px;
    transition: background 0.17s, color 0.2s;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.mobile-nav a:focus, .mobile-nav a:hover {
    background: #37a0cf;
    color: #fff;
    outline: none;
}

/* ==== MAIN & SECTIONS ==== */
main {
    margin-top: 32px;
    margin-bottom: 45px;
}
section {
    margin-bottom: 60px;
    padding: 40px 0px;
}

/* ==== TESTIMONIAL CARDS ==== */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    margin-bottom: 24px;
    border-radius: 18px;
    box-shadow: 0 3px 12px rgba(34,51,68,0.08);
    border: 2.5px solid #37a0cf18;
    min-width: 220px;
    transition: box-shadow 0.23s, border 0.21s;
}
.testimonial-card:hover {
    box-shadow: 0 6px 28px rgba(55,160,207,0.22);
    border: 2.5px solid #37a0cf55;
}
.testimonial-card blockquote {
    font-size: 1.02rem;
    color: #223344;
    opacity: 0.96;
    line-height: 1.44;
    border-left: 4px solid #37a0cf;
    padding-left: 18px;
    margin-bottom: 5px;
}
.testimonial-card span {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #37a0cf;
    font-size: 1rem;
    font-weight: 600;
    align-self: flex-end;
}

/* ==== FOOTER ==== */
footer {
    background: #223344;
    color: #fff;
    padding: 35px 0 0 0;
    margin-top: 40px;
}
footer .container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-nav {
    display: flex;
    gap: 28px;
    justify-content: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.footer-nav a {
    color: #37a0cf;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 5px 8px;
    font-weight: 600;
    border-radius: 8px;
    transition: color 0.16s, background 0.16s;
}
.footer-nav a:focus, .footer-nav a:hover {
    color: #fff;
    background: #37a0cf77;
}
.footer-contact {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 1rem;
    color: #cdd6df;
    font-family: 'Roboto', Arial, sans-serif;
    margin-bottom: 16px;
}

/* ==== CONTACT DETAILS ==== */
ul.contact-details {
    list-style: none;
    margin: 0 0 22px 0;
    padding: 0;
    gap: 16px;
}
ul.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    background: #f4f6fb;
    border-radius: 12px;
    padding: 13px 19px;
    color: #223344;
}
ul.contact-details li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #223344;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 20px 22px 32px;
    box-shadow: 0 -3px 15px rgba(34,51,68,0.14);
    z-index: 1200;
    font-size: 1rem;
    gap: 16px;
    flex-wrap: wrap;
    transition: transform 0.26s cubic-bezier(0.77,0,0.175,1), opacity 0.23s;
}
.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner .cookie-btn {
    margin-left: 12px;
    margin-top: 0;
}
.cookie-modal-overlay {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(34,51,68, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1300;
    opacity: 1;
    transition: opacity 0.22s cubic-bezier(0.86,0,0.07,1);
}
.cookie-modal-overlay.hide {
    opacity: 0;
    pointer-events: none;
}
.cookie-modal {
    background: #fff;
    color: #223344;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(34,51,68,0.15);
    padding: 40px 28px 26px 28px;
    min-width: 300px;
    max-width: 96vw;
    width: 360px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 1rem;
}
.cookie-modal h2 {
    font-size: 1.32rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 7px;
    color: #223344;
}
.cookie-modal .close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    color: #223344;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 8;
    border-radius: 8px;
    transition: background 0.16s, color 0.16s;
}
.cookie-modal .close:focus, .cookie-modal .close:hover {
    background: #f4f6fb;
    color: #37a0cf;
}
.cookie-modal .cookie-pref-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cookie-modal .toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}
.toggle-switch input[type="checkbox"] {
    width: 2em;
    height: 1em;
    border-radius: 1em;
    background: #cdd6df;
    appearance: none;
    outline: none;
    position: relative;
    margin-right: 0.5em;
    cursor: pointer;
    transition: background 0.22s;
}
.toggle-switch input[type="checkbox"]:checked {
    background: #37a0cf;
}
.toggle-switch input[type="checkbox"]::before {
    content: '';
    position: absolute;
    left: 0.15em;
    top: 0.15em;
    width: 0.7em;
    height: 0.7em;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.18s;
}
.toggle-switch input[type="checkbox"]:checked::before {
    transform: translateX(1em);
}
.toggle-switch label {
    font-size: 1rem;
    color: #223344;
}

/* ==== OL/UL/LI ==== */
ul, ol {
    margin-bottom: 16px;
    padding-left: 20px;
}
ul li, ol li {
    margin-bottom: 8px;
}

/* ==== FORM ELEMENTS (IF ANY) ==== */
input, textarea, select {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    border-radius: 7px;
    border: 2px solid #cdd6df;
    padding: 8px 13px;
    margin-bottom: 14px;
    width: 100%;
    background: #fff;
    color: #223344;
    transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
    border: 2px solid #37a0cf;
    outline: none;
}

/* ==== VISUAL HIERARCHY AND EFFECTS ==== */
hr {
    border: 0;
    border-top: 1.5px dashed #cdd6df;
    margin: 28px 0;
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.card, .feature-grid > div, .cta-btn, .testimonial-card, .footer-nav a, .main-nav a {
    transition: box-shadow 0.2s, border 0.2s, background 0.17s, color 0.15s, transform 0.11s;
}
.cta-btn:hover, .cta-btn:focus {
    box-shadow: 0 6px 18px rgba(55,160,207,0.16);
    background: #223344;
    color: #fff;
    text-decoration: none;
}

/* ==== GEOMETRIC / STRUCTURED MOTIFS ==== */
.card, .feature-grid > div, .testimonial-card, form, .cookie-modal {
    /* geometric sharp corners with subtle rounding */
    border-radius: 18px 8px 20px 8px;
    /* slight shadow for depth */
}
.feature-grid > div::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    background: #37a0cf;
    border-radius: 2px;
    margin-bottom: 14px;
    opacity: 0.18;
}

/* ==== MEDIA QUERIES / RESPONSIVENESS ==== */
@media(max-width: 1100px) {
    .container {
        max-width: 970px;
    }
    .feature-grid, .card-container, .card-grid {
        flex-wrap: wrap;
        gap: 18px;
    }
}
@media(max-width: 900px) {
    .container {
        max-width: 750px;
    }
    section {
        padding: 30px 0px;
    }
    .main-nav {
        gap: 18px;
    }
    .footer-nav {
        gap: 14px;
    }
    .footer-contact {
        gap: 10px;
    }
}
@media(max-width: 768px) {
    html {
        font-size: 16px;
    }
    body {
        font-size: 15px;
    }
    .container {
        max-width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }
    section, .section {
        padding: 22px 0px;
        margin-bottom: 38px;
        border-radius: 18px;
    }
    .content-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-block;
    }
    .feature-grid, .card-container, .card-grid, .content-grid {
        flex-direction: column;
        gap: 16px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
    .footer-contact {
        flex-direction: column;
        gap: 6px;
    }
}
@media(max-width: 520px) {
    h1 {
        font-size: 1.45rem;
    }
    h2 {
        font-size: 1.13rem;
    }
    h3 {
        font-size: 1rem;
    }
    .cta-btn {
        padding: 10px 24px;
        font-size: 0.98rem;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        font-size: 0.95rem;
        padding: 18px 8px 18px 10px;
    }
    .cookie-modal {
        padding: 17px 8px 17px 8px;
        min-width: unset;
        width: 98vw;
    }
}

/* ==== UTILITY CLASSES ==== */
.mt-8 { margin-top: 8px!important; } .mb-24 { margin-bottom: 24px!important; } .mb-32 { margin-bottom: 32px!important; } .gap-8 { gap: 8px!important; }

/* ==== Z-INDEX CONTEXTS ==== */
header { z-index: 100; }
.mobile-menu { z-index: 900; }
.cookie-banner { z-index: 1200; }
.cookie-modal-overlay { z-index: 1300; }

/* ==== ACCESSIBILITY ==== */
*:focus {
    outline: 2px solid #37a0cf;
    outline-offset: 2px;
    z-index: 1;
}

/* ==== BRAND COLORS FOR SVG ICONS IN CARDS (OPTIONAL) ==== */
.card img, .feature-grid img, .contact-details img {
    filter: brightness(0) saturate(100%) invert(33%) sepia(33%) saturate(1822%) hue-rotate(169deg) brightness(98%) contrast(103%);
    /* Applies #37a0cf style to grayscale SVGs */
    margin-bottom: 6px;
}

/* ==== PREVENT OVERLAPPING ==== */
.card, .feature-grid > div, .testimonial-card, .text-section, .contact-details li {
    margin-bottom: 20px;
}

/* ==== STRUCTURED FORM ELEMENTS (if present) ==== */
form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}
form label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #223344;
    font-weight: 600;
    margin-bottom: 4px;
}

/* ==== SVG LOGO (scalability) ==== */
header img[src$='logo.svg'] {
    min-width: 101px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
}

/* ==== GEOMETRIC ANGULAR FONT (Montserrat is angular) ==== */


/* ===== END OF CSS ===== */
