*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    font-size:85%;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f8f8;
    color:#222;
    line-height:1.5;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#111;
    padding:16px 6%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
}

.logo{
    color:#d4af37;
    font-size:1.5rem;
    font-weight:700;
    letter-spacing:1px;
}

.navbar nav{
    display:flex;
    gap:30px;
}

.navbar nav a{
    color:#fff;
    font-size:1rem;
    transition:.3s;
}

.navbar nav a:hover{
    color:#d4af37;
}

.menu-toggle{
    display:none;
}

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slideshow,
.slideshow img,
.overlay{
    position:absolute;
    inset:0;
}

.slideshow img{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:1s ease;
}

.slideshow img.active{
    opacity:1;
}

.overlay{
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
}

.hero-content h1{
    font-size:3rem;
    margin-bottom:25px;
}

button{
    transition:.3s;
    cursor:pointer;
}

button:hover{
    transform:translateY(-2px);
}

section{
    padding:30px 6%;
}

.section-head{
    text-align:center;
    margin-bottom:35px;
}

.section-head h2{
    font-size:2.2rem;
    margin-bottom:10px;
}

.section-head p{
    color:#777;
}

.offers{
    background:#fff;
}

.offers-header{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
    margin-bottom:25px;
}

.offers-toggle{
    border:none;
    background:#d4af37;
    color:#131212;
    padding:10px 20px;
    border-radius:40px;
}

.offers-container{
    max-height:0;
    overflow:hidden;
    transition:max-height .8s ease;
}

.offers-container.active{
    max-height:900px;
}

.offers-grid{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scrollbar-width:none;
    touch-action: pan-x;
}

.offers-grid::-webkit-scrollbar{
    display:none;
}

.offer-card{
    flex: 0 0 240px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    opacity:0;
    transform:translateY(40px);
    transition:.8s;
}

.offer-card.show{
    opacity:1;
    transform:translateY(0);
}

.offer-card img{
    width:100%;
    height:375px;
    object-fit:cover;
}

.property-search{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    background:#fff;
    border-radius:50px;
    padding:6px;

    width:fit-content;
    max-width:900px;
    margin:0 auto 30px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    overflow-x:auto;
    scrollbar-width:none;
}

#properties .section-head{
    margin-bottom:18px;
}

.property-search::-webkit-scrollbar{
    display:none;
}

.property-search select{
    border:none;
    outline:none;

    min-width:120px;
    padding:10px 12px;

    background:transparent;
    color:#555;

    font-size:.9rem;
    font-weight:600;
    flex-shrink:0;
}

.property-search select:not(:last-of-type){
    border-right:1px solid #eee;
}

.property-search button{
    border:none;
    background:#d4af37;
    color:#111;

    padding:10px 18px;
    border-radius:30px;

    font-weight:600;
    white-space:nowrap;
    flex-shrink:0;
}

#propertyClearBtn{
    background:#111;
    color:#fff;
}

.property-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.property-card{
    background:#fff;
    color:#222;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.property-card:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.property-card img{
    width:100%;
    height:190px;
    object-fit:cover;
}

.property-info{
    padding:14px;
}

.property-info h3{
    margin-bottom:8px;
}

.property-info p{
    color:#777;
    margin-bottom:10px;
}

.property-info span{
    color:#d4af37;
    font-weight:600;
}

.property-card.hidden{
    display:none;
}

.view-more-btn{
    display:block;
    margin:30px auto 0;
    border:none;
    background:#d4af37;
    color:#111;
    padding:10px 20px;
    border-radius:35px;
    font-weight:600;
}

.view-more-btn:hover{
    background:#c19b2e;
}

.realtors-section{
    background:#fff;
}

.realtors-section .section-head {
    margin-bottom: 18px;
}

.realtors-section .section-head p {
    margin-bottom: 0;
}

.realtors-row{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.realtor-card{
    width:220px;
    background:#fff;
    border:1px solid #eee;
    padding:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
    transition:.3s;
}

.realtor-card:hover{
    transform:translateY(-5px);
}

.realtor-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 15px;
}

.realtor-card h3{
    margin-bottom:5px;
}

.realtor-card span{
    color:#d4af37;
    font-size:.9rem;
}

.featured{
    border:2px solid #d4af37;
}

#noResults{
    text-align:center;
    padding:30px;
}

.view-listings{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);

    padding:10px 18px;
    border:1px solid #d4af37;
    color:#fff;
    font-weight:600;
    letter-spacing:1px;

    display:inline-block;
    text-decoration:none;

    animation:pulse 1.6s infinite;
}

.view-listings:hover{
    background:#d4af37;
    color:#111;
    animation:none;
}

.contact-modern {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 520px;
    background: #fff;
    border-top: 1px solid #eee;
}

.contact-left {
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;

    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
        url("assets/background2.jpg");

    background-size: cover;
    background-position: center;
}

.location-content {
    max-width: 520px;
}

.contact-tag {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: 2px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 12px;
}

.location-content h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.location-content p {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 25px;
}

.office-location {
    display: flex;
    align-items: center;
    gap: 14px;

    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(8px);

    padding: 16px 18px;
    border-radius: 0;

    width: fit-content;
}

.location-icon {
    width: 44px;
    height: 44px;
    background: #d4af37;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon img {
    width: 22px;
    height: 22px;
}

.location-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

.location-text p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: .9rem;
}

.contact-right {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.contact-right h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #111;
}

.contact-actions-social {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;
    border-radius: 0;

    background: #f6f6f6;
    color: #111;

    font-weight: 600;
    font-size: .95rem;

    text-decoration: none;

    transition: .25s ease;
    min-width: 200px;
}

.action-btn:hover {
    transform: translateY(-3px);
    background: #eee;
}

.action-btn img {
    width: 20px;
    height: 20px;
}

.follow-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.follow-us h4 {
    font-size: .95rem;
    color: #444;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;

    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
    border-color: #d4af37;
}

.social-icons img {
    width: 18px;
    height: 18px;
}

.footer{
    background:#ffffff;
    color:#120d0d;
    text-align:center;
    padding:8px 10px;
    font-size:.85rem;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer p{
    margin:0;
}

.falling-images{
    position:absolute;
    right:0;
    top:0;
    height:100%;
    width:450px;
    pointer-events:none;
    z-index:3;
}

.falling-images img{
    position:absolute;
    right:20px;
    top:20px;
    width:280px;
    height:180px;
    object-fit:cover;
    opacity:0;
}

.hero-ready .falling-images img{
    animation:dropOnce 1.6s forwards;
}

.falling-images img:nth-child(1){ animation-delay:0s; }
.falling-images img:nth-child(2){ animation-delay:.3s; }
.falling-images img:nth-child(3){ animation-delay:.6s; }
.falling-images img:nth-child(4){ animation-delay:.9s; }
.falling-images img:nth-child(5){ animation-delay:1.2s; }
.falling-images img:nth-child(6){ animation-delay:1.5s; }


.falling-images img:nth-child(1){ --x:-100px; --y:82vh; --r:-8deg; }
.falling-images img:nth-child(2){ --x:-120px; --y:70vh; --r:7deg; }
.falling-images img:nth-child(3){ --x:-90px; --y:58vh; --r:-5deg; }
.falling-images img:nth-child(4){ --x:-130px; --y:46vh; --r:10deg; }
.falling-images img:nth-child(5){ --x:-100px; --y:34vh; --r:-12deg; }
.falling-images img:nth-child(6){ --x:-140px; --y:22vh; --r:5deg; }

@keyframes dropOnce{
    0%{
        transform:translate(120px,-150px) rotate(0deg);
        opacity:0;
    }

    40%{
        opacity:1;
    }

    100%{
        transform:translate(var(--x), var(--y)) rotate(var(--r));
        opacity:1;
    }
}

@keyframes pulse{
    0%{
        transform:translateX(-50%) scale(1);
        box-shadow:0 0 0 0 rgba(212,175,55,.5);
    }
    70%{
        transform:translateX(-50%) scale(1.05);
        box-shadow:0 0 0 12px rgba(212,175,55,0);
    }
    100%{
        transform:translateX(-50%) scale(1);
        box-shadow:0 0 0 0 rgba(212,175,55,0);
    }
}

@media (max-width:768px){

    .hero-content h1{
        transform:translateX(-50px);
    }

    .navbar{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        padding:16px 6%;
    }

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        width:40px;
        height:40px;
        position:absolute;
        right:15px;
        top:50%;
        transform:translateY(-50%);
        color:#dbe3e7;
        border-radius:8px;
        font-size:1.4rem;
        font-weight:700;
        cursor:pointer;
        z-index:1001;
    }

    .navbar nav{
        position:absolute;
        top:65px;
        right:15px;
        left:auto;
        width:180px;
        background:#111;
        border-radius:10px;
        box-shadow:0 10px 25px rgba(0,0,0,.3);
        flex-direction:column;
        gap:12px;
        display:none;
        padding:15px;
    }

    .navbar nav.active{
        display:flex;
    }

    .navbar nav a{
        color:#fff;
        padding:8px 10px;
        border-radius:6px;
    }

    .navbar nav a:hover{
        background:#222;
    }

    .offers{
    padding-top:15px;
    padding-bottom:5px;
    }

    .offers-header{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
        gap:10px;
    }

    .offers-header h2{
        font-size:1.3rem;
        margin-bottom:2px;
    }

    .offers-header p{
        font-size:.8rem;
    }

    .offers-toggle{
        padding:8px 14px;
        font-size:.8rem;
        flex-shrink:0;
    }

    .section-head{
    text-align:center;
    margin-bottom:35px;
}

.section-head h2{
    font-size:1.5rem;
    margin-bottom:2px;
}

#properties .section-head{
        margin-bottom:9px;
    }

   .property-search{
    width:95%;
    margin:0 auto 15px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:4px;
    padding:6px 8px;

    border-radius:50px;
    overflow:visible;
}

.property-search select{
    flex:1 1 auto;
    min-width:0;

    padding:6px 8px;
    font-size:.7rem;

    border-right:1px solid #eee;
}

.property-search button{
    flex:0 0 auto;

    padding:6px 10px;
    font-size:.7rem;

    white-space:nowrap;
}

.property-search select:last-of-type{
    border-right:none;
}

.properties{
    padding-top:15px;
}

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

    .property-card{
    display:flex;
    flex-direction:column;
    height:100%;
    }

    .property-card img{
    width:100%;
    height:auto;
    aspect-ratio: 16 / 10;
    object-fit:cover;
    }

    .property-info{
    padding:8px;
}

.property-info h3{
    font-size:.9rem;
    line-height:1.2;
    margin-bottom:4px;
}

.property-info p{
    font-size:.8rem;
    margin-bottom:4px;
}

.property-info span{
    font-size:.85rem;
}

    .realtors-row{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:20px;
    padding:5px 6%; /* reduced from 10px */
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    justify-content:flex-start;
}

.realtors-row::-webkit-scrollbar{
    display:none;
}

.realtor-card{
    width:220px;
    flex:0 0 auto;
    scroll-snap-align:center;

    padding:12px; /* reduced from desktop 20px */
    transform:none;
    opacity:1;
}

.realtor-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin:0 auto 12px;
}

.realtor-card h3{
    font-size:.9rem;
    line-height:1.2;
    margin-bottom:4px;
}

.realtor-card span{
    font-size:.8rem;
}

.realtor-card:hover{
    transform:translateY(-5px);
}

.realtors-section .section-head{
    margin-bottom:9px;
}

.realtors-section .section-head h2{
    margin-bottom:2px;
}

.realtors-section .section-head p{
    margin-bottom:0;
}

    .falling-images{
        width:220px;
    }

    .falling-images img{
        right:-90px;
        width:140px;
        height:90px;
    }

    .falling-images img:nth-child(1){
        --x:-50px;
        --y:78vh;
        --r:-8deg;
    }

    .falling-images img:nth-child(2){
        --x:-60px;
        --y:66vh;
        --r:7deg;
    }

    .falling-images img:nth-child(3){
        --x:-45px;
        --y:54vh;
        --r:-5deg;
    }

    .falling-images img:nth-child(4){
        --x:-65px;
        --y:42vh;
        --r:10deg;
    }

    .falling-images img:nth-child(5){
        --x:-50px;
        --y:30vh;
        --r:-12deg;
    }

    .falling-images img:nth-child(6){
        --x:-70px;
        --y:18vh;
        --r:5deg;
    }

    @keyframes dropOnce{
        0%{
            transform:translate(60px,-100px) rotate(0deg);
            opacity:0;
        }

        40%{
            opacity:1;
        }

        100%{
            transform:translate(var(--x), var(--y)) rotate(var(--r));
            opacity:1;
        }
    }

.contact-modern{
    display:flex;
    flex-direction:column;
    min-height:auto;
    background:#fff;
    overflow:hidden;
}

.contact-left{
    padding:35px 22px 80px;
    min-height:280px;
    position:relative;

    background:
    linear-gradient(
        135deg,
        rgba(0,0,0,.75),
        rgba(0,0,0,.45)
    ),
    url("assets/background2.jpg");

    background-size:cover;
    background-position:center;
}


.contact-left::after{
    content:"";
    position:absolute;
    left:-30%;
    bottom:-80px;

    width:160%;
    height:160px;

    background:#fff;

    border-radius:50%;
}

.location-content{
    position:relative;
    z-index:2;
    max-width:100%;
}

.contact-tag{
    display:inline-block;

    padding:7px 14px;

    background:rgba(212,175,55,.18);
    border:1px solid rgba(212,175,55,.4);

    color:#d4af37;

    font-size:.72rem;
    font-weight:700;

    letter-spacing:2px;

    border-radius:50px;

    margin-bottom:14px;
}

.location-content h2{
    font-size:2rem;
    line-height:1.15;
    margin-bottom:12px;
}

.location-content p{
    font-size:.95rem;
    line-height:1.6;
    color:rgba(255,255,255,.85);
    margin-bottom:18px;
}

.office-location{
    width:100%;

    display:flex;
    align-items:center;
    gap:14px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(12px);

    padding:16px;

    border-radius:0;
}

.location-icon{
    width:52px;
    height:52px;

    background:#d4af37;

    box-shadow:
    0 10px 25px rgba(212,175,55,.4);

    flex-shrink:0;
}

.location-icon img{
    width:22px;
    height:22px;
}

.location-text strong{
    font-size:.95rem;
}

.location-text p{
    margin:2px 0 0;
    font-size:.82rem;
}

.contact-right{
    position:relative;
    margin-top:-70px;
    z-index:5;

    padding:0 18px 2px;
    background:transparent;
}

.contact-right h3{
    font-size:1.1rem;
    text-align:center;
    margin-bottom:14px;
}

.contact-actions-social{
    width:75%;
    margin:0 auto;

    flex-direction:column;
    gap:16px;

    background:#fff;

    padding:16px;

    border-radius:0;

    box-shadow:
    0 15px 45px rgba(0,0,0,.08);
}

.contact-actions{
    width:100%;
    gap:12px;
}

.action-btn{
    width:100%;

    min-width:unset;

    padding:12px 14px;

    border-radius:14px;

    font-size:.82rem;
    font-weight:600;

    background:#f8f8f8;

    border:1px solid #eee;

    transition:.3s;
}

.action-btn img{
    width:20px;
    height:20px;
}

.action-btn:hover{
    transform:translateY(-4px);
}

.whatsapp{
    background:#25D36612;
    border-color:#25D36633;
}

.phone{
    background:#11111108;
}

.email{
    background:#d4af3712;
    border-color:#d4af3735;
}

.follow-us{
    width:100%;
    align-items:center;

    padding-top:8px;

    border-top:1px solid #eee;
}

.follow-us h4{
    font-size:.85rem;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#777;
}

.social-icons{
    gap:14px;
}

.social-icons a{
    width:44px;
    height:44px;

    border:none;

    border-radius:50%;

    background:#fff;

    box-shadow:
    0 8px 20px rgba(0,0,0,.08);
}

.social-icons a:hover{
    transform:translateY(-5px) scale(1.05);
    border:none;
}

.social-icons img{
    width:18px;
    height:18px;
}

.contact-actions-social::before{
    content:"";
    position:absolute;

    top:15px;
    right:20px;

    width:70px;
    height:70px;

    background:
    radial-gradient(
        circle,
        rgba(212,175,55,.25),
        transparent 70%
    );

    pointer-events:none;
}

}