﻿
/* =================================
   SERVICES PAGE
================================= */

.services-page {
    background: #f7faff;
    min-height: 100vh;
}


/* =================================
   HERO SECTION
================================= */

.services-hero {
    position: relative;
    padding: 85px 0 65px;
    background: linear-gradient(135deg, #eaf4ff, #ffffff);
    overflow: hidden;
}

.services-hero-content {
    max-width: 850px;
    margin: auto;
}

.services-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0d6efd;
    margin-bottom: 15px;
    padding: 9px 18px;
    background: #e1efff;
    border-radius: 30px;
}

.services-hero h1 {
    font-size: 46px;
    font-weight: 750;
    color: #172033;
    margin-bottom: 18px;
    line-height: 1.2;
}

.services-hero p {
    max-width: 700px;
    margin: auto;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.8;
}


/* =================================
   SERVICES LISTING
================================= */

.services-listing {
    padding: 75px 0 100px;
}

.services-intro {
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-block;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.services-intro h2 {
    font-size: 34px;
    font-weight: 750;
    color: #172033;
    margin-bottom: 14px;
}

.services-intro p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
}


/* =================================
   SERVICE CARD
================================= */

.service-card {
    position: relative;
    height: 100%;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e6edf6;
    border-radius: 18px;
    box-shadow: 0 5px 22px rgba(25, 50, 80, 0.055);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #0d6efd, #48b5e8);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-7px);
        border-color: #d5e6fb;
        box-shadow: 0 15px 35px rgba(25, 50, 80, 0.11);
    }

        .service-card:hover::before {
            transform: scaleX(1);
        }


/* =================================
   CARD HEADER
================================= */

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}

.service-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf4ff, #f2f8ff);
    color: #0d6efd;
    border-radius: 16px;
    font-size: 29px;
    margin: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #0d6efd;
    color: #ffffff;
    transform: scale(1.05);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 43px;
    height: 43px;
    padding: 0 8px;
    border-radius: 12px;
    background: #f0f6ff;
    color: #0d6efd;
    font-size: 15px;
    font-weight: 750;
}


/* =================================
   SERVICE CONTENT
================================= */

.service-card h3 {
    font-size: 21px;
    font-weight: 750;
    color: #172033;
    line-height: 1.45;
    margin-bottom: 12px;
}

.service-card .service-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 22px;
}


/* =================================
   SERVICE FEATURE LIST
================================= */

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .service-features li {
        position: relative;
        padding: 10px 0 10px 29px;
        border-bottom: 1px solid #edf1f6;
        color: #4b586b;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.6;
        transition: all 0.25s ease;
    }

        .service-features li:last-child {
            border-bottom: none;
        }

        .service-features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 10px;
            width: 19px;
            height: 19px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #e9f5ff;
            color: #0d6efd;
            border-radius: 50%;
            font-size: 11px;
            font-weight: 800;
        }

        .service-features li:hover {
            color: #0d6efd;
            padding-left: 34px;
        }


/* =================================
   DOCTOR HIGHLIGHT
================================= */

.doctor-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding: 17px;
    background: #edf6ff;
    border: 1px solid #d9eaff;
    border-radius: 13px;
}

    .doctor-highlight > i {
        color: #0d6efd;
        font-size: 24px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .doctor-highlight strong {
        display: block;
        color: #172033;
        font-size: 14px;
        margin-bottom: 7px;
    }

.service-card .doctor-highlight p {
    color: #596b80;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}


/* =================================
   INSURANCE CARD
================================= */

.insurance-card {
    background: linear-gradient(145deg, #ffffff, #f8fbff);
}

.insurance-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    background: #fff8e8;
    border: 1px solid #f4e3b9;
    border-radius: 12px;
}

    .insurance-disclaimer i {
        color: #d69b16;
        font-size: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }

.service-card .insurance-disclaimer p {
    color: #806526;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
}


/* =================================
   SERVICE DETAILS PAGE
   EXISTING STYLES PRESERVED
================================= */

.service-details-page {
    background: #f7faff;
    min-height: 100vh;
}

.service-details-hero {
    padding: 75px 0 55px;
    background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.service-details-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0d6efd;
    margin-bottom: 12px;
}

.service-details-hero h1 {
    font-size: 46px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 15px;
}

.service-details-hero p {
    max-width: 700px;
    margin: auto;
    color: #6b7280;
    font-size: 17px;
    line-height: 1.7;
}

.service-details-section {
    padding: 55px 0 0;
}

.service-details-title {
    font-size: 32px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 28px;
}

.service-about-card {
    height: 100%;
    padding: 35px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(25, 50, 80, 0.06);
}

    .service-about-card h3 {
        font-size: 25px;
        font-weight: 700;
        color: #172033;
        margin-bottom: 18px;
    }

    .service-about-card p {
        color: #6b7280;
        font-size: 15px;
        line-height: 1.8;
    }

.service-info-card {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(25, 50, 80, 0.06);
}

    .service-info-card h4 {
        font-size: 22px;
        font-weight: 700;
        color: #172033;
        margin-bottom: 20px;
    }

.service-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .service-info-list li {
        padding: 13px 0;
        border-bottom: 1px solid #edf1f6;
        color: #5f6b7a;
        font-size: 15px;
    }

        .service-info-list li:last-child {
            border-bottom: none;
        }

        .service-info-list li::before {
            content: "✓";
            color: #0d6efd;
            font-weight: 700;
            margin-right: 10px;
        }

.service-feature-card {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(25, 50, 80, 0.06);
    transition: all 0.3s ease;
}

    .service-feature-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(25, 50, 80, 0.12);
    }

.service-feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef6ff;
    border-radius: 15px;
    font-size: 28px;
    margin-bottom: 20px;
}

.service-feature-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 12px;
}

.service-feature-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.service-process-card {
    height: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(25, 50, 80, 0.06);
    transition: all 0.3s ease;
}

    .service-process-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(25, 50, 80, 0.12);
    }

.service-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #eef6ff;
    color: #0d6efd;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.service-process-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 12px;
}

.service-process-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}


/* =================================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 991px) {

    .services-hero h1 {
        font-size: 39px;
    }

    .services-intro h2 {
        font-size: 30px;
    }

    .service-card {
        padding: 27px;
    }
}


@media (max-width: 768px) {

    .services-hero {
        padding: 55px 0 42px;
    }

        .services-hero h1 {
            font-size: 33px;
        }

        .services-hero p {
            font-size: 15px;
        }

    .services-listing {
        padding: 45px 0 65px;
    }

    .services-intro {
        margin-bottom: 32px;
    }

        .services-intro h2 {
            font-size: 27px;
        }

        .services-intro p {
            font-size: 14px;
        }

    .service-card {
        padding: 25px;
        border-radius: 15px;
    }

        .service-card h3 {
            font-size: 19px;
        }

    .service-card-header {
        margin-bottom: 18px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 25px;
    }

    .service-number {
        min-width: 39px;
        height: 39px;
        font-size: 13px;
    }

    .service-features li {
        font-size: 13px;
    }

    .service-details-hero {
        padding: 55px 0 40px;
    }

        .service-details-hero h1 {
            font-size: 34px;
        }

        .service-details-hero p {
            font-size: 15px;
        }

    .service-details-section {
        padding-top: 40px;
    }

    .service-details-title {
        font-size: 27px;
    }

    .service-about-card,
    .service-info-card,
    .service-feature-card,
    .service-process-card {
        padding: 25px;
    }
}


@media (max-width: 480px) {

    .services-hero h1 {
        font-size: 29px;
    }

    .services-intro h2 {
        font-size: 24px;
    }

    .service-card {
        padding: 21px;
    }

        .service-card h3 {
            font-size: 18px;
        }

    .service-description {
        font-size: 13px;
    }

    .service-features li {
        font-size: 13px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .doctor-highlight,
    .insurance-disclaimer {
        padding: 13px;
    }
}


/* =================================
   ACCESSIBILITY
================================= */

@media (prefers-reduced-motion: reduce) {

    .service-card,
    .service-card::before,
    .service-icon,
    .service-features li {
        transition: none;
    }

        .service-card:hover {
            transform: none;
        }
}
