h2,
p {
    font-weight: 300;
}
/* hero section */
.hero__section {
    background-color: rgba(0, 0, 0, 0.5);
    height: calc(100vh - 70px);
    margin-top: 3.5rem;
}
.hero__section .video-background {
    position: relative;
    background-image: url("https://res.cloudinary.com/deklnqsqn/video/upload/v1733820521/7036926-hd_1920_1080_25fps_fzexr1.mp4");
    height: 100%;
    width: 100%;
}

.hero__section .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero__section .content {
    position: relative;
    z-index: 1;
    color: white;
    top: 70%;
    transform: translateY(-50%);
}

.hero__section .content h1 {
    font-weight: 300;
    font-size: 1.875rem;
}

.hero__section .content p {
    font-size: 0.87rem;
    font-weight: 300;
    line-height: 1.8rem;
    padding-top: 1rem;
}

/* top section */
.top__section {
    background-color: #f8f8f9;
    padding: 2rem 0;
}
.top__section .no-name__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.top__section .no-name__section h2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
}
.top__section .no-name__section h2 br {
    display: none;
}
.top__section .no-name__section p {
    line-height: 1.8rem;
    font-size: 0.875rem;
}
.top__section .esg-solutions__section {
    padding-top: 2rem;
}
.top__section .esg-solutions__section h2 {
    text-align: center;
    font-size: 1.5rem;
}

/* esg solutions */
.esg-solutions__section {
    background-color: black;
    color: white;
    padding: 2rem 0;
}
.esg-solutions__section .esg-text__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.esg-solutions__section .esg-text__section h2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
}
.esg-solutions__section .esg-text__section p {
    line-height: 1.8rem;
    font-size: 0.875rem;
}
.picture-grids__section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}
.picture-grids__section div.left-image {
    background-image: url("https://res.cloudinary.com/deklnqsqn/image/upload/f_auto,q_auto,c_fill/v1734340008/image_fx__-_2024-12-16T094941.654_lwza8t.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 200px;
    border-radius: 10px;
}
.picture-grids__section div:last-of-type {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}
.picture-grids__section div:last-of-type a {
    display: block;
    text-decoration: none;
    padding: 2rem 1rem;
}
.mini-card {
    background-color: #1c1c1ce0;
    color: white;
}
.mini-card span {
    color: white;
    display: inline-block;
    width: 100%;
    font-weight: 300;
    padding-top: 0.5rem;
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    /* hero section */
    .hero__section .content h1 {
        font-size: 2.325rem;
    }
    .hero__section .content {
        top: 65%;
    }
    .hero__section .content p {
        font-size: 1rem;
        line-height: 1.8rem;
        max-width: 70%;
        padding-top: 1.2rem;
    }

    /* no name section */
    .top__section .no-name__section,
    .esg-solutions__section .esg-text__section {
        flex-direction: row;
        gap: 2rem;
    }
    .top__section .no-name__section h2 br {
        display: block;
    }
    .top__section .no-name__section h2,
    .top__section .no-name__section p,
    .esg-solutions__section .esg-text__section h2,
    .esg-solutions__section .esg-text__section p {
        flex: 1;
    }
    .top__section .no-name__section h2,
    .esg-solutions__section .esg-text__section h2 {
        font-size: 1.8rem;
        line-height: 2.5rem;
    }
    .picture-grids__section {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        margin-top: 3rem;
        justify-content: space-between;
        align-items: center;
    }
    .picture-grids__section > div:last-of-type {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        width: 50%;
        margin: 0 0 0 auto;
    }
    .picture-grids__section div.left-image {
        height: 270px;
        width: 400px;
    }
    .picture-grids__section div:last-of-type .mini-card {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .top__section .no-name__section p,
    .esg-solutions__section .esg-text__section p {
        font-size: 1rem;
        line-height: 2rem;
    }
    .top__section .no-name__section h2,
    .esg-solutions__section .esg-text__section h2 {
        font-size: 2.2rem;
        line-height: 3.5rem;
    }
    .esg-solutions__section,
    .top__section {
        padding: 4rem 0;
    }
}
@media (min-width: 1250px) {
    .hero__section .content h1 {
        font-size: 4vw;
    }
    .hero__section .content p {
        font-size: 1.2vw;
        padding-top: 1rem;
        line-height: 2rem;
    }
}
