/* Shared hero background for static / info pages (matches home hero) */

body:has(.info-page-sec) .header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

body:has(.info-page-sec) .header.scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.info-page-sec {
    position: relative;
    padding-top: 120px !important;
    padding-bottom: 80px !important;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #f4f7fc;
    overflow-x: clip;
}

/* Decorative page art + readability overlay (no profile photos) */
.info-page-sec::before,
.info-page-sec::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.info-page-sec::before {
    z-index: 0;
    background-image: url(../img/provider-form.png);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    opacity: 0.38;
}

.info-page-sec::after {
    z-index: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.82) 40%,
        rgba(234, 238, 255, 0.35) 100%
    );
}

body:has(header .top-header) .info-page-sec {
    padding-top: 148px !important;
}

.info-page-sec .container {
    position: relative;
    z-index: 1;
}

/* CMS text pages — full container width */
.info-page-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 52px);
    box-shadow: 0 4px 24px rgba(2, 18, 41, 0.08);
    border: 1px solid rgba(199, 209, 217, 0.45);
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.info-page-card h1,
.info-page-card h2,
.info-page-card h3,
.info-page-card h4 {
    color: #021229;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.info-page-card h1 {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    margin-bottom: 16px;
}

.info-page-card p,
.info-page-card li {
    color: #42597A;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.info-page-card a {
    color: #2B63D9;
}

.info-page-card ul,
.info-page-card ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

/* Contact / provider assistance */
.info-page-sec.contact-us-sec {
    padding-bottom: 80px !important;
}

.info-page-sec .contact-us-heading {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 44px);
    box-shadow: 0 4px 24px rgba(2, 18, 41, 0.08);
    border: 1px solid rgba(199, 209, 217, 0.45);
}

.info-page-sec .findcare-form {
    width: 100%;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.info-page-sec .findcare-form .contact-support-form-component,
.info-page-sec .findcare-form .modern-filter-form.contact-support-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.info-page-sec .modern-filter-form.contact-support-form {
    background: rgba(255, 255, 255, 0.97) !important;
    border: 1px solid rgba(199, 209, 217, 0.45) !important;
    border-radius: 16px !important;
    padding: clamp(28px, 4vw, 30px) !important;
    box-shadow: 0 4px 24px rgba(2, 18, 41, 0.08) !important;
    margin: 0 !important;
}

@media (max-width: 991.98px) {
    .info-page-sec {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    body:has(header .top-header) .info-page-sec {
        padding-top: 128px !important;
    }

    .info-page-sec::before {
        background-size: cover !important;
        opacity: 0.18 !important;
    }

    .info-page-sec::after {
        background: rgba(255, 255, 255, 0.93) !important;
    }

    .info-page-sec .contact-us-heading {
        margin-bottom: 24px;
    }
}

@media (max-width: 575.98px) {
    .info-page-card,
    .info-page-sec .contact-us-heading,
    .info-page-sec .modern-filter-form.contact-support-form {
        border-radius: 12px;
        padding: 24px 20px !important;
    }
}
