.news-section { 

    width: 100%;
    height: 100%;
    margin-top: -100px;


    .news-container {
        padding-top: 100px;
        position: relative;
        text-align: right;
        width: 100%;
        height: 100%;

        z-index: 4;

        h1 {
            font-size: 40px;
            font-weight: 700;
            color: var(--secondary-color);

            @media (max-width: 768px) {
                font-size: 32px;
                padding-right: 10px;
                
            }
        }

        .news-cards {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
           




            .e-card {
                margin: 20px auto;
                background: var(--primary-color);
                box-shadow: 0px 8px 28px -9px var(--secondary-color);
                border: 1px solid var(--secondary-color);
                position: relative;
            
                min-width:300px;
                height: 350px;
                border-radius: 24px;
                overflow: hidden;
                cursor: pointer;
                transition: all 0.3s ease-in-out;

                &:hover{
                    box-shadow:0 0 30px 10px var(--secondary-color);
                    transform: scale(1.05) ;
                    border: 1px solid var(--secondary-color);
                }

                &:hover .infotop h4{
                    transition: all 0.3s ease-in-out;
                    transform: scale(1.08);
                }

             


            }


           
            .icon {
                width: 3em;
                margin-top: -1em;
                padding-bottom: 1em;
            }

            .infotop {
                text-align: center;
                font-size: 20px;
                position: absolute;
                /* top: 5.6em; */
                left: 0;
                right: 0;
                color: rgb(255, 255, 255);
                font-weight: 600;
                padding: 10px;
                width: 100%;
                /* height: 100%; */
                display: flex;
                flex-direction: column;
                gap: 10px;
                z-index: 1;

                .image-news{
                    width: 100%;
                    height: 200px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
                    overflow: hidden;
                    
                    img{
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 14px;
                    }
                   
                }

                .news-title{
                    font-size: 14px;
                    font-weight: 100;
                    text-align: right;
                    color: var(--quaternary-color);
                }



                p{
                    margin-top: 10px;
                    font-size: 14px;
                    font-weight: 100;
                    color: var(--quaternary-color);
                }


                .card-list{
                    width: 100%;
                    margin-top: 20px;
                    ul{ 
                        display: flex;
                        flex-direction: column;
                        gap: 10px;      
                        width: 100%;
                        li{     
                            display: flex;
                            align-items: center;
                            justify-content: flex-end;
                            gap: 10px;
                            list-style: none;
                            img{
                                width: 15px;
                                height: 15px;
                            }
                            p{
                                width: 100%;
                                font-size: 14px;
                                margin: 0 ;
                                font-weight: 100;
                                color: var(--quaternary-color);
                            }
                        }
                    }
                }

                
                
            }

            .name {
                font-size: 14px;
                font-weight: 100;
                position: relative;
                top: 1em;
                text-transform: lowercase;
            }

            .wave:nth-child(2),
            .wave:nth-child(3) {
                top: 210px;
            }

            .playing .wave {
                border-radius: 40%;
                animation: wave 3000ms infinite linear;
            }

            .wave {
                border-radius: 40%;
                animation: wave 55s infinite linear;
            }

            .playing .wave:nth-child(2) {
                animation-duration: 4000ms;
            }

            .wave:nth-child(2) {
                animation-duration: 50s;
            }

            .playing .wave:nth-child(3) {
                animation-duration: 5000ms;
            }

            .wave:nth-child(3) {
                animation-duration: 45s;
            }

            

        }



    }

}




@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}





/* button */

    .card-btn{
        position: relative;
        border: none;
        background: transparent;
        cursor: pointer;
        border-radius: 24px;
        width: 100%;
        height: 42px;
        font-size: 14px;
        background: var(--primary-color);
        color: var(--quaternary-color);
        transition: all 0.3s ease-in-out;

    

        &:hover{
            background: var(--secondary-color);
            transform: scale(1.05);
            color: var(--quaternary-color);
            box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
        }
    }




    .swiper {
        width: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
        height: auto;
        /* min-height: 600px; */
        position: relative;
        overflow: hidden;
    }
    
    .swiper-wrapper {
        align-items: stretch;
    }
    
    .swiper-slide {
        background: transparent;
        display: flex;
        justify-content: center;
        align-items: stretch;
        font-size: 24px;
        height: auto;
        transition: all 0.3s ease;
    }

    .swiper-slide-active {
        transform: scale(1.02);
    }

    /* Swiper Pagination Styling */
    .swiper-pagination {
        position: relative;
        margin-top: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: var(--secondary-color);
        opacity: 0.3;
        transition: all 0.3s ease;
        border-radius: 50%;
        cursor: pointer;
        margin: 0 4px;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
        background: var(--secondary-color);
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(3, 153, 144, 0.5);
    }

    /* Swiper Navigation Styling */
    .swiper-button-next,
    .swiper-button-prev {
        color: var(--secondary-color);
        background: var(--tertiary-color);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 2px solid var(--secondary-color);
        top: 40%;

        &:hover {
            background: var(--secondary-color);
            color: var(--quaternary-color);
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(3, 153, 144, 0.3);
        }

        &:active {
            transform: scale(0.95);
        }
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
        font-weight: bold;
    }

    .swiper-button-next {
        right: 10px;
    }

    .swiper-button-prev {
        left: 10px;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .swiper {
            padding-top: 30px;
            padding-bottom: 30px;
            min-height: 500px;
        }

        .swiper-button-next,
        .swiper-button-prev {
            width: 40px;
            height: 40px;
        }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 16px;
        }

        .swiper-pagination {
            margin-top: 25px;
        }

        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
        }
    }

    @media (max-width: 576px) {
        .swiper {
            padding-top: 20px;
            padding-bottom: 20px;
            min-height: 450px;
        }

        .swiper-button-next,
        .swiper-button-prev {
            width: 35px;
            height: 35px;
        }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 14px;
        }

        .swiper-pagination {
            margin-top: 20px;
        }

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
        }
    }

    @media (max-width: 480px) {
        .swiper {
            padding-top: 15px;
            padding-bottom: 15px;
            min-height: 400px;
        }

        .swiper-button-next,
        .swiper-button-prev {
            width: 30px;
            height: 30px;
        }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 12px;
        }

        .swiper-pagination {
            margin-top: 15px;
        }

        .swiper-pagination-bullet {
            width: 6px;
            height: 6px;
        }
    }



    