/* index.css */
         * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; background-color: #f8f9fa; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .navbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background: linear-gradient(135deg, #28a745 0%, #28a745 100%); box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: relative; z-index: 1000; }
        .nav-header { display: flex; align-items: center; }
        .nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
        .nav-brand img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
        .brand-text { color: white; font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; }
        .nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 10px; }
        .nav-links li { position: relative; }
        .nav-toggle { display: none; background: none; border: none; cursor: pointer; }
        .nav-toggle .hamburger-icon, .nav-toggle .close-icon { font-size: 2rem; color: white; }
        .nav-toggle .close-icon { display: none; }
        .dropdown { position: relative; display: inline-block; }
        .dropbtn { background-color: transparent; color: #ecf0f1; padding: 10px 15px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: color 0.3s ease; }
        .dropbtn:hover { color: #90ee90; }
        .dropdown-content { display: none; position: absolute; background-color: white; min-width: 180px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1001; border-radius: 4px; top: 100%; left: 0; }
        .dropdown-content a { color: #333; padding: 12px 16px; text-decoration: none; display: block; font-size: 13px; transition: background-color 0.3s ease; }
        .dropdown-content a:hover { background-color: #f1f1f1; color: #2d5016; }
        .dropdown:hover .dropdown-content { display: block; }

        .hero-section {
            position: relative;
            height: 90vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            padding: 60px 20px;
            color: white;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .hero-content {
            z-index: 2;
            max-width: 800px;
            width: 100%;
            animation: fadeInUp 1s ease-out;
        }

        .hero-title {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
        }

        .hero-subtitle {
            font-size: clamp(1rem, 3vw, 1.3rem);
            margin-bottom: 40px;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        /* Search Filter Form */
        .search-filter {
            position: relative;
            z-index: 2;
            max-width: 1100px;
            width: 100%;
            margin: 0 auto;
            padding: 20px 30px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .search-form {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            align-items: end;
        }

        .form-group {
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            color: #e4e9e5;
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 13px;
            text-align: left;
        }

        .form-group select,
        .form-group input {
            padding: 12px 15px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            font-size: 14px;
            background: transparent;
            color: #ffffff;
            transition: all 0.3s ease;
            width: 100%;
             text-align: center;
             text-align-last: center;
        }

        .form-group select:focus,
        .form-group input:focus {
            outline: none;
            border-color: #90ee90;
            background: rgba(255, 255, 255, 0.2);
        }

        .form-group select option {
            background: #2d5016;
            color: white;
        }

        .search-button-wrapper {
            grid-column: 1 / -1;
        }
        
        .search-button {
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .search-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
        }

        .section-title {
            font-size: clamp(2rem, 4vw, 2.5rem);
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            text-align: center;
        }

        .section-subtitle {
            font-size: clamp(1rem, 2vw, 1.2rem);
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
        }
        
        /* Footer */
        .footer-section {
            background: linear-gradient(135deg, #28a745 0%, #28a745 100%);
            color: #ecf0f1;
            padding: 40px 20px 20px;
            margin-top: 50px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-column h4 {
            color: white;
            margin-bottom: 15px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .footer-logo img {
            width: 50px;
            height: 50px;
            border-radius: 8px;
        }

        .footer-logo h4 {
            margin-bottom: 0;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #d4edda;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: #90ee90;
        }
        
        .footer-bottom {
            text-align: center;
            border-top: 1px solid #4a7c59;
            padding-top: 20px;
            font-size: 0.9rem;
            color: #d4edda;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* LATEST LISTINGS STYLES */
        .latest-listings-section {
            padding: 80px 20px;
            background-color: #ffffff;
        }

        .property-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .property-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .property-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }

        .card-link {
            text-decoration: none;
            color: inherit;
        }

        .card-image-container {
            position: relative;
            height: 220px;
        }

        .card-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .property-price {
            position: absolute;
            bottom: 15px;
            left: 15px;
            background: linear-gradient(135deg, #28a745, #20c997);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 1rem;
            font-weight: 700;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }

        .card-content {
            padding: 20px;
        }

        .card-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .card-location {
            font-size: 0.9rem;
            color: #7f8c8d;
            margin-bottom: 15px;
        }

        .card-location i {
            margin-right: 5px;
            color: #28a745;
        }

        .card-specs {
            display: flex;
            justify-content: space-between;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
            font-size: 0.85rem;
            color: #333;
        }

        .card-specs span {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .keywords-group {
            grid-column: span 2; /* Desktop span */
        }
        
        /* =========================================
         * RESPONSIVE DESIGN (FIXED)
         * =========================================
        */

        @media (max-width: 991.98px) {
            /* Navbar Fixes */
            .nav-toggle {
                display: block; /* Show hamburger button */
            }

            .nav-links {
                display: none; /* Hide links by default */
                flex-direction: column;
                position: absolute;
                top: 70px; /* Aligns below the nav-header */
                left: 0;
                width: 100%;
                background-color: white;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                padding: 10px 20px;
                z-index: 999;
                text-align: left;
            }

            .dropbtn {
                color: #333; /* Make links dark when on white background */
                padding: 10px 0; /* Adjust padding for vertical list */
                width: 100%;
                text-align: left;
            }
            
            .dropdown-content {
                position: static; /* Allows it to expand within the menu */
                background-color: #f8f9fa;
                box-shadow: none;
                border: none;
                padding-left: 15px;
                width: 100%;
            }
            
            .dropdown-content a {
                padding: 8px 0;
            }

            /* State when menu is open (toggled by JS) */
            .navbar.navbar-mobile-open .nav-links {
                display: flex; /* Show the vertical menu */
            }

            .navbar.navbar-mobile-open .hamburger-icon {
                display: none;
            }

            .navbar.navbar-mobile-open .close-icon {
                display: block;
            }
            
            /* Background and text appearance when menu is open */
            .navbar.navbar-mobile-open {
                background: white !important;
            }
            .navbar.navbar-mobile-open .brand-text {
                color: #28a745 !important;
            }
            .navbar.navbar-mobile-open .nav-toggle .hamburger-icon,
            .navbar.navbar-mobile-open .nav-toggle .close-icon {
                color: #333; /* Dark icon on white background */
            }
            
            /* Removed unused bootstrap-specific mobile classes */
        }
        
        @media (min-width: 769px) {
            .property-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .hero-section {
                height: auto;
                min-height: 100vh;
                padding: 80px 15px 40px;
            }

            .search-form {
                grid-template-columns: 1fr; /* Collapse search form to single column */
            }
            
            /* FIX: Override desktop span for the search form */
            .keywords-group {
                grid-column: span 1; 
            }
            
            .search-button-wrapper {
                margin-top: 10px;
                grid-column: 1 / -1;
            }
            
            .property-grid {
                grid-template-columns: 1fr; /* Single column for property cards on small screens */
            }
            
            .footer-content {
                grid-template-columns: 1fr; /* Stack footer columns */
                text-align: center;
            }

            .footer-logo {
                justify-content: center;
            }
        }
      
        @media (min-width: 576px) and (max-width: 768px) {
            .property-grid {
                grid-template-columns: repeat(2, 1fr); /* Two columns for slightly wider phones/tablets */
            }
        }

        /* ===== CONTACT PAGE FIX (NO BOOTSTRAP) ===== */

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.col-md-4 {
  flex: 1;
  min-width: 220px;
}

.text-center {
  text-align: center;
}

.lead {
  font-size: 1.1rem;
  color: #6c757d;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.text-muted {
  color: #6c757d;
}

/* Contact Icons */
.contact-icon {
  font-size: 3rem;
  color: #28a745;
  margin-bottom: 15px;
}

/* Mobile fix */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}
.social-icon-link {
    display: inline-block;
    color: white; /* Default dark grey color */
    margin-right: 15px;
    font-size: 2.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

