:root{
    --bg:#173F2A;
    --section:#1D4C33;
    --section-alt:#25583B;
    --green:#1F5E37;
    --green-light:#2E6A46;
    --gold:#D8C78C;
    --text:#F5F5F5;
}

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

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

body{
    font-family:'Poppins',sans-serif;
    background:#F8F7F2;
    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:#1f5e37ed;
    padding:16px 6%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
}

.logo-wrapper{
    display:flex;
    flex-direction:column;
    color:#fff;
}

.logo-top{
    display:flex;
    align-items:center;
    gap:8px;
    height:30px;
}

.logo-text{
    font-size:1.5rem;
    font-weight:700;
    letter-spacing:1px;
    line-height:1;
}

.logo-top img{
    width:80px;
    height:80px;
    object-fit:contain;
    order:-1;
    margin-top:15px;
}

.logo-subtitle{
    font-size:.75rem;
    font-weight:500;
    letter-spacing:1.1px;
    text-transform:uppercase;
    text-decoration:underline;
    color:#ffffff;
    margin-left:88px;
    margin-top:-2px;
}

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

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

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

.menu-toggle{
    display:none;
}

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

    background:
    linear-gradient(rgba(8,15,23,.55),rgba(8,15,23,.65)),
    url("/assets/background3.webp") center center/cover no-repeat;

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

.overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        135deg,
        rgba(0,0,0,.55),
        rgba(18,33,53,.45)
    );

    z-index:1;
}

.hero-content{
    position:absolute;
    inset:0;
    z-index:2;

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

    text-align:center;
    color:#fff;

    padding:20px;
}

.hero-content h1{
    font-size:clamp(2.5rem,6vw,4.8rem);
    font-weight:700;
    line-height:1.15;
    margin-bottom:25px;
}

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

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

section{
    padding:40px 6%;
    position:relative;
}

section::after{
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:1px;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(31,94,55,.15),
        transparent
    );
}

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

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

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

.properties{
    background:
    radial-gradient(circle at top left,
    rgba(216,199,140,.08),
    transparent 45%),
    linear-gradient(
    180deg,
    #25583B,
    #1C4B32);
}

#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;

    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:#F1F6EF;
    border:1px solid #D7E2D3;
    color:#222;
    overflow:hidden;
    transition:.3s;
    border-radius: 10px;
    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:#1F5E37;
    font-weight:600;
}

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

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

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

.realtors-section{
    background:
    radial-gradient(circle at top left,
    rgba(216,199,140,.08),
    transparent 45%),
    linear-gradient(
    180deg,
    #25583B,
    #1C4B32);
}

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

.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:#1F5E37;
    font-size:.9rem;
}

.featured{
    border:2px solid #1F5E37;
}

.realtors-section{
    padding-top:35px;
    padding-bottom:35px;
}

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

.realtors-section .section-head p{
    max-width:500px;
    margin:auto;
}

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

.realtor-card{

    width:280px;
    background:white;

    padding:25px 20px;

    text-align:center;

    box-shadow:
    0 10px 30px rgba(0,0,0,.12);

    transition:.35s;

    position:relative;

    overflow:hidden;
}

.realtor-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:#D8C78C;

}

.realtor-card:hover{

    transform:translateY(-10px);

}

.realtor-image{

    width:120px;
    height:120px;

    margin:0 auto 15px;

    padding:5px;

    border-radius:50%;

    background:
    linear-gradient(
    135deg,
    #D8C78C,
    #1F5E37
    );

}



.realtor-image img{

    width:100%;
    height:100%;

    border-radius:50%;

    object-fit:cover;

}



.realtor-card h3{

    font-size:1.25rem;

    margin-bottom:5px;

}



.realtor-card .role{

    display:inline-block;

    color:#1F5E37;

    font-weight:600;

    font-size:.85rem;

    margin-bottom:12px;

}


.featured{

    border:2px solid #1F5E37;

}


.featured::before{

    background:#1F5E37;

}

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

.contact-section{
    background:linear-gradient(
        180deg,
        #173F2A,
        #1D4C33
    );
}

.contact-header{
    text-align:center;
    max-width:650px;
    margin:0 auto 35px;
}

.contact-badge{
    display:inline-block;
    padding:5px 14px;
    background:#e8f4e7;
    color:#1F5E37;
    font-size:.72rem;
    font-weight:600;
    letter-spacing:1px;
    margin-bottom:12px;
}

.contact-header h2{
    font-size:2.2rem;
    margin-bottom:-8px;
    color:#1F5E37;
    line-height:1.2;
}

.contact-header p{
    color:#666;
    font-size:.95rem;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    max-width:1050px;
    margin:auto;
}

.contact-left{
    display:grid;
    gap:12px;
}

.contact-box{
    background:#fff;
    padding:16px 18px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.contact-box h3{
    margin-bottom:6px;
    font-size:1rem;
    color:#1F5E37;
}

.contact-box p,
.contact-box strong{
    font-size:.9rem;
}

.contact-link{
    display:inline-block;
    margin-top:6px;
    color:#8B4A2B;
    font-size:.9rem;
    font-weight:600;
}

.contact-right{
    background:#fff;
    padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
}

.contact-right h3{
    font-size:1.5rem;
    margin-bottom:18px;
    color:#1F5E37;
}

.why-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.why-card{
    background:#F8FBF6;
    padding:14px;
    border:1px solid #E5EEE2;
}

.why-card h4{
    font-size:.95rem;
    margin-bottom:5px;
    color:#1F5E37;
}

.why-card p{
    font-size:.85rem;
    color:#666;
}

.cta-buttons{
    display:flex;
    gap:10px;
    margin-top:18px;
}

.call-btn,
.whatsapp-btn{
    flex:1;
    padding:10px;
    border-radius:50px;
    text-align:center;
    font-size:.9rem;
    font-weight:600;
    color:#fff;
}

.call-btn{
    background:#1F5E37;
}

.whatsapp-btn{
    background:#25D366;
}

.call-btn:hover,
.whatsapp-btn:hover{
    transform:translateY(-2px);
}

.view-listings{
    position:absolute;
    bottom:170px;
    left:50%;
    transform:translateX(-50%);
    padding:15px 28px;
    border:1px solid #8B4A2B;
    color:#fff;
    display:inline-block;
}

.view-listings::before,
.view-listings::after{
    content:"";
    position:absolute;
    inset:0;
    border:2px solid #8B4A2B;
    border-radius:4px;
    opacity:0;
    pointer-events:none;
}

.view-listings::before{
    animation:ripple 2.5s infinite;
}

.view-listings::after{
    animation:ripple 2.5s infinite 1.25s;
}

@keyframes ripple{
    0%{
        transform:scale(1);
        opacity:.7;
    }
    100%{
        transform:scale(1.9);
        opacity:0;
    }
}

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

.footer p{
    margin:0;
}


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

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

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

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

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

.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:#1F5E37;
    color: white;
}

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

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


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

.property-title{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.footer-credit{
    display:block;
    margin-top:4px;
    font-size:.85rem;
    color:#D8C78C;
    text-decoration:none;
    transition:.3s;
}

.footer-credit:hover{
    color:#1F5E37;
}

.section-head h2,
.contact-header h2{
    color:#fff;
}

.section-head p,
.contact-header p{
    color:rgba(255,255,255,.75);
}

@media (max-width:768px){

    .navbar{
        position:fixed;
        top:0;
        left:0;
        width:100%;
        padding:10px 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:#8B4A2B;
        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;
}

.realtors-row{

    flex-wrap:nowrap;

    overflow-x:auto;

    justify-content:flex-start;

    padding:10px 5%;

    scroll-snap-type:x mandatory;

}


.realtor-card{

    flex:0 0 280px;

    scroll-snap-align:center;

}


.realtors-section .section-head h2{

    font-size:1.8rem;

}

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

.contact-section{
        padding:35px 6%;
    }

    .contact-wrapper{
        grid-template-columns:1fr;
        gap:15px;
    }

    .contact-left{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .contact-box{
        width:100%;
        padding:12px;
    }

    .contact-box:last-child{
        grid-column:1 / -1;
    }

    .contact-box h3{
        font-size:.9rem;
    }

    .contact-box p,
    .contact-box strong,
    .contact-link{
        font-size:.8rem;
    }

    .contact-box a{
        display:inline-block;
    }

.contact-header{
    margin-bottom:25px;
}

.contact-header h2{
    font-size:1.8rem;
}

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

.cta-buttons{
    flex-direction:row;
    gap:10px;
}

.call-btn,
.whatsapp-btn{
    width:50%;
}

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

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

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

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

    #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);
    }

.property-info{
    padding:6px 8px 5px;
}

.property-info h3{
    font-size:.85rem;
    margin-bottom:2px;
    line-height:1.1;
}

.property-info p{
    font-size:.75rem;
    margin-bottom:2px;
    line-height:1.2;
}

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

.property-footer{
    margin-top:4px;
}

.property-footer .price{
    font-size:.8rem;
}

.property-footer .deal{
    font-size:.7rem;
    padding:3px 8px;
}
}