/* Home page — typography, spacing & palette aligned with Find Care / site-design */

/* Header — transparent at top; full-width white on scroll (site-design.css) */
body.home-page .header {
    /* background: transparent !important; */
    box-shadow: none;
}

body.home-page .header .navbar {
    /* background: transparent !important; */
}

/* Shared section rhythm */
body.home-page .easy-steps,
body.home-page .about-detail,
body.home-page .Searched-Specialties {
    padding-top: var(--site-section-y);
    padding-bottom: var(--site-section-y);
}

body.home-page .top-doctors {
    padding: 0 0 var(--site-section-y);
}

/* Hero title */
body.home-page .content-sec .content-detail h1,
body.home-page .content-sec h1 {
    font-family: var(--site-font) !important;
    font-size: clamp(1.5rem, 0.75rem + 2.2vw, var(--site-text-2xl)) !important;
    font-weight: var(--site-weight-semibold) !important;
    color: var(--site-navy) !important;
    line-height: var(--site-leading-tight) !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-top: clamp(0rem, 0.5vw + 0.35rem, 1rem);
    margin-bottom: clamp(1rem, 1.25vw + 0.65rem, 1.5rem);
    word-break: break-word;
}

body.home-page .content-sec h1 .local-doctor,
body.home-page .local-doctor {
    color: var(--site-primary) !important;
}

body.home-page .content-sec h1 .insurance,
body.home-page .insurance {
    color: var(--site-orange) !important;
}

/* Easy steps — blue band */
body.home-page .easy-steps {
    background-color: var(--site-primary);
}

body.home-page .easy-steps-heading {
    margin-bottom: 48px;
}

body.home-page .easy-steps-heading h2 {
    font-family: var(--site-font) !important;
    font-size: var(--site-text-2xl) !important;
    font-weight: var(--site-weight-semibold) !important;
    line-height: var(--site-leading-snug) !important;
    color: var(--site-white) !important;
    margin-bottom: 0;
}

body.home-page .easy-steps-heading h2 span {
    color: var(--site-orange) !important;
}

body.home-page .easy-step-para {
    margin-bottom: 48px;
    gap: 24px;
}

body.home-page .easy-step-para-child p {
    font-family: var(--site-font);
    font-size: var(--site-text-lg);
    font-weight: var(--site-weight-normal);
    color: var(--site-white);
    line-height: var(--site-leading-relaxed);
    margin-bottom: 0;
}

body.home-page .easy-step-para .login-button-main {
    font-size: var(--site-text-base);
    font-weight: var(--site-weight-semibold);
    font-family: var(--site-font);
    border-radius: var(--site-radius);
    min-height: 48px;
    padding: 12px 20px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Feature cards overlap */
body.home-page .easy-step-box {
    position: relative;
    bottom: 64px;
    margin-bottom: -32px;
}

body.home-page .easy-step-box .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

body.home-page .specialities-box {
    padding: 28px 24px;
    min-height: 300px;
    border-radius: var(--site-radius-xl);
    box-shadow: 0 8px 32px rgba(2, 18, 41, 0.06);
}

body.home-page .specialities-box img {
    max-width: 72px;
    margin-bottom: 24px;
}

body.home-page .specialities-box h3 {
    font-family: var(--site-font) !important;
    font-size: var(--site-text-lg) !important;
    font-weight: var(--site-weight-semibold) !important;
    color: var(--site-navy) !important;
    line-height: var(--site-leading-snug) !important;
    margin-bottom: 12px;
}

body.home-page .specialities-box .main-design-button,
body.home-page .specialities-button {
    font-size: var(--site-text-base);
    font-weight: var(--site-weight-semibold);
    font-family: var(--site-font);
    border-radius: var(--site-radius);
    min-height: 48px;
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.home-page .main-design-button-provider {
    background-color: var(--site-orange) !important;
    border-color: var(--site-orange) !important;
    color: var(--site-navy) !important;
}

body.home-page .main-design-button-Availability {
    background-color: var(--site-primary) !important;
    border-color: var(--site-primary) !important;
    color: var(--site-white) !important;
}

/* Top rated providers */
body.home-page .top-docter-heading {
    margin-bottom: 48px;
}

body.home-page .top-docter-heading h2 {
    font-family: var(--site-font) !important;
    font-size: var(--site-text-2xl) !important;
    font-weight: var(--site-weight-semibold) !important;
    line-height: var(--site-leading-snug) !important;
    color: var(--site-navy) !important;
    margin-bottom: 0;
}

body.home-page .top-docter-heading h2 span {
    color: var(--site-primary) !important;
}

body.home-page .main-doctor-box {
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-xl);
    overflow: hidden;
}

body.home-page .doctor-profile-heading h3 {
    font-family: var(--site-font);
    font-size: var(--site-text-lg) !important;
    font-weight: var(--site-weight-semibold) !important;
    color: var(--site-navy) !important;
    line-height: var(--site-leading-snug);
    margin-bottom: 4px;
}

body.home-page .doctor-profile-heading p {
    font-family: var(--site-font);
    font-size: var(--site-text-sm) !important;
    font-weight: var(--site-weight-normal);
    color: var(--site-text) !important;
    line-height: var(--site-leading-normal);
    margin-bottom: 0;
}

body.home-page .rated-detail h3 {
    font-family: var(--site-font);
    font-size: var(--site-text-sm) !important;
    font-weight: var(--site-weight-medium);
    color: var(--site-navy) !important;
    line-height: var(--site-leading-normal);
}

body.home-page .doctor-box-feedback {
    background: var(--site-bg);
    border-color: var(--site-border);
}

body.home-page .doctor-box-paragraph-note p {
    font-family: var(--site-font);
    font-size: var(--site-text-sm);
    color: var(--site-navy);
    line-height: var(--site-leading-normal);
}

body.home-page .view-all-sec {
    margin-top: 48px;
}

body.home-page .view-all-sec .main-design-button {
    font-size: var(--site-text-base);
    font-weight: var(--site-weight-semibold);
    border-radius: var(--site-radius);
    min-height: 48px;
    padding: 12px 28px;
}

/* Top specialties */
body.home-page .Searched-Specialties {
    background-color: var(--site-bg);
}

body.home-page .Searched-Specialties .container {
    max-width: 1320px;
}

body.home-page .main-searched-specialities-heading {
    display: flex;
    align-items: center;
    min-height: 100%;
    height: 100%;
}

body.home-page .searched-specialities-heading {
    position: static;
    transform: none;
    top: auto;
    margin-bottom: 0;
    display: block;
    width: 100%;
}

body.home-page .searched-specialities-heading h2 {
    font-family: var(--site-font) !important;
    font-size: var(--site-text-2xl) !important;
    font-weight: var(--site-weight-semibold) !important;
    line-height: var(--site-leading-snug) !important;
    color: var(--site-navy) !important;
    margin-bottom: 0;
}

body.home-page .searched-specialities-heading h2 span {
    color: var(--site-orange) !important;
}

body.home-page .searched-specialities-heading p {
    font-family: var(--site-font);
    font-size: var(--site-text-base);
    font-weight: var(--site-weight-normal);
    color: var(--site-text);
    line-height: var(--site-leading-relaxed);
    margin-top: 16px;
    margin-bottom: 0;
}

body.home-page .main-top-soeciality-design {
    margin: 0;
}

body.home-page .main-top-soeciality-design > [class*="col-"] {
    display: flex;
}

body.home-page .main-top-soeciality-design > [class*="col-"] > a {
    display: flex;
    width: 100%;
}

body.home-page .main-top-soeciality-design .specialities-part-design {
    width: 100%;
}

body.home-page .specialities-part-design {
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius-xl);
    min-height: 220px;
}

body.home-page .Searched-Specialties-img {
    padding: 28px 24px;
    min-height: 200px;
}

body.home-page .Searched-Specialties-img svg {
    margin-bottom: 20px;
}

body.home-page .Searched-Specialties-img h3 {
    font-family: var(--site-font);
    font-size: var(--site-text-base);
    font-weight: var(--site-weight-semibold);
    color: var(--site-navy);
    line-height: var(--site-leading-snug);
}

body.home-page .Searched-Specialties-img:hover {
    background-color: var(--site-primary);
}

body.home-page .Searched-Specialties-img:hover h3 {
    color: var(--site-white);
}

/* Provider CTA block — unified rounded card */
body.home-page .about-detail-card {
    border-radius: var(--site-radius-xl);
    overflow: hidden;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 8px 32px rgba(2, 18, 41, 0.08);
}

body.home-page .about-detail-card > [class*="col-"] {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
}

body.home-page .about-detail-img {
    flex: 1;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: var(--site-radius-xl) 0 0 var(--site-radius-xl);
}

body.home-page .about-detail-img img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

body.home-page .about-detail-main {
    background-color: var(--site-primary);
    padding: 40px 36px;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 0 var(--site-radius-xl) var(--site-radius-xl) 0;
}

body.home-page .about-detail-child {
    position: static;
    transform: none;
    top: auto;
    width: 100%;
}

body.home-page .about-detail-child h3 {
    font-family: var(--site-font) !important;
    font-size: var(--site-text-2xl) !important;
    font-weight: var(--site-weight-semibold) !important;
    line-height: var(--site-leading-snug) !important;
    color: var(--site-white) !important;
    margin-bottom: 20px;
}

body.home-page .about-detail-child ul {
    margin-bottom: 28px;
}

body.home-page .about-detail-child li {
    font-family: var(--site-font);
    font-size: var(--site-text-base);
    font-weight: var(--site-weight-normal);
    color: var(--site-white);
    line-height: var(--site-leading-relaxed);
}

body.home-page .about-detail-child .main-design-button {
    font-size: var(--site-text-base);
    font-weight: var(--site-weight-semibold);
    border-radius: var(--site-radius);
    min-height: 48px;
    padding: 12px 20px;
}

body.home-page .trusted-heading h2 {
    font-family: var(--site-font) !important;
    font-size: var(--site-text-2xl) !important;
    font-weight: var(--site-weight-semibold) !important;
    line-height: var(--site-leading-snug) !important;
    color: var(--site-navy) !important;
    margin-bottom: 28px;
}

body.home-page .trusted-heading .main-design-button {
    font-size: var(--site-text-base);
    border-radius: var(--site-radius);
    min-height: 48px;
}

/* Hero search form */
body.home-page .content-sec .main-form {
    font-family: var(--site-font);
    margin-bottom: 48px;
}

/* Tablet */
@media (max-width: 991.98px) {
    body.home-page .easy-steps,
    body.home-page .about-detail,
    body.home-page .Searched-Specialties {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    body.home-page .top-doctors {
        padding-bottom: 64px;
    }

    body.home-page .easy-steps-heading {
        margin-bottom: 32px;
    }

    body.home-page .easy-step-para {
        margin-bottom: 32px;
        flex-direction: column;
        align-items: flex-start;
    }

    body.home-page .easy-step-box {
        bottom: 0;
        margin-bottom: 0;
        padding-top: 0;
    }

    body.home-page .top-docter-heading {
        margin-bottom: 32px;
    }

    body.home-page .about-detail-card {
        border-radius: var(--site-radius-xl);
    }

    body.home-page .about-detail-img {
        border-radius: var(--site-radius-xl) var(--site-radius-xl) 0 0;
    }

    body.home-page .about-detail-main {
        margin-top: 0;
        border-radius: 0 0 var(--site-radius-xl) var(--site-radius-xl);
        align-items: flex-start;
        padding: 32px 24px;
    }

    body.home-page .about-detail-img img {
        min-height: 240px;
    }

    body.home-page .searched-specialities-heading {
        margin-bottom: 32px;
        min-height: 0;
    }

    body.home-page .easy-steps-heading h2,
    body.home-page .top-docter-heading h2,
    body.home-page .searched-specialities-heading h2,
    body.home-page .about-detail-child h3 {
        font-size: 26px !important;
        line-height: var(--site-leading-snug) !important;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    body.home-page .content-sec .content-detail h1,
    body.home-page .content-sec h1 {
        font-size: 26px !important;
    }

    body.home-page .easy-steps-heading h2,
    body.home-page .top-docter-heading h2,
    body.home-page .searched-specialities-heading h2,
    body.home-page .about-detail-child h3 {
        font-size: 24px !important;
    }

    body.home-page .specialities-box {
        margin-bottom: 0;
    }

    body.home-page .main-doctor-box {
        margin-bottom: 24px;
    }

    body.home-page .view-all-sec {
        margin-top: 32px;
    }
}

@media (max-width: 575.98px) {
    body.home-page .easy-steps,
    body.home-page .about-detail,
    body.home-page .Searched-Specialties {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    body.home-page .Searched-Specialties .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
