:root {
    --font-host-grotesk: 'Host Grotesk', sans-serif;
    --font-dm-sans: 'DM Sans', sans-serif;
    --font-awesome: "Font Awesome 7 Duotone";
    --dark-blue: #00385e;
    --primary-blue: #1358a8;
    --light-blue: #48bfe3;
    --gray-body: #6e6e6e;
    --white: #ffffff;
    --border-color: #ebeaed;
    --light-blue-bg: rgba(86, 207, 225, 0.2);
    --highlight-blue-bg: rgba(72, 191, 227, 0.3);
    --text-light: #ffffff;
    --gradient-large-text: linear-gradient(270deg, #48bfe3 17.31%, #1358a8 91.83%);
    --bg-light-green: linear-gradient(180deg, rgba(170, 227, 142, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    --bg-light-blue: linear-gradient(179deg, rgba(72, 191, 227, 0.5) 0%, rgba(255, 255, 255, 0.5) 149.7%);
}

body {
    margin: 0;
    font-family: var(--font-host-grotesk);
    background-color: #ffffff;
    color: #00385e;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

section {
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}


/**********************************/

/* CSS for section section:header */
.site-header {
    background-color: rgba(255, 255, 255, 0);
    padding: 20px 0;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 40px;
}

.logo img {
    width: 210px;
    height: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .main-nav > ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 48px;
        margin-top: 24px;
    }

    .main-nav a {
        font-family: var(--font-host-grotesk);
        font-weight: 600;
        font-size: 18px;
        color: #1358a8;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.header-actions {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.actions-top {
    display: flex;
    align-items: center;
    gap: 30px;
}

.quick-pay-link, .login-link {
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 18px;
    color: #1358a8;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .quick-pay-link img {
        width: 36px;
    }

    .login-link img {
        width: 20px;
    }

.btn-demo {
    background: linear-gradient(90deg, #4ea8de 5.42%, #48bfe3 37.39%, #84dfc1 62.82%, #aae38e 92.29%);
    border-radius: 100px;
    padding: 8px 19px;
    color: #ffffff;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}

/* ===================================================================
   Mega Menu — Core
   =================================================================== */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid var(--primary-blue);
    box-shadow: 0 12px 40px rgba(0, 56, 94, 0.12);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 9999;
}

.mega-menu-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
    box-sizing: border-box;
}

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-mega-menu.mega-active > .nav-link-top {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-blue);
}

.nav-link-top {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 18px;
    color: #1358a8;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: border-color 0.2s;
}

    .nav-link-top:hover {
        border-bottom-color: var(--primary-blue);
    }

/* ===================================================================
   Mega Menu — Tabbed Layout (Solutions, Resources)
   4 columns: tabs | links panel | promo center | promo right
   =================================================================== */
.mega-menu-tabbed {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 40px;
    align-items: start;
}

/* Left column: tabs */
.mega-menu-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mega-tab {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    border: none;
    background: transparent;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    color: var(--primary-blue);
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.15s;
}

    .mega-tab:hover {
        background-color: var(--light-blue-bg);
    }

    .mega-tab.active {
        background-color: var(--highlight-blue-bg);
        color: var(--dark-blue);
    }

/* Middle column: link panels (only one visible at a time) */
.mega-menu-panels {
    min-height: 280px;
}

.mega-panel {
    display: none;
}

    .mega-panel.active {
        display: block;
        animation: fadeIn 0.2s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-heading {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-blue);
    margin: 0 0 16px 0;
}

.panel-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .panel-links li a {
        display: block;
        padding: 8px 16px;
        font-family: var(--font-host-grotesk);
        font-weight: 400;
        font-size: 15px;
        color: var(--primary-blue);
        border-radius: 8px;
        transition: background-color 0.15s;
    }

        .panel-links li a:hover {
            background-color: var(--light-blue-bg);
            color: var(--dark-blue);
        }

/* ===================================================================
   Mega Menu — Flat Layout (Get To Know Us)
   3 columns: link groups | promo cards
   =================================================================== */
.mega-menu-flat {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.mega-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-group .nav-heading {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-blue);
    margin: 0 0 8px 0;
}

.nav-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .nav-group ul li a {
        display: block;
        padding: 8px 16px;
        font-family: var(--font-host-grotesk);
        font-weight: 400;
        font-size: 15px;
        color: var(--primary-blue);
        border-radius: 8px;
        transition: background-color 0.15s;
    }

        .nav-group ul li a:hover {
            background-color: var(--light-blue-bg);
            color: var(--dark-blue);
        }

/* ===================================================================
   Promo Cards (inside mega menus)
   =================================================================== */
.mega-menu-promos {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.promo-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 28px 24px;
    min-width: 220px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .promo-card .eyebrow {
        font-family: var(--font-host-grotesk);
        font-weight: 700;
        font-size: 11px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--primary-blue);
        margin: 0;
    }

    .promo-card .promo-title {
        font-family: var(--font-host-grotesk);
        font-weight: 700;
        font-size: 22px;
        line-height: 1.25;
        color: var(--primary-blue);
        margin: 0;
    }

    .promo-card .card-image-container {
        border-radius: 12px;
        overflow: hidden;
        margin: 4px 0;
    }

    .promo-card .card-photo {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .promo-card .feature-image-group {
        position: relative;
        margin: 4px 0;
    }

        .promo-card .feature-image-group .main-photo {
            width: 100%;
            height: auto;
            border-radius: 12px;
        }

        .promo-card .feature-image-group .icon-bg {
            position: absolute;
            bottom: -10px;
            right: -10px;
            width: 60px;
            height: 60px;
        }

        .promo-card .feature-image-group .icon {
            position: absolute;
            bottom: -4px;
            right: -4px;
            width: 40px;
            height: 40px;
        }

/* Clickable Promo Card Link Wrapper */
.promo-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 220px;
    max-width: 280px;
}

    .promo-card-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 56, 94, 0.12);
    }

        .promo-card-link:hover .promo-btn {
            opacity: 0.7;
        }

    .promo-card-link .promo-card {
        cursor: pointer;
        max-width: none;
        min-width: 0;
    }

.promo-btn {
    display: inline-block;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-blue);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
}

    .promo-btn:hover {
        opacity: 0.7;
    }

/* Green variant promo card */
.promo-card.promo-green {
    background: var(--bg-light-green);
}

/* ===================================================================
   Mega Promo Cards (hero-style from content pages)
   =================================================================== */
.mega-promo-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    min-width: 240px;
    max-width: 300px;
    min-height: 160px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .mega-promo-card:first-of-type {
        background: linear-gradient(135deg, #1358a8 0%, #48bfe3 100%);
    }

    .mega-promo-card:last-of-type {
        background: linear-gradient(135deg, #e8f5e0 0%, #d4edda 100%);
    }

        .mega-promo-card:last-of-type .mega-promo-eyebrow,
        .mega-promo-card:last-of-type .mega-promo-title {
            color: #00385e;
        }

    .mega-promo-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 56, 94, 0.15);
    }

.mega-promo-img {
    width: 50%;
    object-fit: cover;
    display: block;
}

.mega-promo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 16px;
    justify-content: center;
    flex: 1;
}

.mega-promo-eyebrow {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.mega-promo-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

/* Desktop: show tabbed content, hide mobile content */
.mega-menu-mobile-content {
    display: none;
}

/* Mobile tab links */
.mobile-tab-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
}

    .mobile-tab-links li a {
        display: block;
        padding: 14px 0;
        font-family: var(--font-host-grotesk);
        font-weight: 600;
        font-size: 16px;
        color: var(--dark-blue);
        text-decoration: none;
    }

.mobile-promos {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

    .mobile-promos .mega-promo-card {
        max-width: 100%;
        min-width: auto;
    }

/* ===================================================================
   Hamburger Toggle Button
   =================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===================================================================
   Responsive: Tablet & Mobile
   =================================================================== */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 40px;
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    /* Hide header actions at mobile — they go inside the hamburger menu */
    .header-actions {
        display: none;
        width: 100%;
        order: 11;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 0;
        border-top: 1px solid var(--border-color);
    }

        .header-actions.mobile-open {
            display: flex;
        }

        .header-actions .actions-top {
            justify-content: center;
            gap: 24px;
        }

        .header-actions .btn-demo {
            text-align: center;
            align-self: center;
        }

    .main-nav {
        display: none;
        width: 100%;
        order: 10;
    }

        .main-nav.mobile-open {
            display: block;
        }

        .main-nav > ul {
            flex-direction: column;
            gap: 0;
            padding: 20px 0;
        }

            .main-nav > ul > li {
                height: auto !important;
                display: block !important;
                border-bottom: 1px solid var(--border-color);
                align-content: flex-end !important;
            }



    .nav-link-top {
        padding: 16px 0;
        font-size: 16px;
        border-bottom: none !important;
        justify-content: center;
        gap: 8px;
    }

    .has-mega-menu .nav-link-top i {
        transition: transform 0.3s;
    }

    .has-mega-menu.mega-active .nav-link-top i {
        transform: rotate(180deg);
    }

    /* Blue top border on expanded accordion item */
    .has-mega-menu.mega-active {
        border-top: 3px solid var(--primary-blue);
    }

    /* Mobile mega menu: accordion style */
    .mega-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 12px;
    }

        .mega-menu.mobile-open {
            display: block;
            padding: 20px;
        }

    /* Tabbed layout: hide desktop content, show mobile content */
    .mega-menu-tabbed {
        display: none !important;
    }

    .mega-menu-mobile-content {
        display: block;
    }

    /* Flat layout: stack vertically */
    .mega-menu-flat {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mega-menu-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mega-tab {
        padding: 8px 14px;
        font-size: 13px;
        border: 1px solid var(--border-color);
        border-radius: 20px;
    }

    .mega-menu-promos {
        flex-direction: column;
    }

    .promo-card {
        max-width: 100%;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 16px;
    }
}




/* CSS for section section:hero */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 790px;
    background-image: url('/images/6d366cf021a56a36b02cd7c6f8d3d496b3f64cfc.png');
    background-size: cover;
    background-position: center;
    padding-top: 150px; /* Offset for header */
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
    max-width: 791px;
    padding: 20px;
}

.hero-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 64px;
    line-height: 74px;
    margin: 0;
    background: var(--gradient-large-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    color: var(--dark-blue);
    margin: 0;
}

.hero-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 28px;
    padding: 12px 25px;
    color: #00385e;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
}

    .hero-button img {
        width: 37px;
    }

@media (max-width: 1024px) {
    .hero-title {
        font-weight: 700;
        font-size: 48px;
        line-height: 52px;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 20px;
        line-height: 24px;
    }

    .hero-content {
        gap: 30px;
    }
}

/* Inner Page Header (for sub-pages like Solutions, Document Retrieval, etc.) */
.inner-page-header {
    padding: 120px 0 60px 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    text-align: center;
}

.inner-page-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -0.4px;
    margin: 0;
    background: var(--gradient-large-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.inner-page-subtitle {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: var(--gray-body);
    margin: 16px auto 0;
    max-width: 600px;
}

@media (max-width: 768px) {
    .inner-page-header {
        padding: 100px 0 40px 0;
    }

    .inner-page-title {
        font-size: 28px;
        line-height: 130%;
    }
}

/* CSS for section section:features */
.services-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.services-title {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 42px;
    line-height: 52px;
    letter-spacing: -1px;
    color: var(--dark-blue);
    margin: 0;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-spotlight-card {
    width: 326px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.service-spotlight-title {
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 22px;
    color: var(--dark-blue);
    margin: 0 0 18px 0;
}

.service-spotlight-desc {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--gray-body);
    margin: 0 0 20px 0;
    max-width: 280px;
}

.spotlight-image-container {
    width: 326px;
    height: 198px;
    margin-bottom: 35px;
    border-radius: 10px;
    overflow: hidden;
}

.spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-spotlight-btn {
    display: inline-block;
    margin-top: auto;
    background-color: #aae38e;
    border-radius: 100px;
    padding: 9px 25px;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-blue);
    text-decoration: none;
    transition: background-color 0.2s;
}

    .service-spotlight-btn:hover {
        background-color: #93d676;
    }

.services-section .article-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.services-section .article-card {
    width: 326px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-section .article-image-container {
    position: relative;
    width: 326px;
    height: 198px;
    margin-bottom: 35px;
}

    .services-section .article-image-container img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

.services-section .article-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.services-section .article-card-title {
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    color: #00385e;
    margin: 0 0 18px 0;
}

.services-section .article-card-copy {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #6e6e6e;
    margin: 0 0 24px 0;
    max-width: 280px;
}

.services-section .article-card-button {
    background-color: #aae38e;
    border-radius: 100px;
    padding: 9px 25px;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #00385e;
    display: inline-block;
    margin-top: auto;
}

/* CSS for section section:cta */
.cta-section {
    background: linear-gradient(90deg, #4ea8de 5.42%, #48bfe3 37.39%, #84dfc1 62.82%, #aae38e 92.29%);
    padding: 50px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.cta-content {
    max-width: 598px;
    color: #ffffff;
}

.cta-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 42px;
    line-height: 48px;
    letter-spacing: 0;
    margin: 0 0 10px 0;
}

.cta-text {
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: var(--dark-blue);
    margin: 0 0 30px 0;
    max-width: 562px;
}

.cta-button {
    background-color: #ffffff;
    border-radius: 100px;
    padding: 7px 30px;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #1358a8;
}

.cta-visual {
    position: relative;
    width: 450px;
    height: 300px;
}

.laptop-container {
    position: absolute;
    right: -100px;
    bottom: -50px;
    width: 450px;
    height: 300px;
}

    .laptop-container img {
        position: absolute;
    }

.deco-circle-1 {
    width: 135px;
    height: 134px;
    top: 22px;
    left: -20px;
}

.laptop-frame {
    width: 328px;
    height: 189px;
    top: 0;
    left: 0;
    z-index: 2;
}

.laptop-screen {
    width: 254px;
    height: 161px;
    top: 8px;
    left: 37px;
    z-index: 3;
}

.laptop-shadow {
    width: 324px;
    height: 66px;
    top: 162px;
    left: 6px;
    z-index: 1;
}

@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-visual {
        margin-top: 40px;
        width: 100%;
        height: 250px;
    }

    .laptop-container {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 0 auto;
        transform: scale(0.8);
    }

    .services-title {
        font-size: 32px;
    }
}

@media (max-width: 1024px) {
    .cta-title,
    .newsletter-title {
        font-size: 36px;
        line-height: 46px;
    }

    .blog-title {
        font-size: 32px;
        line-height: 42px;
    }
}

@media (max-width: 767px) {
    .cta-title,
    .newsletter-title {
        font-size: 30px;
        line-height: 40px;
    }

    .blog-title {
        font-size: 24px;
        line-height: 34px;
    }
}

/* CSS for section section:blog */
.blog-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.blog-title {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 38px;
    line-height: 46px;
    color: var(--light-blue);
    margin: 0;
}

.blog-nav {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .arrow-btn svg {
        width: 36px;
        height: 36px;
    }

/* Splide blog carousel */
#blog-carousel {
    max-width: 1080px;
    margin: 0 auto;
}

    #blog-carousel .splide__slide {
        padding: 4px;
    }

    #blog-carousel .article-card {
        width: 100%;
        height: 100%;
    }

.blog-section .article-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 0 auto;
}

.blog-section .article-card {
    width: 325px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-section .article-img-bg {
    width: 100%;
    height: 211px;
    object-fit: cover;
}

.blog-section .article-img-fg {
    display: none;
}

.blog-section .article-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-section .article-card-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
    color: #00385e;
    margin: 0 0 15px 0;
    min-height: 54px;
}

.blog-section .article-card-copy {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #6e6e6e;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.blog-section .article-card-button {
    background-color: #ffffff;
    border: 1px solid #1358a8;
    border-radius: 100px;
    padding: 8px 20px;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #1358a8;
    text-align: center;
    align-self: center;
    margin-top: auto;
}

/* CSS for section section:newsletter */
.newsletter-section {
    background-color: rgba(86, 207, 225, 0.5);
    padding: 60px 0;
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 42px;
    line-height: 52px;
    color: var(--dark-blue);
    margin: 0 0 30px 0;
}

.newsletter-form {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-input {
    background-color: #ffffff;
    border: none;
    border-radius: 100px;
    height: 40px;
    padding: 0 20px;
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 16px;
    color: #1358a8;
    box-sizing: border-box;
}

    .form-input::placeholder {
        color: #1358a8;
        opacity: 0.8;
    }

    .form-input.email-input {
        width: 308px;
    }

.form-button {
    background-color: #1358a8;
    border-radius: 100px;
    border: none;
    padding: 0 40px;
    height: 40px;
    color: #ffffff;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
}

.newsletter-terms {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #00385e;
    margin: 0;
}

@media (max-width: 992px) {
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }

    .form-input.email-input {
        width: 100%;
    }
}

/* CSS for section section:footer */
.site-footer {
    background-color: #ffffff;
    padding: 80px 0 40px 0;
    color: #00385e;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 40px;
}

    .footer-logo img {
        width: 144px;
    }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    font-size: 16px;
    line-height: 26px;
}

.footer-col-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 18px;
    line-height: 6px;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin: 0 0 20px 0;
}

.footer-col p {
    margin: 0 0 20px 0;
}

.demo-button {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #1358a8;
    border-radius: 100px;
    padding: 10px 30px;
    width: fit-content;
}

    .demo-button img {
        width: 63px;
    }

    .demo-button span {
        font-family: var(--font-host-grotesk);
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
        color: #1358a8;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    color: var(--primary-blue);
    flex-direction: column;
    gap: 3px;
}

    .footer-links a {
        font-family: 'DM Sans', sans-serif;
    }


.learn-more-link {
    color: var(--primary-blue);
    font-weight: 700;
}

.stamp-container {
    position: relative;
    width: 77px;
    height: 73px;
    margin-top: 20px;
}

    .stamp-container img {
        width: 100%;
        height: 100%;
    }

.social-links-list {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 8px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.2s;
}

    .social-link-item:hover {
        opacity: 0.8;
    }

.social-link-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 26px;
}

    .footer-bottom p {
        margin: 0;
    }

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}



/* Legacy override: ensure header section overflow */
#section-header {
    overflow: visible !important;
}

/* ===================================================================
   Blog Pages — Shared
   =================================================================== */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-page-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 64px;
    line-height: 74px;
    background: var(--gradient-large-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 40px 0 30px;
}

    .blog-page-title a {
        color: inherit;
        text-decoration: none;
    }

        .blog-page-title a:hover {
            text-decoration: underline;
        }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.blog-date {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    color: #666;
}

.blog-category-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: var(--primary-blue);
}

    .blog-category-badge:nth-of-type(2n) {
        background: #48bfe3;
    }

    .blog-category-badge:nth-of-type(3n) {
        background: #2a9d8f;
    }

.blog-read-more {
    display: inline-block;
    padding: 8px 24px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 100px;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

    .blog-read-more:hover {
        background: var(--primary-blue);
        color: #fff;
    }

/* ===================================================================
   Blog Listing — Featured Article
   =================================================================== */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

    .blog-featured .blog-read-more {
        width: fit-content;
    }

.blog-featured-image {
    border-radius: 16px;
    overflow: hidden;
}

    .blog-featured-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        display: block;
    }

.blog-featured-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-featured-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: var(--dark-blue);
    margin: 0;
}

.blog-featured-excerpt {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================================================================
   Blog Listing — Category Filters
   =================================================================== */
.blog-category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.blog-filter-pill {
    padding: 6px 18px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 100px;
    background: transparent;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-blue);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .blog-filter-pill:hover,
    .blog-filter-pill.active {
        background: var(--primary-blue);
        color: #fff;
    }

/* ===================================================================
   Blog Listing — Article Grid
   =================================================================== */
.blog-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-grid-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .blog-grid-card:hover {
        box-shadow: 0 8px 24px rgba(0, 56, 94, 0.1);
        transform: translateY(-2px);
    }

.blog-grid-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-grid-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.blog-grid-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: var(--dark-blue);
    margin: 0;
}

    .blog-grid-title a {
        color: inherit;
        text-decoration: none;
    }

        .blog-grid-title a:hover {
            color: var(--primary-blue);
        }

.blog-grid-excerpt {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-grid-content .blog-read-more {
    margin-top: auto;
    align-self: flex-start;
}

/* Show More */
.blog-show-more {
    text-align: center;
    margin-bottom: 50px;
}

.blog-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    border-radius: 100px;
    border: none;
    background: var(--primary-blue);
    color: #fff;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

    .blog-show-more-btn:hover {
        background: var(--dark-blue);
    }

/* ===================================================================
   Blog Article — Two-Column Layout
   =================================================================== */
.blog-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
    padding-bottom: 60px;
}

.blog-article-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 36px;
    line-height: 48px;
    color: var(--dark-blue);
    margin: 0 0 20px;
}

.blog-article-hero-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
}

    .blog-article-hero-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

.blog-article-body {
    font-family: var(--font-host-grotesk);
    font-size: 16px;
    line-height: 26px;
    color: var(--gray-body);
}

    .blog-article-body h2 {
        font-family: var(--font-host-grotesk);
        font-weight: 700;
        font-size: 48px;
        line-height: 52px;
        letter-spacing: -0.4px;
        color: var(--dark-blue);
        margin-top: 28px;
        margin-bottom: 12px;
    }

    .blog-article-body h3 {
        font-family: var(--font-host-grotesk);
        font-weight: 600;
        font-size: 40px;
        line-height: 60px;
        color: var(--dark-blue);
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .blog-article-body ul,
    .blog-article-body ol {
        padding-left: 20px;
        margin-bottom: 16px;
    }

    .blog-article-body li {
        margin-bottom: 8px;
    }

    .blog-article-body p {
        margin-bottom: 16px;
    }

    .blog-article-body a,
    .blog-article-body a strong,
    .blog-article-body a b {
        color: var(--primary-blue);
        font-weight: 700;
    }

    .blog-article-body strong,
    .blog-article-body b {
        color: var(--dark-blue);
    }

/* ===================================================================
   Blog Article — Previous/Next Navigation
   =================================================================== */
.blog-article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e8e8e8;
}

.blog-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: 1.5px solid var(--primary-blue);
    border-radius: 100px;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

    .blog-nav-link:hover {
        background: var(--primary-blue);
        color: #fff;
    }

        .blog-nav-link:hover svg {
            color: #fff;
        }

.blog-nav-next {
    margin-left: auto;
}

/* ===================================================================
   Blog Article — Sidebar
   =================================================================== */
.blog-article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-heading {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin: 0 0 16px;
}

.sidebar-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    transition: opacity 0.15s;
}

    .sidebar-post:hover {
        opacity: 0.8;
    }

.sidebar-post-thumb {
    width: 80px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-post-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    color: var(--dark-blue);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-date {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 12px;
    color: #999;
}

/* Sidebar Subscribe */
.sidebar-subscribe {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border-radius: 16px;
    padding: 24px;
}

.sidebar-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.sidebar-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sidebar-input {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-host-grotesk);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    width: 100%;
}

    .sidebar-input:focus {
        border-color: var(--primary-blue);
    }

.sidebar-input-full {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-subscribe-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: var(--primary-blue);
    color: #fff;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    box-sizing: border-box;
}

    .sidebar-subscribe-btn:hover {
        background: var(--dark-blue);
    }

.sidebar-terms {
    font-family: var(--font-host-grotesk);
    font-size: 11px;
    color: #888;
    margin: 8px 0 0;
    text-align: center;
}

    .sidebar-terms a {
        color: var(--primary-blue);
    }

/* ===================================================================
   Blog Pages — Responsive
   =================================================================== */
@media (max-width: 1024px) {
    .blog-article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-article-sidebar {
        border-top: 1px solid #e8e8e8;
        padding-top: 32px;
    }

    .blog-article-title {
        font-size: 32px;
        line-height: 42px;
    }

    .blog-article-body h2 {
        font-size: 36px;
        line-height: 42px;
    }

    .blog-article-body h3 {
        font-weight: 700;
        font-size: 36px;
        line-height: 42px;
    }
}

@media (max-width: 768px) {
    .blog-page-title {
        font-weight: 700;
        font-size: 48px;
        line-height: 52px;
        margin: 24px 0 20px;
    }

    .blog-featured {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-featured-image img {
        height: 220px;
    }

    .blog-article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-article-title {
        font-size: 28px;
        line-height: 38px;
    }

    .blog-article-body h2 {
        font-size: 28px;
        line-height: 130%;
    }

    .blog-article-body h3 {
        font-weight: 600;
        font-size: 24px;
        line-height: 30px;
    }

    .sidebar-form-row {
        grid-template-columns: 1fr;
    }
}


/* ===================================================================
   Secondary Pages (MegaMenuItem landing pages)
   =================================================================== */
.secondary-page {
    padding-bottom: 60px;
}

.secondary-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a2756 100%);
    background-size: cover;
    background-position: center;
    padding: 60px 0 50px;
    overflow: hidden;
}

.secondary-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19,88,168,0.85) 0%, rgba(10,39,86,0.7) 100%);
    z-index: 1;
}

.secondary-hero .blog-container {
    position: relative;
    z-index: 2;
}

.secondary-hero-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -0.4px;
    color: #fff;
    margin: 0;
}

.secondary-content {
    padding: 40px 0;
}

.secondary-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.secondary-page-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

    .secondary-page-card:hover {
        box-shadow: 0 6px 20px rgba(0, 56, 94, 0.1);
        transform: translateY(-2px);
        border-color: var(--primary-blue);
    }

.secondary-card-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
}

    .secondary-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.secondary-card-info {
    flex: 1;
    min-width: 0;
}

.secondary-card-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-blue);
    margin: 0 0 4px;
    line-height: 1.3;
}

.secondary-card-desc {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 13px;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.secondary-card-arrow {
    flex-shrink: 0;
    color: var(--primary-blue);
    transition: transform 0.2s;
}

.secondary-page-card:hover .secondary-card-arrow {
    transform: translateX(4px);
}

.secondary-empty {
    font-family: var(--font-host-grotesk);
    font-size: 16px;
    color: #888;
    text-align: center;
    padding: 60px 0;
}

/* Secondary Promo Cards */
.secondary-promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
    padding-top: 32px;
    border-top: 1px solid #e8e8e8;
}

.secondary-promo-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.secondary-promo-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.secondary-promo-content {
    padding: 20px;
}

.secondary-promo-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-blue);
    margin: 0 0 6px;
}

.secondary-promo-desc {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Secondary Page — Responsive */
@media (max-width: 768px) {
    .secondary-hero {
        padding: 40px 0 32px;
    }

    .secondary-hero-title {
        font-size: 28px;
    }

    .secondary-page-grid {
        grid-template-columns: 1fr;
    }

    .secondary-promos {
        grid-template-columns: 1fr;
    }
}


/* ===================================================================
   Tertiary / Content Pages
   =================================================================== */
.content-page {
    padding-bottom: 0;
}

/* Hero */
.content-hero {
    background: linear-gradient(180deg, #f4f8fc 0%, #fff 100%);
    padding: 32px 0 40px;
}

.content-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-hero-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Breadcrumbs */
.content-breadcrumbs {
    display: none;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-family: var(--font-host-grotesk);
    font-size: 13px;
    color: #888;
}

    .content-breadcrumbs a {
        color: var(--primary-blue);
        text-decoration: none;
    }

        .content-breadcrumbs a:hover {
            text-decoration: underline;
        }

.breadcrumb-sep {
    color: #ccc;
}

.breadcrumb-current {
    color: #555;
}

.content-hero-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 64px;
    line-height: 74px;
    margin: 0;
    background: var(--gradient-large-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.content-hero-subtitle {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #555;
    margin: 0;
}

.content-hero-image {
    border-radius: 16px;
    overflow: hidden;
}

    .content-hero-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

/* Content Body */
.content-body {
    padding: 40px 0;
    font-family: var(--font-dm-sans);
    font-size: 16px;
    line-height: 26px;
    color: var(--gray-body);
}

    .content-body h2 {
        font-family: var(--font-host-grotesk);
        font-weight: 700;
        font-size: 26px;
        color: var(--dark-blue);
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .content-body h3 {
        font-family: var(--font-host-grotesk);
        font-weight: 700;
        font-size: 20px;
        color: var(--dark-blue);
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .content-body p {
        margin-bottom: 16px;
    }

    .content-body ul,
    .content-body ol {
        padding-left: 20px;
        margin-bottom: 16px;
    }

    .content-body li {
        margin-bottom: 8px;
    }

    .content-body img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 16px 0;
    }

/* Related / Additional Services */
.content-related {
    background: #f4f8fc;
    padding: 50px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.content-related-title {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 38px;
    line-height: 46px;
    color: var(--dark-blue);
    text-align: center;
    margin: 0 0 32px;
}

.content-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.content-related-card {
    background: linear-gradient(180deg, #ffffff 0%, rgba(170, 227, 142, 0.25) 100%);
    border: none;
    border-radius: 16px;
    padding: 36px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .content-related-card:hover {
        box-shadow: 0 6px 20px rgba(0, 56, 94, 0.1);
        transform: translateY(-2px);
    }

.content-related-img {
    width: 80px;
    height: 80px;
    border-radius: 0;
    object-fit: contain;
    margin-bottom: 12px;
    display: none;
}

.content-related-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.content-related-name {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-blue);
    text-transform: uppercase;
    margin: 0;
}

.content-related-desc {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-body);
    margin: 0 0 10px 0;
}

.content-related-link {
    position: relative;
    display: inline-block;
    margin-top: auto;
    align-self: center;
    padding: 8px 24px;
    border: none;
    border-radius: 100px;
    background: transparent;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}

    .content-related-link::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 100px;
        padding: 2px;
        background: linear-gradient(to right, #1a6b8a, #7ecfe0);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
    }

    .content-related-link:hover {
        opacity: 0.8;
    }

/* Content Page — Responsive */
@media (max-width: 768px) {
    .content-hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .content-hero-title {
        font-weight: 700;
        font-size: 48px;
        line-height: 52px;
    }

    .content-hero-image {
        order: -1;
    }

    .content-related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ===================================================================
   Content Page — Block Content Sections
   =================================================================== */

/* CTA Banner */
.content-page {
    overflow: visible;
}

    .content-page > .blog-container,
    .content-page .content-body,
    .content-page .section-container {
        overflow: visible;
    }

.cta-banner-section {
    overflow: visible !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
}

    .cta-banner-section > .container {
        max-width: none;
        padding: 0;
        width: 100%;
    }

 .content-cta-banner {
    background: linear-gradient(to right, #2196F3 0%, #4fc3f7 30%, #66bb6a 70%, #a8e063 100%);
    border-radius: 0;
    padding: 48px 48px;
    margin: 0;
    width: 100%;
}
.cta-section .content-cta-banner {
    background: none;
    padding:0;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-banner-text {
    flex: 1;
}

    .cta-banner-text h2 {
        font-family: var(--font-host-grotesk);
        font-weight: 600;
        font-size: 42px;
        line-height: 52px;
        letter-spacing: -0.4px;
        color: #fff;
        margin: 0 0 12px;
    }

    .cta-banner-text p {
        font-family: var(--font-host-grotesk);
        font-weight: 500;
        font-size: 18px;
        line-height: 28px;
        color: var(--dark-blue);
        margin: 0 0 20px;
    }

.btn-cta-banner {
    display: inline-block;
    padding: 12px 32px;
    background: #fff;
    color: var(--primary-blue);
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

    .btn-cta-banner:hover {
        background: #e8f0fe;
        transform: translateY(-1px);
    }

.cta-banner-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.cta-banner-media {
    position: relative;
    flex-shrink: 0;
    width: 320px;
}

.cta-banner-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.cta-banner-badge {
    position: absolute;
    top: 30%;
    right: -80px;
    width: 160px;
    height: 160px;
    padding: 20px;
}

/* Feature Grid */
.content-features-section {
    padding: 40px 0;
}

.content-features-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.content-features-heading h2 {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 40px;
    line-height: 52px;
    margin: 0;
    color: var(--dark-blue);
}

.content-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.features-section-3 .content-features-grid {
    grid-template-columns: repeat(3, 1fr);
}


.content-feature-item {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
}

    .content-feature-item:hover {
        box-shadow: none;
        transform: none;
    }

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    margin-bottom: 10px;
    border-radius: 6px;
    padding: 0px;
}

    .feature-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.content-feature-item h3 {
    display: inline;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    color: var(--dark-blue);
    margin: 0;
}

.content-feature-item p {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--gray-body);
    margin: 0;
}

/* Quote Banner */
.quote-section {
    overflow: visible !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
}

    .quote-section > .container {
        max-width: none;
        padding: 0;
        width: 100%;
    }

.content-quote-banner {
    background: var(--light-blue-bg);
    width: 100%;
    margin: 0;
    padding: 0;
}

.quote-banner-inner {
    display: grid;
    grid-template-columns: 3fr 5fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 280px;
}

.quote-banner-image {
    overflow: hidden;
    margin: auto;
}

    .quote-banner-image img {
        width: 100%;
        display: block;
    }

.quote-banner-text {
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .quote-banner-text h2 {
        font-family: var(--font-host-grotesk);
        font-weight: 700;
        font-size: 30px;
        line-height: 36px;
        color: var(--dark-blue);
        margin: 0 0 12px;
    }

    .quote-banner-text p {
        font-family: var(--font-host-grotesk);
        font-weight: 400;
        font-size: 18px;
        line-height: 26px;
        color: var(--gray-body);
        margin: 0;
    }

/* Content Blocks — Responsive */
@media (max-width: 1024px) {
    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cta-banner-media {
        order: -1;
    }

    .cta-banner-text p {
        max-width: none;
    }

    .cta-banner-text h2 {
        font-weight: 700;
        font-size: 48px;
        line-height: 52px;
    }

    .cta-banner-text p {
        font-size: 16px;
        line-height: 26px;
    }

    .content-features-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .content-features-heading h2 {
        font-weight: 700;
        font-size: 36px;
        line-height: 40px;
    }

    .content-feature-item h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .content-related-title {
        font-size: 32px;
        line-height: 42px;
    }
}

@media (max-width: 768px) {
    .content-cta-banner {
        padding: 32px 24px;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-text h2 {
        font-weight: 700;
        font-size: 28px;
        line-height: 130%;
    }

    .cta-banner-text p {
        max-width: none;
        font-size: 14px;
        line-height: 22px;
    }

    .cta-banner-icon {
        display: none;
    }

    .cta-banner-media {
        width: 240px;
    }

    .cta-banner-badge {
        width: 120px;
        height: 120px;
        right: -50px;
    }

    .content-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .content-features-heading h2 {
        font-weight: 600;
        font-size: 24px;
        line-height: 30px;
    }

    .content-feature-item h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .quote-banner-inner {
        grid-template-columns: 1fr;
    }

    .quote-banner-image {
        height: 200px;
    }

    .quote-banner-text {
        padding: 28px 24px;
    }

        .quote-banner-text h2 {
            font-size: 20px;
        }

    .content-related-title {
        font-size: 24px;
        line-height: 34px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .content-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===================================================================
   Meet the Team Page
   =================================================================== */
.meet-the-team-page {
    padding: 48px 0 60px;
    background: #fff;
}

.team-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Title */
.team-page-title {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -0.4px;
    color: var(--dark-blue);
    text-align: center;
    margin: 0 0 16px;
}

.team-page-subtitle {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}

/* Filter Pills */
.team-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.team-filter-pill {
    padding: 8px 18px;
    border: 1.5px solid #c5d3e0;
    border-radius: 100px;
    background: #fff;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .team-filter-pill:hover {
        border-color: var(--primary-blue);
        color: var(--primary-blue);
    }

    .team-filter-pill.active {
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        color: #fff;
    }

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 24px;
}

/* Team Card */
.team-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .team-card:hover {
        transform: translateY(-4px);
    }

        .team-card:hover .team-photo-wrapper {
            box-shadow: 0 8px 30px rgba(19, 88, 168, 0.18);
        }

/* Circular Photo */
.team-photo-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e0e8f0;
    box-shadow: 0 4px 16px rgba(0, 56, 94, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    background: #f0f4f8;
}

.team-card:hover .team-photo-wrapper {
    border-color: var(--primary-blue);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e3f5 100%);
    font-size: 48px;
    color: var(--primary-blue);
    opacity: 0.5;
}

/* Team Member Name & Title */
.team-name {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-blue);
    margin: 0 0 4px;
    line-height: 1.3;
}

.team-title {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Show More */
.team-show-more {
    text-align: center;
    margin-top: 40px;
}

.team-show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 32px;
    border: none;
    border-radius: 100px;
    background: var(--primary-blue);
    color: #fff;
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .team-show-more-btn:hover {
        background: var(--dark-blue);
        transform: translateY(-1px);
    }

/* ===================================================================
   Team Member Modal
   =================================================================== */
.team-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 50, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .team-modal-overlay.active {
        opacity: 1;
    }

.team-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.team-modal-overlay.active .team-modal {
    transform: translateY(0) scale(1);
}

.team-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f4f8;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    color: #555;
}

    .team-modal-close:hover {
        background: #e0e8f0;
        transform: rotate(90deg);
    }

.team-modal-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    padding: 40px;
}

/* Modal Photo Section */
.team-modal-photo-section {
    text-align: center;
}

.team-modal-photo-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e0e8f0;
    box-shadow: 0 4px 16px rgba(0, 56, 94, 0.08);
    background: #f0f4f8;
}

.team-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-modal-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e3f5 100%);
    font-size: 40px;
    color: var(--primary-blue);
    opacity: 0.5;
}

.team-modal-name {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-blue);
    margin: 0 0 4px;
    line-height: 1.3;
}

.team-modal-title {
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Modal Bio Section */
.team-modal-bio-section {
    display: flex;
    align-items: center;
}

.team-modal-bio {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.75;
    color: #444;
    margin: 0;
}

/* ===================================================================
   Meet the Team — Responsive
   =================================================================== */

/* Tablet (wider) — 2 columns */
@media (max-width: 992px) and (min-width: 601px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .team-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    .team-page-title {
        font-size: 36px;
        line-height: 42px;
    }
}

/* Tablet (narrower) — filter pills wrap */
@media (max-width: 768px) {
    .team-filters {
        gap: 6px;
    }

    .team-filter-pill {
        padding: 6px 14px;
        font-size: 12px;
    }

    .team-modal-content {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 24px;
    }

    .team-modal-photo-wrapper {
        width: 120px;
        height: 120px;
    }
}

/* Phone — 1 column */
@media (max-width: 600px) {
    .meet-the-team-page {
        padding: 32px 0 40px;
    }

    .team-page-title {
        font-size: 28px;
        line-height: 38px;
        margin-bottom: 12px;
    }

    .team-page-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .team-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    .team-name {
        font-size: 18px;
    }

    .team-title {
        font-size: 14px;
    }

    .team-filters {
        flex-direction: column;
        align-items: center;
    }

    .team-filter-pill {
        width: 100%;
        text-align: center;
    }

    .team-modal {
        border-radius: 16px;
        max-height: 85vh;
    }

    .team-modal-content {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 20px;
    }

    .team-modal-photo-wrapper {
        width: 100px;
        height: 100px;
    }

    .team-modal-bio {
        font-size: 13px;
    }
}

/* ===================================================================
   RTE Aligned Image Block
   =================================================================== */
.rte-aligned-image {
    margin: 1.5em 0;
    padding: 0;
}

    .rte-aligned-image img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
    }

    .rte-aligned-image figcaption {
        font-size: 0.85em;
        color: #6b7280;
        margin-top: 0.5em;
    }

.rte-align-left {
    float: left;
    margin: 0.5em 1.5em .8em 0;
    max-width: 50%;
}

.rte-align-right {
    float: right;
    margin: 0.5em 0 .8em 1.5em;
    max-width: 50%;
}

.rte-align-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

    .rte-align-center img {
        margin: 0 auto;
    }

@media (max-width: 767px) {
    .rte-align-left,
    .rte-align-right {
        float: none;
        max-width: 100%;
        margin: 1em 0;
    }
}

/* ===================================================================
   Contact / Get in Touch Page
   =================================================================== */
.contact-page {
    overflow: visible;
}

.contact-hero-section {
    position: relative;
    padding-bottom: 60px;
}

.contact-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #2196F3 0%, #4fc3f7 30%, #66bb6a 70%, #a8e063 100%);
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px 60px;
    align-items: start;
    padding-top: 40px;
}

/* Left col: image + text. Sits in column 1, row 1 */
.contact-info-col {
    grid-column: 1;
    grid-row: 1;
    padding-top: 20px;
}

/* Form card: column 2, spans both rows */
.contact-form-col {
    grid-column: 2;
    grid-row: 1 / 3;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

/* Promise: column 1, row 2 (below info col, beside form) */
.contact-promise {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    margin-top: 0;
}

.contact-hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-bottom: 24px;
}

.contact-hero-photo {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    max-height: 340px;
}

.contact-headset-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-badge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text on gradient — white */
.contact-title {
    padding-top: 20px;
    color: #fff;
}

.contact-subtitle {
    font-family: var(--font-host-grotesk);
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 16px;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-host-grotesk);
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

    .contact-phone svg {
        stroke: rgba(255, 255, 255, 0.9);
    }

    .contact-phone a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
    }

        .contact-phone a:hover {
            text-decoration: underline;
        }

/* Promise section */
.contact-promise h3 {
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    margin: 0 0 8px;
}

.contact-promise p {
    font-family: var(--font-host-grotesk);
    font-weight: 400;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-page .form-row {
    display: flex;
    flex-direction: column;
}

.contact-page .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-page .form-group {
    display: flex;
    flex-direction: column;
}

    .contact-page .form-group label {
        font-family: var(--font-host-grotesk);
        font-weight: 700;
        font-size: 11px;
        letter-spacing: 0.08em;
        color: #1a1a2e;
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    .contact-page .form-group input,
    .contact-page .form-group textarea,
    .contact-page .form-group select {
        font-family: var(--font-host-grotesk);
        font-size: 14px;
        padding: 12px 16px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: #fafafa;
        color: #333;
        transition: border-color 0.2s, box-shadow 0.2s;
        width: 100%;
        box-sizing: border-box;
    }

        .contact-page .form-group input:focus,
        .contact-page .form-group textarea:focus,
        .contact-page .form-group select:focus {
            outline: none;
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
            background: #fff;
        }

        .contact-page .form-group input::placeholder,
        .contact-page .form-group textarea::placeholder {
            color: #aaa;
        }

    .contact-page .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.btn-contact-submit {
    padding: 12px 36px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: #fff;
    font-family: var(--font-host-grotesk);
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

    .btn-contact-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    }

.recaptcha-placeholder {
    flex: 1;
}

/* Success / Error Messages */
.contact-success-message,
.contact-error-message {
    text-align: center;
    padding: 60px 20px;
}

    .contact-success-message h2 {
        font-family: var(--font-host-grotesk);
        font-weight: 800;
        font-size: 28px;
        color: #1a1a2e;
        margin: 16px 0 8px;
    }

    .contact-success-message p,
    .contact-error-message p {
        font-family: var(--font-host-grotesk);
        font-size: 15px;
        color: #555;
        line-height: 1.6;
    }

/* Contact Page — Tablet */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 32px;
    }

    .contact-info-col {
        grid-column: 1;
        grid-row: auto;
        text-align: center;
        padding-top: 10px;
        order: 1;
    }

    .contact-form-col {
        grid-column: 1;
        grid-row: auto;
        order: 2;
    }

    .contact-promise {
        grid-column: 1;
        grid-row: auto;
        text-align: left;
        order: 3;
    }

    .contact-hero-image-wrapper {
        max-width: 300px;
        margin: 0 auto 24px;
    }

    .contact-phone {
        justify-content: center;
    }
}

/* Contact Page — Mobile */
@media (max-width: 576px) {
    .contact-form-col {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .contact-page .form-row-2col {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-contact-submit {
        text-align: center;
    }
}
