
@media all and (min-width: 992px) {

    .navbar .has-megamenu{position:static!important;}
    .navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }
  
}	
@media (max-width: 1400px){
    .cta-wrapper-bg img {
        width: 500px !important;
        position: absolute;
        top: -230px;
        height: auto;
        right: 120px;
    }
}
@media (max-width: 991px){
    .cta__mail {
        font-size: 14px;
        font-weight: 300;
    }
    
    .all-cours .content {
        display: grid;
        grid-template-columns: auto; 
        row-gap: 10px;
        height: 342px;
        margin-bottom: 20px;
        overflow-y: auto;
    }
    .ghost-tabs .nav-tabs .nav-link , .ghost-tabs .nav-tabs .nav-link.active{
        text-align: center;
        display: block;
        clip-path: none;
    }
    .ghost-tabs .nav-tabs {
        display: grid !important;
        grid-template-columns: auto auto;
        row-gap:  15px;
        column-gap: 15px;
        margin: 20px auto 0 auto;
    }
    .content-polygon-shape::after , .ghost-tabs .content::before , .content-polygon-shape::before , .ghost-tabs .content::after , .ghost-tabs .nav-link .tab-shape::after, .ghost-tabs .nav-link .tab-shape::before , .services__shape::after, .services__shape::before{
        display: none;
    }
    .all-cours .content img {
        margin-right: 10px;
        color: white;
        display: inline-block;
    }
    .ghost-tabs .content h3{
        text-align: center;
    }
    .ghost-tabs .content{
        width: 100%;
        text-align: center;
        border: 2px solid var(--color-primary);
        clip-path: none;
        padding: 10px ;
        text-align: center;
        height: auto;
        align-items: center;
    }
    .home-banner form::after {
        left: -21px;
    }
    .home-banner form::before {
        transform: rotate(313deg);
        right: -24px;
    }
    .form-polygon-line::before {
        left: -34px;
    }
    .form-polygon-line::after {
        right: 2px;
    }
    .ghost-tabs .content-polygon-line{
        display: none;
    }
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
        overflow-y: auto;
          max-height: 90vh;
          margin-top:10px;
      }
    .header__wrapper .navbar{
        background-color: var(--color-primary);
        color: var(--color-white);
        top: 0;
    }
    .header__wrapper .navbar .nav-link {
        line-height: 40px;
        color: black;
        font-weight: 400;
    }
    .mega-menu{
        top: 50%;
    }
    .mega-menu .mega-item1 span , .mega-menu .mega-item2 span{
        display: none;
    }
    .mega-menu ul li a {
        font-size: 15px;
        line-height: 34px;
    }
    .error-title{
        font-size: 40px;
    }
    .optimum-book{
        display: none;
    }
    .client-review .optimum-servcie img {
        right: 117px;
    }
    .client-review .optimum-servcie {
        padding: 47px 95px 0 30px;
    }
    .form-btn a{
        font-size: 15px !important;
        display: block;
        margin: auto;
        background: url(../../assets/images/btn-border.png) center center/contain no-repeat;
        width: max-content;
    }
    .form-border , .form-border , .form-border .left-content{
        background-image: none;
        padding: 10px;  
    }
    .form-border .left-content{
        padding: 0;
    }
    .cta-wrapper-bg .cta-content div a:nth-child(2){
        font-size: 17px;
    }
    .cta-wrapper-bg img{
        display: none;
    }
    .testimonial .client , .client2{
        animation: none;
    }
    .client2 {
        background: url(../../assets/images/testimonial-border2.png) center center/contain no-repeat;
        width: 90%;
        height: 230px;
        position: relative;
        padding: 70px 27px 0 52px;
        margin-left: auto;
    }
    .nag-margin{
        margin-top: 0;
    }
    .nav-links li a {
        color: #000;
        font-size: 18px;
        padding-bottom: 20px !important;
        display: block;
        font-weight: 400;
    }
    nav{
        position: relative;
        z-index: 3;
    }
    .hamburger{
        display:block;
        position: absolute;
        cursor: pointer;
        right: 5%;
        top: 50%;
        transform: translate(-5%, -50%);
        z-index: 2;
        transition: all 0.7s ease;
    }
    .nav-links{
        position: fixed;
        background: var(--color-primary);
        height: 100vh;
        width: 100%;
        flex-direction: column;
        clip-path: circle(50px at 90% -20%);
        -webkit-clip-path: circle(50px at 90% -10%);
        transition: all 1s ease-out;
        pointer-events: none;
        color: #fff;
        top: 0;
    }
    #rotate-slider{
        display: none;
    }
    .home-banner .left-content h3{
        padding-top: 0;
        font-size: 0;
        line-height: 30px;
    }
    .home-banner {
        padding-top: 140px !important;
    }
    .p {
        left: 150px;
    }
    .home-banner form h3 {
        font-size: 30px;
        padding-top: 55px;
    }
    .home-banner form {
        background-size: 100% 100%;
    }
    section.client-logo h3, .about h3 , section.ghost-tabs h3{
        font-size: 40px;
    }
    .about p{
        padding-right: 0;
    }
    .about .right-content::before {
        width: 90%;
        height: 90%;
        z-index: -1;
        right: 0; 
    }
    .p-lr-250 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .f-54{
        font-size: 40px !important;
        line-height: 46px;
    }
    div#counter {
        display: flex;
        justify-content: space-between;
        text-align: center;
        margin-top: 20px;
    }
    .bulk-books img:nth-child(2), .bulk-books img:nth-child(4) , .bulk-books img:nth-child(3), .bulk-books img:nth-child(1){
       display: none;
    } 
    div#counter .item span:nth-child(3){
        margin-bottom: 0;
    }
    section {
        padding: 60px 15px !important;
    }
    .get-in-touch form {
        margin: auto;
    }
    .cta .col-lg-2:nth-child(1) img {
        top: -80px;
        width: 300px;
    }
    .cta .col-lg-2:nth-child(3) img {
        top: -77px;
        width: 300px;
    }
    .cta-content p {
        padding: 0 200px;
    }
    .card-content {
        background: url(../../assets/images/content-border.png) center center/100% 100% no-repeat;
        padding: 45px 35px;
    }
    section.subscribe form input {
        width: 320px;
        height: 60px;
        background: transparent;
        border: 1px solid green;
        border-radius: 20px;
    }
    .subscribe img {
        position: absolute;
        width: 352px;
    }
    .slider-middle {
        width: 200px;
        height: 300px;
    }
    .slider-left-1  {
        width: 200px;
        height: 280px;
        left: 100px;
    }
    .slider-right-1{
        width: 200px;
        height: 270px;
        left: 43%;
    }
    .slider-left-2{
        width: 200px;
        height: 260px;
        left: 20px;
    }
    .slider-right-2{
        width: 200px;
        height: 260px;
        left: 55%;
    }
    .slider-next-btn {
        right: 0;
        top: 26px;
    }
    .slider-prev-btn {
        top: 26px;
        left: -63px;
    }
    .left-32 {
        left: 14% !important;
    }
    section.optimum-about .left-content img {
        display: block;
        margin: auto;
    }
    .optimum-servcie {
        padding: 45px 115px;
    }
    section.beauty-services img {
        margin: auto;
    }
    section.beauty-services .col-12 p, section.beauty-services .col-12 h4 {
        text-align: center;
        padding: 0 10px;
    }
    section.with-us-now .right-content h5 {
        border-right: 0;
        text-align: center;
    }
    section.optimum-info .left-content {
        text-align: center;
    }
    .table-info img{
        left: 21%;
    }
    .table-info table {
        margin: auto;
    }
    .client-info ul li {
        width: 100%;
        margin-left: 0;
        border-right: 0;
        margin-bottom: 30px;
    }
    .client-info .count, .client-info span {
        font-size: 50px !important;
        line-height: 1.3;
    }
    .client-info img{
        display: none;
    }
    
    .logo {
        position: relative;
        z-index: 9999;
        padding-left: 25px;
    }
    
}
@media (max-width: 576px) {
    .client-review .optimum-servcie img {
        right: 30px;
    }
    .client-review .optimum-servcie {
        padding: 47px 30px;
    }
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
        text-align: center;
        padding-left: 10px;
        background: transparent;
        border: 1px solid #fff;
        height: 45px !important;
        margin: 5px !important;
        width: 100% !important;
        font-size: 11px !important;
        font-weight: 300;
    }
    section.subscribe .left-content{
        padding: 0 !important;
    }
    .slider-left-1 {
        left: 0px;
        width: 200px;
        height: 270px;
    }
    .wrapper{
        width: 100%;
    }
    .slider-middle {
        left: 20%;
    }
    .about .right-content img{
        width: 300px !important;
        margin: auto;
        display: block;
    }
    .get-in-touch input , .get-in-touch form input:nth-child(6) {
        width: 100% !important;
        height: 60px;
        display: block;
        margin-bottom: 12px;
        background: transparent !important;
        border: 1px solid #fff;
    }
    .get-in-touch form {
        width: 100%;
    }
    .p ,.home-banner .left-content h3{
        font-size: 30px;
    }
    .p {
        left: 104px;
    }
    .cursor {
        height: 65%;
    }
    .home-banner .left-content p{
        padding-right: 0;
    }
    .home-banner .left-content ul {
        display: flex;
        flex-direction: column;
        flex-flow: wrap-reverse;
        padding-bottom: 0 !important;
    }
    .home-banner .left-content ul li{
        padding-bottom: 10px;
    }
    .primary-btn {
        width: 150px !important;
        background-size: 100% 100%;
    }
    .primary-btn:before , .primary-btn:after , .ghost-tabs .nav-link::before ,  .ghost-tabs .nav-link::after {
        display: none;
    }
    .ghost-before:before {
        width: 225px;
        height: 200px;
    }
    .home-banner form h3{
        font-size: 18px;
        padding-top: 35px;
    }
    .home-banner form input {
        line-height: 50px;
    }
    p{
        font-size: 14px !important;
        line-height: 22px !important;
    }
    section.client-logo h3, .f-54 , .about h3 , section.ghost-tabs h3{
        font-size: 25px !important;
        line-height: 32px !important;
    }
    .client-slider img {
        width: 80px;
        height: auto;
        display: block;
        margin: auto;
    }
    .p-lr-250{
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .ghost-tabs .content p{
        padding-right: 0;
    }
     .ghost-tabs .nav-link.active {
        padding-left: 10px;
        text-align: center;
        background-color: var(--color-primary);
        color: #fff;
        border-color: #fff;
        filter: brightness();
    }
    .nav-tabs .nav-link img{
       display: none;
    }
    .ghost-tabs .content div li:nth-child(2) {
        display: none;
    }
    .ghost-tabs .content div {
        justify-content: center;
    }
    .ghost-tabs .col-lg-8 {
        height: auto;
        overflow: auto;
    }
    .ghost-tabs .col-lg-8::-webkit-scrollbar , .all-cours .content::-webkit-scrollbar {
        width: 2px;
      }
       
    .ghost-tabs .col-lg-8::-webkit-scrollbar-track  , .all-cours .content::-webkit-scrollbar-track{
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
      }
       
    .ghost-tabs .col-lg-8::-webkit-scrollbar-thumb , .all-cours .content::-webkit-scrollbar-thumb {
        background-color: green;
        outline: 1px solid green;
      }
    section.counter p , .get-in-touch .left-content p {
        padding-right: 0;
    }
    div#counter {
        margin-top: 0;
        flex-direction: column;
    }
    div#counter .item{
        margin-bottom: 20px;
    }
    .f-24{
        font-size: 18px !important;
    }
    .get-in-touch .col-lg-6.left-content div{
        margin-bottom: 0;
    }
    .testimonial .left-content p{
        padding-right: 0  !important;
    }
    .cta .col-lg-2:nth-child(1) img , .cta .col-lg-2:nth-child(3) img{
        display: none;
    }
    .cta-content p{
        padding: 0;
    }
    .col-lg-8.cta-content a:nth-child(4) {
        font-size: 15px;
        font-weight: 400;
    }
    .card-content {
        background: transparent;
        border: 2px solid #fff;
        border-radius: 20px;
    }
    .wrapper{
        margin-top: 75px;
    }
    section {
        padding: 30px 10px !important;
        box-shadow: none !important;
    }
    section.subscribe .left-content p{
        padding-right: 0;
    }
    section.faqs h6 {
        font-size: 23px;
    }
    .optimum-banner .p{
        left: 93px !important;
    }
    .f-70{
        font-size: 25px !important;
        line-height: 32px  !important;
    }
    .counter .item span {
        font-size: 50px;
    }
    .optimum-servcie {
        padding: 65px 64px;
    }
    .subscribe ul li{
        padding-right: 15px;
    }
    .subscribe form button {
        float: left;
        margin-top: 10px;
    }
    .f-50 , .f-42 , .f-38{
        font-size: 25px !important;
        line-height: 32px;
    }
    section.with-us-now img{
        display: none;
    }
    section.with-us-now input {
        border: 1px solid green;
        width: 100% !important;
        height: 47px;
        margin-bottom: 10px;
    }
    section.with-us-now form button {
        margin: 50px auto 0 auto;
    }
    section.with-us-now .relative{
        display: block;
    }
    .optimum-info .left-content p{
        padding-right: 0;
    }
    .optimum-info .left-content ul li {
        display: flex;
        justify-content: start;
        padding-bottom: 15px;
    }
    section.optimum-info .left-content {
        text-align: left;
    }
}
@media (max-width: 1200px){
    .nav-links{
        align-items: baseline;
        padding-top: 100px;
        justify-content: stretch;

    };
    section.subscribe .left-content {
        padding: 0 100px;
        text-align: center;
    }
    .subscribe img, .home-banner .left-content ul li, .counter ul li{
        display: none;
    }
    .slider-left-2, .slider-right-2, #slider-btn a{
        display: none;
    }
    .about .right-content img {
        width: 400px;
    }
    .about .right-content::before {
        right: -7px;
        top: 27px;
    }
    .get-in-touch input {
        width: 500px;
        background: url(../../assets/images/input-bg.png) center center/contain no-repeat;
    }
    .get-in-touch form input:nth-child(6) {
        width: 500px;
        background: url(../../assets/images/mesage-bg.png) center center/contain  no-repeat;
    }
    form div li:nth-child(3) {
        margin: 0  !important;
    }
    section.all-cours .content a{
        margin: auto;
        width: 90%;
        clip-path : none;
        font-size: 15px
        
    }
};


