@media (max-width: 1440px){
    .btn{
        font-size: 16px;
    }
    .navbar {
        height: 100px;
    }
    .navbar .navbar-logo img,
    .navbar .navbar-logo {
        height: 90px;
    }
    .navbar .navbar-collapse .navbar-nav {
        gap: 26px;
    }
    .navbar .navbar-collapse .navbar-nav .nav-link {
        font-size: 16px;
    }
    .navbar .navbar-option .btn-contact {
        min-width: 140px;
    }
    .header-main .header-intro .content{
        height: 600px;
    }
    .header-main .header-intro .content .title {
        font-size: 50px;
        line-height: 90px;
    }
    .header-main .header-intro .pic {
        max-width: 490px;
        height: 600px;
    }
    .courses-card .pic{
        height: 245px;
    }
    .courses-card .pic span {
        min-width: 100px;
        font-size: 14px;
    }
    .courses-card .content {
        padding: 1.5rem;
    }
    .courses-card .content .price,
    .courses-card .content .title {
        font-size: 18px;
        margin-bottom: 0;
    }
    .courses-card .content .nav .nav-item{
        font-size: 14px;
    }
    .library-card .pic{
        height: 184px;
    }
    .library-card .content .title{ 
        font-size: 18px;
        margin-bottom: 0;
    }
    .blog-card.master .content .title,
    .blog-card .content .title {
        font-size: 18px;
        line-height: 24px;
    }
    .blog-card .content .details {
        line-height: 18px;
    }
    .book-card .pic {
        height: 210px;
    }
    .book-card .content .title {
        font-size: 16px;
        line-height: 22px;
    }
    .book-card {
        padding: 13px;
    } 
    .footer-card.contact .title,
    .footer-card.link .title{
        font-size: 16px;
    }
    .footer-copyright,
    .footer-card .nav .nav-link {
        font-size: 12px;
    }
    .chat-whatsapp img{
        width: 60px;
    }
}
@media (max-width: 1199px){
    .header-main .header-intro .content{
        height: 500px;
    }
    .header-main .header-intro .content .title {
        font-size: 50px;
        line-height: 90px;
    }
    .header-main .header-intro .pic {
        max-width: 400px;
        height: 500px;
        overflow: hidden;
    }
    section {
        padding: 50px 0;
    }
    .section-title .title{
        font-size: 24px;
    }
    .courses-card .content .nav {
        flex-wrap: wrap;
        gap: 0;
        margin-bottom: 0;
        flex-direction: column;
    }
    .footer-card.about{ 
        max-width: 100%;
        margin: auto;
        text-align: center;
    }
    .footer-card{
        max-width: calc(100% / 3);
    }
    .footer-wrapper {
        padding: 40px 0;
    }

    .navbar-collapse{
        position: fixed;
        z-index: 19;
    }
    .navbar-collapse.collapsing .navbar-nav {
        display: block;
        position: fixed;
        top: 0;
        bottom: 0;
        left: -270px;
        transition: all 0.2s ease; 
        justify-content: start !important;  
        height: 100%;
        overflow-y: scroll; 
    } 
    .navbar-container .main-nav{
        gap: 0;
    }
    .navbar-collapse.show .navbar-nav {
        background-color: #fff;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        flex-direction: column;
        height: auto;
        width: 270px; 
        padding: 1rem;
        transition: left 0.35s ease;
        box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
        z-index: 99;
        overflow-y: scroll;
        gap: 0;
        align-items: initial;
    } 
    
    [dir="rtl"] .navbar-collapse.collapsing .navbar-nav {
        left: auto;
        right: -300px;
    } 
    [dir="rtl"] .navbar-collapse.show .navbar-nav {
        left: auto;
        right: 0;
        transition: right 0.35s ease;
    }
    .navbar-collapse.show .navbar-nav .nav-item{
        display: block;
    }
    .navbar-collapse.show .navbar-nav .nav-link{
        font-size: 16px;
        font-weight: bold;
        width: 100%;
        height: 60px;
        border-bottom: 1px solid #f1f1f1;
    } 
    
    .navbar-collapse.show .navbar-nav li:last-child .nav-link{
        border-bottom: none;
    } 
    .navbar-collapse.show .navbar-nav li:last-child .nav-link.btn{
        text-align: center;
    }
    .navbar-collapse.show .navbar-nav .navbar-logo{
        width: 100%;
    }
    .navbar-collapse.show .navbar-nav .navbar-logo img{
        height: 30px !important;
    }
    .contact-info{
        background-color: #f1f1f1;
        padding: 30px;
    }
    
    .library-view .head .title{
        font-size: 24px;
    }
    .library-view .head .nav{
        gap: 1.5rem;
    }
    .library-view .head .nav .nav-item{
        font-size: 14px;
    }
    .library-view .body .content{
        font-size: 14px;
    }
    .library-view .body .content .title{
        font-size: 18px;
    }
    .book-view-card {
        margin-bottom: 40px;
        padding: 40px;
    }
    .book-view-card .book-view .pic {
        min-width: 250px;
        width: 250px;
        height: 360px;
    }
    .book-sale .title,
    .book-view-card .book-view .content .title {
        font-size: 20px;
    }
    .book-view-card .book-view .content .author {
        font-size: 16px;
    }
    .book-view-card .book-view .content .info {
        font-size: 14px;
    }
    .book-sale .book-sale-list {
        gap: 20px;
        justify-content: center;
    }
    .book-sale .book-sale-list .book-sale-card .pic {
        width: 199px;
        height: 107px;
    }
    .book-sale .book-sale-list .book-sale-card .content .title {
        font-size: 14px;
    }
}
@media (max-width: 990px){
    .header-main .header-intro .pic {
        max-width: 320px;
    }
    .header-main .header-intro .pic .pattern-pic {
        top: 0;
    }
    .header-main .header-intro .content .title {
        font-size: 32px;
    }
    .header-main .header-intro .content .welcome,
    .header-main .header-intro .content .info {
        font-size: 18px;
    }
    .book-card .pic{
        height: 307px;
    } 
    .navbar .navbar-option {
        gap: 10px;
    } 
    .cv-card{
        flex-direction: column;
    }
    .achievements-card .achievements-title,
    .cv-card .cv-title {
        font-size: 20px;
    }
    .cv-card .cv-details {
        font-size: 16px;
        line-height: 2;
    }
    .achievements-list-box .duration{
        font-size: 16px;
    }
    .achievements-list-box .university,
    .achievements-list-box .specialization {
        font-size: 18px;
    }
    .cv-card,
    .achievements-card{
        padding: 30px;
    }
    .cv-card .cv-details,
    .cv-card .cv-details.cv-details-list p{
        font-size: 16px;
    }
    .cv-card .cv-details.cv-details-list p::before {
        top: 10px;
    } 
    .cv-card .cv-title{
        margin-bottom: 20px;
    }
    
    .achievements-section .gallery-box{
        margin-top: 100px;
    }
    .cv-section .gallery-box .gallery-card{
        height: 200px;
    }
    
    .library-view .head .title{
        font-size: 20px;
    }
    .library-view .head .nav{
        gap: 1rem;
    }
    .library-view .body .content .title{
        font-size: 16px;
    }
    
    .book-view-card .book-view {
        flex-direction: column;
    }
    .header-sub {
        height: 200px;
    }
    /*
    .footer-card {
        max-width:100%;
        min-width: 30%;
        margin: 0 auto;
    } 
    .footer-card.link.d-flex{
        min-width: 80%;
    } 
    */
}
@media (max-width: 767px){
    .footer-card{
        max-width: calc(100% / 2);
    }
    .footer-card:last-child{
        max-width: 100%;
    }
}


@media (max-width: 540px){
    .header-main .header-intro{
        justify-content: center;
        flex-direction: column-reverse;
        text-align: center;
    }
    #book-section .row_height{
        overflow: hidden;
        height: 730px;
    }
    .header-main .header-intro .pic,
    .header-main .header-intro .content {
        margin: auto;
        height: auto;
        padding-top: 4rem;
    }
    .header-main .header-intro .content .title {
        font-size: 32px;
    }
    .header-main .header-intro .content .welcome,
    .header-main .header-intro .content .info {
        font-size: 13px;
    } 
    .navbar .navbar-option .btn{
        padding: 0 1rem;
        font-size: 14px
    }
    .navbar .navbar-option .btn-contact {
        min-width: 100px;
    }
    .library-card .pic {
        height: 288px;
    }
    .book-card .pic {
        height: 245px;
    }
    .cv-card {
        padding: 30px;
    } 
    .book-view-card {
        margin-bottom: 30px;
        padding: 20px;
    }
    .book-sale .book-sale-list {
        gap: 10px;
    }
    .book-sale .book-sale-list .book-sale-card{
        max-width: 50%;
        margin-bottom: 1rem;
    }
    .book-sale .book-sale-list .book-sale-card .pic {
        width: 130px;
        height: 80px;
        margin-bottom: 20px;
    }
    .book-sale .book-sale-list .book-sale-card .content .title {
        font-size: 12px;
    }
    .footer-card{
        max-width: 100%;
    }
}
@media (max-width: 375px){
    .navbar {
        height: 80px;
    }
    .navbar .navbar-logo img,
    .navbar .navbar-logo {
        height: 70px;
    }
    .navbar .navbar-option .btn{ 
        font-size: 13px;
        min-width: 40px;
        padding: 0;
        height: 30px;
        line-height: 30px;
    }
    .navbar .navbar-option .btn-contact {
        min-width: 80px;
    } 
    .header-main .header-intro .content .title {
        font-size: 26px;
        line-height: 2;
    }
    .header-main .header-intro .content .info,
    .header-main .header-intro .content .welcome {
        font-size: 16px;
        line-height: 1.5;
    }
    .cv-card {
        padding: 20px;
    } 
    .cv-card .cv-details,
    .cv-card .cv-details p{
        font-size: 14px !important;
    }
    .cv-card .cv-details.cv-details-list p::before {
        top: 10px;
    }
}
