/* ==================================================
    HERO
================================================== */
:root {
    --dark-blue: #0D4775;
    --deep-blue: #083653;
    --sky-blue: #38BDF8;
    --light-blue: #EAF7FF;
    --soft-blue: #F3F9FF;

    --text: #172B3A;
    --muted: #687887;
    --border: #DFEBF4;
    --white: #FFFFFF;
}

.credentialing-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 90px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(56, 189, 248, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 5% 90%,
            rgba(13, 71, 117, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #F3F9FF 0%,
            #FFFFFF 55%,
            #EEF8FF 100%
        );
}

.hero-wrapper {
    max-width: 1180px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    gap: 80px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 15px;

    background: var(--light-blue);
    color: var(--dark-blue);

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 20px;
}

.hero-label i {
    color: var(--sky-blue);
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.08;

    letter-spacing: -2px;

    margin-bottom: 24px;
}

.hero-content h1 span {
    color: #c23838;
    font-family: "DM Sans", sans-serif;
}

.hero-content p {
    max-width: 650px;

    color: var(--muted);

    font-size: 17px;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 14px 22px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: 700;

    transition: .3s ease;
}

.btn-primary {
    background: var(--dark-blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #C9DDEB;
    background: #fff;
    color: var(--dark-blue);
}

.btn-outline:hover {
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}


/* ==================================================
    HERO VISUAL
================================================== */

.credentialing-visual {
    position: relative;
    min-height: 430px;
}

.main-profile-card {
    position: absolute;

    width: 370px;

    top: 25px;
    right: 15px;

    padding: 28px;

    background: rgba(255,255,255,.92);

    backdrop-filter: blur(15px);

    border: 1px solid var(--border);

    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(13,71,117,.13);
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 15px;

    padding-bottom: 22px;

    border-bottom: 1px solid var(--border);
}

.profile-icon {
    width: 58px;
    height: 58px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--light-blue);

    color: var(--dark-blue);

    font-size: 26px;
}

.profile-top strong {
    display: block;
    font-size: 15px;
}

.profile-top span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.verified {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 5px;

    color: #168779;

    font-size: 11px;
    font-weight: 700;
}

.provider-details {
    padding-top: 20px;
}

.provider-row {
    display: flex;
    justify-content: space-between;

    padding: 13px 0;

    border-bottom: 1px solid #edf3f6;

    font-size: 13px;
}

.provider-row span {
    color: var(--muted);
}

.provider-row strong {
    color: var(--dark-blue);
}


/* Floating cards */

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 20px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow:
        0 15px 40px rgba(13,71,117,.10);
}

.floating-card.one {
    left: 0;
    top: 70px;
}

.floating-card.two {
    left: 35px;
    bottom: 45px;
}

.floating-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--light-blue);

    color: var(--dark-blue);
}

.floating-card strong {
    display: block;
    font-size: 13px;
}

.floating-card span {
    display: block;
    color: var(--muted);
    font-size: 10px;
}


/* ==================================================
    INTRODUCTION
================================================== */

.intro-section {
    padding: 100px 20px 70px;
}

.intro-wrapper {
    max-width: 1000px;
    margin: auto;

    text-align: center;
}

.section-label {
    display: inline-block;

    color: var(--dark-blue);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.intro-wrapper h2 {
    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    margin-bottom: 20px;
}

.intro-wrapper h2 span {
    color: red;
}

.intro-wrapper p {
    max-width: 900px;
    margin: auto;

    color: var(--muted);

    font-size: 17px;
}


/* ==================================================
    CREDENTIALING TYPES
================================================== */

.types-section {
    padding: 0 20px 90px;
}

.types-wrapper {
    max-width: 1050px;
    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;
}

.type-box {
    position: relative;

    padding: 30px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background: #fff;

    overflow: hidden;

    transition: .3s ease;
}

.type-box:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(13,71,117,.10);
}

.type-box.primary {
    background:
        linear-gradient(
            135deg,
            #0D4775,
            #176A9F
        );

    color: #fff;

    border: none;
}

.type-number {
    font-size: 12px;

    font-weight: 800;

    color: var(--sky-blue);

    margin-bottom: 12px;
}

.type-box h3 {
    font-size: 23px;

    margin-bottom: 10px;

    color: #fff;
}

.type-box p {
    color: var(--muted);

    font-size: 14px;
}

.type-box.primary p {
    color: rgba(255,255,255,.76);
}


/* ==================================================
    SERVICES
================================================== */

.services-section {
    padding: 100px 20px;

    background: var(--soft-blue);
}

.services-header {
    max-width: 720px;

    text-align: center;

    margin: 0 auto 60px;
}

.services-header h2 {
    font-size: clamp(34px, 4vw, 46px);

    line-height: 1.15;

    margin-bottom: 15px;
}

.services-header p {
    color: var(--muted);

    font-size: 16px;
}


/* Service list */

.services-list {
    max-width: 1000px;

    margin: auto;

    display: grid;

    gap: 18px;
}

.service-row {
    position: relative;

    display: grid;

    grid-template-columns: 80px 1fr 50px;

    align-items: center;

    gap: 25px;

    padding: 25px 30px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: .3s ease;
}

.service-row:hover {
    transform: translateX(7px);

    border-color: #BBDCED;

    box-shadow:
        0 15px 40px rgba(13,71,117,.08);
}

.service-number {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--light-blue);

    color: var(--dark-blue);

    font-weight: 800;

    font-size: 14px;
}

.service-content h3 {
    font-size: 19px;

    margin-bottom: 5px;
}

.service-content p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.65;
}

.service-arrow {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F1F8FC;

    color: var(--dark-blue);

    transition: .3s ease;
}

.service-row:hover .service-arrow {
    background: var(--dark-blue);
    color: #fff;
}


/* ==================================================
    WORKFLOW
================================================== */

.workflow-section {
    padding: 110px 20px;
}

.workflow-wrapper {
    max-width: 1050px;

    margin: auto;
}

.workflow-header {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 60px;
}

.workflow-header h2 {
    font-size: 42px;

    line-height: 1.2;

    margin-bottom: 15px;
}

.workflow-header p {
    color: var(--muted);
}

.timeline {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 15%;
    right: 15%;

    top: 30px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--dark-blue),
            var(--sky-blue)
        );
}

.timeline-item {
    position: relative;

    text-align: center;
}

.timeline-icon {
    position: relative;
    z-index: 2;

    width: 60px;
    height: 60px;

    margin: auto auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    border: 3px solid var(--dark-blue);

    color: var(--dark-blue);

    font-size: 22px;
}

.timeline-item:nth-child(2)
.timeline-icon {
    border-color: var(--sky-blue);
    color: var(--sky-blue);
}

.timeline-item h3 {
    font-size: 18px;

    margin-bottom: 7px;
}

.timeline-item p {
    color: var(--muted);

    font-size: 13px;

    max-width: 270px;

    margin: auto;
}


/* ==================================================
    CTA
================================================== */

.cta-section {
    padding: 20px 20px 100px;
}

.cta-box {
    max-width: 1180px;

    margin: auto;

    padding: 65px;

    border-radius: 30px;

    color: #fff;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(56,189,248,.30),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #083653,
            #0D4775
        );
}

.cta-box h2 {
    max-width: 680px;

    font-size: 40px;

    line-height: 1.2;

    margin-bottom: 15px;
    color: #fff;
}

.cta-box p {
    max-width: 650px;

    color: rgba(255,255,255,.76);

    margin-bottom: 28px;
}

.cta-box .btn {
    background: #fff;

    color: var(--dark-blue);
}


/* ==================================================
    RESPONSIVE
================================================== */

@media (max-width: 1000px) {

    .hero-wrapper {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .credentialing-visual {
        max-width: 550px;

        width: 100%;

        margin: auto;
    }

    .types-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .timeline::before {
        display: none;
    }
}


@media (max-width: 650px) {

    .credentialing-hero {
        padding: 70px 20px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .credentialing-visual {
        min-height: 350px;
    }

    .main-profile-card {
        width: 285px;

        right: 0;
    }

    .floating-card.one {
        left: 0;
        top: 50px;
    }

    .floating-card.two {
        left: 0;
        bottom: 10px;
    }

    .intro-section {
        padding: 75px 20px 50px;
    }

    .services-section {
        padding: 75px 20px;
    }

    .service-row {
        grid-template-columns: 55px 1fr;

        gap: 17px;

        padding: 20px;
    }

    .service-arrow {
        display: none;
    }

    .workflow-section {
        padding: 75px 20px;
    }

    .workflow-header h2 {
        font-size: 32px;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .cta-box h2 {
        font-size: 30px;
    }

}