/* =========================================================
   CURE HEALTH 24
   SERVICES PAGE
   ========================================================= */


/* =========================================================
   SERVICES HERO
   ========================================================= */

.services-hero {
    padding: 120px 20px;

    background: #f7f9fc;

    text-align: center;
}


.services-hero-content {
    width: min(850px, 92%);

    margin: 0 auto;
}


.services-section-tag {
    text-transform: uppercase;

    letter-spacing: 1px;

    display: inline-block;

    margin-bottom: 18px;

    padding: 7px 13px;

    border-radius: 20px;

    background: #d9f3f5;

    color: #087485;

    font-size: 12px;

    font-weight: 700;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.services-hero h1 {
    margin: 0 0 20px;

    color: #064d59;

    font-size: 52px;

    line-height: 1.15;

    font-weight: 700;

    letter-spacing: -1.5px;
}


.services-hero h1 span {
    color: #0ba2b2;
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.services-hero p {
    max-width: 700px;

    margin: 0 auto 30px;

    color: #666666;

    line-height: 1.8;

    font-size: 15px;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.services-primary-btn {
    display: inline-block;

    padding: 14px 28px;

    background: #0b7a75;

    color: #ffffff;

    text-decoration: none;

    border-radius: 6px;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.services-primary-btn:hover {
    background: #075b57;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   SERVICES CONTAINER
   IMPORTANT:
   Do NOT use ".container"
   because it can affect the navbar.
   ========================================================= */

.services-container {
    width: min(1150px, 92%);

    margin: 0 auto;
}


/* =========================================================
   SERVICES INTRO
   ========================================================= */

.services-intro {
    padding: 90px 20px 50px;

    text-align: center;

    background: #ffffff;
}


.services-intro-content {
    max-width: 800px;

    margin: 0 auto;
}


.services-intro h2 {
    margin: 0 0 20px;

    color: #064d59;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;
}


.services-intro p {
    max-width: 750px;

    margin: 0 auto;

    color: #666666;

    line-height: 1.8;

    font-size: 14px;
}


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

.services-grid-section {
    padding: 50px 20px 100px;

    background: #ffffff;
}


.services-grid {
    width: 100%;

    display: grid;

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

    gap: 28px;

    align-items: stretch;
}


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

.service-card {
    position: relative;

    min-width: 0;

    min-height: 360px;

    padding: 32px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    background: #ffffff;

    border: 1px solid #dcebed;

    border-radius: 20px;

    overflow: hidden;

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


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

    border-color: #b9e2e6;

    box-shadow:
        0 18px 45px
        rgba(6, 77, 89, 0.10);
}


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

.service-icon {
    width: 58px;

    height: 58px;

    margin-bottom: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 16px;

    background: #e3f7f9;

    color: #0ba2b2;

    font-size: 23px;

    overflow: hidden;
}


.service-icon img {
    width: 38px;

    height: 38px;

    object-fit: contain;

    display: block;
}


/* =========================================================
   SERVICE TITLE
   ========================================================= */

.service-card h3 {
    margin: 0;

    color: #064d59;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 700;

    max-width: 100%;
}


/* =========================================================
   SERVICE DESCRIPTION
   ========================================================= */

.service-card p {
    margin: 16px 0 0;

    max-width: 100%;

    color: #71868a;

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   SERVICES CTA
   ========================================================= */

.services-cta {
    padding: 90px 20px;

    background: #0b7a75;

    color: #ffffff;

    text-align: center;
}


.services-cta-content {
    max-width: 800px;

    margin: 0 auto;
}


.services-cta h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;
}


.services-cta p {
    margin: 0 0 30px;

    color:
        rgba(255, 255, 255, 0.85);

    font-size: 15px;
}


.services-cta .services-section-tag {
    background:
        rgba(255, 255, 255, 0.15);

    color: #ffffff;
}


.services-cta-btn {
    background: #ffffff;

    color: #0b7a75;
}


.services-cta-btn:hover {
    background: #f4fafa;

    color: #075b57;
}


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

@media (max-width: 1000px) {

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

        gap: 22px;
    }


    .service-card {
        min-height: 340px;

        padding: 28px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

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


    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 600px) {

    .services-hero {
        padding: 80px 20px;
    }


    .services-hero h1 {
        font-size: 34px;

        letter-spacing: -0.8px;
    }


    .services-intro {
        padding:
            70px 20px 40px;
    }


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


    .services-grid-section {
        padding:
            40px 20px 70px;
    }


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

        gap: 18px;
    }


    .service-card {
        min-height: auto;

        padding: 25px;
    }


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


    .service-card p {
        font-size: 13px;

        line-height: 1.7;
    }


    .services-cta {
        padding: 70px 20px;
    }


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

}


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

@media (max-width: 400px) {

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


    .services-container {
        width: 90%;
    }


    .service-card {
        padding: 22px;
    }

}