/* 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 {
    display: block;
}
body {
    line-height: 1.5;
    background: #F2F5F7;
    color: #1E2A36;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: #517991;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #1E2A36;
}
ul, ol {
    padding-left: 24px;
}
strong {
    font-weight: 600;
}

/* GENERAL TYPOGRAPHY */
h1, h2, h3, h4,
h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #1E2A36;
    font-weight: 700;
    letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
p, li, blockquote, cite {
    font-size: 1rem;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    color: #243648;
    line-height: 1.75;
}
blockquote {
    font-style: italic;
    color: #1E2A36;
    quotes: '“' '”' '‘' '’';
    margin: 0 0 8px 0;
}
cite {
    display: block;
    font-size: 0.95rem;
    color: #517991;
    margin-top: 4px;
}

/* CONTAINER & SECTION SPACING */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px 0 rgba(30,42,54,0.05);
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
/* Card Containers */
.card-container,
.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(30,42,54,0.08);
    padding: 28px 24px;
    margin-bottom: 20px;
    position: relative;
    flex: 1 1 270px;
    min-width: 270px;
    transition: box-shadow 0.2s;
}
.card:hover {
    box-shadow: 0 6px 24px 0 rgba(30,42,54,0.12);
}

.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;
    background: #F2F5F7;
    border-left: 4px solid #517991;
    border-radius: 10px;
    box-shadow: 0 2px 8px 0 rgba(81,121,145,0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}
.testimonial-card:hover {
    box-shadow: 0 4px 16px 0 rgba(81,121,145,0.1);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* BUTTONS AND CTA */
.cta-btn, .cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    color: #fff;
    background: #517991;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    min-width: 100px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s;
    box-shadow: 0 1.5px 8px 0 rgba(81,121,145,0.10);
    margin: 8px 0;
    text-align: center;
}
.cta-btn:hover, .cta-btn:focus,
.cookie-btn:hover, .cookie-btn:focus {
    background: #1E2A36;
    color: #fff;
    box-shadow: 0 5px 16px 0 rgba(30,42,54,0.13);
    transform: translateY(-2px) scale(1.03);
}

/* HEADER, NAVIGATION & MOBILE NAV */
header {
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(30,42,54,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    min-height: 70px;
    padding: 0 20px;
}
.main-nav > a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #1E2A36;
    opacity: 0.96;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.18s;
}
.main-nav > a.cta-btn { margin-left: auto; }
.main-nav > a:not(.cta-btn):hover, 
.main-nav > a:not(.cta-btn):focus {
    color: #517991;
}
.main-nav img {
    height: 44px;
}
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #517991;
    display: none;
    margin: 0 20px 0 auto;
    cursor: pointer;
    z-index: 1101;
    line-height: 1;
    transition: color 0.16s;
}
.mobile-menu-toggle:hover {
    color: #1E2A36;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 86vw;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 12px 0 rgba(81,121,145,0.16);
    z-index: 2000;
    padding: 32px 24px 24px 32px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.33s cubic-bezier(.5,.01,0,1), box-shadow 0.16s;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    transform: translateX(0);
    box-shadow: -2px 0 24px 2px rgba(81,121,145,0.20);
    pointer-events: all;
    opacity: 1;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #517991;
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 24px;
    cursor: pointer;
    z-index: 2200;
    transition: color 0.16s;
}
.mobile-menu-close:hover {
    color: #1E2A36;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 60px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color: #1E2A36;
    padding: 12px 0 12px 0;
    border-bottom: 1px solid #F2F5F7;
    transition: color 0.2s, background 0.15s;
}
.mobile-nav a:last-child {
    border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #517991;
    background: #F2F5F7;
    border-radius: 8px;
}
/* Hide nav links/cta on mobile when nav open */
@media (max-width: 1000px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
@media (min-width: 1001px) {
    .mobile-menu {
        display: none !important;
    }
}

/* SECTION AND GENERAL LAYOUT SPACING */
section {
    margin-bottom: 60px;
    padding: 40px 0;
}
section .container {
    padding: 0 12px;
}

/* ICONS & FEATURE ICON LAYOUT */
.feature-icons {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
    margin: 20px 0;
}
.feature-icons img {
    width: 54px;
    height: 54px;
    padding: 10px;
    border-radius: 12px;
    background: #F2F5F7;
    border: 1px solid #E4EAEE;
    box-shadow: 0 2px 8px 0 rgba(81,121,145,0.07);
    transition: box-shadow 0.19s;
}
.feature-icons img:hover {
    box-shadow: 0 4px 16px 0 rgba(81,121,145,0.15);
}

/* Footer Styling */
footer {
    background: #1E2A36;
    color: #fff;
    padding: 38px 0 16px 0;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    letter-spacing: 0.01em;
}
footer nav {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
footer nav a {
    color: #F2F5F7;
    opacity: 0.9;
    transition: color 0.19s, text-decoration 0.18s;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    text-decoration: underline dotted transparent;
}
footer nav a:hover,
footer nav a:focus {
    color: #ADD2F6;
    text-decoration: underline dotted #ADD2F6;
}
footer div {
    font-size: 0.98rem;
    color: #C3CBD1;
}

/* Contacts/Contact Details */
p strong, .content-wrapper p strong {
    color: #1E2A36;
}
/* List Styling Consistency */
.content-wrapper ul, .text-section ul {
    margin: 0 0 12px 0;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.content-wrapper li, .text-section li {
    margin-bottom: 4px;
    padding-left: 2px;
}

/* Text-section Headings */
.text-section h3 {
    font-size: 1.18rem;
    margin: 20px 0 6px 0;
    color: #517991;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.text-section p {
    margin-bottom: 8px;
}

/* Responsive Utility */
@media (max-width: 1000px) {
    .container {
        max-width: 95vw;
        padding-left: 0;
        padding-right: 0;
    }
    section {
        margin-bottom: 44px;
        padding: 32px 0;
    }
    .card { min-width: 220px; padding: 22px 12px; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.39rem; }
    h3 { font-size: 1.12rem; }
    .container {
        max-width: 100%;
    }
    .section {
        padding: 30px 8px;
    }
    .content-wrapper, .card-container, .content-grid {
        flex-direction: column;
        gap: 20px;
    }
    .feature-icons {
        flex-wrap: wrap;
        gap: 10px;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .testimonial-card {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }
    .cta-btn { width: 100%; }
}
@media (max-width: 480px) {
    .container {
        padding-left: 4px; padding-right: 4px;
    }
    .section {
        padding: 18px 2px;
    }
    h1 { font-size: 1.32rem; }
    h2 { font-size: 1rem; }
    .cta-btn { font-size: 1rem; padding: 10px 17px; }
}

/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: #1E2A36;
    color: #fff;
    padding: 26px 22px 20px 22px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 24px 0 rgba(30,42,54,0.14);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 1rem;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    transition: transform 0.23s ease, opacity 0.23s;
}
.cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner-show { /* helper for slide-in animation */
    transform: translateY(0);
    opacity: 1;
}
.cookie-banner .cookie-btn {
    background: #517991;
    color: #fff;
    margin-left: 10px;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 7px;
    min-width: 110px;
}
.cookie-banner .cookie-btn.secondary {
    background: #F2F5F7;
    color: #1E2A36;
    border: 1px solid #ddd;
}
.cookie-banner .cookie-btn.secondary:hover {
    background: #E4EAEE;
    color: #1E2A36;
}
.cookie-banner p {
    font-size: 1rem;
    margin-right: 16px;
    color: #fff;
    flex: 1 1 auto;
}
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        gap: 18px;
        padding: 18px 8px 14px 8px;
        font-size: 0.97rem;
    }
    .cookie-banner p { margin-right: 0; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    left: 0; top: 0; right:0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(30,42,54,0.65);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
    display: flex;
    opacity: 1;
}
.cookie-modal {
    background: #fff;
    color: #1E2A36;
    min-width: 300px;
    max-width: 450px;
    width: 95vw;
    border-radius: 16px;
    box-shadow: 0 8px 40px 6px rgba(30,42,54,0.16);
    padding: 28px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    animation: cookieModalAnimIn 0.38s cubic-bezier(.56,-0.03,.54,.90);
}
@keyframes cookieModalAnimIn {
    from { opacity: 0; transform: translateY(30px) scale(0.98);} 
    to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
    font-size: 1.29rem;
    margin-bottom: 6px;
    color: #1E2A36;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.cookie-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid #F2F5F7;
}
.cookie-cat:last-child { border-bottom: none; }
.cookie-cat label { flex: 1 1 auto; }
.cookie-toggle {
    appearance: none;
    width: 44px;
    height: 24px;
    background: #E4EAEE;
    border-radius: 15px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background 0.17s;
}
.cookie-toggle:checked {
    background: #517991;
}
.cookie-toggle:before {
    content: '';
    position: absolute;
    left: 2.5px; top: 2.5px;
    width: 19px; height: 19px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.21s cubic-bezier(.5,.01,0,1);
    box-shadow: 0 1.5px 5px rgba(51,71,103,0.12);
}
.cookie-toggle:checked:before {
    left: 21px;
}
.cookie-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 18px;
    justify-content: flex-end;
    margin-top: 14px;
}
.cookie-modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    color: #517991;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.15s;
}
.cookie-modal-close:hover {
    color: #1E2A36;
}
@media (max-width: 480px) {
    .cookie-modal {
        padding: 18px 8px;
        min-width: unset;
    }
}

/* Micro-interactions */
.card, .testimonial-card, .cta-btn, .mobile-menu,
.cookie-btn, .cookie-banner, .feature-icons img {
    transition: box-shadow 0.18s, background 0.16s, color 0.16s, transform 0.14s;
}

/* Utility */
.hide { display: none !important; }
.open { display: block !important; }
[tabindex="-1"]:focus { outline: none; }

/* END OF STYLE */
