*{
    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;
    background: url("/assets/background3.webp") center/cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.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;
}

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

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

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

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

    padding:10px 16px;
    max-width:700px;
    margin:0 auto 30px;

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

#propertySearchInput{
    width:100%;
    border:none;
    outline:none;

    font-size:1rem;
    font-weight:500;

    color:#333;
    background:transparent;
}

#propertySearchInput::placeholder{
    color:#aaa;
}

.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-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:170px;
    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.webp");

    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;

    width:fit-content;

    padding:16px 18px;

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

    color:#fff;
    text-decoration:none;

    animation: throb 2s ease-in-out infinite;
    transition:.3s;
}

.office-location:hover{
    animation:none;
    transform:scale(1.05);
    border-color:#d4af37;
}

.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:1;
}

.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%;
    }

    #propertySearchInput::placeholder{
        font-size:12px;
        color:#aaa;
    }

    .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;
    }

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

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

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

.properties{
    padding-top:15px;
}

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

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

    .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.webp");

    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:10px;

    padding:10px 16px; 

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(12px);

    color:#fff;
    text-decoration:none;

    animation: throb 2s ease-in-out infinite;
    transition:.3s;
}

.office-location:hover{
    animation:none;
    transform:scale(1.03);
}

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

    background:#d4af37;

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

    flex-shrink:0;
}

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

.location-text strong{
    font-size:.9rem;
    line-height:1.2;
}

.location-text p{
    font-size:.78rem;
    line-height:1.2;
    margin-top:2px;
}

.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;
}

.property-card img,
.property-image-placeholder{
    width:100%;
    height:115px !important;
    aspect-ratio:2 / 1;
    object-fit:cover;
}

.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;
}

.property-search{
        width:80%;       
        padding:8px 14px;  
        margin:0 auto 10px;
    }

    #propertySearchInput{
        font-size:16px;   
        line-height:1.2;
    }

}

.location-text{
    color:#fff;
}

.location-text strong{
    color:#fff;
}

.location-text p{
    color:rgba(255,255,255,.75);
}

@keyframes throb {
    0%{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212,175,55,.45);
    }

    50%{
        transform: scale(1.08);
        box-shadow: 0 0 0 18px rgba(212,175,55,0);
    }

    100%{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212,175,55,0);
    }
}

.property-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:10px;
}

.property-footer .deal{
    font-size:.8rem;
    font-weight:600;
    padding:4px 10px;
    border-radius:20px;
}

.property-footer .price{
    color:#d4af37;
    font-weight:500;
}

.property-footer .deal{
    background:#111;
    color:#fff;
}

.property-footer .deal{
    font-size:.8rem;
    font-weight:600;
    padding:4px 10px;
    border-radius:20px;
    background:#111;
    color:#fff;
}

.property-footer .deal.rent{
    background:#1e90ff;
    color:#fff;
}

.property-footer .deal.sale{
    background:#2ecc71;
    color:#fff;
}

/* Desktop */
.property-card img,
.property-image-placeholder{
    width:100%;
    height:190px;
    display:block;
    object-fit:cover;
}

.property-image-placeholder{
    background:#e9e9e9;
    position:relative;
}

.property-image-placeholder::before{
    content:"No Image Available";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:#777;
    font-size:.9rem;
    font-weight:500;
}

.property-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-location{
    color:#555;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #111;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    border-radius: 10px;
    font-family: Poppins, sans-serif;
}

.cookie-banner button {
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 500;
}

#acceptCookies {
    background: #2ecc71;
    color: white;
}

#declineCookies {
    background: #e74c3c;
    color: white;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {

    .cookie-banner {
        flex-direction: column;
        gap: 10px;
        padding: 14px 14px;
        font-size: 13px;
        line-height: 1.4;

        background: rgba(17, 17, 17, 0.92);
        backdrop-filter: blur(10px);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;

        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .cookie-banner p {
        margin: 0;
        opacity: 0.85;
    }

    .cookie-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .cookie-banner button {
        flex: 1;
        padding: 10px;
        font-size: 13px;

        border-radius: 10px;
        transition: 0.2s ease;
    }

    #acceptCookies {
        background: #22c55e;
    }

    #declineCookies {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .cookie-banner button:active {
        transform: scale(0.97);
    }
}

.section-doodles {
    position: relative;
    overflow: hidden;
}

.section-doodles::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/houseicon.webp");
    background-repeat: repeat;
    background-size: 60px;
    opacity: 0.04;
    transform: rotate(-10deg);
    pointer-events: none;
    z-index: 0;
}

.section-doodles > * {
    position: relative;
    z-index: 1;
}
