@media (min-width: 1700px) {
    .ps-modal {
        height: calc(100vh - 150px);
        top: 110px;
        transform: translateX(-50%);
    }
    .ps-modal.coming-soon-modal {
        transform: translate(-50%, -50%);
    }
}
@media (min-width: 992px) and (max-width: 1240px) {
    .ps-modal {
        height: calc(100vh - 20%);
        top: 53.4%;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .overlay-menu-wrapper .menu-item a {
        font-size: 26px;
    }
    .partners-slider .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 120px;
    }
    .ps-modal {
        height: calc(100vh - 20%);
        top: 51.5%;
    }
    .contact-us-details .contact-socials a {
        font-size: 15px;
    }
    .contact-us-details .contact-socials a img {
        width: 26px;
        height: 26px;
    }
    .contact-us-details .contact-socials h3, .contact-form-wrapper h3 {
        font-size: 24px;
    }
}
@media only screen and (min-width : 640px) and (max-width : 1000px) and (orientation : landscape) {
    #main-header .col-md-4 {
        flex: 0 0 auto;
        width: 60%;
    }
    #main-header .col-md-8 {
        flex: 0 0 auto;
        width: 40%;
    }
    .overlay-menu {
        top: 52%;
    }
    .overlay-menu-wrapper .menu-item a {
        font-size: 26px;
    }
    .ps-modal {
        height: 150px;
        top: 52%;
    }
    .services-select-box {
        width: 60%;
    }
    .contact-us-details .contact-socials h3, .contact-form-wrapper h3 {
        font-size: 17px;
    }
    .contact-us-details .contact-socials a {
        font-size: 11px;
    }
    .partners-slider .swiper-slide img {
        width: 50%;
        margin: auto;
    }
    .partners-slider .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 0;
    }
    .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        width: 3px;
        height: 3px;
    }
}
@media (min-width: 640px) and (max-width: 767px) and (orientation: portrait) {
    #main-header .col-md-4 {
        flex: 0 0 auto;
        width: 60%;
    }
    #main-header .col-md-8 {
        flex: 0 0 auto;
        width: 40%;
    }
    .overlay-menu {
        top: 52%;
    }
    .overlay-menu-wrapper .menu-item a {
        font-size: 20px;
    }
    .ps-modal {
        height: calc(100vh - 32%);
        top: 57%;
    }
    .services-select-box {
        width: 90%;
    }
    .contact-us-details .contact-socials a {
        font-size: 11px;
    }
    .contact-us-details .contact-socials a img {
        width: 20px;
        height: 20px;
    }
    .contact-us-details .contact-socials h3, .contact-form-wrapper h3 {
        font-size: 17px;
    }
    .swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 0;
    }
}
@media (max-width: 639px) {
    .hide-on-mobile {
        display: none;
    }
    .hide-on-desktop {
        display: block;
    }
    video.hide-on-desktop {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: -1;
    }
    #main-header .col-md-4 {
        flex: 0 0 auto;
        width: 60%;
    }
    #main-header .col-md-8 {
        flex: 0 0 auto;
        width: 40%;
    }
    .overlay {
        transition: opacity 0.8s, visibility 0.8s, height 0.8s;
        background: #fff;
    }
    .overlay-menu-wrapper {
        display: block;
    }
    .overlay-menu-wrapper .menu-item {
        background-color: unset;
        box-shadow: unset;
        -webkit-transition: -webkit-transform 1s, opacity 0.8s;
        transition: transform 1s, opacity 0.8s;
        transform: unset;
    }
    .overlay-menu-wrapper .menu-item a {
        font-size: 20px;
        padding: 0;
    }
    .overlay-menu-wrapper .menu-item.menu-item-1 a {
        transform: rotate(0deg);
    }
    .ps-modal {
        /*height: calc(100vh - 20%);*/
        /*top: 52%;*/
        height: 80%;
        top: 51%;
    }
    /* about us */
    .about-list-wrapper ul {
        width: 100%;
    }
    .about-list-wrapper ul:first-child {
        margin-bottom: 3px;
    }
    /* services */
    .services-select-box {
        width: 100%;
    }
    .services-select-box::after {
        right: 10px;
    }
    /* contact us */
    .contact-section-wrapper {
        display: block;
    }
    .contact-us-details {
        width: 100%;
    }
    .contact-form-wrapper {
        width: 100%;
    }
    .contact-form-wrapper {
        margin-top: 50px;
    }
    .contact-form-wrapper .submit-btn .success-msg {
        margin-bottom: 15px;
        text-align: right;
    }
    .contact-us-details .contact-socials h3, .contact-form-wrapper h3 {
        font-size: 22px;
    }
    /* portfolio */
    .portfolio-wrapper {
        grid-template-columns: auto;
        gap: 30px;
    }
    .portfolio-list {
        flex-direction: column;
    }
    .portfolio-list .portfolio-logo {
        padding: 0;
        margin-bottom: 15px;
    }
}