/* =========================================================
   SERVICES PAGE
========================================================= */

.services-page {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   PAGE BANNER
========================================================= */

.services-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.services-banner img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   SERVICES CAROUSEL SECTION
========================================================= */

.services-list-section {
    width: 100%;
    padding: 65px 0 75px;
    background: #ffffff;
}

.services-list-container {
    position: relative;

    width: 100%;
    max-width: 1700px;

    margin: 0 auto;
    padding: 0 35px;
}


/* =========================================================
   SERVICES CAROUSEL
========================================================= */

.services-carousel {
    display: flex;

    width: 100%;

    gap: 55px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 10px 0 25px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    cursor: grab;
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

.services-carousel:active {
    cursor: grabbing;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    flex: 0 0 calc((100% - 220px) / 5);

    min-width: 250px;

    background: #ffffff;

    overflow: hidden;

    scroll-snap-align: start;
}


/* =========================================================
   SERVICE CARD IMAGE
========================================================= */

.service-card-image {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.service-card-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.03);
}


/* =========================================================
   SERVICE CARD CONTENT
========================================================= */

.service-card-body {
    padding: 20px 0 0;
    text-align: left;
}

.service-card-body h3 {
    margin: 0 0 13px;

    color: #e30613;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card-body p {
    margin: 0;

    color: #111111;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.services-carousel-controls {
    position: absolute;

    top: 50%;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    transform: translateY(-50%);

    pointer-events: none;

    z-index: 10;
}

.services-carousel-btn {
    width: 46px;
    height: 46px;

    padding: 0;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e30613;
    color: #ffffff;

    cursor: pointer;

    pointer-events: auto;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.services-carousel-btn:hover {
    background: #c9000c;
}

.services-carousel-btn i {
    font-size: 14px;
}

.services-carousel-prev {
    transform: translateX(-8px);
}

.services-carousel-next {
    transform: translateX(8px);
}

.services-carousel-prev:hover {
    transform: translateX(-8px) scale(1.05);
}

.services-carousel-next:hover {
    transform: translateX(8px) scale(1.05);
}

.services-carousel-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.services-carousel-btn:disabled:hover {
    background: #e30613;
}


/* =========================================================
   MAIN SERVICE DETAIL
========================================================= */

.service-detail-section {
    width: 100%;
    padding: 70px 0;
    background: #ffffff;
}

.service-detail-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;
    padding: 0 30px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 40px;

    align-items: center;
}


/* =========================================================
   SERVICE DETAIL TITLE
========================================================= */

.service-detail-title h1 {
    margin: 0;

    color: #000000;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 34px;
    font-weight: 600;
    line-height: 1.35;
}


/* =========================================================
   SERVICE DETAIL IMAGE
========================================================= */

.service-detail-image {
    width: 100%;
}

.service-detail-image img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 4px;
}


/* =========================================================
   SERVICE DETAIL DESCRIPTION
========================================================= */

.service-detail-content {
    width: 100%;
}

.service-description {
    color: #000000;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.service-description p {
    margin: 0;
}


/* =========================================================
   SUSTAINABILITY
========================================================= */

.services-sustainability {
    width: 100%;

    background: #f8f9fa;
}

.sustainability-container {
    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 42% 58%;

    align-items: center;
}


/* =========================================================
   SUSTAINABILITY CONTENT
========================================================= */

.sustainability-content {
    padding: 55px 60px 55px 40px;
}

.sustainability-content h2 {
    margin: 0 0 25px;

    color: #000000;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}

.sustainability-content p {
    margin: 0 0 25px;

    color: #000000;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================================
   SUSTAINABILITY BUTTON
========================================================= */

.sustainability-button {
    display: inline-block;

    padding: 11px 24px;

    border: 1px solid #e10b17;

    color: #e10b17;
    background: transparent;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.sustainability-button:hover {
    color: #ffffff;
    background: #e10b17;
}


/* =========================================================
   SUSTAINABILITY IMAGE
========================================================= */

.sustainability-image {
    width: 100%;
    overflow: hidden;
}

.sustainability-image img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   LARGE TABLET
   1101px - 1400px
========================================================= */

@media (max-width: 1400px) {

    .services-list-container {
        padding: 0 45px;
    }

    .services-carousel {
        gap: 40px;
    }

    .service-card {
        flex: 0 0 calc((100% - 120px) / 4);
    }

    .service-detail-container {
        padding: 0 40px;
    }

}


/* =========================================================
   TABLET
   768px - 1100px
========================================================= */

@media (max-width: 1100px) {

    .services-list-section {
        padding: 55px 0 65px;
    }

    .services-list-container {
        padding: 0 40px;
    }

    .services-carousel {
        gap: 30px;
    }

    .service-card {
        flex: 0 0 calc((100% - 60px) / 3);
        min-width: 230px;
    }

    .service-card-body h3 {
        font-size: 21px;
    }

    .service-card-body p {
        font-size: 16px;
    }


    /* Service detail */

    .service-detail-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .service-detail-title {
        grid-column: 1 / -1;
    }


    /* Sustainability */

    .sustainability-container {
        grid-template-columns: 1fr 1fr;
    }

    .sustainability-content {
        padding: 45px 30px;
    }

}


/* =========================================================
   MOBILE
   Below 767px
========================================================= */

@media (max-width: 767px) {

    .services-list-section {
        padding: 45px 0 55px;
    }

    .services-list-container {
        padding: 0 25px;
    }

    .services-carousel {
        gap: 25px;

        padding-top: 5px;
        padding-bottom: 15px;

        scroll-snap-type: x mandatory;
    }

    .service-card {
        flex: 0 0 78%;
        min-width: 0;
    }


    /* Hide desktop arrows on mobile */

    .services-carousel-controls {
        display: none;
    }


    /* Card */

    .service-card-body {
        padding-top: 16px;
    }

    .service-card-body h3 {
        margin-bottom: 10px;

        font-size: 21px;
    }

    .service-card-body p {
        font-size: 15px;
        line-height: 1.6;
    }


    /* Service detail */

    .service-detail-section {
        padding: 45px 0;
    }

    .service-detail-container {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 0 20px;
    }

    .service-detail-title {
        grid-column: auto;
    }

    .service-detail-title h1 {
        font-size: 28px;
    }

    .service-description {
        font-size: 15px;
        line-height: 1.7;
    }


    /* Sustainability */

    .sustainability-container {
        grid-template-columns: 1fr;
    }

    .sustainability-content {
        padding: 40px 20px;
    }

    .sustainability-content h2 {
        font-size: 27px;
    }

    .sustainability-content p {
        font-size: 15px;
    }

    .sustainability-image {
        order: 2;
    }

}


/* =========================================================
   SMALL MOBILE
   Below 480px
========================================================= */

@media (max-width: 480px) {

    .services-list-container {
        padding: 0 20px;
    }

    .service-card {
        flex: 0 0 88%;
    }

    .service-detail-container {
        padding: 0 15px;
    }

    .service-detail-title h1 {
        font-size: 25px;
    }

    .sustainability-content {
        padding: 35px 15px;
    }

}