/* ----------------------------------------------
   CSS RESET & NORMALIZE for consistent baseline
------------------------------------------------*/
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 {
    height: 100%;
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    line-height: 1.6;
    background: #F4F6F9;
    font-family: 'Roboto', Arial, sans-serif;
    color: #16304F;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
*, *:before, *:after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
strong { font-weight: 600; }

/* Typography */
h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #16304F;
    margin-bottom: 24px;
    line-height: 1.15;
}
h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #16304F;
    margin-bottom: 18px;
}
h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: #16304F;
    margin-bottom: 12px;
}
h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #16304F;
    margin-bottom: 8px;
}
p {
    margin-bottom: 16px;
    color: #253F5B;
    font-size: 1rem;
}
ul li, ol li { color: #253F5B; margin-bottom: 10px; }

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(22,48,79,0.04);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/*-------------------------
  Header & Navigation
-------------------------*/
header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(22, 48, 79, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 14px;
    padding-bottom: 14px;
}
header nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #16304F;
    font-weight: 500;
    opacity: 0.90;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border 0.2s;
}
header nav a:hover,
header nav a:focus {
    color: #3AAD63;
    border-bottom: 2px solid #3AAD63;
}
.cta-btn {
    padding: 10px 32px;
    background: #3AAD63;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 28px;
    box-shadow: 0 2px 14px rgba(58,173,99,0.06);
    transition: background 0.25s, box-shadow 0.25s, transform 0.12s;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
    background: #21694d;
    box-shadow: 0 4px 20px rgba(58,173,99,0.12);
    transform: translateY(-2px) scale(1.03);
}
.cta-link {
    color: #3AAD63;
    font-weight: 500;
    font-family: 'Montserrat', Arial, sans-serif;
    position: relative;
    padding-right: 18px;
    transition: color 0.2s;
}
.cta-link:after {
    content: '\2192';
    margin-left: 6px;
    font-size: 1rem;
    color: #3AAD63;
    transition: transform 0.15s;
}
.cta-link:hover:after, .cta-link:focus:after { transform: translateX(3px); }
.cta-link:hover { color: #21694d; }

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    background: #16304F;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 2.2rem;
    padding: 9px 16px;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 120;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(22,48,79,0.08);
    transition: background 0.18s, box-shadow 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: #3AAD63;
    color: #fff;
    box-shadow: 0 4px 18px rgba(58,173,99,0.09);
}

/* Mobile navigation overlay */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #16304F;
    color: #fff;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.6,0,0.4,1);
    box-shadow: -6px 0 28px rgba(22,48,79,0.10);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.1rem;
    padding: 16px;
    align-self: flex-end;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #3AAD63;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 40px 32px 32px 32px;
    width: 100%;
    align-items: flex-start;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.95;
    padding: 9px 0;
    transition: color 0.23s, opacity 0.13s;
    border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #3AAD63;
    opacity: 1;
    border-bottom: 2px solid #3AAD63;
}

/* Layout Spacing Patterns (Classes) */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px 0 rgba(22,48,79,0.07);
    padding: 24px;
    flex: 1 1 320px;
}
.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;
    background: #F4F6F9;
    border-radius: 10px;
    min-width: 0;
    color: #16304F;
    margin-bottom: 20px;
    box-shadow: 0 1px 8px 0 rgba(22,48,79,0.06);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 8px 0 rgba(22,48,79,0.06);
    padding: 24px 20px;
    flex: 1 1 260px;
    min-width: 0;
}

/*-------------------------
  HERO & BANNERS
-------------------------*/
.hero {
    background: #16304F;
    color: #fff;
    padding: 60px 0 48px;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 4px 32px rgba(22,48,79,0.07);
}
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero .content-wrapper { align-items: flex-start; text-align: left; gap: 20px; }
.hero h1 { color: #fff; }
.hero p {
    color: #F4F6F9;
    font-size: 1.18rem;
    margin-bottom: 26px;
}
.hero .cta-btn { background: #3AAD63; }

.cta-banner {
    background: #3AAD63;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(58,173,99,0.09);
    padding: 36px 0;
    text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner .cta-btn { background: #fff; color: #16304F; border: 2px solid #3AAD63; }
.cta-banner .cta-btn:hover,
.cta-banner .cta-btn:focus { background: #21694d; color: #fff; border-color: #21694d; }

/*-------------------------
  FEATURES, GRIDS, CARDS
-------------------------*/
.features .feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.feature-item img { width: 54px; height: 54px; margin-bottom: 10px; }
.feature-item h3 { margin-bottom: 6px; }
.feature-item p { font-size: 1rem; color: #253F5B; }

.service-cards,
.benefits-grid,
.analysis-grid,
.team-bios,
.case-study-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.service-card, .benefit-item, .analysis-item, .case-study-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 8px 0 rgba(22,48,79,0.06);
    padding: 24px 20px;
    flex: 1 1 260px;
    min-width: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    transition: box-shadow 0.18s, transform 0.17s;
}
.service-card:hover,
.benefit-item:hover,
.analysis-item:hover,
.case-study-card:hover {
    box-shadow: 0 6px 24px 0 rgba(22,48,79,0.12);
    transform: translateY(-3px) scale(1.02);
}
.service-card img,
.benefit-item img,
.analysis-item img {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.step {
    background: #F4F6F9;
    border-radius: 9px;
    box-shadow: 0 1px 8px 0 rgba(22,48,79,0.05);
    padding: 22px 18px;
    flex: 1 1 230px;
    min-width: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/*-------------------------
  TESTIMONIALS, SLIDERS
-------------------------*/
.testimonials {
    background: #ECF2F7;
    border-radius: 12px;
    padding: 56px 0;
}
.testimonials h2 { color: #16304F; margin-bottom: 26px; }
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}
.testimonial-card {
    background: #F4F6F9;
    border-left: 6px solid #3AAD63;
    box-shadow: 0 1px 12px 0 rgba(22,48,79,0.08);
    flex: 1 1 320px;
    min-width: 0;
    margin-bottom: 20px;
    color: #16304F;
    font-size: 1.07rem;
    font-style: italic;
    padding: 28px 22px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.testimonial-card strong {
    font-weight: 700;
    font-size: 1rem;
    color: #253F5B;
    margin-top: 6px;
    font-style: normal;
}

/*------------------------------
         ACCORDION (FAQ)
------------------------------*/
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.faq-item {
    background: #fff;
    border-radius: 9px;
    box-shadow: 0 1px 8px 0 rgba(22,48,79,0.07);
    padding: 22px 18px;
    transition: box-shadow 0.16s, transform 0.16s;
}
.faq-item:hover {
    box-shadow: 0 6px 18px rgba(22,48,79,0.12);
    transform: scale(1.01);
}
.faq-item h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/*-------------------------
         FOOTER
-------------------------*/
footer {
    margin-top: 60px;
    background: #16304F;
    color: #fff;
    padding: 44px 0 16px;
}
.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}
.footer-main > * {
    flex: 1 1 180px;
    min-width: 0;
}
footer img {
    max-height: 44px;
    margin-bottom: 22px;
}
.footer-nav, .legal-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a, .legal-nav a {
    color: #ECF2F7;
    opacity: 0.85;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: color 0.18s, opacity 0.14s;
}
.footer-nav a:hover, .legal-nav a:hover {
    color: #3AAD63;
    opacity: 1;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.98rem;
}
.contact-info img {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 7px;
}

/*-------------------------
      LEGAL PAGES LAYOUT
-------------------------*/
.legal-content {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 1px 8px 0 rgba(22,48,79,0.07);
    padding: 40px 20px;
    margin-bottom: 60px;
}
.legal-content h1,
.legal-content h2,
.legal-content h3 {
    color: #16304F;
}
.legal-content ul li {
    list-style: disc inside;
    margin-left: 18px;
}

/*-------------------------
      OTHER COMPONENTS
-------------------------*/
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    margin-top: 8px;
}
.partner-logos img { filter: grayscale(70%); height: 36px; transition: filter 0.24s; }
.partner-logos img:hover { filter: grayscale(0%) brightness(1.12); }

.map-placeholder {
    background: #ECF2F7;
    color: #253F5B;
    border-radius: 10px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 18px;
    font-size: 1rem;
}

/*-------------------------
        COOKIE CONSENT
-------------------------*/
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; width: 100vw;
    background: #253F5B;
    color: #fff;
    padding: 26px 16px 18px 16px;
    z-index: 2500;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    box-shadow: 0 -2px 24px 0 rgba(22,48,79,0.13);
    font-size: 1rem;
    transition: transform 0.3s cubic-bezier(0.6,0,0.4,1);
    transform: translateY(100%);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p {
    flex: 2;
    margin-bottom: 0;
    color: #fff;
}
.cookie-buttons {
    display: flex;
    gap: 16px;
}
.cookie-banner button {
    padding: 8px 20px;
    background: #3AAD63;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, transform 0.14s;
    box-shadow: 0 2px 8px rgba(58,173,99,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
    background: #21694d;
    transform: scale(1.04);
}
button.cookie-settings {
    background: #fff;
    color: #16304F;
    border: 2px solid #3AAD63;
    font-weight: 600;
}
button.cookie-settings:hover, button.cookie-settings:focus {
    background: #3AAD63;
    color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22,48,79,0.48);
    z-index: 2600;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.26s;
}
.cookie-modal-overlay.open {
    display: flex;
}
.cookie-modal {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 34px rgba(22,48,79,0.15);
    padding: 38px 30px;
    max-width: 420px;
    width: 100%;
    color: #16304F;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.cookie-modal-header {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.cookie-category-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 1.07rem;
    color: #253F5B;
}
.cookie-toggle {
    width: 42px; height: 22px;
    background: #ECF2F7;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}
.cookie-toggle input {
    display: none;
}
.cookie-toggle-slider {
    position: absolute;
    top: 2px; left: 2px;
    width: 18px; height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(22,48,79,0.08);
    transition: left 0.22s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
    left: 22px; background: #3AAD63;
}
.cookie-modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.cookie-modal button {
    background: #3AAD63;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 9px 18px;
    cursor: pointer;
    transition: background 0.18s;
}
.cookie-modal button.cancel {
    background: #16304F;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
    background: #21694d;
}
.cookie-modal button.cancel:hover,
.cookie-modal button.cancel:focus {
    background: #253F5B;
}

/*-------------------------
      RESPONSIVE DESIGN
-------------------------*/
@media (max-width: 1150px) {
    .container { max-width: 900px; }
    .footer-main { flex-wrap: wrap; gap: 22px; }
}
@media (max-width: 900px) {
    .container { max-width: 98vw; }
    .footer-main { flex-direction: column; gap: 30px; align-items: flex-start; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.35rem; }
    .section, .legal-content { padding: 28px 8px; }
    .hero { padding: 32px 0 26px; border-radius: 0 0 18px 18px; }
    .cta-banner { padding: 24px 8px; border-radius: 10px; }
    .card-container, .feature-grid, .service-cards,
    .benefits-grid, .analysis-grid, .team-bios,
    .case-study-cards, .steps, .testimonial-slider {
        flex-direction: column;
        gap: 18px;
    }
    .text-image-section { flex-direction: column; gap: 16px; align-items: stretch; }
    header .container { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 700px) {
    .container { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 600px) {
    body { font-size: 15px; }
    h1, h2 { font-size: 1.08rem; }
    .footer-main { gap: 16px; }
}
@media (max-width: 1050px) {
    /* Show hamburger, hide main nav */
    header nav, header .cta-btn {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 520px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        font-size: 0.96rem;
        padding: 22px 2vw 12px 2vw;
    }
    .cookie-banner p { flex: 1 1 100%; }
}

/* ------------------------
   Animations & Interactions
--------------------------*/
.card, .service-card, .benefit-item, .analysis-item, .case-study-card, .testimonial-card, .faq-item {
    transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .service-card:hover, .benefit-item:hover, .analysis-item:hover, .case-study-card:hover {
    box-shadow: 0 6px 32px 0 rgba(58,173,99,0.10);
    transform: translateY(-3px) scale(1.015);
    z-index: 3;
}
.testimonial-card:hover { box-shadow: 0 8px 36px rgba(22,48,79,0.14); }
a, button, .cta-link, .cta-btn {
    transition: color 0.18s, background 0.21s, border 0.2s, opacity 0.14s, transform 0.12s;
}
/* Subtle focus indicators for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #3AAD63;
    outline-offset: 3px;
}

/*-------------------------
         UTILITIES
-------------------------*/
.text-center { text-align: center; }
.hide { display: none !important; }

/*-------------------------
      END OF STYLE.CSS
-------------------------*/
