/* Normal desktop :1200px.  and (max-width: 1500px) */
@media (min-width: 1200px) and (max-width: 1400px) {
    .margin-lg-bottom {
        margin-bottom: 30px;
    }

    .expertise-area .column2 {
        margin-top: -50px;
    }

    .slick-slide img {
        display: block;
    }

    .intro-text h1 {
        font-size: 35px;
        letter-spacing: 1px;
        color: #fff;
        margin-bottom: 10px;
        font-weight: 500;
        width: 100%;
        margin-top: 10%;
    }

    .NextArrow {
        font-size: 20px;
        background-color: #212020;
        color: #fff;
        padding: 10px;
        border-radius: 50px;
        cursor: pointer;
        position: absolute;
        right: 0;
    }

    .padding {
        padding: 65px 0;
    }
}

/*Custom Screen*/
@media (min-width: 1200px) and (max-width: 1265px) {
    .slick-slide img {
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1024px) {
    .icon-box-2 {
        box-shadow: 0px 0px 0px rgba(166, 166, 166, 0.25);
    }

    .slider-text h2 {
        font-size: 40px;
    }

    .slider-content h2 {
        font-size: 40px;
    }

    .project-list .overlay-content p {
        font-size: 15px;
    }

    .box-2:after {
        height: 235px;
        width: 265px;
    }

}

/* Normal desktop :992px. */
@media (min-width: 993px) and (max-width: 1200px) {
    .header-image-area {
        height: 65vh;
    }

    .menu-area ul li a {
        font-size: 15px;
        padding: 39px 30px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: .5rem;
    }

    .nav-link {
        font-size: 12px;
    }

    .intro-text {
        top: 80%;
    }

    .work-list .overlay-content {

        padding: 20px;
    }

    .work-list .overlay-content h1 {
        font-size: 22px;
        color: #FFAF14;
    }

    .work-list .overlay-content p {
        margin-bottom: -46px;
    }

    .icon img {

        width: 135px;

    }

    .slick-slide img {
        display: none;
    }

    .left-slide {
        width: 80%;
        float: left;
        padding: 0px 0;
    }

    .intro-text h1 {
        font-size: 34px;
        margin-top: 10%;
        letter-spacing: 1px;
        color: #fff;
        margin-bottom: 10px;
        font-weight: 700;
        width: 100%;
    }


}


/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 992px) {

    .intro-text {
        top: 53%;
    }

    .work-list .overlay-content p {
        font-size: 15px;
        margin-bottom: 0px;
    }

    .work-list .overlay-content h1 {
        font-size: 20px;
    }

    .work-list .overlay-content {
        padding: 10px;
    }

    .icon img {
        width: 135px;
    }

    .left-slide {
        width: 80%;
        float: left;
        padding: 0px 0;
    }

    .intro-text h1 {
        font-size: 34px;
        margin-top: 10%;
    }

    .NextArrow {
        right: 4%;
    }

    .box::after {

        height: 180px;
        width: 180px;

    }

    .menu-area ul li a {
        padding: 39px 10px;
        font-size: 15px;
    }

    .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .flex-container {
        display: grid;

    }

    .our-team {
        margin-bottom: 30px;
    }

    .our-team .team-content:before,
    .our-team .team-content:after {
        height: 50px;
        top: -24px;
    }

    .our-team .title:before,
    .our-team .title:after {
        top: -85px;
        height: 102px;
    }

    .our-team .title:before {
        left: 35%;
    }

    .our-team .title:after {
        right: 35%;
    }

    .slider-text h2 {
        font-size: 35px;
    }

    .slider-content h2 {
        font-size: 35px;
    }

    .project-area p {
        display: -webkit-box;
        -webkit-line-clamp: 9;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .box-2:after {
        height: 240px;
        width: 245px;
    }

    .br {
        display: none;
    }

    .sm-top-5 {
        padding-top: 3rem !important;
    }
}


/* small mobile :320px. */
@media (max-width: 768px) {
    .home-content h1 {
        font-size: 27px;
    }

    .home-content h3 {
        font-size: 18px;
    }

    .work-list .overlay-content p {
        font-size: 13px;
        margin-bottom: 0px;
    }

    .work-list .overlay-content h1 {
        font-size: 19px;
    }

    .home-content h3 {
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 3px;
    }

    .home-content__button {
        margin-top: 20px;
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .home-content__scroll .scroll-link {
        font-size: 11px;
    }

    .home-content__scroll {
        right: 24px;
        bottom: 77px;
    }
    .home-social {
        display: none;
    }

    .home-content__button .btn {
        position: static;
        display: block;
        height: 60px !important;
        /* line-height: 56px !important; */
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .intro-text h1 {
        font-size: 27px;
    }

    .service-box {
        margin-bottom: 10px;
    }

    .service-area {
        margin-top: -60px !important;
    }

    .intro-text h1 {
        font-size: 25px;
    }

    .intro-text {
        top: 55%;

    }

    .header-image-area::before {
        height: 75vh;
    }

    .header-image-area {
        height: 60vh;
    }

    .testimonial-area .section-title .head-text {
        padding: 0px 0px;
    }

    .testimonial-area .head-text h1 {
        font-size: 28px;
        font-weight: 500;
    }

    .testimonial-area .section-title {
        margin-bottom: 70px;
    }

    .col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 100%!important;
        max-width: 100%!important;
    }

    .advantage .col-md-5 {
        flex: 0 0 100%!important;
        max-width: 100%!important;
    }

    .col-sm-6{
        flex: 0 0 50%!important;
            max-width: 50%!important;
    }
    .swiper-slide{
        height: 262px;
    }
    
    .main-navigation .navbar-collapse {
        background-color: rgb(66, 79, 92);
        padding: 15px;
    }

    .intro-text h1 {
        width: 100%;
    }

    .intro-text {
        top: 100%;
    }

    .flex-container {
        flex-direction: column;
    }

    .flex-container>div {
        width: 90%;
    }

    .NextArrow {
        display: none !important;
    }

    .expertise-area .column-2 {
        margin-top: 1px !important;
    }

    .box::after {

        height: 178px;
        width: 162px;

    }

    .box-2::after {

        display: none;

    }

    .icon-box-2 img {
        display: none;
    }

    .padding {
        padding: 50px 0;
    }

    .br {
        display: none;
    }

    .our-team .team-content:before,
    .our-team .team-content:after {
        height: 75px;
    }

    .our-team .team-content:before {
        transform: rotate(8deg);
    }

    .our-team .team-content:after {
        transform: rotate(-8deg);
    }

    .project-area p {
        display: -webkit-box;
        -webkit-line-clamp: 9;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .box-2:after {
        height: 224px;
        width: 289px;
    }

    .icon-box-2 .content {
        width: 100%;
    }

    .sm-top-5 {
        padding-top: 3rem !important;
    }


}

/*Custom Screen*/
@media (min-width:556px) and (max-width: 992px) {


    .logo-area {
        position: inherit;
        bottom: -18px;

    }
}

@media (max-width: 992px) {
    .top-5 {
        margin-top: 0px;
    }

    .mt-25 {
        margin-top: 0px !important;
    }
}

/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .slider-text h2 {
        font-size: 32px;
    }

    .slider-content h2 {
        font-size: 32px;
    }

    .service-text h2 {
        font-size: 14px !important;
    }

    .work-list .overlay-content {
        padding: 15px;
    }

    .work-list .overlay-content p {
        font-size: 13px;
        margin-bottom: -36px;
    }

    .header-image-area {
        height: 65vh;
    }

    .sm-mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .project-area p {
        display: -webkit-box;
        -webkit-line-clamp: 9;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

}

@media (max-width: 991px) {
    .header-image-area {
        height: 75vh;
    }

    .icon-box-2 {
        box-shadow: 0px 0px 0px rgba(166, 166, 166, 0.25);

    }

    .text-area::after {
        display: none;
    }

    .text-area::before {
        display: none;
    }

    .work-list .overlay-content i {
        font-size: 16px;
        color: #FFAF14;
        padding: 10px 0;
    }

}

@media (max-width: 480px) {
    .box::after {
        height: 168px;
        width: 144px;
    }

    .error-text img {
        width: 80%;
    }

    .subcribe-form input {
        width: 75%;
    }

    .icon-box-2 .content {
        float: right;
        width: 100%;
        text-align: right;
    }

    .author-info {
        display: block;
        overflow: initial;
    }

    .author-info p {
        font-style: italic;
        margin: 0;
        position: initial;
        overflow: visible;
    }

    .comment-form-area {
        padding-right: 10px;
    }

    .work-list .overlay-content {

        padding: 50px 25px;
    }

    .work-list .overlay-content p {
        font-size: 18px;
        margin-bottom: 0px;
    }

    .box-2::after {
        height: 145px;
        width: 120px;
    }

    .sm-pt-25 {
        padding-top: 25px;
    }

    .welcome {
        font-size: 20px;
    }

    .sm-mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .service-area {
        margin-top: -60px !important;
    }

    .our-team .title:before,
    .our-team .title:after {
        top: -83px;
    }

    .slider-area .owl-carousel .owl-dots {
        top: -100px;
    }

    .slider-text p {
        font-size: 15px;
    }

    .slider-content p {
        font-size: 15px;
        line-height: 22px;
    }

    .slider-content h2 {
        font-size: 27px;
    }

    .icon-box {
        min-height: 220px;
    }

    .slider-text p {
        line-height: 22px;
    }

    .slider-text h2 {
        font-size: 27px;
    }

}

/* small mobile :320px. */

@media only screen and (min-width: 320px) and (max-width: 574px) {

    .logo-area {
        position: inherit;
    }

    .logo-area img {
        width: 210px;
    }

    .fa-angle-down {
        display: none
    }

    .mean-container .mean-nav ul li a {
        padding: 11px 12px;
    }

    .comment-form-area input[type="text"],
    .comment-form-area textarea {
        width: 100%;
    }

    .float-mob-left {
        /* float: left !important; */
    }

    .about-author {
        padding: 15px 0px 15px 0;
        display: inline-block;
    }

    .newsletter-area h1 {
        font-size: 23px;
    }

    #scrollUp {
        bottom: 5px;
        right: 8px;
    }

    .pls-floatbar-item {
        position: fixed;
        right: 8px;
        bottom: 58px;
    }

    .logo-area {
        position: inherit;
        /* bottom: -15px; */

    }

    .slider-content p {
        font-size: 15px;
        line-height: 22px;
    }

    .slider-content h2 {
        font-size: 27px;
    }

    .section-title .head-text h1 {
        font-size: 23px;
    }

    .section-title-3 h1 {
        font-size: 24px;
    }

    .others-page-title h1 {
        font-size: 26px;
        font-weight: 500;
    }
}

/* Large Mobile :575px. */

@media only screen and (min-width: 575px) and (max-width: 768px) {
    .logo-area {
        position: inherit;

    }

    .fa-angle-down {
        display: none
    }

    .icon-box {
        min-height: 220px;
    }

}

@media (max-width: 1024px) {

    blockquote {
        font-size: 14px;
        margin-left: 25px;
        margin-top: 20px;
        padding: 20px;
        border-left: 3px solid rgb(254, 104, 113);
        color: #7e7e7e;
        background-color: rgba(245, 105, 112, 0.14901960784313725);
    }


    .sm-mb {
        margin-bottom: 15px;
    }

    .sm-pt-25 {
        padding-top: 25px;
    }

    .project-list .overlay-content {
        padding: 18px;
    }

}