/* ===========================
   RESEARCH PAPER SCROLLER CSS
   =========================== */

.rp-container-full{
    width:100%;
    max-width:100%;
    margin:0 auto;
    padding:0 15px;
}

.rp-main-box{
    width:100%;
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
}

.rp-main-box h3{
    font-size:30px;
    font-weight:700;
    color:#0b2c5f;
    margin-bottom:25px;
    display:flex;
    align-items:center;
    gap:10px;
}

.rp-main-box .icon{
    font-size:28px;
}

/* Scroll Area */
.rp-scroll-wrapper{
    position:relative;
    height:300px;
    overflow:hidden;
    width:100%;
}

.rp-scroll-content{
    display:flex;
    flex-direction:column;
    gap:20px;
    animation:rpAutoScroll 80s linear infinite;
}

.rp-scroll-wrapper:hover .rp-scroll-content{
    animation-play-state:paused;
}

/* Individual Cards */
.rp-scroll-item{
    display:flex;
    gap:25px;
    width:100%;
    padding:25px;
    border-radius:12px;
    background:#fafafa;
    border:1px solid #e5e5e5;
    transition:all .3s ease;
}

.rp-scroll-item:hover{
    box-shadow:0 8px 25px rgba(0,0,0,0.12);
    transform:translateY(-2px);
}

.rp-scroll-item img{
    width:120px;
    min-width:120px;
    height:150px;
    object-fit:cover;
    border-radius:10px;
}

.rp-scroll-item strong{
    display:block;
    font-size:22px;
    color:#0b2c5f;
    margin-bottom:12px;
}

.rp-scroll-item p{
    margin-bottom:10px;
    line-height:1.8;
}

.rp-scroll-item ol{
    margin:0;
    padding-left:22px;
}

.rp-scroll-item li{
    line-height:1.8;
    margin-bottom:8px;
    color:#333;
}

.rp-scroll-item br{
    display:none;
}

/* Auto Scroll */
@keyframes rpAutoScroll{
    0%{
        transform:translateY(0);
    }
    100%{
        transform:translateY(-50%);
    }
}

/* Full Width Section */
#rs-popular-courses .container{
    max-width:100% !important;
    width:98% !important;
}

/* Tablet */
@media(max-width:991px){

    .rp-scroll-wrapper{
        height:650px;
    }

    .rp-scroll-item{
        gap:20px;
    }

    .rp-scroll-item img{
        width:150px;
        min-width:150px;
        height:190px;
    }

    .rp-main-box h3{
        font-size:24px;
    }
}

/* Mobile */
@media(max-width:768px){

    .rp-scroll-wrapper{
        height:600px;
    }

    .rp-scroll-item{
        flex-direction:column;
        text-align:left;
    }

    .rp-scroll-item img{
        width:220px;
        height:auto;
        min-width:auto;
        margin:auto;
    }

    .rp-scroll-item strong{
        font-size:20px;
    }

    .rp-main-box{
        padding:15px;
    }

    .rp-main-box h3{
        font-size:22px;
    }
}

/* Small Mobile */
@media(max-width:480px){

    .rp-scroll-wrapper{
        height:550px;
    }

    .rp-scroll-item{
        padding:15px;
    }

    .rp-scroll-item img{
        width:180px;
    }

    .rp-scroll-item li{
        font-size:14px;
    }



    #rs-popular-courses .container{
    max-width:100% !important;
    width:100% !important;
}

#rs-popular-courses{
    width:100%;
}
}