* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Jost", sans-serif;
}

body {
    overflow-x: hidden;
}
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Styles for Hero / Banner Section */

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    /* background-image: url(../images/slider-image.png); */
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-text {
    text-align: center;
    color: #ffffff;
    z-index: 2;
    position: relative;
    padding-top: 4rem;
}

.hero-text h3 {
    font-weight: 400;
    font-size: 40px;
    line-height: 70px;
}

.hero-text p {
    font-weight: 400;
    font-size: 16px;
    line-height: 28.34px;
}

@media screen and (max-width: 675px) {
    .hero-text h3 {
        font-weight: 400;
        font-size: 30px;
        line-height: 45px;
    }

    .hero-text p {
        font-weight: 400;
        font-size: 12px;
        line-height: 18.34px;
    }
}

/* Styles for Cool Cards / Alternating Image + Text Sections */

.cool-wrapper {
    width: 90%;
    margin: 5rem auto 0;
    display: grid;
    gap: 4rem;
    margin-bottom: 1rem;
}

.wrapper-card {
    width: 100% !important;
    height: auto;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.card-left {
    width: 50%;
    height: auto;
}

.card-left img {
    margin-top: 50px;
    width: 100%;
    min-height: 500px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.card-right {
    width: 50%;
    height: auto;
}

.card-right img {
    width: 100%;
    min-height: 500px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.cool-btn {
    text-align: left;
}

.detail-wrapper {
    width: 90%;
    margin-inline: auto;
}

/* Typography used on this page */

.t-head {
    line-height: 26.6px;
    font-weight: 700;
    font-size: 18px;
    color: #e42b29;
}

.b-head {
    font-size: 22px;
    line-height: 55px;
    font-weight: 700;
    color: #000;
}

.detail {
    line-height: 28.34px;
    color: #000;
    font-weight: 400;
    font-size: 16px;
}

/* Responsive adjustments */

@media (max-width: 768px) {
    .wrapper-card {
        flex-direction: column;
        gap: 2rem;
        width: 95%;
    }

    .wrapper-card:nth-of-type(2) {
        flex-direction: column-reverse;
    }

    .card-left,
    .card-right {
        width: 100%;
    }

    .card-left img,
    .card-right img {
        min-height: 250px;
    }

    .b-head {
        font-size: 20px;
    }

    .detail-wrapper {
        width: 85%;
    }

    .detail p {
        font-size: 15px;
        line-height: 25px;
    }
}

@media (max-width: 1024px) {
    .wrapper-card {
        gap: 2rem;
    }

    .b-head {
        font-size: 20px;
    }

    .detail {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .b-head {
        font-size: 22px;
        line-height: 38px;
    }

    .t-head {
        font-size: 16px;
    }
}

@media (max-width: 455px) {
    .b-head {
        font-size: 16px;
        line-height: 26px;
    }

    .t-head {
        font-size: 13px;
    }

    .detail p {
        font-size: 12px;
        line-height: 20px;
    }
}

/* Very large screens – layout width adjustments */

@media screen and (min-width: 1900px) and (max-width: 2800px) {
    .cool-wrapper {
        width: 90%;
    }

    .detail-wrapper {
        width: 90%;
    }
}

@media screen and (min-width: 1600px) and (max-width: 1900px) {
    .cool-wrapper {
        width: 90%;
    }

    .detail-wrapper {
        width: 90%;
    }
}
