/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    padding: 87px 0 50px;
    background: #ffffff;
}

.services-container {
    max-width: 1132px;
}

/* Heading */

.services-heading {
    max-width: 850px;
    margin-bottom: 39px;
}

.services-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: #b17a0d;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-label span {
    width: 22px;
    height: 1px;
    flex: 0 0 auto;
    background: #c89025;
}

.services-heading h2 {
    margin: 0 0 16px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 39px;
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.8px;
}

.services-heading > p {
    max-width: 650px;
    margin: 0;
    color: #355a60;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* Grid */

.services-grid {
    --bs-gutter-x: 23px;
    --bs-gutter-y: 23px;
}

/* Card */

.service-card {
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px;
    border: 1px solid #d8dfde;
    border-radius: 13px;
    background: #ffffff;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 12px;
    color: #0e5261;
    background: #e4f1f0;
    font-size: 17px;
    transition:
        color 0.28s ease,
        background-color 0.28s ease,
        transform 0.28s ease;
}

.service-card h3 {
    margin: 0 0 9px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.service-card p {
    margin: 0 0 18px;
    color: #355a60;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #00958d;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.service-link i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.service-link:hover {
    color: #007f78;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Hover */

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 151, 145, 0.34);
    box-shadow: 0 15px 30px rgba(18, 74, 78, 0.08);
}

.service-card:hover .service-icon {
    color: #ffffff;
    background: #079b97;
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199.98px) {
    .services-container {
        max-width: 960px;
    }

    .service-card {
        min-height: 265px;
        padding: 24px;
    }
}

@media (max-width: 991.98px) {
    .services-section {
        padding: 72px 0 20px;
    }

    .services-container {
        max-width: 720px;
    }

    .services-heading {
        max-width: 690px;
        margin-bottom: 34px;
        margin-top: 20px;
    }

    .services-heading h2 {
        font-size: 38px;
    }

    .service-card {
        min-height: 250px;
    }
}

@media (max-width: 767.98px) {
    .services-heading h2 {
        font-size: 35px;
    }

    .services-heading > p {
        font-size: 15px;
    }

    .services-grid {
        --bs-gutter-x: 18px;
        --bs-gutter-y: 18px;
    }
}

@media (max-width: 575.98px) {
    .services-section {
        padding: 52px 0 12px;
    }

    .services-container {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .services-heading {
        margin-bottom: 28px;
    }

    .services-label {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .services-heading h2 {
        margin-bottom: 14px;
        font-size: 33px;
        line-height: 1.04;
    }

    .services-heading > p {
        font-size: 14px;
        line-height: 1.65;
    }

    .services-grid {
        --bs-gutter-y: 15px;
    }

    .service-card {
        min-height: auto;
        padding: 22px 21px;
        border-radius: 11px;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        margin-bottom: 17px;
        font-size: 13.5px;
        line-height: 1.65;
    }
}