:root {
    --section-side-gap: 150px;
    --card-section-side-padding: 70px;
    --card-gap: 30px;
}

.slider-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.slider-section .slider {
    position: relative;
    width: 1300px;
    max-width: 100%;
    height: 500px;
}

.slider-section .slider-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.slider-section .slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-section .slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.slider-section .slide img,
.slider-section .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-section .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 0 50px;
    background:rgba(255, 255, 255, 0.1);
    color: white;
}

.slider-section .slide-overlay-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #B11111;
    line-height: 1.2;
}

.slider-section .slide-overlay-desc {
    font-size: 1.25rem;
    line-height: 1.5;
}

.slider-section .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    width: 45px;
    height: 45px;
}

.slider-section .slider-arrow img {
    width: 100%;
    height: 100%;
    display: block;
}

.slider-section .slider-arrow-left {
    left: -60px;
}

.slider-section .slider-arrow-right {
    right: -60px;
}

.slider-section .slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-section .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-section .slider-dot.active {
    background-color: #ff9500;
}

@media (max-width:1450px) {
    .slider-section {
        padding: 20px 70px;
    }
}

@media (max-width:768px) {
    .slider-section {
        padding: 10px 45px;
    }
    .slider-section .slider {
        height: 350px;
    }
    .slider-section .slide-overlay {
        width: 65%;
        padding: 0 25px;
        gap: 12px;
    }
    .slider-section .slide-overlay-title {
        font-size: 1.6rem;
    }
    .slider-section .slide-overlay-desc {
        font-size: 0.95rem;
    }
    .slider-section .slider-arrow {
        width: 35px;
        height: 35px;
    }
    .slider-section .slider-arrow-left {
        left: -40px;
    }
    .slider-section .slider-arrow-right {
        right: -40px;
    }
}

@media (max-width:480px) {
    .slider-section {
        padding: 10px 34px;
    }
    .slider-section .slider {
        height: 240px;
    }
    .slider-section .slider-viewport {
        border-radius: 6px;
    }
    .slider-section .slide-overlay {
        width: 80%;
        padding: 0 18px;
        gap: 8px;
    }
    .slider-section .slide-overlay-title {
        font-size: 1.2rem;
    }
    .slider-section .slide-overlay-desc {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    .slider-section .slider-arrow {
        width: 26px;
        height: 26px;
    }
    .slider-section .slider-arrow-left {
        left: -30px;
    }
    .slider-section .slider-arrow-right {
        right: -30px;
    }
}


.icon-section {
    width: 100%;
    margin-bottom: 20px;
}

.icon-section .inner-container {
    width: calc(100% - 20px -  (2 * var(--card-section-side-padding)) -  ( 2 * var(--section-side-gap)));

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: auto;

    & > div {
        width: calc((100% - 100px) / 3);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 35px;

    & > a > img {
        width: 80px;
        height: 80px;
    }
    }
}

.card-section {
    padding: 0 var(--card-section-side-padding);
    background-color: lightgray;
    width: 100%;
}

.card-section .inner-container {
    background-color: #B11111;
    border-radius: 50px;
    width: calc(100%);
    padding: 0 var(--section-side-gap);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 0 auto 80px;
    transform: translateY(-50%);

    & > div {
        width: calc((100% - 100px) / 3);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;

        & > a > h6 {
            font-size: 24px;
            color: white;
            font-weight: 400;
        }
    }
}



.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 100px;
}

.card-container .card-each {
    width: calc((100% - 3 * var(--card-gap)) / 4);
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 20px; */
    /* justify-content: center; */
}

.card-container .card-each a {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.card-container .card-title {
    width: 100%;
    padding: 10px 0;
    border-bottom: 2px solid #ff9500;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
    color: #000000;
}

.card-container .card-image-container { 
    width: 100%;
    img {
        width: 100%;
    }
}

.card-container .card-desc { 
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #000000;

    display: none;
}


.card-section .red-text-container{
    width: calc(50% + 15px + var(--card-section-side-padding));
    justify-self: flex-end;
    margin-right: calc(-1 * var(--card-section-side-padding));    
    padding:30px 60px;
    border-top-left-radius: 25px;
    background-color: #B11111;
    font-size: 2rem;
    color: white;
    line-height: 1.5;
}

.image-text-section-container{
    width: 100%;
    display: flex;
    .image-box{
        width: calc(50% - 15px);
        max-height: 500px;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .text-box{
        width: calc(50% + 15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        background-color: #000000;
        color: white;
        gap: 10px;
        padding: 30px 45px;
        h5{
            font-size: 2.5rem;
            color: #ff9500;
        }
        p{
            font-size: 1.5rem;
            line-height: 1.5;
        }
    }
}

.yellow-text-section{
    width: 100%;
    background-color: #ff9500;
    padding: 80px 165px 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    h5{
        font-size: 2.5rem;
        font-weight: 600;
    }
    p{
        color: white;
        font-size: 1.5rem;
        line-height: 1.5;
    }
}

.bottom-red-text-section{
    width: 100%;
    padding: 0 70px;
    .red-tex-container{
        width: 100%;
        border-radius: 25px;
        background-color: #B11111;
        margin: 0 auto;
        font-size: 2.2rem;
        font-weight: 600;
        line-height: 1.5;
        color: white;
        padding: 30px;
        transform: translateY(-50%);
    }
}

@media (max-width:900px) {
    .yellow-text-section{
        padding: 80px 80px 145px;
    }
    .bottom-red-text-section{
        .red-tex-container{
            transform: translateY(-40%);
        }
    }
}

@media (max-width:650px) {
    .yellow-text-section{
        padding: 80px 30px 145px;
    }
}

@media (max-width:654px){
    .bottom-red-text-section{
        .red-tex-container{
            transform: translateY(-30%);
        }
    }
}
@media (max-width:533px){
    .bottom-red-text-section{
        .red-tex-container{
            transform: translateY(-20%);
        }
    }
}
@media (max-width:460px){
    .yellow-text-section{
        padding: 80px 80px 80px;
    }

    .bottom-red-text-section{
        padding: 0;
        .red-tex-container{
            border-radius: 0;
            transform: translateY(0);
            font-size: 1.75rem;
        }
    }
}



@media (max-width:960px) {
    .card-section .red-text-container{
        width: calc(75% + var(--card-section-side-padding)) ;
    }
    .image-text-section-container{
        flex-direction: column-reverse;
        
        .image-box{
            width: 100%;
            img{
                max-height: 500px;
                object-position: 100% 80%;
            }
        }
        .text-box{
            width: 100%;
            padding: 45px 30px;
        }
    }
}

@media (max-width:630px) {
    .card-section .red-text-container{
        width: 100vw;
        border-radius: 0;
    }
}


@media (max-width:1000px) {
    .card-each {
        min-width: 190px;
    }
}

@media (max-width:800px) {
    :root {

        --section-side-gap: 50px;
    }
}


@media (max-width:560px) {
    :root {
        --card-section-side-padding: 20px;
        --section-side-gap: 5px;
    }

    .icon-section .inner-container {
        & > div {
            padding: 5px;
            margin-bottom: 15px;
            
            & > a > img {
                width: 40px;
                height: 40px;
            }
        }
    }

    .card-section .inner-container {
        & > div {

            & > a > h6 {
                font-size: 16px;
            }
        }
    }
}

@media (max-width:330px) {
    :root {
        --card-section-side-padding: 5px;
    }
}