/* =====================================================
   LARGE TABLETS
===================================================== */

@media (max-width: 1199px) {

    .navbar-brand {
        font-size: 27px;
    }

    .nav-link {
        margin: 0 7px;
    }

    .header-btn {
        padding: 11px 15px;
    }

    .hero-content h1 {
        font-size: 65px;
    }

    .about-images {
        min-height: 500px;
    }

    .about-main-image {
        height: 450px;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .navbar {
        padding: 18px 0;
    }

    .navbar-collapse {
        background: var(--primary);
        padding: 20px;
        margin-top: 15px;
    }

    .nav-link {
        padding: 12px 5px !important;
        margin: 0;
    }

    .header-btn {
        display: inline-flex;
        margin-top: 10px;
    }

    .dropdown-menu {
        background: #222;
    }

    .dropdown-item {
        color: var(--white);
    }

    .dropdown-item:hover {
        color: var(--secondary);
        background: transparent;
    }


    /* Hero */

    .hero-content {
        padding-bottom: 160px;
    }

    .hero-content h1 {
        font-size: 58px;
    }

    .hero-search-wrapper {
        position: absolute;
    }

    .property-search {
        flex-wrap: wrap;
    }

    .search-item {
        width: 50%;
        flex: unset;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
    }


    /* About */

    .about-content {
        margin-top: 30px;
    }


    /* CTA */

    .cta-box {
        padding: 45px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .section-padding {
        padding: 75px 0;
    }


    /* Header */

    .navbar-brand {
        font-size: 25px;
    }


    /* Hero */

    .hero-section {
        margin-bottom: 20px;
        min-height: 850px;
        background-position: 62% center;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 230px;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }


    /* Search */

    .hero-search-wrapper {
        bottom: -20px;
    }

    .property-search {
        padding: 5px;
    }

    .search-item {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 12px 15px;
    }

    .search-btn {
        height: 52px;
    }


    /* Stats */

    .stat-box {
        border-bottom: 1px solid rgba(255,255,255,0.12);
        padding: 25px 10px;
    }

    .stat-box h3 {
        font-size: 32px;
    }


    /* About */

    .about-images {
        min-height: 400px;
    }

    .about-main-image {
        width: 80%;
        height: 360px;
    }

    .about-small-image {
        width: 45%;
        height: 180px;
    }

    .experience-badge {
        padding: 15px;
        bottom: 20px;
    }

    .experience-badge strong {
        font-size: 30px;
    }


    /* Section */

    .section-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }


    /* Properties */

    .property-image {
        height: 260px;
    }


    /* Why */

    .why-grid {
        grid-template-columns: 1fr;
    }


    /* Testimonial */

    .testimonial-card > p {
        font-size: 20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }


    /* CTA */

    .cta-section {
        padding: 50px 0;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box h2 {
        margin-bottom: 25px;
    }


    /* Footer */

    .footer {
        padding-top: 60px;
    }
      .footer-logo {
        width: 145px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 15px;
    }


    /* Floating */

    .floating-buttons {
        right: 12px;
        bottom: 15px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-subtitle {
        font-size: 10px;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 13px 18px;
        font-size: 12px;
    }

    .about-images {
        min-height: 330px;
    }

    .about-main-image {
        height: 300px;
    }

    .about-small-image {
        height: 145px;
        border-width: 6px;
    }

    .experience-badge {
        left: -5px;
        bottom: 10px;
    }

    .experience-badge strong {
        font-size: 26px;
    }

    .experience-badge span {
        font-size: 10px;
    }

    .property-content {
        padding: 20px;
    }

    .property-content h3 {
        font-size: 21px;
    }

    .property-details {
        gap: 8px;
        flex-wrap: wrap;
    }

    .why-item {
        padding: 25px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

}