
/* =========================================================
   NEHA EYE CENTRE
   SERVICES PAGE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #f7fbfb;

    color: #263b40;

    font-family: "Poppins", sans-serif;
}


/* =========================================================
   MAIN PAGE
   ========================================================= */

.services-page {
    width: 96%;

    margin: 0 auto;

    padding: 35px 0 50px;
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.services-heading {
    max-width: 720px;

    margin: 5px auto 35px;

    text-align: center;
}

.services-heading-line {
    display: block;

    width: 55px;
    height: 4px;

    margin: 0 auto 13px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #00a99d,
            #008fba
        );
}

.services-heading h1 {
    margin: 0;

    color: #087f83;

    font-size: 30px;

    line-height: 1.3;

    font-weight: 700;
}

.services-heading p {
    margin: 10px 0 0;

    color: #65777b;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   SERVICES GRID
   ========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


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

.service-card {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 25px 27px;

    background: #ffffff;

    border: 1px solid #e3eeee;

    border-radius: 15px;

    box-shadow:
        0 5px 20px rgba(0, 120, 135, 0.08);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -50px;
    bottom: -50px;

    border-radius: 50%;

    background:
        rgba(0, 169, 157, 0.045);

    pointer-events: none;
}

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

    border-color: #b9e3e1;

    box-shadow:
        0 10px 27px rgba(0, 120, 135, 0.13);
}


/* =========================================================
   FEATURED SERVICE
   ========================================================= */

.featured-service {
    background:
        linear-gradient(
            135deg,
            #00a99d,
            #008fba
        );

    border: none;

    color: #ffffff;

    box-shadow:
        0 8px 25px rgba(0, 140, 150, 0.18);
}

.featured-service::after {
    background:
        rgba(255, 255, 255, 0.08);
}

.featured-service:hover {
    border-color: transparent;
}


/* =========================================================
   SERVICE ICON
   ========================================================= */

.service-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        #e5f7f5;

    color: #008f91;

    font-size: 23px;

    line-height: 1;
}

.featured-service .service-icon {
    background:
        rgba(255, 255, 255, 0.18);

    color: #ffffff;
}


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

.service-content {
    flex: 1;

    min-width: 0;
}

.service-content h2 {
    margin: 1px 0 10px;

    color: #087f83;

    font-size: 19px;

    line-height: 1.4;

    font-weight: 700;
}

.featured-service .service-content h2 {
    color: #ffffff;
}

.service-content p {
    margin: 0;

    color: #68797c;

    font-size: 12.5px;

    line-height: 1.7;
}

.featured-service .service-content p {
    color: rgba(255, 255, 255, 0.94);
}


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

.service-content > ul {
    margin: 0;

    padding-left: 19px;
}

.service-content > ul > li {
    margin-bottom: 7px;

    color: #53666a;

    font-size: 12.5px;

    line-height: 1.6;
}

.service-content > ul > li:last-child {
    margin-bottom: 0;
}

.service-content li::marker {
    color: #00a99d;

    font-size: 10px;
}


/* =========================================================
   NESTED LIST
   ========================================================= */

.nested-list {
    margin-top: 7px !important;

    padding-left: 19px;
}

.nested-list li {
    margin-bottom: 4px;

    color: #68797c;

    font-size: 11.5px;

    line-height: 1.55;
}

.nested-list li:last-child {
    margin-bottom: 0;
}

.nested-list li::marker {
    color: #5bbdb8;
}


/* =========================================================
   OCULAR TRAUMA
   ========================================================= */

.trauma-service {
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f1fbfa
        );
}


/* =========================================================
   BOTTOM NOTE
   ========================================================= */

.services-note {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 22px;

    padding: 15px 20px;

    background: #e8f7f6;

    border: 1px solid #d0ecea;

    border-radius: 11px;
}

.services-note-icon {
    flex-shrink: 0;

    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #00a99d;

    color: #ffffff;

    font-size: 18px;

    font-weight: 600;
}

.services-note p {
    margin: 0;

    color: #426267;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .services-grid {
        gap: 16px;
    }

    .service-card {
        padding: 22px 20px;

        gap: 14px;
    }

    .service-icon {
        width: 45px;
        height: 45px;

        font-size: 20px;
    }

    .service-content h2 {
        font-size: 17px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .services-page {
        width: 98%;

        padding: 25px 0 35px;
    }

    .services-heading {
        margin-bottom: 25px;
    }

    .services-heading h1 {
        font-size: 24px;
    }

    .services-heading p {
        padding: 0 8px;

        font-size: 12.5px;
    }

    .services-grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .service-card {
        padding: 21px 19px;

        border-radius: 13px;

        gap: 13px;
    }

    .service-icon {
        width: 43px;
        height: 43px;

        border-radius: 11px;

        font-size: 19px;
    }

    .service-content h2 {
        margin-bottom: 8px;

        font-size: 17px;
    }

    .service-content > ul > li {
        font-size: 12px;

        margin-bottom: 6px;
    }

    .service-content p {
        font-size: 12px;
    }

    .nested-list li {
        font-size: 11.5px;
    }

    .services-note {
        align-items: flex-start;

        padding: 13px 15px;
    }

    .services-note p {
        font-size: 11.5px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .service-card {
        padding: 19px 16px;
    }

    .service-icon {
        width: 40px;
        height: 40px;

        font-size: 18px;
    }

    .service-content h2 {
        font-size: 16px;
    }

}
