@media screen and (max-width:991px){
    section{
        padding: 50px 0;
    }
    header .castom .menu .navbar {
        padding: 0;
    }
    header .castom .menu .container-fluid{
        padding: 20px 0px;
    }
    header .castom .menu .navbar .nav-link{
        padding: 10px;
    }
    header .castom .menu .navbar .navbar-brand img{
        padding-left: 20px;
    }
    .navbar-toggler span {
        padding-right: 20;
    }
    header .all-titel h3{
        font-size: 27px;
    }
    header .all-titel h3::before {
        right: 15px;
    }
    header .all-titel h2{
        font-size: 59px;
    }
    header .castom .menu .navbar .navbar-brand img{
        height: 50px;
    }
    ul.navbar-nav.ms-auto.mb-2.mb-lg-0 {
        background: #e5f8ff;
    }
    /*  */
    .about .marjin .about-box .text .tx h3{
        font-size: 25px;
    }
    .about .marjin .about-box .text .tx p{
        font-size: 15px;
    }
    .about .about2{
        margin-top: 45px;
    }
    .about .about2 .about2-text h2{
        margin-top: 30px;
    }
    /* === */
    .books .bok-box .b-box-tx {
        padding: 40px 15px;
    }
    .books .bok-box .b-box-tx p{
        font-size: 15px;
    }
    .books .bok-box .b-box-tx .b-icon h3{
        font-size: 16px;
        margin-right: 15px;
    }
    .books .bok-box .b-box-tx .b-icon .my-btn2 a{
        height: 52px;
        width: 150px;
        font-size: 15px;
    }
    .books .bok-box .b-box-tx .b-icon .my-btn2 {
        margin-top: 0;
    }
    /* == */
    .foter .left-side a img{
        height: 75px;
    }
    .foter .left-side p{
        font-size: 15px;
    }
    .foter .right-side h2{
        font-size: 14px;
    }
}


/* =================================================== */

@media screen and (max-width:872px){
    header .position{
        left: -20px;
    }
    .about .about2 .about-img .successful-cases{
        bottom: -35px;
        left: -27px;
    }
}
@media screen and (max-width:767px){
    section{
        padding: 40px 0;
    }
    header .position{
        left: 0px;
    }
    header .castom {
        padding: 45px 60px 0px 60px;
    }
    header .all-titel h3::before {
        right: 130px;
    }
    .about .about2 .about-img{
        height: 600px;
    }
    .about .about2 .about-img .successful-cases{
        height: 200px;
        width: 210px;
    }
    .about .about2 .about-img .successful-cases{
        bottom: -70px;
        left: -70px;
    }
    .about .about2 .about-img .successful-cases h2{
        font-size: 58px;
    }
    .about .about2 .about-img .successful-cases h3{
        font-size: 26px;
    }
    .about .about2 .about2-text h2{
        font-size: 42px;
    }
    .about .about2 .about2-text ul li h3{
        font-size: 17px;
    }
    /* == */
    .foter .mid-side{
        margin-top: 20px;
    }
    .foter .right-side {
        margin-top: 20px; 
    }
}
/* ========================================= */
@media screen and (max-width:642px){
    section{
        padding: 40px 0;
    }
    header .castom {
        padding: 35px 50px 0px 50px;
    }
    header .position{
        visibility: hidden;
    }
    .about .about2 .about-img{
        height: 580px;
    }
    .about .about2 .about-img .successful-cases{
        bottom: 0px;
        left: 0px;
    }
}
/* ========= */
@media screen and (max-width:526px){
    .about .about2 .about2-text .about2-btn .my-btn a{
        width: 160px;
        font-size: 15px;
    }
    .about .about2 .about2-text .about2-btn .my-btn2 a{
        width: 160px;
        font-size: 15px;
    }
}

/* ============================== */
@media screen and (max-width:470px){
    header .all-titel{
        margin-top: 130px;
    }
    header .castom {
        padding: 30px 30px 0px 30px;
    }
    header .all-titel h3::before {
        right: 10px;
    }
    .about .about2 .about2-text {
        padding: 30px 10px;
    }
    .about .about2 .about2-text .about2-btn .my-btn a{
        width: 160px;
        font-size: 15px;
    }
    .about .about2 .about2-text .about2-btn .my-btn2 a{
        width: 160px;
        font-size: 15px;
    }
    .services .service-box .serv-text .serv-tx p {
        font-size: 15px;
        line-height: 29px;
    }
    .services .service-box {
        padding: 18px;
    }
    .about .about2 .about2-text .about2-btn {
        margin-left: 0px;
    }
    .services .service-titel h2::before {
        bottom: -15px;
        font-size: 65px;
    }
    .services .service-box .serv-text .serv-tx p {
    font-size: 14px;
    line-height: 26px;
}
    .books .bok-titel h2::before{
        bottom: -15px;
        font-size: 65px;
    }
    .contack .contack-titel h2::before {
        bottom: -15px;
        font-size: 65px;
    }
}
/* ======== */
@media screen and (max-width:420px){
    header .all-titel h2 {
        font-size: 50px;
    }
    header .all-titel p {
        font-size: 16px;
    }
    .about .about2 .about-img{
        height: 420px;
    }
    .about .about2 .about-img .successful-cases{
        height: 180px;
        width: 190px;
    }
    .about .about2 .about-img .successful-cases h2{
        font-size: 50px;
    }
    .books .bok-box .b-box-img{
        height: 300px;
    }
    .foter {
        background: white;
        padding: 20px 5px;
    }
    .contack .contack-box{
        padding: 50px 20px;
    }
}
/* ================================================ */
@media screen and (max-width:380px){
    section{
        padding: 20px 0;
    }
    header .castom {
        padding: 20px 20px 0px 20px;
    }
    header .all-titel h3::before{
        bottom: 0;
    }
    header .all-titel h3{
        font-size: 20px;
    }
    header .all-titel h2 {
        font-size: 38px;
    }
    .about .about2 .about-img{
        height: 430px;
    }
    .about .about2 .about-img .successful-cases h3{
        font-size: 20px;
    }
    .about .about2 .about2-text h2{
        font-size: 30px;
    }
    .about .about2 .about2-text p{
        font-size: 15px;
    }
    .about .about2 .about2-text ul li h3 {
        font-size: 12px;
    }
    .about .about2 .about2-text .about2-btn .my-btn a {
        width: 130px;
        font-size: 13px;
    }
    .about .about2 .about2-text .about2-btn .my-btn2 a {
        width: 130px;
        font-size: 12px;
    }
    .about .marjin .about-box{
        padding: 30px;
    }
    .services .service-box .serv-text .serv-tx p {
        font-size: 14px;
        line-height: 26px;
    }
    .books .bok-box .b-box-tx .b-icon .my-btn2 a {
        height: 43px;
        width: 140px;
        font-size: 12px;
    }
    .foter .right-side h2 {
        font-size: 13px;
    }
}
/* ======================================== */
@media screen and (max-width:315px){
    .about .marjin .about-box .text .icon h3 {
        font-size: 26px;
    }
    .about .about2 .about2-text h2 {
        font-size: 25px;
    }
    .about .about2 .about-img {
        height: 330px;
    }
    .about .about2 .about2-text .about2-btn {
        margin-left: -7px;
    }
    .about .about2 .about2-text .about2-btn .my-btn a {
        width: 110px;
        height: 45px;
        font-size: 10px;
    }
    .about .about2 .about2-text .about2-btn .my-btn2 a {
        width: 110px;
        height: 45px;
        font-size: 10px;
    }
    .about .about2 .about-img .successful-cases{
        height: 130px;
        width: 150px;
        padding: 25px;
    }
    .about .about2 .about-img .successful-cases h2{
        font-size: 30px;
    }
    .services .service-titel h2{
        font-size: 35px;
    }
    .services .service-titel h2::before {
        font-size: 48px;
    }
    .services .service-box .serv-text .serv-tx h3{
        font-size: 20px;
    }
    .books .bok-titel h2{
        font-size: 35px;
    }
    .books .bok-titel h2::before{
        font-size: 48px;
    }
    .books .bok-box .b-box-img{
        height: 230px;
    }
    .books .bok-box .b-box-tx .b-icon .my-btn2 a {
        width: 115px;
    }
    .books .bok-box .b-box-tx .b-icon h3 {
        font-size: 11px;
        margin-right: 7px;
    }
    .contack .contack-titel h2{
        font-size: 35px;
    }
    .contack .contack-titel h2::before {
        bottom: -15px;
        font-size: 48px;
    }
    .contack .contack-titel p{
        font-size: 14px;
    }
    .contack .contack-box .input-box input{
        margin-bottom: 10px;
    }
    .contack .contack-box .input-box-2 input{
        margin-bottom: 10px;
    }
    .contack .contack-box {
        padding: 15px 10px;
    }
    .contack .contack-box .input-box-2 textarea{
        height: 150px;
    }
    .contack .contack-box{
        height: 495px;
    }
}
/* ===================================== */
@media screen and (max-width:1170px){
    header .position {
        left: -22px;
    }
    .about .about2 .about2-text h2{
        font-size: 38px;
    }
    .about .about2 .about2-text{
        padding: 60px 30px;
    }
    .about .about2 .about2-text ul li h3 {
        font-size: 15px;
    }
    .about .about2 .about2-text .about2-btn .my-btn a {
        width: 170px;
    }
    .about .about2 .about2-text .about2-btn .my-btn2 a {
        width: 170px;
    }
    .about .about2 .about-img .successful-cases{
        left: -30px;
    }
    .books .bok-box .b-box-tx .b-icon .my-btn2 a {
        width: 170px;
    }
}