@media(min-width:1400px) {
    .custom-homes-section .custom-homes .custom-homes-content {
        zoom: 1.4;
        -ms-zoom: 1.4;
    }
}

@media(max-width:1200px) {
    .navbar-brand img {
        width: 150px;
    }
    .contact-container .nav-tabs {
        width: 100%;
        margin: 0 auto;
        margin-top: -25px;
    }
    .experience-extra .homepage-homes:hover .homepage-homes-content>img {
        width: 200px;
    }
    .award-slider-img {
        min-height: 700px;
        object-fit: cover;
        object-position: center;
    }
    .award-winner .award-winner-box {
        width: 100%;
    }
}

@media(max-width:992px) {
    .flex-btn {
        background-color: #c0790c;
        top: 22px;
    }
    .navbar {
        padding: 15px;
        position: fixed;
    }
    .navbar-brand {
        margin: 0 auto;
    }
    .navbar-nav li.active:after {
        display: none;
    }
    .flexpanel div.navigation ul li.active>a {
        color: #c0790c;
    }
    .flexpanel div.navigation ul li a.main-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    .inner-banner h2 {
        font-size: 80px;
    }
    .inner-banner h6 {
        font-size: 24px;
    }
    .navbar-nav>li.active a::after {
        display: none;
    }
    .contact-row .contact-box {
        width: 33.3333%;
    }
    .contact-box a {
        font-size: 14px;
    }
    .experience-extra .homepage-homes>img {
        min-height: 280px;
        object-fit: cover;
    }
    .award-winner .award-winner-box .award-winner-content h2 {
        font-size: 48px;
    }
    .award-winner .award-winner-box .award-winner-content h3 {
        font-size: 36px;
    }
}

@media(max-width:768px) {
    p {
        font-size: 16px !important;
    }
    .navbar-brand img {
        width: 120px;
    }
    .py-80 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .py-50 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .pt-80 {
        padding-top: 40px;
    }
    .pb-80 {
        padding-bottom: 40px;
    }
    .pt-50 {
        padding-top: 40px;
    }
    .pb-50 {
        padding-bottom: 40px;
    }
    .homepage-banner,
    .homepage-banner .homepage-slide {
        min-height: 400px;
        object-fit: cover;
        object-position: center;
    }
    .custom-filter {
        flex-direction: column;
        align-items: start;
    }
    .custom-homes-section .custom-homes .custom-homes-content {
        position: relative;
        transform: none;
        top: 0;
        right: 0;
        border-radius: 0 0 10px 10px;
    }
    .custom-homes-section .custom-homes>img {
        border-radius: 10px 10px 0 0;
        min-height: 300px;
    }
    .custom-homes-section .custom-homes .custom-homes-content .form-wrap {
        width: 100%;
    }
    .inner-banner h2 {
        font-size: 50px;
        line-height: 1.3;
    }
    .inner-banner,
    .inner-banner.history-banner {
        padding-bottom: 50px;
    }
    .contact-row {
        flex-direction: column;
    }
    .contact-row .contact-box {
        width: 100%;
    }
    .contact-row .contact-box a {
        font-size: 16px;
    }
    .contact-us-section h4 {
        font-size: 18px;
    }
    .contact-us-section h2 {
        font-size: 100px;
        line-height: 1.4;
    }
    .contact-container {
        padding: 0 50px 30px;
    }
    .contact-container .nav-tabs {
        flex-direction: column;
    }
    .contact-container .nav-tabs .nav-link {
        width: 100%;
        font-size: 16px;
    }
    .experience-extra .homepage-homes .homepage-homes-content>img {
        width: 150px;
    }
    .main-header {
        font-size: 36px;
    }
    .main-header span {
        font-size: 60px;
    }
    .experience-extra h4 span {
        font-size: 100px;
        top: -25px;
    }
    .experience-extra h4+img {
        top: -60px;
    }
    .award-winner .award-winner-box .award-winner-content h2 {
        font-size: 48px;
    }
    .award-winner .award-winner-box .award-winner-content h3 {
        font-size: 36px;
    }
    .homepage-banner .luxury {
        width: 70%;
    }
    .our-your-family p {
        width: 100%;
    }
    .testimonials-section .testimonial-content {
        padding: 35px;
    }
    .testimonials-section .owl-carousel .owl-nav {
        top: auto;
        left: 50%;
        transform: translate(-50%, 0);
        width: 95%;
        bottom: 50px;
    }
    .what-drives-us h3 {
        font-size: 36px;
    }
    .history-of-success h3 {
        font-size: 24px;
    }
    .history-teams h3 {
        font-size: 24px;
    }
    .history-teams h3 span {
        font-size: 36px;
    }
    .award-slider-img {
        min-height: 500px;
    }
    .custom-homes-section .custom-homes {
        border: 2px solid #6b2020;
        border-radius: 12px;
    }
}

@media(max-width:578px) {
    .custom-filter,
    .custom-filter .filter-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .custom-filter .filter-group .dropdown-menu {
        width: 220px;
        padding: 10px;
    }
    .waldo-pagination li:not(:first-child):not(:last-child) {
        display: none;
    }
    .custom-filter label {
        font-size: 14px;
    }
    .contact-container {
        padding: 0 20px 30px;
    }
    .experience-extra h4 {
        font-size: 24px;
    }
    .experience-extra h4 span {
        font-size: 60px;
        top: 0;
    }
    .experience-extra h4+img {
        top: -20px;
        width: 200px;
    }
    .experience-extra h5 {
        top: 0;
        font-size: 18px;
        margin-bottom: 30px;
    }
    .award-winner .award-winner-box .award-winner-content h2 {
        font-size: 36px;
    }
    .award-winner .award-winner-box .award-winner-content h3 {
        font-size: 24px;
    }
    .award-winner .award-winner-box .award-winner-content h4 {
        font-size: 18px;
    }
    .achievements-section [class*="col-"] {
        width: 50%;
    }
    .achievements-section [class*="col-"] .d-block.mx-auto {
        width: 100%;
    }
    .award-slider-img {
        min-height: 400px;
    }
    .custom-homes-section .custom-homes>img {
        border-radius: 10px 10px 0 0;
        min-height: 200px;
    }
    .custom-homes-section .custom-homes .custom-homes-content>img {
        width: 100px;
    }
    .custom-homes-section .custom-homes .custom-homes-content .custom-actions a {
        padding: 10px 20px;
    }
    .custom-homes-section .custom-homes .custom-homes-content .form-wrap form p {
        font-size: 12px !important;
        margin-bottom: 5px;
    }
    .award-winner .award-winner-box {
        zoom: .8;
        -ms-zoom: .8;
    }
}

@media(max-width:450px) {
    .achievements-section [class*="col-"] {
        width: 90%;
    }
}