        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-green: #2d7a3e;
            --golden: #d4af37;
            --black: #1a1a1a;
            --white: #ffffff;
            --light-gray: #f5f5f5;
        }
a{text-decoration:none;}
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--black);
            line-height: 1.6;
            overflow-x: hidden;
            background: var(--white);
        }

        /* --- UPDATED: 50/50 Hero Section --- */
        .hero-carousel {
            margin-top: 70px;
            height: 75vh; /* A bit taller for 50/50 layout */
            position: relative;
            overflow: hidden;
            background: var(--black);
        }

        .carousel-container {
            display: flex;
            height: 100%;
            transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
            display: flex; /* This is the 50/50 split */
        }
        
        /* Image container */
        .slide-image-container {
            width: 50%;
            height: 100%;
            overflow: hidden;
        }
        
        .carousel-slide-bg {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.9);
        }
        
        /* Content container */
        .slide-content-container {
            width: 50%;
            height: 100%;
            background: linear-gradient(91deg, var(--black), #48f16d38);
            align-items: center
            color: var(--white);
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            padding: 4rem;
        }
.featured_propertypara{font-size: 1.5rem;font-weight: 700;color: #fff;padding: 10px 0;}
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    padding: 0 2rem;
    position: fixed;
    width: 100%;
    height: 70px;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 8%;
}
.testimonial-rating {
    display: inline-block;
    font-size: 20px;
}

.star-full {
    color: var(--golden);
}

.star-half {
    position: relative;
    display: inline-block;
    color: #ddd;
}

.star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--golden);
    width: 50%;
    overflow: hidden;
}
.logo img {
    width: 100%;
}

/* Desktop Menu --------------------- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #d4af37;
}

.header-contact {
    font-size: 1.1rem;
    font-weight: bold;
    color: #d4af37;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* MOBILE MENU BUTTON ---------------- */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
}

/* FULLSCREEN SLIDE MENU ------------- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 330px;
    height: 100vh;
    background: #111;
    padding: 2rem;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    transition: right 0.35s ease-in-out;
    z-index: 20000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    display: block;
}

.close-btn {
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

/* RESPONSIVE ------------------------ */
@media (max-width: 765px){

    .nav-links { display: none; }
    .header-contact { display: none; }
    .mobile-menu-btn { display: block; }
    header{padding: 5px 25px; height: 56px;}
    .logo img {height: 30px;width: auto;}
}
.slide-content {text-align: center;width: 450px;background: #ffffff33;backdrop-filter: blur(10px);padding: 20px;border-radius: 10px;box-shadow: 0px 0px 5px #ffffff4f;}

        .slide-content h1 {
            font-size: 2.3rem;
            margin-bottom: 1rem;
            color: var(--white);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            line-height: normal;
        }

        .slide-content .location {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            color: #eee;
        }
        
        .slide-content .price {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--golden);
            margin-bottom: 2rem;
        }

        .carousel-nav {
            position: absolute;
            bottom: 1.5rem;
            right: 2.5%; /* Positioned over the content side */
            transform: translateX(-50%);
            display: flex;
            gap: 1rem;
            z-index: 10;
        }
        .carousel-dot { width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; }
        .carousel-dot.active { background: var(--golden); width: 40px; border-radius: 8px; }
        .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: var(--white); border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: all 0.3s; z-index: 10; }
        .carousel-arrow:hover { background: var(--golden); color: var(--black); }
        .carousel-arrow.left { left: 2rem; }
        .carousel-arrow.right { right: 2rem; }
        /* --- End Hero Section --- */

        .btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--golden);
            color: var(--black);
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: all 0.3s;
            border: 2px solid var(--golden);
            cursor: pointer;
        }

        .btn:hover {
            background: transparent;
            color: var(--golden);
            border-color: var(--golden);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }
        
        .slide-content-container .btn:hover {
             color: var(--white);
             border-color: var(--white);
        }


        .category-section {
            padding: 2rem 2rem;
            background: var(--white);
        }

        .category-section h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 3rem;
            text-align: center;
        }

        .category-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

.category-card {
    height: 100%;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(1px);
}

.category-card:hover {
    border-color: #667eea;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.1);
    transform: translateY(-5px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}
.category-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    display: None;
}
.category-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #ffffff;
}
.category-card:hover .category-icon {
    transform: scale(1.15) rotate(5deg);
}
.bg-green {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}
.bg-purple {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
}
.bg-teal {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
}
.bg-blue {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

        .category-icon { font-size: 4rem; margin-bottom: 1rem; }
       .category-description {
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 500;
}
.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
}
.slider-dots{text-align: center;}
.category-count {
   font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #1e1e1e;
    width: 100px;
    padding: 5px;
    border-radius: 5px;
    color: #fff;
}

        /* LATEST PROPERTIES SLIDER - MOBILE OPTIMIZED */
.latest-properties {
    padding: 2rem 2rem;
    background: var(--light-gray);
}

.latest-properties h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
    text-align: center;
}

.slider-container { 
    position: relative; 
    overflow: hidden; 
    width: 100%; 
}

.slider-wrapper { 
    display: flex; 
    transition: transform 0.6s ease-in-out; 
    width: 100%; 
}

/* Desktop: 3 items per slide */
.slide { 
    flex: 0 0 100%; 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
}

.property-card { 
    width: 100%; 
    max-width: 350px; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #fff; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    transition: transform .3s; 
}

.property-card:hover { 
    transform: translateY(-5px); 
}

.card-image img { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
}

.card-info-content { 
    padding: 15px; 
    height: 205px;
    color: var(--black);
    overflow: hidden;
}

.property-price { 
    color: #b91c1c; 
    font-weight: 600; 
    margin: 5px 0; 
}

.property-location { 
    font-size: 14px; 
    color: #666; 
    margin: 5px 0; 
}

.property-details { 
    display: flex; 
    justify-content: space-between; 
    font-size: 14px; 
    color: #333; 
    margin-top: 8px; 
}

.slider-btn { 
    background: #b91c1c; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
    margin: 0 5px; 
}

.slider-btn:hover { 
    background: #900c0c; 
}

.slider-dots { 
    text-align: center; 
}

.dot { 
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active { 
    background: #b91c1c;
    width: 14px;
    border-radius: 5px;
}

/* MOBILE VIEW - ONE ITEM PER SLIDE */
@media (max-width: 768px) {
    .slider-wrapper {
        /* Each card becomes its own slide */
        display: flex;
    }
    
    .slide {
        /* On mobile, each slide shows only 1 card */
        flex: 0 0 100%;
        display: block;
        padding: 0 10px;
    }
    
    .property-card {
        /* Make card take full width on mobile */
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .slider-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* TABLET VIEW - TWO ITEMS PER SLIDE */
@media (min-width: 769px) and (max-width: 1024px) {
    .slide {
        gap: 15px;
    }
    
    .property-card {
        max-width: 300px;
    }
    
    /* Hide third card on tablet */
    .slide a:nth-child(3) {
        display: none;
    }
}

        .builder-partners { padding: 2rem 2rem; background: var(--white); }
        .builder-partners h2 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 3rem; text-align: center; }
        .partners-scroll { max-width: 1400px; margin: 0 auto; overflow: hidden; position: relative; padding: 10px 0;}
        .partners-track { display: flex; gap: 3rem; animation: scroll 30s linear infinite; }
        .partners-track:hover { animation-play-state: paused; }
        @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .partner-card { min-width: 170px; height: 130px; background: var(--white); border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0px 2px 0px rgb(0 0 0 / 12%); transition: all 0.3s; padding: 1rem; }
        .partner-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(45, 122, 62, 0.3); }
        .partner-card img {width: 100%;height: 100%;padding: 10px;}
        .about { padding: 2rem 2rem; max-width: 1200px; margin: 0 auto; }
        .about h2 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 2rem; text-align: center; }
        .about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;}
        .about-text p { margin-bottom: 1rem; font-size: 1.1rem; color: #333; }
        .about-features { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
        .feature-box { padding: 1.5rem; background: var(--light-gray); border-left: 4px solid var(--golden); border-radius: 5px; transition: all 0.3s; }
        .feature-box:hover { transform: translateX(10px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
        .feature-box h3 { color: var(--primary-green); margin-bottom: 0.5rem; }

        .testimonials {
            padding: 2rem 2rem;
            background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(https://images.unsplash.com/photo-1560518883-CE09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1973&q=80);
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }
        .testimonials h2 { font-size: 2.5rem; color: var(--golden); margin-bottom: 3rem; text-align: center; }
        .testimonials-container { max-width: 1200px; margin: 0 auto; position: relative; }
        .testimonials-wrapper { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 2rem; padding: 1rem; -ms-overflow-style: none; scrollbar-width: none; }
        .testimonials-wrapper::-webkit-scrollbar { display: none; }
        .testimonial-card { min-width: 350px; background: var(--white); padding: 2rem; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); scroll-snap-align: start; transition: all 0.3s; color: var(--black); }
        .testimonial-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
        .testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
        .testimonial-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-green), var(--golden)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; font-weight: bold; }
        .testimonial-info h4 { color: var(--primary-green); margin-bottom: 0.25rem; }
        .testimonial-info p { color: #666; font-size: 0.75rem; }
        .testimonial-rating { color: var(--golden); margin-bottom: 1rem; font-size: 1.2rem; }
        .testimonial-text { color: #555; font-style: italic; line-height: 1.8; }
        .testimonial-controls {display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;}
        .testimonial-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--golden); color: var(--black); border: none; cursor: pointer; font-size: 1.2rem; transition: all 0.3s; }
        .testimonial-btn:hover { background: var(--primary-green); color: var(--white); }
        /* TEAM SECTION */
#team {
    padding: 3rem 1.5rem;
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* CARD */
.team-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}

/* IMAGE */
.team-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

/* CONTENT */
.team-card .inner {
    padding: 1.3rem 1.5rem;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: #2d7a3e; /* primary green */
    font-weight: 700;
}

.team-card .position {
    color: var(--golden);
    font-weight: 600;
}

/* DESCRIPTION */
.team-card .inner div {
    line-height: 1.4;
}

/* SOCIAL ICONS */
.socials {
    margin-top: 15px;
}

.socials a {
    margin-right: 12px;
    font-size: 1.2rem;
    color: #2d7a3e;
    transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
    color: var(--golden);
    transform: scale(1.15);
}

/* VIEW PROFILE LINK */
.see-team a,
.team-card a {
    color: #2d7a3e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.team-card a:hover,
.see-team a:hover {
    color: var(--golden);
}
.team-card a{color: #d4af37;}
/* SEE TEAM BUTTON */
.see-team {
    text-align: center;
    margin-top: 2rem;
}

.see-team a {
    background: #2d7a3e;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s;
}

.see-team a:hover {
    background: var(--golden);
    color: #000;
    transform: translateY(-2px);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .team-card img {
        height: 220px;
    }
}


        .blog-section { padding: 2rem 2rem; background: var(--white); }
        .blog-section h2 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 3rem; text-align: center; }
        .blog-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

        /* --- UPDATED: 50/50 Card Design --- */
        
        .property-card, .team-card, .blog-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        
        .property-card:hover, .team-card:hover, .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        /* NEW: Common class for card image (top 50%) */
        .card-image {
            height: 220px; /* Fixed height for image part */
            position: relative;
            overflow: hidden;
        }
        
        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        
        .property-card:hover .card-image img, 
        .team-card:hover .card-image img, 
        .blog-card:hover .card-image img {
             transform: scale(1.1);
        }
        
        /* NEW: Common class for card info (bottom 50%) */
        .card-info-content {
    padding: 1rem;
    height: 205px;
    color: var(--black);
    overflow: hidden;
        }
        
        /* Property Card Specifics */
        .property-card h3 { color: var(--primary-green); margin-bottom: 0.5rem; }
        .property-price { color: var(--golden); font-size: 1.5rem; font-weight: bold; margin-bottom: 0.5rem; }
        .property-location { color: #666; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
        .property-details { display: flex; justify-content: space-between; border-top: 1px solid #eee; font-size: 0.9rem; color: #777; }
        .property-details span { display: flex; align-items: center; gap: 0.5rem; }
        
        .featured-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--golden);
            color: var(--black);
            padding: 0.3rem 0.8rem;
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 3;
        }

        /* Team Card Specifics */
        .team-card .card-info-content { text-align: center; }
        .team-card h3 { color: var(--primary-green); margin-bottom: 0.5rem; }
        .team-info .position { color: var(--golden); font-weight: bold; margin-bottom: 1rem; }
        .team-info p { color: #666; font-size: 0.9rem; }

        /* Blog Card Specifics */
        .blog-category {
            display: inline-block;
            background: var(--golden);
            color: var(--black);
            padding: 0.3rem 0.8rem;
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }
        .blog-card h3 { color: var(--primary-green); margin-bottom: 0.5rem; }
        .blog-info .excerpt { color: #666; font-size: 0.9rem; margin-bottom: 1rem; }
        .blog-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #999; border-top: 1px solid #eee; padding-top: 1rem; }
        
        /* --- End Card Design --- */


        /* --- UPDATED: Contact Section (Redesigned) --- */
        .contact { 
            background: var(--light-gray); 
            color: var(--black); 
            padding: 2rem 2rem; 
        }
        .contact-container { max-width: 1200px; margin: 0 auto; }
        .contact h2 { font-size: 2.5rem; color: var(--primary-green); margin-bottom: 3rem; text-align: center; }
        .contact-content { 
            display: grid; 
            grid-template-columns: 1fr 1fr; 
            gap: 3rem;
            background: var(--white);
            padding: 3rem;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .contact-info h3 {
            font-size: 1.8rem;
            color: var(--primary-green);
            margin-bottom: 1.5rem;
        }
        .contact-info p {
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 2rem;
        }
        
        .contact-info-list { 
            display: flex; 
            flex-direction: column; 
            gap: 1.5rem; 
            list-style: none;
        }
        .contact-item { display: flex; align-items: center; gap: 1rem; }
        .contact-item .icon { 
            color: var(--golden); 
            font-size: 1.5rem;
            width: 30px;
            text-align: center;
        }
        .contact-item-details h4 {
            color: var(--black);
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }
        .contact-item-details p {
            color: #666;
            margin: 0;
            font-size: 1rem;
        }
        
        .contact-form-container h3 {
             font-size: 1.8rem;
            color: var(--primary-green);
            margin-bottom: 1.5rem;
        }
        
        .contact-form input, 
        .contact-form textarea { 
            width: 100%; 
            padding: 1rem; 
            margin-bottom: 1rem; 
            border: 1px solid #ccc; 
            background: var(--light-gray); 
            color: var(--black); 
            border-radius: 5px; 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 1rem;
        }
        .contact-form input:focus, 
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--golden);
            background: var(--white);
        }
        
        .alert { padding: 1rem; margin-bottom: 1rem; border-radius: 5px; display: none; }
        .alert.success { background: #d4edda; color: #155724; display: block; }
        .alert.error { background: #f8d7da; color: #721c24; display: block; }

        /* --- UPDATED: Footer (Links Only) --- */
        footer {
            background: var(--black);
            color: var(--white);
            padding: 4rem 2rem 0;
        }
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid #444;
        }
        .footer-col h3 { color: var(--golden); margin-bottom: 1.5rem; font-size: 1.5rem; }
        .footer-col p { color: #ccc; margin-bottom: 1rem; max-width: 300px; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 0.8rem; }
        .footer-col ul a { color: #ccc; text-decoration: none; transition: all 0.3s; display: flex; align-items: center; gap: 0.8rem; }
        .footer-col ul a:hover { color: var(--golden); padding-left: 5px; }
        .footer-col ul a .icon { font-size: 0.8rem; } /* For icons in links */
        
        .footer-bottom-bar { padding: 1.5rem 0; text-align: center; }
        .footer-bottom-bar p { color: var(--golden); font-size: 0.9rem; }
        
        
        /* --- NEW: Modal (Popup Form) --- */
        .modal-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 2000;
            display: none; /* Hidden by default */
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .modal-backdrop.active {
            display: flex;
            opacity: 1;
        }
        
        .modal-content {
            background: var(--white);
            padding: 2.5rem;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        .modal-backdrop.active .modal-content {
            transform: scale(1);
        }
        
        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1.5rem;
            font-size: 2rem;
            color: #999;
            cursor: pointer;
            transition: color 0.3s;
        }
        .modal-close:hover {
            color: var(--black);
        }
        
        .modal-content h3 {
            font-size: 1.8rem;
            color: var(--primary-green);
            margin-bottom: 1.5rem;
            text-align: center;
        }
        /* Modal form uses the same .contact-form styles */
        
        .property-card-link {
    text-decoration: none;
    color: inherit;
}
.category-grid a {
    display: block;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.category-grid a:nth-child(1) {
    background-image: url('./assets/img/Residential.png');
}

.category-grid a:nth-child(2) {
    background-image: url('./assets/img/commercial.jpeg');
}

.category-grid a:nth-child(3) {
    background-image: url('./assets/img/international.jpeg');
}

.category-grid a:nth-child(4) {
    background-image: url('./assets/img/holidayhomes.jpeg');
}

/* SEARCH SECTION BELOW HERO */
.search-section {
    background: #ffffff;
    padding: 30px 20px;
    margin-top: -20px;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.search-form input,
.search-form select {
    padding: 11px 9px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.search-form input:focus,
.search-form select:focus {
    border-color: #2d7a3e;
}
.searchbtnbox{width:100%;display:flex;align-items:center;justify-content:center;}
.search-btn {
    width: 100%;
    background: #2d7a3e;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
}
.search-btn:hover{
    width: 100%;
    background: #2d7a3e;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
}
@media (max-width: 900px) {
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
    .search-form input, .search-form select {
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0px 0px 2px 2px #00000029;
}
}
@media (max-width: 768px) {
.hero-carousel { height: auto; margin-top: 55px;}
.carousel-arrow{width: 30px;height: 30px; font-size:14px;}
.carousel-container { padding-bottom: 40px;}
.carousel-arrow.left {left: 1rem;}
.carousel-arrow.right {right: 1rem;}
.slide-content {width: 90%;padding: 10px;margin-top: 10px;}
.feature-box h3{font-size:16px;}
.about-text p{font-size:15px}
.carousel-dot {width: 10px;height: 10px;}
.carousel-dot.active{width:20px;}
.category-section h2,.latest-properties h2,.testimonials h2,.about h2,.builder-partners h2,.slide-content .price,.blog-section h2,.contact h2,.contact-form-container h3{font-size: 25px;margin-bottom: 1.5rem;}
.btn{padding: .5rem 1rem;}
.about-content {gap: 1rem;}
.team-card img {object-fit: contain;}
.contact {padding: 0;}  
.contact h2 { margin-bottom: 0;}
.card-image {height: 180px;}
.blog-section .card-info-content {height: 260px;padding: 1rem 8px;}
.blog-info .excerpt {margin-bottom: 0.5rem;}
.blog-card h3 {font-size: 13px;}
.team-card .inner {text-align: center;}
.contact-info h3 {font-size: 18px;text-align: center;}
.contact-form input, .contact-form textarea {padding: 10px;margin-bottom: 14px;}
.about-content, .contact-content {grid-template-columns: 1fr;}
.slide {grid-template-columns: 1fr;     padding: 0;}
.category-grid { grid-template-columns: 1fr; }
.contact-content{padding: 0 2rem 2rem;}.contact-form-container{margin-top: 2rem;}
.testimonial-controls{position: absolute;top: 50%;width: 100%;display: flex;justify-content: space-between;margin: 0;}
.testimonial-btn{position: absolute;top: 50%;width: 30px;height: 30px;}
.testimonial-right{right: -1rem;}
.testimonial-left{left: -1rem;}
/* Mobile Hero */
.carousel-slide { flex-direction: column; }
.slide-image-container, .slide-content-container { width: 100%; }
.slide-image-container { height: 220px; }
.slide-content-container { padding: 0rem; }
.slide-content .location{margin-bottom: 0;}
.slide-content h1 { font-size: 22px; }
.slide-content .price { font-size: 2rem; margin-bottom: 1rem;}
.carousel-nav { bottom: 1rem; right: 50%; transform: translateX(50%); }
.testimonials { background-attachment: scroll; }
.testimonial-card { min-width: 320px; padding: 20px;}
.featured_property{position: absolute;top: 5px;left: 5px;}
.featured_propertypara {font-size: 9px;font-weight: 500;color: #fff;padding: 3px;background: red;border-radius: 3px;}
}
@media (max-width: 600px) {
    .search-form {
        grid-template-columns: 1fr;
    }
}
