.home-title {
    background-image: url('../web-img/page-title/home.webp');
    height: 100vh;
    max-height: 900px;
}

.hm-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hm-banner-content h1 {
    font-size: 50px;
    font-weight: 600;
    color: var(--ltc1);
}

.home-sec-two {
    margin-top: -100px;
}

.hm-top-ctn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2;
    position: relative;
    background-color: var(--tc1);
    padding: 50px;
}

.hm-top-ctn img {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.hm-top-ctn h5 {
    font-size: 20px;
    font-weight: 600;
    font-family: "Gelasio", serif;
    text-transform: uppercase;
}

.hm-sec-three-img {
    position: relative;
    display: block;
    width: 100%;
}

.hm-sec-three-img-one {
    width: 80%;
    height: 600px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 10px 0px 30px rgba(0, 0, 0, 0.3);
}

.hm-sec-three-img-two {
    width: 50%;
    height: 500px;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hm-sec-three-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.hm-sec-three-txt h4 {
    font-size: 30px;
    font-weight: 400;
    color: var(--ltc1);
}

.hm-sec-three-txt p {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
}


.hm-sec-five-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.hm-sec-five-txt h4 {
    font-size: 30px;
    font-weight: 500;
    color: var(--ltc1);
}

.hm-sec-five-txt p {
    font-size: 16px;
    font-weight: 400;
    color: var(--white);
}



.home-sec-four {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background-image: url('../web-img/homepage/sec-04.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 0px;
}

.home-sec-four-items {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.grid-four-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.grid-items-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-items-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.grid-items-txt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    background-color: var(--tc1);
    padding: 50px;
}

.grid-items-txt p {
    font-size: 14px;
    font-weight: 400;
    color: var(--white);
}

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

@media (max-width: 1200px) {
    .grid-items-txt {
        padding: 35px;
    }

    .grid-two-sp1 {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .grid-four-home {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-items-txt {
        padding: 40px;
    }

    /* Reorder the second product (uPVC) - text before image */
    .ord-1 {
        order: 1;
    }

    .ord-2 {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .hm-banner-content h1 {
        font-size: 30px;
    }

    .grid-four-home {
        display: grid;
        grid-template-columns: 1fr;
    }

    .grid-items-img {
        order: -1;
    }

    .grid-items-txt {
        order: 1;
    }

    .hm-sec-three-img {
        order: -1;
    }

    .hm-sec-three-txt {
        order: 1;
    }

    .hm-sec-three-img {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hm-sec-three-img-one {
        width: 100%;
        height: 400px;
        position: relative;
    }

    .hm-sec-three-img-two {
        width: 90%;
        height: 150px;
        position: relative;
        margin-top: -100px;
        right: auto;
        top: auto;
        transform: none;
    }
}
