/* banner area start */
.main .banner{
    height: 500px;
    background-image: url(../../images/banners/main.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
}
.main .banner .row{
    margin-top: -50px;
}
.main .banner h1{
    color: white;
    font-size: 38px;
}
.main .banner p{
    color: white;
    font-size: 19px;
    letter-spacing: 0.3px;
    line-height: 25px;
    font-weight: 400;
    margin-bottom: 20px;
}
.main .banner a{
    float: right;
}
/* banner area end */

/* course carousel area start */
.course-carousel{
    margin-top: -60px;
    padding: 0px 44px;
}
.course-carousel .swiper-wrapper .swiper-slide{
    border: none;
    width: 23%;
    margin-right: 40px;
}
.course-carousel .swiper-wrapper .swiper-slide a{
    text-decoration: none;
}
.course-carousel .swiper-wrapper .swiper-slide img{
    width: 100%;
}
.course-carousel .swiper-wrapper .swiper-slide h2{
    font-size: 18px;
    text-align: center;
    color: black;
    margin-top: 15px;
    font-weight: 500;
    letter-spacing: 0.4px;
}
.course-carousel .swiper-button-prev:after,
.course-carousel .swiper-button-next:after{
    color: black;
    font-size: 30px;
    font-weight: 900;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    top: 34%;
    left: 0;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev{
    top: 34%;
    right: 0;
}
.course-carousel h2.button{
    text-align: center;
    margin: 0;
    margin-top: 30px;
}
.course-carousel h2.button a{
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-weight: 900;
}
.course-carousel h2.button a i{
    margin-top: -17px;
    vertical-align: middle;
    color: var(--primary-bg);
    font-size: 22px;
}

@media only screen and (max-width: 1024px){
    .course-carousel {
        padding: 0px 39px;
    }
}
@media only screen and (max-width: 767px){
    .course-carousel {
        padding: 0px 29px;
    }
    .course-carousel .swiper-button-prev:after, 
    .course-carousel .swiper-button-next:after{
        font-size: 24px;
    }
    .course-carousel h2.button a{
        font-size: 20px;
    }
    .course-carousel .swiper-wrapper .swiper-slide{
        width: 31%;
        margin-right: 40px;
    }
}
@media only screen and (max-width: 512px){
    .main .banner{
        height: 350px;
    }
    .main .banner h1 {
        font-size: 30px;
    }
    .main .banner p{
        font-size: 16px;
    }
    .course-carousel .swiper-wrapper .swiper-slide{
        width: 45%;
        margin-right: 30px;
    }
}
@media only screen and (max-width: 425px){
    .main .banner h1 {
        font-size: 26px;
    }
    .main .banner p{
        font-size: 14px;
    }
}
/* course carousel area end */


/* information section start */
.information{
    background-color: black;
    padding: 40px 5px;
    margin-top: 60px;
}
.information h2{
    font-size: 50px;
    color: white;
    margin: 0px;
    margin-top: 25px;
}
.information p{
    color: white;
    font-size: 18px;
    letter-spacing: 0.4px;
}

@media only screen and (max-width: 1280px){
    .information h2 {
        font-size: 44px;
        margin-top: 0;
    }
    .information p {
        font-size: 17px;
    }
}
@media only screen and (max-width: 991px){
    .information h2 {
        font-size: 32px;
    }
    .information p {
        font-size: 14px;
    }
}
@media only screen and (max-width: 767px){
    .information{
        margin-top: 40px;
    }
    .information h2{
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 512px){
    .information{
        padding: 20px 5px;
    }
}
/* information section end */


/* client carousel section start */
.clients-carousel{
    margin-top: 60px;
}
.clients-carousel .client-swiper{
    /* border: 1px solid #e5e5e5; */
    position: relative;
}
.clients-carousel .client-swiper .clients .client{
    margin: 20px 0px;
    border-right: 1px solid #e5e5e5;
    text-align: center;
}
.clients-carousel .swiper-button-prev:after, .clients-carousel .swiper-rtl .swiper-button-next:after,
.clients-carousel .swiper-button-next:after, .clients-carousel .swiper-rtl .swiper-button-prev:after{
    display: none;
}
@media only screen and (max-width: 512px)
{
    .clients-carousel .client-footer{
        margin-top: 25px !important;
    }
}

/* client carousel section end */


/* testimonial carousel section start */
.testimonial-carousel{
    margin-top: 80px;
}
.testimonials .testimonial{
    background: #FAFAFA;
    border: 1px solid #e5e5e5;
    padding: 20px;
    margin-right: 20px;
}
.testimonials .testimonial h2{
    color: black;
    font-size: 18px;
    margin-bottom: 5px;
}
.testimonials .testimonial h3{
    color: #7c7c7c;
    font-size: 14px;
    font-style: italic;
}
.testimonials .testimonial .rating i{
    color: #ed7d4d;
    font-size: 20px;
}
.testimonials .testimonial p{
    color: black;
    margin-top: 18px;
    margin-bottom: 0px;
    min-height: 72px;
}
.testimonial-carousel .swiper-button-prev:after, .testimonial-carousel .swiper-rtl .swiper-button-next:after,
.testimonial-carousel .swiper-button-next:after, .testimonial-carousel .swiper-rtl .swiper-button-prev:after{
    display: none;
}
/* testimonial carousel section end */


/* courses section start */
section.courses{
    margin-top: 60px;
    background: black;
    padding: 80px 5px;
}
section.courses .course{
    border: 1px solid #363636;
    width: calc(33% - 20px);
}
section.courses .course img{
    width: 100%;
}
section.courses .course .content .price{
    letter-spacing: 0.6px;
}
section.courses .course .content .price b{
    font-size: 18px;
}
section.courses .course .content .description{
    color: #b1b1b1;
    font-size: 14px;
} 
section.courses .course .content .btn{
    float: right;
}
section.courses .subtitle{
    color: #b1b1b1;
    font-size: 20px;
}
section.courses .course .content .btn{
    padding: 8px 30px;
    text-transform: uppercase;
}

@media only screen and (max-width: 767px){
    section.courses {
        padding: 60px 5px;
    }
    section.courses .d-flex{
        gap: 40px !important;
    }
    section.courses .subtitle{
        font-size: 17px;
    }
    section.courses .course{
        width: calc(50% - 20px);
    }
    section.courses .course .btn{
        margin-top: 18px;
    }
}
@media only screen and (max-width: 512px){
    section.courses {
        padding: 45px 5px;
    }
}
@media only screen and (max-width: 425px){
    section.courses .course{
        width: 100%;
    }
    section.courses .d-flex {
        gap: 30px !important;
    }
}
/* courses section end */


/* blogs section start */
.blogs{
    margin-top: 100px;
}
.blogs ul{
    border: none;
    gap: 20px;
}
.blogs ul li .nav-link{
    border: none;
    background: #353c40;
    border-radius: 5px;
    color: white;
    letter-spacing: 0.8px;
    padding: 12px 34px;
    font-weight: 500;
    width: 100%;
}
.blogs ul li{
    flex: 1;
}
.blogs ul li .nav-link.active{
    background: #a0b4c0;
    color:black
}
.blogs .cards{
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.blogs .cards .content{
    padding: 15px;
    background: #FAFAFA;
}
.blogs .cards .content p{
    font-size: 14px;
    color: #707070;
    font-weight: 600;
    margin-bottom: 15px;
}
.blogs .cards .content h2{
    font-size: 16px;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit content to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.blogs .cards .content .author{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
}
.blogs .cards .content .author img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.blogs .cards .content .author p{
    margin: 0;
    color: #9b9b9b;
    font-size: 14px;
    font-weight: 600;
}
.blogs .cards .content .btn{
    float: right;
}

.blogs .cards .card{
    width: calc(25% - 15px);
}

@media only screen and (max-width: 991px){
    .blogs .cards {
        flex-wrap: wrap;
    }
    .blogs .cards .card{
        width: calc(33% - 15px);
    }
}
@media only screen and (max-width: 767px){
    .blogs .cards .card{
        width: calc(50% - 15px);
    }
}
@media only screen and (max-width: 425px){
    .blogs .cards .card{
        width: 100%;
    }
}
/* blogs section end */