/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* Header & Container */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: 1px;
}

.logo a span {
    color: #e74c3c; /* Accent color for real estate */
}

/* Navigation Styles */
.nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-list li a {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: #e74c3c;
}


/* --- New Contact Button Styles --- */

/* Base button styling for desktop */
.nav-list li .btn-contact {
    background-color: #f39c12; /* Vibrant orange */
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.nav-list li .btn-contact:hover {
    background-color: #e67e22; /* Slightly darker orange on hover */
    color: #ffffff; /* Keeps text white, overriding the default nav link hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* --- Mobile Adjustments for the Button --- */
@media screen and (max-width: 768px) {
    .nav-list li .btn-contact {
        /* Makes the button span the full width of the mobile menu */
        display: block;
        margin: 1rem; 
        text-align: center;
        background-color: #f39c12;
    }
    
    .nav-list li .btn-contact:hover {
        transform: none; /* Disable lift effect on mobile tap */
    }
}
/* Mobile Toggle Button (Hidden on Desktop) */
.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #2c3e50;
    cursor: pointer;
}

/* Responsive Design for Mobile/Tablets */
@media screen and (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .main-nav {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block; /* Shown when toggled */
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        text-align: center;
        border-top: 1px solid #f1f1f1;
    }

    .nav-list li a {
        display: block;
        padding: 1rem;
    }
}


/* --- Hero Slider Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Adjust height as needed */
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider Container & Slides */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Dark Overlay */
.hero-overlay {
        position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 43%);
    z-index: 2;
    backdrop-filter: blur(0px);
}

.hero-overlay2 {    position: absolute;
    width: 400px;
    height: 400px;
    z-index: 2;
    background: #ff9c0087;
    scale: 2;
    transform: rotate3d(0, 1, 1, 59deg);
    left: -100px;
    top: 77px;
    border: 20px solid #0000005e;}
	
	@media screen and (max-width:700px){
		.hero-overlay2 {
 
    left: -300px;
}
	}

/* Hero Text Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
      font-size: 60px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #2c3e50;
}

.btn-solid {
    background-color: #f39c12; /* Orange color */
    color: #ffffff;
    border: 2px solid #f39c12;
}

.btn-solid:hover {
    background-color: #e67e22;
    border-color: #e67e22;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 4;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #f39c12; /* Active dot is orange */
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .hero-content h1 {
            font-size: 40px;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .slider-arrow {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
}

/* --- Director Section --- */
.director-section {
    padding: 5rem 2rem;
    background-color: #ffffff;
}

.director-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Image Styling */
.director-image {
    flex: 1;
    max-width: 450px;
}

.director-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Content Styling */
.director-content {
    flex: 1;
}

.subtitle {
    color: #f39c12; /* Matches your orange theme */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.director-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.designation {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Vision Box */
.vision-box {
    background-color: #f8f9fa;
    padding: 2rem;
    border-left: 4px solid #f39c12;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2.5rem;
}

.vision-box h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.vision-box p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Contact Links */
.director-contact h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Style for the Font Awesome icons inside contact buttons */
.contact-item i {
    margin-right: 10px; /* Adds space between the icon and the text */
    font-size: 1.2rem;  /* Makes the icon slightly larger */
    vertical-align: middle; /* Ensures the icon aligns perfectly with the text */
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Brand Colors for Buttons */
.phone { background-color: #3498db; }
.whatsapp { background-color: #25D366; }
.email { background-color: #e74c3c; }

/* Responsive Design for Mobile */
@media screen and (max-width: 900px) {
    .director-container {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .director-image {
        max-width: 80%; /* Shrinks image slightly on tablets/mobile */
        margin: 0 auto;
    }

    .vision-box {
        text-align: left; /* Keeps the paragraph easily readable */
    }

    .contact-links {
        justify-content: center;
    }
}


/* --- Certificate & Partnership Section --- */
.certificate-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa; /* Matches the site's light grey background */
}

.certificate-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #f1f1f1;
}

/* Image Column */
.certificate-image-col {
    flex: 1;
    background-color: #f4f7f6;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Makes the image look like a physical document */
.image-frame {
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 8px solid #ffffff; /* White border acting as a frame */
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-frame img {
    display: block;
    max-width: 100%;
    height: auto;
}

.image-frame:hover {
    transform: translateY(-5px);
}

/* Little magnifying glass icon on the image */
.zoom-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: #f39c12;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.4);
    pointer-events: none;
}

/* Text Column */
.certificate-text-col {
    flex: 1.2;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.official-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: rgba(243, 156, 18, 0.1);
    color: #e67e22;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.official-badge i {
    margin-right: 5px;
    font-size: 1rem;
}

.certificate-text-col h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.letter-body p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.letter-body strong {
    color: #2c3e50;
}

.wishes {
    font-style: italic;
    color: #7f8c8d !important;
}

/* Formal Sign-off Styling */
.sign-off {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.sign-off .regards {
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

.sign-off .name {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
    font-family: 'Georgia', serif; /* Gives the name a slightly formal, signature-like feel */
}

.sign-off .team {
    color: #f39c12;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Responsiveness */
@media screen and (max-width: 900px) {
    .certificate-card {
        flex-direction: column;
    }
    
    .certificate-image-col {
        padding: 2rem;
    }
    
    .certificate-text-col {
        padding: 2.5rem 1.5rem;
    }
    
    .certificate-text-col h2 {
        font-size: 1.8rem;
    }
}

/* --- Gallery Section Base --- */
.gallery-section {
    padding: 6rem 2rem;
    background-color: #f4f7f6; /* Very soft, premium grey background */
}

.gallery-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.gallery-header h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gallery-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

/* --- Gallery Grid Layout --- */
.gallery-grid {
    display: grid;
    /* Automatically creates a 3-column grid on desktop, 1-column on mobile */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem; /* Nice, wide spacing between cards */
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Individual Property Card --- */
.gallery-item {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft, elegant shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-item:hover {
    transform: translateY(-10px); /* Lifts up smoothly */
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); /* Deepens shadow on hover */
}

/* --- Image & Overlay Area --- */
.image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3; /* Keeps all images perfectly uniform */
    overflow: hidden;
    cursor: pointer;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Very smooth zoom */
}

.image-wrapper .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44, 62, 80, 0.6); /* Brand color tint */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper .overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f39c12; /* Orange accent */
}

.gallery-item:hover .image-wrapper img {
    transform: scale(1.12); /* Zoom effect */
}

.gallery-item:hover .image-wrapper .overlay {
    opacity: 1; /* Fade in overlay */
}

/* --- Property Category Badges --- */
.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Different Colors for Different Property Types */
.property-badge.sale { background-color: #e74c3c; } /* Red */
.property-badge.rent { background-color: #3498db; } /* Blue */
.property-badge.commercial { background-color: #9b59b6; } /* Purple */
.property-badge.farm { background-color: #27ae60; } /* Green */
.property-badge.plot { background-color: #f39c12; } /* Orange */

/* --- Card Text Area --- */
.property-info {
    padding: 1.8rem;
    flex-grow: 1; /* Ensures buttons/text align nicely if descriptions vary in length */
    border-top: 1px solid #f1f1f1;
}

.property-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.property-info p {
    font-size: 0.95rem;
    color: #6c7a89;
    line-height: 1.6;
    margin: 0;
}

/* --- Lightbox System --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(15, 20, 25, 0.95); /* Very dark, rich background */
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    animation: zoomLightbox 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes zoomLightbox {
    from { transform: scale(0.9); opacity: 0; } 
    to { transform: scale(1); opacity: 1; }
}

.close-lightbox {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #ecf0f1;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: #e74c3c;
}

.size-highlight {
    background: rgba(243, 156, 18, 0.08); /* Very light orange tint */
    border-left: 4px solid #f39c12; /* Brand orange left border */
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.size-highlight i {
    color: #f39c12;
    font-size: 2.5rem;
}

.size-highlight h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 0 0 5px 0;
}

.size-highlight p {
    color: #7f8c8d;
    margin: 0;
    font-size: 1rem;
}

/* Text Area inside the card */
.property-info {
    padding: 1.5rem;
    text-align: left;
}

.property-info h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.property-info p {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0;
}


/* --- Footer Section --- */
.main-footer {
    background-color: #2c3e50; /* Dark slate background */
    color: #ecf0f1;
    padding-top: 4rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    /* This automatically creates a responsive grid layout */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Headings */
.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 800;
}

.footer-col h3 span {
    color: #f39c12; /* Orange accent */
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #f39c12;
    position: relative;
    padding-bottom: 10px;
}

/* Little orange underline beneath column titles */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #f39c12;
}

.footer-col p {
    line-height: 1.6;
    color: #bdc3c7;
    font-size: 0.95rem;
}

/* Lists and Contact Info */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
    color: #bdc3c7;
    display: flex;
    align-items: center;
}

.footer-col ul li i {
    margin-right: 15px;
    color: #f39c12;
    font-size: 1.2rem;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f39c12; /* Links turn orange on hover */
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white circle */
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: #f39c12;
    transform: translateY(-3px); /* Lifts the icon slightly on hover */
}

/* Bottom Copyright Bar */
.footer-bottom {
    background-color: #1a252f; /* Slightly darker shade than the main footer */
    text-align: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .footer-container {
        gap: 2rem;
    }
}



.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}



/* Property Features List */
.property-features {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.property-features li {
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.property-features li i {
    color: #f39c12;
}

/* Utility class to push the button down slightly */
.mt-3 {
    margin-top: 1rem;
    display: inline-block;
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 900px) {
    .farm-row, .farm-row.reverse {
        flex-direction: column; /* Stacks image on top of text */
        gap: 0;
    }
    
    .farm-image {
        min-height: 250px;
        width: 100%;
    }
    
    .farm-details {
        padding: 2rem 1.5rem;
    }
}

/* --- Page Header (Used for inner pages like Contact, About, etc.) --- */
.page-header {
    background-color: #2c3e50;
    color: white;
    padding: 6rem 2rem 4rem 2rem;
    text-align: center;
    /* Optional: Add a dark background image here later */
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('images/contact-bg.jpg'); 
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #f39c12;
}

.page-header p {
    font-size: 1.2rem;
    color: #ecf0f1;
}

/* --- Contact Section Layout --- */
.contact-page-section {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info takes 40%, Form takes 60% */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Left Side: Info Box --- */
.contact-info-box h2, .contact-form-box h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info-box p {
    color: #6c7a89;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-list li i {
    font-size: 1.5rem;
    color: #f39c12;
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-right: 1.2rem;
}

.info-list li strong {
    display: block;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-list li span, .info-list li a {
    color: #6c7a89;
    text-decoration: none;
}

.info-list li a:hover {
    color: #f39c12;
}

/* Socials inside Contact */
.contact-socials h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.whatsapp-icon {
    background-color: #25D366 !important; /* WhatsApp Green override */
    color: white !important;
}

/* --- Right Side: Form Styling --- */
.contact-form-box {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: #2c3e50;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.w-100 {
    width: 100%;
    cursor: pointer;
}

/* --- Map Section --- */
.map-section {
    width: 100%;
    line-height: 0; /* Removes default space under iframes */
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stacks the info and form on top of each other */
        gap: 3rem;
    }
    
    .input-row {
        grid-template-columns: 1fr; /* Stacks the name and phone fields */
        gap: 0;
    }
    
    .contact-form-box {
        padding: 2rem;
    }
}

/* --- Contact Page Social Icons --- */
.social-icons-contact {
    display: flex;
    gap: 15px; /* Space between the icons */
    margin-top: 1rem;
}

.social-icons-contact a {
        display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f39c12;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* General Hover Effect */
.social-icons-contact a:hover {
    background-color: #f39c12; /* Brand orange color */
    color: #ffffff;
    transform: translateY(-4px); /* Slight lift effect */
    box-shadow: 0 8px 15px rgba(243, 156, 18, 0.3); /* Orange shadow glow */
}



/* --- Partners Section --- */
.partner-section {
    padding: 5rem 0; /* Padding top and bottom, 0 on sides so marquee hits the edge */
    background-color: #ffffff;
    overflow: hidden; /* Crucial to hide logos when they slide off-screen */
    border-top: 1px solid #f1f1f1;
}

.partner-section .section-header {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Marquee Wrapper & Track --- */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

/* Optional: Faded edges for a premium look */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    /* 25s controls the speed. Lower = faster, Higher = slower */
    animation: scrollLogos 25s linear infinite; 
}

/* Pause the animation when hovered! */
.marquee-track:hover {
    animation-play-state: paused;
}

/* --- Individual Partner Item --- */
.partner-item {
      display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 4rem;
    color: #95a5a6;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    width: 300px;
    height: 200px;}
.partner-item img {      width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;}

.partner-item i {
    font-size: 2.5rem;
}

/* Hover Effect: Turns bright orange and lifts slightly */
.partner-item:hover {
    color: #f39c12;
    transform: scale(1.05);
}

/* --- The Magic Animation --- */
/* Slides exactly 50% of the total width (which equals Set 1), then snaps back seamlessly */
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .partner-item {
        padding: 0 2rem;
        font-size: 1.2rem;
    }
    .partner-item i {
        font-size: 2rem;
    }
    .marquee-wrapper::before, .marquee-wrapper::after {
        width: 50px; /* Smaller fade on mobile */
    }
}

/* --- Farmhouse Listings Section --- */
.farmhouse-listings-section {
    padding: 6rem 2rem;
    background-color: #fcfcfc;
}

/* 3-Column Grid setup */
.farm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Card Styling */
.farm-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.farm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Card Image Area */
.farm-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.farm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.farm-card:hover .farm-card-img img {
    transform: scale(1.08); /* Gentle zoom on hover */
}

/* Card Content Area */
.farm-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.farm-price {
    color: #f39c12; /* Brand orange */
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.farm-card-content h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.farm-location {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.farm-location i {
    color: #bdc3c7;
    margin-right: 5px;
}

/* Property Features (Beds, Baths, Acres) */
.farm-features {
    display: flex;
    justify-content: space-between;
    padding-top: 1.2rem;
    border-top: 1px solid #f1f1f1;
    margin-top: auto; /* Pushes features to the bottom of the card */
}

.farm-features span {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.farm-features span i {
    color: #f39c12;
}

/* Utility Class for Centering & Margins */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.15rem;
}

/* --- Categorized Gallery Layout --- */
.portfolio-category {
    margin-bottom: 5rem; /* Space between different category grids */
}

.portfolio-category:last-child {
    margin-bottom: 0; /* Removes extra space after the last category */
}

.category-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

/* Orange underline effect for category titles */
.category-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #f39c12; /* Brand Orange */
    border-radius: 2px;
}

/* --- Property Categories Section --- */
.category-section {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

/* 3-Column Layout */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Category Card */
.category-card {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth, high-end zoom */
}

/* Dark Gradient Overlay for Text Readability */
.category-overlay {
    position: absolute;
    inset: 0; /* Same as top/bottom/left/right 0 */
    background: linear-gradient(to top, rgba(15, 20, 25, 0.9) 0%, rgba(15, 20, 25, 0.4) 50%, rgba(15, 20, 25, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(243, 156, 18, 0.9) 0%, rgba(15, 20, 25, 0.5) 60%, rgba(15, 20, 25, 0.2) 100%); /* Orange glow on hover */
}

/* Text inside the Card */
.category-card i {
    font-size: 2.2rem;
    color: #f39c12; /* Brand Orange */
    margin-bottom: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.category-card h3 {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.category-card span {
    font-size: 0.95rem;
    color: #bdc3c7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

/* Text Hover Changes */
.category-card:hover i {
    color: #ffffff;
    transform: translateY(-5px);
}

.category-card:hover span {
    color: #ffffff;
}

/* View More Button specific hover */
.category-section .btn-outline:hover {
    background-color: #2c3e50;
    color: #ffffff !important;
}



/* --- Single Property Showcase Section --- */
.property-showcase {
    padding: 6rem 2rem;
    background-color: #ffffff;
    border-top: 1px solid #f1f1f1;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 Split */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* --- Left Side: Image Gallery --- */
.main-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    cursor: pointer;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    pointer-events: none;
}

/* Thumbnails */
.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5; /* Dimmed by default */
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb:hover {
    opacity: 0.8;
}

.thumb.active {
    opacity: 1; /* Fully visible if active */
    border-color: #f39c12; /* Orange border */
}

/* --- Right Side: Property Details --- */
.showcase-details {
    padding-top: 1rem;
}

.showcase-details h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.location-tag {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.location-tag i {
    color: #f39c12;
    margin-right: 8px;
}

.price-tag {
    font-size: 2.2rem;
    color: #e74c3c; /* Red for emphasis */
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-tag span {
    font-size: 1rem;
    background: #f8f9fa;
    color: #7f8c8d;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #dfe6e9;
    font-weight: 500;
}

.description {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Features Grid */
.key-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-box {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #f1f1f1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-box i {
    font-size: 1.5rem;
    color: #f39c12;
    margin-bottom: 8px;
}

.feature-box span {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-buttons .btn i {
    margin-right: 8px;
}

.whatsapp-btn {
    border-color: #25D366;
    color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #25D366;
    color: white;
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr; /* Stacks image on top of details */
        gap: 2rem;
    }
    
    .key-features {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for features on mobile */
    }
}

/* --- Floating Action Buttons --- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between the two buttons */
    z-index: 9999; /* Ensures they stay on top of everything */
}

/* Base styling for both buttons */
.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.float-btn:hover {
    transform: translateY(-5px); /* Gentle lift effect */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    color: white;
}

/* WhatsApp Button Specific Colors */
.whatsapp-float {
    background-color: #25D366;
}

.whatsapp-float:hover {
    background-color: #1EBE57;
}

/* Back To Top Button Specific Colors */
.top-float {
       background-color: #e74c3c;
    display: none;
}

.top-float:hover {
    background-color: #f39c12; /* Turns orange on hover */
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}