/* =========================================================
   SERVICES PAGE CSS
========================================================= */


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

.services-hero {
    min-height: 325px;

    display: flex;
    align-items: center;

    background: #fafafa;
}

.services-hero .container {
    display: grid;

    grid-template-columns: 1fr 1.25fr;

    align-items: center;

    min-height: 325px;
}

.services-hero-content {
    padding: 35px 0;
}

.services-label {
    margin-bottom: 12px;

    color: var(--red);

    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

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

    color: var(--red);

    font-size: 58px;
    font-weight: 800;
    line-height: 1;
}

.services-hero h2 {
    margin: 0 0 18px;

    color: var(--black);

    font-size: 24px;
    font-weight: 700;
}

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

    margin: 0 0 18px;

    color: var(--black);

    font-size: 15px;
    line-height: 1.7;
}

.services-hero-highlight {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
    font-weight: 700;
}

.services-hero-highlight i {
    color: var(--red);

    font-size: 22px;
}

.services-hero-highlight span {
    color: var(--black);
}

.services-hero-highlight span::first-letter {
    color: var(--red);
}

.services-hero-image {
    height: 325px;

    overflow: hidden;
}

.services-hero-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   SERVICES LIST
========================================================= */

.services-list {
    padding: 55px 0 45px;

    background: var(--white);
}

.services-section-heading {
    margin-bottom: 32px;

    text-align: center;
}

.services-section-label {
    margin-bottom: 8px;

    color: var(--red);

    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.services-section-heading h2 {
    margin: 0;

    color: var(--black);

    font-size: 28px;
    font-weight: 700;
}

.services-section-heading::after {
    content: "";

    display: block;

    width: 36px;
    height: 3px;

    margin: 10px auto 0;

    background: var(--yellow);
}

.services-grid {
    display: grid;

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

    gap: 20px;
}

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

    display: grid;

    grid-template-columns: 82px 1fr;

    gap: 18px;

    padding: 24px 20px;

    background: var(--white);

    border: 1px solid var(--light-gray);
    border-radius: var(--radius);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);

    transition: var(--transition);
}

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

    box-shadow: var(--shadow);
}

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

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

    border-radius: 50%;

    background: #fff0f0;

    color: var(--red);

    font-size: 35px;
}

.service-card:nth-child(even) .service-icon {
    background: #fff4d6;
}

.service-content h3 {
    margin: 5px 0 12px;

    color: var(--black);

    font-size: 19px;
    font-weight: 700;
}

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

    display: block;

    width: 24px;
    height: 2px;

    margin-top: 10px;

    background: var(--red);
}

.service-content p {
    margin: 0 0 15px;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.65;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;

    color: var(--white);
    background: var(--red);

    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition: var(--transition);
}

.service-card:nth-child(even) .service-btn {
    color: var(--black);

    background: var(--yellow);
}

.service-btn:hover {
    color: var(--white);

    background: var(--black);
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.services-why {
    margin: 10px auto 45px;
    padding: 25px 30px;

    background: #fffaf0;

    border-radius: var(--radius);
}

.services-why-title {
    margin-bottom: 22px;

    text-align: center;
}

.services-why-title h2 {
    margin: 0;

    color: var(--black);

    font-size: 22px;
}

.services-why-title::after {
    content: "";

    display: block;

    width: 30px;
    height: 3px;

    margin: 8px auto 0;

    background: var(--yellow);
}

.services-why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}

.services-why-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 12px;

    padding: 5px 20px;

    border-right: 1px solid #ddd;
}

.services-why-item:last-child {
    border-right: none;
}

.services-why-icon {
    width: 50px;
    height: 50px;

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

    color: var(--red);

    border: 2px solid var(--red);
    border-radius: 50%;

    font-size: 25px;
}

.services-why-item h3 {
    margin: 2px 0 6px;

    color: var(--black);

    font-size: 14px;
}

.services-why-item p {
    margin: 0;

    color: var(--gray);

    font-size: 12px;
    line-height: 1.5;
}


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

.services-cta {
    padding: 24px 0;

    color: var(--white);

    background: var(--red);
}

.services-cta-inner {
    display: grid;

    grid-template-columns: 180px 1fr auto;

    align-items: center;

    gap: 25px;
}

.services-cta-image {
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.services-cta-image img {
    max-width: 150px;
    max-height: 100px;

    object-fit: contain;
}

.services-cta-content h2 {
    margin: 0 0 6px;

    color: var(--white);

    font-size: 28px;
}

.services-cta-content p {
    margin: 0;

    color: var(--white);

    font-size: 14px;
}

.services-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 14px 22px;

    color: var(--black);

    background: var(--yellow);

    font-weight: 700;

    border-radius: 5px;
}

.services-cta .btn:hover {
    color: var(--black);

    background: var(--white);
}


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

@media (max-width: 900px) {

    .services-hero .container {
        grid-template-columns: 1fr;
    }

    .services-hero-content {
        padding: 45px 0 30px;
    }

    .services-hero-image {
        height: 280px;
    }

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

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

    .services-why-item {
        margin-bottom: 20px;

        border-right: none;
    }

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

        text-align: center;
    }

    .services-cta-image {
        display: none;
    }

    .services-cta .btn {
        justify-self: center;
    }

}


@media (max-width: 600px) {

    .services-hero {
        min-height: auto;
    }

    .services-hero .container {
        min-height: auto;
    }

    .services-hero-content {
        padding: 45px 0 30px;

        text-align: center;
    }

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

    .services-hero h2 {
        font-size: 20px;
    }

    .services-hero p {
        margin-right: auto;
        margin-left: auto;
    }

    .services-hero-highlight {
        justify-content: center;
    }

    .services-hero-image {
        height: 240px;
    }

    .services-list {
        padding: 45px 0 30px;
    }

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

    .service-card {
        grid-template-columns: 70px 1fr;
    }

    .services-why {
        padding: 25px 15px;
    }

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

    .services-why-item {
        padding: 12px 5px;
    }

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

}