

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



.services-hero {

    height: 70vh;

    margin-top: 15px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7)),
        url("/images/nurse.png") center/cover no-repeat;
}

.services-content {

    position: relative;

    z-index: 2;

    max-width: 750px;

    color: white;

    padding: 20px;
}

/* HERO ANIMATION */

.fade-up {

    opacity: 0;

    transform: translateY(40px);

    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 24px;

    border-radius: 30px;

    background: rgba(255,255,255,0.12);

    backdrop-filter: blur(6px);

    margin-bottom: 24px;
}

.services-content h1 {

    font-size: 52px;

    line-height: 1.2;

    margin-bottom: 20px;

    font-weight: 700;
}

.services-content h1 span {

    color: #FF7043;
}

.services-content p {

    font-size: 18px;

    line-height: 1.8;

    color: #eee;
}

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

.services-section {

    padding: 90px 8%;

    background: #f8f5f2;
}

.section-title {

    text-align: center;

    max-width: 700px;

    margin: auto auto 60px;
}

/* =========================================
   SECTION TITLE ANIMATION
========================================= */

.section-title {

    text-align: center;

    max-width: 700px;

    margin: auto auto 60px;

    opacity: 0;

    transform: translateY(50px);

    animation: sectionFadeUp 1.2s ease forwards;
}

/* SMALL LABEL */
.section-title span {

    color: #FF7043;

    font-weight: 600;

    letter-spacing: 1px;

    display: inline-block;

    animation: fadeZoom 1s ease forwards;
}

/* HEADING */
.section-title h2 {

    font-size: 42px;

    color: #2F5D50;

    margin: 15px 0;

    opacity: 0;

    transform: translateY(25px);

    animation: fadeUpText 1s ease forwards;

    animation-delay: 0.3s;
}

/* PARAGRAPH */
.section-title p {

    color: #666;

    line-height: 1.8;

    opacity: 0;

    transform: translateY(25px);

    animation: fadeUpText 1s ease forwards;

    animation-delay: 0.6s;
}

/* KEYFRAMES */

@keyframes sectionFadeUp {

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes fadeUpText {

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes fadeZoom {

    0% {

        opacity: 0;

        transform: scale(0.8);
    }

    100% {

        opacity: 1;

        transform: scale(1);
    }
}


.section-title span {

    color: #FF7043;

    font-weight: 600;

    letter-spacing: 1px;
}

.section-title h2 {

    font-size: 42px;

    color: #2F5D50;

    margin: 15px 0;
}

.section-title p {

    color: #666;

    line-height: 1.8;
}

/* GRID */

.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

/* CARD */

/* =========================================
   MODERN CARD ANIMATION
========================================= */

.service-card {

    background: white;

    padding: 40px 30px;

    border-radius: 24px;

    text-align: center;

    transition:
        all 0.4s ease;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.06);

    cursor: pointer;

    position: relative;
}

/* HOVER */

.service-card:hover {

    transform:
        translateY(-12px);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.12);

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fff7f4
        );
}

/* ICON ANIMATION */

.service-card:hover .service-icon {

    transform: scale(1.12);

    background:
        rgba(255,112,67,0.18);
}

/* ICON SMOOTH */

.service-icon {

    width: 80px;

    height: 80px;

    margin: auto auto 20px;

    border-radius: 50%;

    background:
        rgba(255,112,67,0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

    color: #FF7043;

    transition: 0.4s ease;
}

/* TITLE EFFECT */

.service-card h3 {

    font-size: 24px;

    color: #2F5D50;

    margin-bottom: 14px;

    transition: 0.3s ease;
}

.service-card:hover h3 {

    color: #FF7043;
}

.service-card p {

    color: #666;

    line-height: 1.8;
}

/* =========================================
                CTA SECTION
========================================= */
/* =========================================
                CTA SECTION
========================================= */
.cta-section {

    position: relative;

    padding: 70px 20px;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)),
        url("/images/nurse.png");

    background-position: center;

    background-size: cover !important;

    background-repeat: no-repeat;
}
/* OVERLAY */

.cta-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,0.45);

    backdrop-filter: blur(2px);

    animation: overlayFade 2s ease forwards;
}

/* CONTENT */

.cta-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

    margin: auto;

    color: white;

    opacity: 0;

    transform: translateY(50px);

    animation: ctaFadeUp 1.2s ease forwards;
}

/* HEADING */

.cta-content h2 {

    font-size: 48px;

    margin-bottom: 20px;

    opacity: 0;

    transform: translateY(25px);

    animation: fadeText 1s ease forwards;

    animation-delay: 0.3s;
}

/* PARAGRAPH */

.cta-content p {

    line-height: 1.8;

    margin-bottom: 35px;

    color: #eee;

    opacity: 0;

    transform: translateY(25px);

    animation: fadeText 1s ease forwards;

    animation-delay: 0.6s;
}

/* BUTTONS */

.cta-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    opacity: 0;

    transform: translateY(25px);

    animation: fadeText 1s ease forwards;

    animation-delay: 0.9s;
}

/* =========================================
                KEYFRAMES
========================================= */

@keyframes ctaFadeUp {

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes fadeText {

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes overlayFade {

    from {

        opacity: 0;
    }

    to {

        opacity: 1;
    }
}

/* BUTTON */

.btn {

    padding: 14px 34px;

    border-radius: 30px;

    background: #FF7043;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}

.btn:hover {

    background: #ff5a26;
}

.btn-glass {

    padding: 14px 34px;

    border-radius: 30px;

    border: 1px solid rgba(255,255,255,0.6);

    color: white;

    text-decoration: none;

    backdrop-filter: blur(6px);
}

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

@media (max-width: 768px) {

      .services-hero {

            min-height: calc(100vh - 90px);

            height: auto;

            padding: 30px 20px 60px;

            margin-top: 15px;

            background-position: center center !important;

            background-size: cover !important;
        }

        .services-content h1 {

            font-size: 34px;
        }

        .services-content p {

            font-size: 15px;
        }

    .services-section {

        padding: 60px 20px;
    }

    .section-title h2 {

        font-size: 30px;
    }

    .service-card {

        padding: 30px 22px;
    }

    .cta-content h2 {

        font-size: 34px;
    }

    .cta-buttons {

        flex-direction: column;
    }

    .btn,
    .btn-glass {

        width: 100%;
    }
}
/* SCROLL REVEAL */

.reveal {

    opacity: 0;

    transform: translateY(60px);

    transition: all 1s ease;
}

.reveal.active {

    opacity: 1;

    transform: translateY(0);
}
@media (max-width: 768px) {

    .cta-section {

        padding: 50px 18px;

        min-height: auto;

        height: auto;
    }

    .cta-content {

        width: 100%;
    }

    .cta-content h2 {

        font-size: 32px;

        line-height: 1.3;
    }

    .cta-content p {

        font-size: 15px;

        line-height: 1.8;
    }
}