/* =====================================
   CSS RESET & BASE STYLES
====================================== */
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;
    font-size: 16px;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #223B63;
    background: #F4F7FA;
    line-height: 1.7;
    min-height: 100vh;
}
ul,ol {
    list-style: none;
}
a {
    color: #22A69A;
    text-decoration: none;
    transition: color 0.2s cubic-bezier(.29,1.01,1,1);
}
a:hover, a:focus {
    color: #223B63;
    outline: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button, .btn-primary {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
    padding: 0;
    margin: 0;
}

/* ============================
   TYPOGRAPHY
============================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #223B63;
    letter-spacing: 0.02em;
}
h1 {
    font-size: 2.75rem; /* 44px */
    line-height: 1.13;
    margin-bottom: 24px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}
h4 {
    font-size: 1.25rem;
}
p, li {
    font-size: 1rem;
    color: #223B63;
}
strong {
    font-weight: bold;
    color: #223B63;
}

/* =============================
   CONTAINER & GRID SYSTEM
============================= */
.container {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 28px rgba(34,59,99,0.06);
}

.text-section,
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .text-image-section,
    .text-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* =============================
   HEADER & NAVIGATION
============================= */
header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(34,59,99,0.04);
    z-index: 90;
    position: relative;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 12px 20px;
    min-height: 80px;
}
header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #223B63;
    letter-spacing: 0.02em;
    padding: 6px 9px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}
header nav a:hover,
header nav a.active {
    background: #22A69A;
    color: #fff;
}

.btn-primary {
    padding: 12px 28px;
    background: #22A69A;
    color: #fff;
    border-radius: 8px 24px 8px 24px;
    font-size: 1rem;
    letter-spacing: 0.04em;
    transition: background 0.18s cubic-bezier(.42,0,1,1), box-shadow 0.16s cubic-bezier(.42,0,1,1);
    box-shadow: 0 2px 7px rgba(34,166,154,0.14);
    margin-left: 16px;
    outline: 0;
}
.btn-primary:hover,
.btn-primary:focus {
    background: #223B63;
    color: #fff;
    box-shadow: 0 3px 14px rgba(34,59,99,0.13);
}

/* =============================
   MOBILE BURGER MENU
============================= */
.mobile-menu-toggle {
    display: none;
    background: #22A69A;
    color: #fff;
    font-size: 2rem;
    padding: 7px 14px;
    border-radius: 10px;
    position: absolute;
    top: 16px;
    right: 22px;
    z-index: 120;
    border: none;
    transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: #223B63;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: #fff;
    z-index: 2000;
    padding: 34px 24px 20px 24px;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: 0 0 80px rgba(34,59,99,0.18);
}
.mobile-menu.open {
    display: flex;
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    font-size: 2rem;
    color: #223B63;
    background: none;
    border: none;
    margin-bottom: 16px;
    cursor: pointer;
    padding: 0 7px;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    color: #223B63;
    border-radius: 9px;
    padding: 14px 8px;
    width: 100%;
    background: #f6fafd;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:hover {
    background: #22A69A;
    color: #fff;
}

@media (max-width: 1024px) {
    header nav,
    header .btn-primary {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

@media (min-width:1025px) {
    .mobile-menu { display: none!important; }
}

/* =============================
   HERO SECTION
============================= */
.hero {
    background: linear-gradient(110deg, #F4F7FA 72%, #22A69A15 100%);
    padding: 46px 0 40px 0;
    border-bottom: 2px solid #E0EAF7;
}
.hero .container {
    flex-direction: row;
    align-items: center;
    gap: 48px;
}
.hero .content-wrapper {
    max-width: 640px;
    gap: 28px;
}
.hero h1 {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}
.hero p {
    font-size: 1.25rem;
    color: #223B63;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .hero {
        padding: 30px 0 30px 0;
    }
    .hero .container {
        flex-direction: column;
        gap: 18px;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.06rem; }
}

/* ============================
   FEATURES/GRID/CARDS
============================ */
.feature-grid,.service-grid,.team-grid,.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 18px;
    margin-bottom: 10px;
}
.feature-grid > div, .service-card, .team-member, .testimonial-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(34,59,99,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 180px;
    max-width: 312px;
    flex: 1 1 260px;
    padding: 24px 20px;
    gap: 17px;
    margin-bottom: 20px;
    position: relative;
    border: 2.5px solid #E0EAF7;
    transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .service-card:hover, .testimonial-card:hover {
    box-shadow: 0 4px 32px rgba(34,59,99,0.17);
    transform: translateY(-5px) scale(1.025);
    border-color: #22A69A;
}
.feature-grid img, .service-card img, .team-member img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 8px;
}
.feature-grid h3, .service-card h2, .team-member strong {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.20rem;
    margin-bottom: 8px;
    color: #223B63;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.feature-grid p, .service-card p {
    color: #223B63;
    font-size: 1rem;
    margin-bottom: 0;
}

.service-grid {
    gap: 28px;
}
.service-card {
    min-width: 220px;
    max-width: 370px;
    border-radius: 20px;
}
.service-card h2 {
    font-size: 1.28rem;
}
.service-card a {
    color: #22A69A;
    font-weight: 500;
}
.service-card a:hover { text-decoration: underline; }

.team-grid {
    gap: 28px;
    padding-bottom: 12px;
}
.team-member {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-width: 210px;
    max-width: 420px;
    border-radius: 14px;
    background: #f8fafc;
}

.value-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
}
.value-list li {
    background: #EBFBF9;
    border-radius: 11px;
    padding: 20px 24px;
    min-width: 220px;
    flex: 1 1 185px;
    font-weight: 500;
    color: #223B63;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 2px solid #22A69A22;
}
.value-list img {
    width: 26px;
    height: 26px;
}

.map-placeholder {
    background: #E0EAF7;
    border: 2.5px dashed #223B63;
    border-radius: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    padding: 24px 20px;
    color: #223B63;
    font-weight: 700;
    letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
    .feature-grid, .service-grid, .testimonial-grid, .team-grid, .value-list ul {
        flex-wrap: wrap;
        gap: 18px;
    }
    .feature-grid > div, .service-card, .team-member, .testimonial-card, .value-list li {
        flex: 1 1 220px;
        min-width: 180px;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .feature-grid, .service-grid, .testimonial-grid, .team-grid, .value-list ul {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .feature-grid > div, .service-card, .team-member, .testimonial-card, .value-list li {
        min-width: 160px;
        max-width: 100%;
        padding: 18px 14px;
    }
}

/* ========================== 
   TESTIMONIALS
========================== */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    background: #F4F7FA;
    margin-bottom: 20px;
    border: 2px solid #22A69A22;
    min-width: 200px;
    max-width: 400px;
    transition: box-shadow 0.19s, transform 0.2s;
    box-shadow: 0 2px 10px rgba(34,59,99,0.07);
}
.testimonial-content p {
    font-size: 1.02rem;
    color: #223B63;
    margin-bottom: 8px;
    font-style: italic;
}
.testimonial-meta {
    font-size: 0.98rem;
    color: #22A69A;
    margin-bottom: 6px;
}
.testimonial-card img {
    height: 24px;
    width: auto;
}

.testimonial-card:hover {
    box-shadow: 0 4px 26px rgba(34,59,99,0.14);
    border-color: #22A69A;
    transform: scale(1.027);
}

/* DARK TEXT ON LIGHT BACKGROUND (ACCESSIBILITY) */
.testimonial-card, .testimonial-content, .testimonial-meta {
    background: #F4F7FA;
    color: #223B63;
}

/* =============================
   CTA SECTION
============================= */
.cta {
    background: #22A69A;
    border-radius: 20px;
    color: #fff;
    padding: 36px 0 36px 0;
    margin-top: 30px;
    margin-bottom: 44px;
}
.cta .container {
    align-items: center;
}
.cta .content-wrapper {
    align-items: center;
}
.cta h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    font-weight: 700;
}
.cta p {
    color: #E7EFEF;
    font-size: 1.1rem;
}
.cta .btn-primary {
    background: #fff;
    color: #22A69A;
    font-weight: bold;
    margin-top: 22px;
    margin-left: 0;
    box-shadow: 0 2px 10px rgba(255,255,255,0.1);
    border-radius: 24px 8px 24px 8px;
}
.cta .btn-primary:hover,
.cta .btn-primary:focus {
    background: #223B63;
    color: #fff;
}
@media (max-width: 768px) {
    .cta h3 {
        font-size: 1.2rem;
    }
    .cta p {
        font-size: 1rem;
    }
}

/* ============================
   LISTS / OL UL
============================ */
ul, ol {
    padding-left: 25px;
    margin: 8px 0 14px 0;
}
ul li, ol li {
    margin-bottom: 8px;
    position: relative;
    color: #223B63;
}
ol > li {
    counter-increment: item;
}
ol > li::before {
    content: counter(item) ". ";
    color: #22A69A;
    font-weight: bold;
    font-size: 1rem;
    position: absolute;
    left: -30px;
}
ul > li::before {
    content: '';
    display: inline-block;
    width: 0.9em;
    height: 0.9em;
    margin-right: 10px;
    border-radius: 3px;
    background: #22A69A;
    vertical-align: middle;
    position: absolute;
    left: -26px;
    top: 7px;
}
@media (max-width: 600px) {
    ul, ol {
        padding-left: 14px;
    }
    ul > li::before, ol > li::before {
        left: -18px;
    }
}

/* =============================
   FOOTER
============================= */
footer {
    background: #223B63;
    color: #fff;
    padding: 40px 0 25px 0;
    position: relative;
}
footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    color: #E7EFEF;
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    padding: 2px 0;
    transition: color 0.13s;
}
.footer-nav a:hover { color: #22A69A; }
.footer-contact {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #E7EFEF;
    margin-top: 10px;
}
.footer-contact a {
    color: #22A69A;
}
@media (max-width: 900px) {
    footer .container {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* =============================
   COOKIE CONSENT BANNER
============================= */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100vw;
    background: #223B63;
    color: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -1px 18px rgba(34,59,99,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 16px 19px 16px;
    z-index: 3000;
    gap: 16px;
    font-size: 1rem;
    transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.25s;
    transform: translateY(0);
    opacity: 1;
}
.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner .cookie-actions {
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin-top: 4px;
}
.cookie-btn, .cookie-btn-secondary {
    padding: 10px 22px;
    border-radius: 20px 6px 20px 6px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    outline: none;
    margin: 0 4px;
    transition: background 0.16s, color 0.16s;
}
.cookie-btn {
    background: #22A69A;
    color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #fff;
    color: #22A69A;
}
.cookie-btn-secondary {
    background: #fff;
    color: #223B63;
    border: 2px solid #22A69A;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
    background: #22A69A;
    color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(34,59,99,0.26);
    z-index: 3050;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadein 0.26s;
}
.cookie-modal-overlay.open {
    display: flex;
}
.cookie-modal {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 40px rgba(34,59,99,0.23);
    max-width: 420px;
    width: 90vw;
    padding: 30px 24px 22px 24px;
    color: #223B63;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
}
.cookie-modal-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.38rem;
    font-weight: 700;
    color: #22A69A;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}
.cookie-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.cookie-cat input[type=checkbox] {
    width: 19px; height: 19px;
    accent-color: #22A69A;
}
.cookie-cat label {
    font-size: 1rem;
}
.cookie-modal-actions {
    margin-top: 24px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.cookie-modal-close {
    position: absolute;
    top: 12px; right: 19px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #22A69A;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.18s;
    z-index: 2;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
    color: #223B63;
}
@media (max-width: 480px) {
    .cookie-modal {
        padding: 14px 8px 11px 8px;
    }
}
@keyframes fadein {
    from {opacity:0;} to {opacity:1;}
}

/* =============================
   RESPONSIVE STYLES
============================= */
@media (max-width: 600px) {
    .container {
        padding: 0 6px;
    }
    .section {
        padding: 22px 6px;
        margin-bottom: 40px;
    }
}

/* ==========================
   UTILS & MICRO-INTERACTIONS
=========================== */
[tabindex]:focus, button:focus, .btn-primary:focus { outline: 2px solid #22A69A; outline-offset: 2px; }

::-webkit-scrollbar {
    width: 10px;
    background: #E7EFEF;
}
::-webkit-scrollbar-thumb {
    background: #A9C7F9;
    border-radius: 7px;
}

/* Decorative geometric shapes (if used in BG via pseudo) */
.geoshape {
    position: absolute;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
    width: 160px;
    height: 140px;
    background: #22A69A;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 75%);
    right: -60px;
    top: -35px;
}

/* =============================
   CUSTOM FLEX LAYOUTS FOR MANDATORY PATTERNS
============================= */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(34,59,99,0.09);
    padding: 24px 18px;
}
.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;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
@media (max-width: 768px) {
    .content-grid, .card-container {
        flex-direction: column;
        gap: 16px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================
   GEOMETRIC/STRUCTURED AESTHETIC ACCENTS
============================ */
/* Angular/Geometric Font for titles */
h1, h2, h3, .btn-primary, .cookie-btn, .cookie-modal-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: none;
}

/* Geometric shapes as BG accents (OPTIONAL) */
body::before {
    content: '';
    position: fixed;
    top: -40px;
    left: -80px;
    width: 200px;
    height: 220px;
    background: #22A69A1b;
    opacity: 0.14;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 75%);
    pointer-events:none;
    display: block;
}
body::after {
    content: '';
    position: fixed;
    bottom: -30px;
    right: -100px;
    width: 170px;
    height: 160px;
    background: #223B631a;
    opacity: 0.13;
    z-index: 0;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 15% 0);
    pointer-events:none;
    display: block;
}

/* ==============================
   END OF STYLE.CSS
================================= */
