/* =========================================================
   HOME PAGE
========================================================= */

.home-page {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   COMMON CONTAINER
========================================================= */

.home-container {
    width: 100%;
    max-width: 1700px;

    margin: 0 auto;

    padding-left: 70px;
    padding-right: 70px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
}

.hero-slide {
    width: 100%;
}

.hero-slide img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}


/* =========================================================
   VIDEO + NEWS
========================================================= */

.home-news-section {
    padding: 70px 0;
}

.home-news-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 40px;

    align-items: start;
}


/* =========================================================
   VIDEO
========================================================= */

.video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   NEWS
========================================================= */

.latest-news {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.news-card {
    display: grid;

    grid-template-columns: 1fr 150px;

    min-height: 150px;

    background-color: #f6f6f6;

    overflow: hidden;
}

.news-card-content {
    padding: 20px;
}

.news-meta {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;
}

.news-label {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 5px 14px;

    background-color: #e30613;

    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    border-radius: 3px;
}

.news-date {
    display: inline-flex;

    padding: 5px 10px;

    border: 1px solid #e30613;

    color: #e30613;

    font-size: 12px;

    border-radius: 3px;
}

.news-title {
    color: #111111;

    font-size: 16px;
    line-height: 1.5;

    text-decoration: none;
}

.news-title:hover {
    color: #e30613;
}

.news-image {
    display: block;

    width: 100%;
    height: 100%;
}

.news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    align-items: center;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {
    margin: 0 0 25px;

    color: #111111;

    font-size: 42px;
    font-weight: 500;

    line-height: 1.2;
}

.section-text {
    margin: 0 0 20px;

    color: #222222;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BUTTON
========================================================= */

.home-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    min-height: 45px;

    padding: 10px 22px;

    background-color: #e30613;

    color: #ffffff;

    font-size: 15px;
    font-weight: 500;

    text-decoration: none;

    border-radius: 4px;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.home-button:hover {
    background-color: #bd000b;

    color: #ffffff;

    transform: translateY(-2px);
}

.home-button-outline {
    background-color: transparent;

    border: 1px solid #e30613;

    color: #e30613;
}

.home-button-outline:hover {
    background-color: #e30613;

    color: #ffffff;
}


/* =========================================================
   MAIN STATISTIC
========================================================= */

.company-statistics {
    width: 100%;
}

.main-statistic {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    margin-bottom: 45px;
}

.stat-label {
    display: block;

    color: #e30613;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;

    text-transform: uppercase;
}

.stat-number {
    display: block;

    margin: 5px 0;

    color: #e30613;

    font-size: 58px;
    font-weight: 700;

    line-height: 1;
}

.main-statistic img {
    display: block;

    max-width: 100%;

    margin-top: 20px;
}


/* =========================================================
   STATISTICS GRID
========================================================= */

.statistics-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.stat-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}

.stat-item .stat-number {
    font-size: 45px;
}

.stat-item img {
    display: block;

    width: 100%;
    max-width: 100px;

    margin-top: 15px;
}


/* =========================================================
   FULL WIDTH BANNER
========================================================= */

.home-banner {
    width: 100%;

    margin: 20px 0 80px;

    overflow: hidden;
}

.home-banner img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   WHAT WE DO
========================================================= */

.what-we-do-section {
    padding: 0 0 90px;
}

.what-we-do-intro {
    max-width: 650px;

    margin-bottom: 45px;
}


/* =========================================================
   BUSINESS GRID
========================================================= */

.business-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}

.business-card {
    position: relative;

    display: block;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    text-decoration: none;

    background-color: #222222;
}

.business-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.business-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.05)
        );
}

.business-card span {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    z-index: 2;

    color: #ffffff;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.3;
}

.business-card:hover img {
    transform: scale(1.08);
}


/* =========================================================
   SUSTAINABILITY
========================================================= */

.sustainability-section {
    background-color: #f7f8f8;
}

.sustainability-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    align-items: center;
}

.sustainability-content {
    padding: 70px 50px 70px 0;
}

.sustainability-image {
    width: 100%;
}

.sustainability-image img {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   LARGE SCREEN
========================================================= */

@media (max-width: 1500px) {

    .home-container {
        padding-left: 45px;
        padding-right: 45px;
    }

    .section-title {
        font-size: 38px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .home-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .home-news-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .statistics-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .business-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .sustainability-grid {
        grid-template-columns: 1fr;
    }

    .sustainability-content {
        padding: 60px 0;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .home-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-news-section {
        padding: 50px 0;
    }

    .about-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-text {
        font-size: 15px;
    }

    .news-card {
        grid-template-columns: 1fr 120px;
    }

    .statistics-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 30px 15px;
    }

    .business-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .home-banner {
        margin-bottom: 60px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .home-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 180px;
    }

    .statistics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-item .stat-number {
        font-size: 36px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        aspect-ratio: 16 / 10;
    }

    .sustainability-content {
        padding: 45px 0;
    }

}