@charset "UTF-8";


/* small laptops */

@media (max-width:1100px) {

    .container {
        width:92%;
    }


    nav ul {
        gap:20px;
    }


    nav ul li a {
        font-size:14px;
    }


    .hero-content {
        max-width:650px;
    }


    .search-grid {
        grid-template-columns:repeat(3,1fr);
    }


    .stats-grid,
    .feature-grid {
        grid-template-columns:repeat(2,1fr);
    }


    .footer-grid {
        grid-template-columns:repeat(2,1fr);
        row-gap: 40px;
    }


    .footer-logo {
        grid-column: 1 / -1;
    }
.cards {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }

}


/* Tablets */

@media (max-width:900px) {

    header {
        padding:20px 0;
    }

    .main-nav {
        position: relative;
    }

     nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

     #mainMenu {
        display: flex;
        position: fixed;
        top: 0;
        right: -300px;
        left: auto;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 100px 30px 30px;
        transition: right .35s ease;
        z-index: 1500;
        box-shadow: -4px 0 25px rgba(0,0,0,.35);
    }

    #mainMenu.open {
        right: 0;
    }

    #mainMenu li {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    #mainMenu li a {
        font-size: 17px;
    }

     .mobile-menu-btn {
        position: relative;
        z-index: 1600;
    }

     .menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        z-index: 1400;
    }

    .menu-overlay.open {
        display: block;
    }


    .hero {
        min-height:650px;
    }


    .hero h1 {
        font-size:30px;
    }


    .hero p {
        font-size:18px;
    }


    .search {
        margin-top:-40px;
    }


    .search-grid {
        grid-template-columns:1fr;
    }


    .property-meta {
        flex-direction:column;
        gap:8px;
    }


    .cta h2 {
        font-size:34px;
    }


    .footer-grid {
        grid-template-columns:1fr;
        row-gap: 20px;
        text-align:center;
        justify-items: center;
    }


    .footer-logo {
        grid-column: auto;
        justify-content: center;
    }

 
    .footer-links {
        display: none;
    }


    .footer-contact h3,
    .footer-email {
        display: none;
    }


    .footer-phone {
        font-size: 18px;
        font-weight: 600;
        color: var(--white);
        margin: 0;
    }


    footer h3 {
        margin-bottom: 14px;
    }


    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }


    .stat h2 {
        font-size: 42px;
    }


.profile-photo.profile-photo{

position:relative;

text-align:left;

margin-bottom:30px;

}

.profile-photo.profile-photo img{

width:220px;

height:220px;

}


    .profile-card.profile-card{
    display:block;
    padding:20px;
}

    .profile-details{
        min-width:0;
    }
	.profile-details.profile-details h2,
.profile-details.profile-details h3,
.profile-license.profile-license,
.profile-contact.profile-contact,
.profile-contact.profile-contact a{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
}
.profile-details.profile-details .btn{
    display:inline-block;
    max-width:100%;
}
.profile-details.profile-details h2{

font-size:32px;

}



 .profile-contact.profile-contact{
        flex-direction:column;
        gap:12px;
    }
	


}


/* mobile */

@media (max-width:768px) {


    section {
        padding:60px 0;
    }


    .container {
        width:94%;
    }


    .logo img {
        width:150px;
    }


    .hero-video {
        height: 600px;
    }

    .hero-video .hero-content {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 25px;
    }


    .btn {
        padding:13px 25px;
    }

   
.        .logo-slide {
        flex: 0 0 33.333%;
        height: 120px;
        padding: 12px;
    }
    .search {
        margin-top:-25px;
    }


    .search-grid {
        padding:20px;
    }


    .section-title {
        font-size:32px;
    }


    .card img {
        height:220px;
    }


    .agent img {
        width:140px;
        height:140px;
    }


  
.stats{
    padding:60px 0;
}

.stats-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.stat{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    padding:25px 15px;
	    box-shadow:0 8px 20px rgba(0,0,0,.15);

}


.stat h2{
    font-size:42px;
    margin-bottom:10px;
}

.stat p{
    font-size:15px;
    line-height:1.4;
}



    .feature-box {
        padding:30px 20px;
    }


    .cta {
        padding:80px 0;
    }


    .cta h2 {
        font-size:30px;
    }


    .cta p {
        font-size:17px;
    }


    footer {
        padding:40px 0 20px;
    }


    .footer-grid {
        gap:30px;
    }


    .footer-logo img {
        width: 150px;
    }


    .footer-bottom {
        margin-top: 30px;
    }


    .footer-bottom p {
        font-size: 12px;
    }
.why-grid{
    grid-template-columns:1fr !important;
}
	    .cards {
        grid-template-columns:1fr;
        justify-items:center;
    }

    .card {
        width:100%;
        max-width:400px;
    }
	 .listing-header {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 20px;
    }

    .listing-toggle {
        width: 100%;
    }

    .listing-toggle a {
        flex: 1;
    }
	    .address-header{
        flex-direction:column;
    }

    .address-photo{
        width:100%;
        max-width:320px;
    }
}





/* =========================================================
   EXTRA SMALL PHONES
========================================================= */

@media (max-width:380px) {


   .hero-video {
        height: 550px;
    }

    .hero-video .hero-content {
        padding-top: 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 17px;
    }

    .stat h2 {
        font-size:38px;
    }

}