@media screen and (max-width: 1440px) {
    .commercial .text .col-md-6 img {
        height: 65% !important;
    }
}

@media screen and (max-width: 1250px) {
    .banner video {
        width: 100% !important;
    }
    .project_banner {
        height: auto !important;
    }
    .qr .container {
        max-width: 50%;
    }
}

@media screen and (max-width: 1150px) {
    header {
        display: none !important;
    }
    .header2 {
        display: block !important;
        width: 100%;
        height: 110px;
        color: #ffffffe3;
    }
    .header2 .primary {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        vertical-align: middle;
    }
    .header2 .primary img {
        height: 110px;
        margin-top: 10px;
    }
    .header2 .primary button {
        background-color: transparent;
        color: gold;
        padding: 3px 13px;
        border-radius: 5px;
        font-size: 30px;
        font-weight: 600;
        border: 2px solid gold;
        margin-right: 20px;
    }
    .header2 .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 11;
        top: 0;
        right: 0;
        background-color: #ffffffe3;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 70px;
    }
    .header2 .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 20px;
        color: #818181;
        display: block;
        transition: 0.3s;
        text-align: center;
    }
    .header2 .links {
        text-align: center;
        margin-top: 20px;
        font-size: 20px;
    }
    .header2 .links i {
        font-size: 20px;
    }
    .header2 .links a {
        display: inline-flex;
        font-size: 25px;
        color: #f5d20c;
    }
    .header2 .links .login {
        display: inline-flex;
        font-size: 25px;
        color: #295389;
    }
    .header2 .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 35px;
        font-size: 30px;
        color: gold;
        margin-left: 50px;
    }
    .carousel img {
        height: inherit !important;
    }
    .testimonial {
        padding: 20px;
    }
    .banner_residential,
    .about_banner {
        height: 70vh;
    }
    .about-company .tab {
        width: auto;
        position: relative;
        border: 3px solid gold;
        border-bottom: 1px solid #faf6e3;
        border-radius: 12px 12px 0 0;
    }
    .project_contact input {
        width: 100%;
    }
    .contact .check_main label {
        margin-left: 7px;
    }
    .qr .container {
        max-width: 60%;
    }
}

@media screen and (max-width: 900px) {
    .qr .container {
        max-width: 65%;
    }
}

@media screen and (max-width: 800px) {
    .header2 {
        height: 80px;
    }
    .header2 .primary img {
        height: 80px;
        margin-top: 10px;
    }
    .header2 .sidenav .closebtn {
        right: 17px;
        margin-top: 14px;
    }
    footer .footer_break {
        flex-direction: column;
    }
    .testimonial .container {
        max-width: 100%;
    }
    .header2 .primary button {
        padding: 2px 10px;
        border-radius: 5px;
        font-size: 20px;
        font-weight: 600;
        border: 2px solid gold;
        margin-right: 15px;
    }
    .carousel-caption {
        bottom: 0;
        padding-bottom: 0;
        margin-bottom: -13px;
    }
    .carasouel .carousel-inner span {
        font-size: 22px;
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 20px;
    }
    .section1 .counter-up .row {
        max-width: 95%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 15px;
    }
    .section1 .counter-up {
        position: relative;
        bottom: inherit;
        margin-top: 20px;
    }
    .section1 .counter-up h3 {
        font-size: 27px;
    }
    .section1 .counter-up p {
        font-size: 12px;
    }
    .property {
        margin-top: 50px;
    }
    .about_md .row {
        display: flex;
        flex-direction: column;
    }
    .about_md .row .col-md-6 {
        max-width: 100%;
    }
    .banner_residential,
    .about_banner,
    .banner_contact,
    .banner_terms {
        height: 60vh;
    }
    .banner_cp {
        background-size: 100% 45%;
        height: 15vh;
        background-position: top center;
    }
    .about-company #about img {
        width: 100%;
    }
    #about .container {
        max-width: 90% !important;
    }
    .about-company .tab button {
        font-size: 19px;
    }
    .about-company h4 {
        width: 100%;
        font-size: 24px
    }
    .csr_img {
        margin-top: 10px !important;
    }
    .contact .data-form {
        max-width: 90%;
    }
    .contact .container .col-md-3 h4,
    .contact .container .col-md-5 h4 {
        margin-top: 40px;
    }
    .project_contact .row {
        flex-direction: column;
    }
    .project_plans .container {
        max-width: 95%;
    }
    .qr .container {
        max-width: 70%;
    }
    .qr .container h2 {
        font-size: 24px;
    }
    .qr .logo {
        width: 110px;
    }
    footer {
        height: inherit;
        padding: 50px 60px;
    }
    footer .logo .links {
        max-width: 40%;
    }
    footer .company,
    footer .menu,
    footer .reach {
        margin-top: 40px;
    }
    footer .reach {
        width: 90%;
    }
    footer .copyright {
        margin-top: 40px;
        font-size: 14px;
    }
}

@media screen and (max-width: 650px) {
    .ongoing-projects .col-lg-6 .in-tain {
        flex-direction: column;
    }
    .ongoing-projects .col-lg-6 img {
        width: 100%;
        border-radius: 7px 7px 0 0;
    }
    #keypeople .container {
        max-width: 90% !important;
    }
    .about-company .tab button {
        font-size: 15px;
        padding: 12px 13px;
        height: 60px;
    }
    .project_contact .row {
        flex-direction: column-reverse;
    }
    .project_contact iframe {
        height: 350px;
    }
    .contact .check_main {
        margin: auto;
        margin-top: 15px !important;
    }
    .contact .check_main input {
        max-width: 6%;
    }
    .contact .check_main label {
        max-width: 94%;
    }
    .cp .row1 {
        display: flex;
        flex-direction: column !important;
    }
    .cp .row1 .col-6 {
        min-width: 100% !important;
    }
    .cp .cp_terms {
        padding: 5px 5px;
    }
    .cp .cp_terms h4 {
        font-size: 19px;
    }
    .cp .cp_terms p,
    .cp .cp_terms li {
        font-size: 12px;
    }
    .cp .row1 {
        margin-top: 2px;
    }
    .cp .row4 {
        display: flex;
        flex-direction: row !important;
        margin-top: 10px;
    }
    .cp .row4 label {
        font-size: 12px;
    }
    .qr {
        padding-top: 110px;
    }
    .qr .logo {
        top: 55px;
    }
    .qr .container {
        max-width: 80%;
        padding-top: 70px;
    }
}

@media screen and (max-width: 470px) {
    .header2 .sidenav a {
        font-size: 17px;
    }
    .carasouel .carousel-inner span {
        font-size: 18px;
    }
    .section1 .counter-up {
        margin-top: 10px;
    }
    .section1 .counter-up .container {
        padding-left: 0;
        padding-right: 0s;
    }
    .section1 .counter-up .row {
        border: none;
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }
    .section1 .counter-up p {
        margin-bottom: 0;
        font-size: 9px;
    }
    .section1 .counter-up h3 {
        font-size: 20px;
    }
    .property p,
    .testimonial p,
    .about_md p {
        font-size: 15px;
    }
    .property h3,
    .testimonial h3,
    .about_md h3,
    .ongoing-projects h3,
    .about-company h3,
    .contact h3,
    .project_name h3,
    .terms h3,
    .project_overview h3,
    .project_gallery h3,
    .project_plans h3,
    .project_contact h3,
    .project_amenities h3,
    .property h3 {
        font-size: 32px;
    }
    .about_md .container p {
        font-size: 14px;
    }
    .property h2 {
        font-size: 30px !important;
    }
    .property .project_specs span {
        font-size: 14px;
    }
    #about .container {
        max-width: 100% !important;
    }
    .banner_residential,
    .banner_contact,
    .about_banner,
    .banner_terms {
        height: 40vh;
    }
    .ongoing-projects .detail_text {
        font-size: 13px;
        width: 90%;
        margin-bottom: 30px;
    }
    /* .ongoing-projects .residential{
        font-size: 13px;
    } */
    .ongoing-projects .col-lg-6 h2 {
        font-size: 28px;
    }
    #keypeople .container {
        max-width: 95% !important;
    }
    .about-company .tab button {
        font-size: 11px;
        padding: 8px 10px;
        height: 50px;
    }
    .commercial .text .col-md-6 img {
        height: 85% !important;
    }
    .project_plans .slider-for {
        padding: 10px;
    }
    .project_plans .slider-for img {
        width: 100%;
    }
    .project_overview p {
        font-size: 14px;
    }
    .project_contact input {
        width: 95%;
    }
    .project_modal .modal input {
        width: 95%;
    }
    .project_modal .modal-content {
        max-width: 100%;
    }
    .qr .container {
        max-width: 90%;
        padding: 20px;
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .qr h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    footer {
        padding: 30px 20px;
    }
    footer li {
        font-size: 12px;
        line-height: 25px;
    }
}