:root {
    /* Brand Colors */
    --secondary: #ff931e;
    /* --primary: #ff931e; */
    --primary-dark: #e67e00;
    --primary-light: #ffb352;
    /* --secondary: #996633;  */
    --primary: #996633;
    --secondary-dark: #7a4d26;
    --secondary-light: #b3805a;
    --accent: #330000;
    --accent-dark: #1a0000;
    --accent-light: #4d1a1a;
    
    /* Neutral Colors */
    --dark: #1f2937;
    --light: #f3f4f6;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 15px rgba(255, 147, 30, 0.3);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Add gradient variations */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-secondary-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.bg-accent-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-secondary:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu a.active {
    color: var(--primary);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/*
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
    */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Search Section */
.search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.search-group input,
.search-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

.search-group input:focus,
.search-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 140, 0.1);
}

/* Property Cards */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.card-content {
    padding: 1.5rem;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.card-location {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-features {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.card-features span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-about span {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* Detail Page Styles */
.property-detail {
    padding: 120px 0 60px;
}

.property-gallery {
    margin-bottom: 2rem;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover {
    opacity: 0.8;
}

.property-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.info-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.info-section h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--light);
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.inquiry-form {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .property-info {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Spinner */
.loader {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 4px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Additional styles for about and contact pages */
.pagination-link:hover:not(.active) {
    background: var(--light);
    transform: translateY(-2px);
}

.pagination-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Plot card specific styles */
.plot-card:hover .card-image img {
    transform: scale(1.1);
}

/* Gallery thumbnails */
.gallery-thumb:hover {
    opacity: 0.8;
    transform: scale(0.95);
}

/* Form focus effects */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 77, 140, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-vision .mv-grid,
    .what-why .ww-grid,
    .contact-form-section {
        grid-template-columns: 1fr;
    }
    
    .plot-card .card-image {
        height: 200px;
    }
    
    .property-info {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .property-gallery .main-image {
        height: 300px;
    }
}

/* Loading state for buttons */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Notification animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    animation: slideInRight 0.3s ease;
}

/* Fluid container that adapts to image */
.main-image-container {
    position: relative;
    background: #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
}

.main-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Responsive min-heights */
@media (max-width: 768px) {
    .main-image-container {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        min-height: 250px;
    }
}

/* ============================================
   Jesma Properties - Image Gallery Namespace
   ============================================ */
.jesma-gallery {
    margin-bottom: 2rem;
}

.jesma-gallery__main {
    position: relative;
    background: #f8f9fa;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.jesma-gallery__main-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #f8f9fa;
}

.jesma-gallery__main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
    background: #f8f9fa;
}

.jesma-gallery__counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.jesma-gallery__counter i {
    font-size: 0.875rem;
}

.jesma-gallery__thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.jesma-gallery__thumb {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio for thumbnails */
    background: #f8f9fa;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.jesma-gallery__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jesma-gallery__thumb:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.jesma-gallery__thumb--active {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.jesma-gallery__thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jesma-gallery__thumb:hover .jesma-gallery__thumb-overlay {
    opacity: 1;
}

.jesma-gallery__thumb-overlay i {
    color: white;
    font-size: 1.5rem;
}

.jesma-gallery__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #9ca3af;
}

.jesma-gallery__placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.jesma-gallery__placeholder p {
    font-size: 0.875rem;
}

/* Loading state */
.jesma-gallery__main-image--loading {
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jesma-gallery__thumbnails {
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .jesma-gallery__thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

/* Jesma Lightbox */
.jesma-lightbox {
    animation: jesmaFadeIn 0.3s ease;
}

.jesma-lightbox img {
    animation: jesmaZoomIn 0.3s ease;
}

@keyframes jesmaFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes jesmaZoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

 .similar-properties .property-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .similar-properties .property-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }
    
    .similar-properties .property-card:hover .card-image img {
        transform: scale(1.05);
    }

    @media print {
        .navbar, .footer, .sidebar .inquiry-form, .share-section, .action-buttons, .cta-section, .breadcrumb, .gallery-thumbs {
            display: none !important;
        }
        .property-info {
            grid-template-columns: 1fr !important;
        }
        body {
            padding: 0;
            margin: 0;
        }
        .property-highlight {
            background: #1a4d8c !important;
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact;
        }
    }
    
    .share-buttons a:hover, .action-buttons a:hover {
        transform: translateY(-3px);
    }
    
    .gallery-thumb.active {
        border-color: var(--primary);
        opacity: 1;
    }

    /* Similar properties responsive adjustments */
@media (max-width: 768px) {
    .similar-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .similar-properties {
        padding: 40px 0 20px !important;
    }
    
    .similar-properties .section-header h2 {
        font-size: 1.5rem !important;
    }
}

    .stat-card {
        text-align: center;
        padding: 2rem;
        background: white;
        border-radius: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }
    
    .stat-card:hover {
        transform: translateY(-5px);
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }
    
    .value-prop-card {
        text-align: center;
        padding: 2rem;
        background: white;
        border-radius: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        height: 100%;
    }
    
    .value-prop-icon {
        width: 70px;
        height: 70px;
        background: var(--light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }
    
    .value-prop-icon i {
        font-size: 2rem;
        color: var(--primary);
    }
    
    .timeline-item {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 2rem;
        position: relative;
    }
    
    .timeline-year {
        min-width: 100px;
        font-weight: 700;
        color: var(--primary);
        font-size: 1.2rem;
    }
    
    .timeline-content {
        flex: 1;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .team-card {
        text-align: center;
        background: white;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }
    
    .team-card:hover {
        transform: translateY(-5px);
    }
    
    .team-image {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
    
    .team-info {
        padding: 1.5rem;
    }
    
    .team-name {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: var(--dark);
    }
    
    .team-position {
        color: var(--primary);
        font-size: 0.875rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }
    
    .team-bio {
        color: var(--gray);
        font-size: 0.875rem;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    
    /* Social links for team */
    .team-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .team-social a {
        color: var(--gray);
        transition: color 0.3s ease;
    }
    
    .team-social a:hover {
        color: var(--primary);
    }
    
    /* Empty state for team */
    .team-empty {
        text-align: center;
        padding: 4rem;
        background: white;
        border-radius: 1rem;
    }
    
    .team-empty i {
        font-size: 4rem;
        color: var(--gray);
        margin-bottom: 1rem;
    }

    /* Movers Section Responsive */
@media (max-width: 968px) {
    .movers-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .movers-image {
        order: -1;
    }
    
    .movers-image > div:first-child {
        margin-bottom: 2rem;
    }
    
    .movers-image > div:last-child {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .movers-features {
        grid-template-columns: 1fr !important;
    }
    
    .movers-section h2 {
        font-size: 1.8rem !important;
    }
    
    .movers-image > div:last-child {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem !important;
    }
    
    .movers-section .btn-primary,
    .movers-section .btn-outline {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .movers-section {
        padding: 60px 0 !important;
    }
    
    .movers-section h2 {
        font-size: 1.5rem !important;
    }
    
    .movers-image > div:last-child {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Movers Section Responsive */
@media (max-width: 968px) {
    .movers-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .movers-image {
        order: -1;
    }
    
    .movers-image > div:first-child {
        margin-bottom: 2rem;
    }
    
    .movers-image > div:last-child {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .movers-features {
        grid-template-columns: 1fr !important;
    }
    
    .movers-section h2 {
        font-size: 1.8rem !important;
    }
    
    .movers-image > div:last-child {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem !important;
    }
    
    .movers-section .btn-primary,
    .movers-section .btn-outline {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .movers-section {
        padding: 60px 0 !important;
    }
    
    .movers-section h2 {
        font-size: 1.5rem !important;
    }
    
    .movers-image > div:last-child {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Pure CSS solution for image square with intelligent cropping */
.card-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Forces square aspect ratio */
    background: #f8f9fa;
    overflow: hidden;
}

.card-image .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.property-image-auto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* This ensures images that are taller than wide get cropped appropriately */
@property --image-aspect {
    syntax: '<number>';
    initial-value: 1;
    inherits: false;
}

/* Optional: Add a zoom effect on hover */
.property-card:hover .property-image-auto {
    transform: scale(1.05);
}

    .property-highlight {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: white;
        padding: 2rem;
        border-radius: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .property-highlight .price {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
    }
    
    .property-highlight .price small {
        font-size: 0.875rem;
        opacity: 0.9;
    }
    
    .info-tag {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        background: rgba(255,255,255,0.2);
        border-radius: 2rem;
        font-size: 0.75rem;
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-category {
        margin-bottom: 1.5rem;
    }
    
    .feature-category h4 {
        color: var(--primary);
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--light);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .feature-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.6rem;
        background: var(--light);
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .feature-item:hover {
        background: #e5e7eb;
        transform: translateX(5px);
    }
    
    .feature-item i {
        width: 24px;
        color: var(--primary);
        font-size: 1rem;
    }
    
    .feature-item span {
        flex: 1;
        color: var(--dark);
        font-size: 0.9rem;
    }
    
    .amenities-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    @media (max-width: 768px) {
        .amenities-grid {
            grid-template-columns: 1fr;
        }
    }
    
    .feature-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 2rem;
        font-size: 0.875rem;
        color: var(--dark);
        transition: all 0.3s ease;
    }
    
    .feature-badge:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-2px);
    }
    
    .feature-badge i {
        color: var(--primary);
        font-size: 0.875rem;
    }
    
    .stats-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: var(--light);
        border-radius: 0.5rem;
    }

    /* Improved image display */
.main-image-container {
    position: relative;
    background: #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Image counter badge */
.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    z-index: 10;
    backdrop-filter: blur(5px);
}

/* Loading state for images */
.main-image.loading {
    opacity: 0.5;
}

/* No image placeholder */
.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light);
    min-height: 400px;
    border-radius: 1rem;
    color: var(--gray);
}

.no-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-image-container {
        min-height: 300px;
    }
    
    .main-image {
        max-height: 400px;
    }
    
    .gallery-thumbs {
        gap: 0.5rem;
    }
    
    .gallery-thumb {
        height: 60px;
    }
}

/* Ensure similar properties cards match the main listing */
.similar-grid .property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl) !important;
}

.similar-grid .property-card:hover .card-image img {
    transform: scale(1.05);
}

.similar-grid .btn-outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive adjustments for similar grid */
@media (max-width: 768px) {
    .similar-grid {
        gap: 1rem !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    }
    
    .similar-grid .card-content {
        padding: 1rem !important;
    }
    
    .similar-grid .card-price {
        font-size: 1.1rem !important;
    }
    
    .similar-grid .card-title {
        font-size: 0.9rem !important;
    }
}

/* Optional: Add loading state for images */
.similar-grid .card-image img {
    background: #f0f0f0;
}

/* Premium Typography System */
    :root {
        --font-heading: 'Playfair Display', serif;
        --font-body: 'Montserrat', sans-serif;
        
        /* Font sizes */
        --text-xs: 0.75rem;
        --text-sm: 0.875rem;
        --text-base: 1rem;
        --text-lg: 1.125rem;
        --text-xl: 1.25rem;
        --text-2xl: 1.5rem;
        --text-3xl: 1.875rem;
        --text-4xl: 2.25rem;
        --text-5xl: 3rem;
        --text-6xl: 3.75rem;
        
        /* Line heights */
        --leading-tight: 1.2;
        --leading-snug: 1.3;
        --leading-normal: 1.5;
        --leading-relaxed: 1.625;
    }
    
    body {
        font-family: var(--font-body);
        font-size: var(--text-base);
        line-height: var(--leading-normal);
        color: var(--dark);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Headings */
    h1, .h1 {
        font-family: var(--font-heading);
        font-size: var(--text-5xl);
        font-weight: 800;
        line-height: var(--leading-tight);
        letter-spacing: -0.02em;
        margin-bottom: 1rem;
    }
    
    h2, .h2 {
        font-family: var(--font-heading);
        font-size: var(--text-4xl);
        font-weight: 700;
        line-height: var(--leading-snug);
        letter-spacing: -0.01em;
        margin-bottom: 0.75rem;
    }
    
    h3, .h3 {
        font-family: var(--font-heading);
        font-size: var(--text-2xl);
        font-weight: 600;
        line-height: var(--leading-snug);
        margin-bottom: 0.5rem;
    }
    
    h4, .h4 {
        font-family: var(--font-heading);
        font-size: var(--text-xl);
        font-weight: 600;
        line-height: var(--leading-snug);
        margin-bottom: 0.5rem;
    }
    
    /* Logo */
    .logo h2 {
        font-family: var(--font-heading);
        font-size: 1.75rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    /* Navigation */
    .nav-menu a {
        font-weight: 600;
        font-size: 0.9375rem;
        letter-spacing: 0.01em;
        text-transform: uppercase;
    }
    
    /* Hero Section */
    .hero h1 {
        font-size: 4rem;
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
        line-height: 1.6;
        font-weight: 400;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .section-header p {
        font-size: 1.125rem;
        color: var(--gray);
    }
    
    /* Property Cards */
    .card-price {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }
    
    .card-title {
        font-family: var(--font-heading);
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 1.4;
    }
    
    .card-location {
        font-size: 0.8125rem;
        font-weight: 500;
    }
    
    .card-features span {
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    /* Badges */
    .card-badge {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        font-weight: 700;
        font-size: 0.875rem;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }
    
    /* Feature Items */
    .feature-item span {
        font-weight: 500;
        font-size: 0.875rem;
    }
    
    .feature-category h4 {
        font-family: var(--font-heading);
        font-size: 1.125rem;
        font-weight: 700;
    }
    
    /* Team Section */
    .team-name {
        font-family: var(--font-heading);
        font-size: 1.25rem;
        font-weight: 700;
    }
    
    .team-position {
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }
    
    /* Footer */
    .footer h3, .footer h4 {
        font-family: var(--font-heading);
        font-weight: 700;
    }
    
    .footer-about h3 {
        font-size: 1.5rem;
    }
    
    .footer p, .footer li {
        font-size: 0.875rem;
        font-weight: 400;
    }
    
    /* Responsive Typography */
    @media (max-width: 768px) {
        h1, .h1, .hero h1 {
            font-size: 2.5rem;
        }
        
        h2, .h2, .section-header h2 {
            font-size: 2rem;
        }
        
        h3, .h3 {
            font-size: 1.5rem;
        }
        
        .card-price {
            font-size: 1.25rem;
        }
        
        .hero h1 {
            font-size: 2.25rem;
        }
    }
    
    @media (max-width: 480px) {
        h1, .h1, .hero h1 {
            font-size: 2rem;
        }
        
        h2, .h2, .section-header h2 {
            font-size: 1.75rem;
        }
        
        .card-price {
            font-size: 1.125rem;
        }
    }
    
    /* Optional: Add subtle text shadows for headings */
    .hero h1,
    .section-header h2 {
        text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    /* Premium touch: Add letter spacing to small text */
    .small-text,
    .card-badge,
    .team-position,
    .btn-primary {
        letter-spacing: 0.03em;
    }

    /* Plot card hover effects */
.plot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl) !important;
}

.plot-card:hover .card-image img {
    transform: scale(1.05);
}

/* Button hover enhancement */
.plot-card .btn-outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive adjustments for plots grid */
@media (max-width: 768px) {
    .plots-grid {
        gap: 1rem !important;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    }
    
    .plot-card .card-content {
        padding: 1rem !important;
    }
    
    .plot-card .card-price {
        font-size: 1.25rem !important;
    }
    
    .plot-card .card-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .plot-card .card-location {
        font-size: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .plot-card .card-features span {
        font-size: 0.75rem !important;
    }
    
    .plot-card .card-description {
        font-size: 0.75rem !important;
        margin-top: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .plots-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Optional: Add gradient overlay for better text readability on images */
.plot-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Image loading optimization */
.plot-card .card-image img {
    background: #f0f0f0;
}

/* Photo count badge enhancement */
.photo-count {
    backdrop-filter: blur(4px);
    font-weight: 500;
}

/* ---------------------------------------------------------- */

/* Critical fix for plot images */
.plot-card .card-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #f8f9fa;
    overflow: hidden;
}

.plot-card .card-image > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.plot-card .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Ensure no conflicting styles hide the image */
.plot-card img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Hover effect */
.plot-card:hover .card-image img {
    transform: scale(1.05);
}

    /* Hero Slideshow Styles */
    .hero-slideshow {
        position: relative;
        height: 100vh;
        min-height: 600px;
        overflow: hidden;
        margin-top: -80px;
        }
    
    .slideshow-container {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    }
    
    .slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }
    
    .slide-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .slide-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
        z-index: 2;
    }
    
    /* FIXED: Center alignment for slide content */
    .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
        z-index: 3;
        width: 90%;
        max-width: 800px;
        margin: 0 auto;
    }
    
    /* Ensure content stays centered on all devices */
    .slide-content h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        line-height: 1.2;
    }
    
    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.95;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        line-height: 1.5;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Navigation Arrows */
    .slide-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.3);
        backdrop-filter: blur(5px);
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        border: none;
        font-size: 1.2rem;
    }
    
    .slide-nav:hover {
        background: var(--primary);
        transform: translateY(-50%) scale(1.1);
    }
    
    .slide-nav.prev {
        left: 30px;
    }
    
    .slide-nav.next {
        right: 30px;
    }
    
    /* Dots/Indicators */
    .slide-dots {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 12px;
        z-index: 10;
    }
    
    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .dot.active {
        background: var(--primary);
        width: 30px;
        border-radius: 6px;
    }
    
    .dot:hover {
        background: var(--primary);
        transform: scale(1.2);
    }
    
    /* Pause/Play Button */
    .slide-control {
        position: absolute;
        bottom: 30px;
        right: 30px;
        background: rgba(255,255,255,0.3);
        backdrop-filter: blur(5px);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        border: none;
        font-size: 1rem;
    }
    
    .slide-control:hover {
        background: var(--primary);
        transform: scale(1.1);
    }
    
    /* Search Section positioned over slideshow */
    .search-section {
        position: relative;
        z-index: 20;
        margin-top: -80px;
        margin-bottom: 0;
    }
    
    /* Responsive */
    @media (max-width: 992px) {
        .slide-content h1 {
            font-size: 2.5rem;
        }
        
        .slide-content p {
            font-size: 1rem;
        }
    }
    
    @media (max-width: 768px) {
        .hero-slideshow {
            height: 70vh;
            min-height: 500px;
        }
        
        .slide-content h1 {
            font-size: 1.75rem;
        }
        
        .slide-content p {
            font-size: 0.875rem;
        }
        
        .slide-nav {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }
        
        .slide-nav.prev {
            left: 15px;
        }
        
        .slide-nav.next {
            right: 15px;
        }
        
        .hero-buttons {
            flex-direction: column;
            align-items: center;
        }
    }
    
    @media (max-width: 480px) {
        .hero-slideshow {
            height: 60vh;
            min-height: 400px;
        }
        
        .slide-content h1 {
            font-size: 1.25rem;
        }
        
        .slide-content p {
            font-size: 0.75rem;
            margin-bottom: 1rem;
        }
    }

    /* Solid white button for better contrast */
.hero-buttons .btn-outline {
    background: white;
    color: var(--primary);
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-buttons .btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.video-wrapper:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Ensure logo doesn't overflow on small screens */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
}

/* Optional: Add hover effect */
.logo-img:hover {
    opacity: 0.9;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.desktop-inquire-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
}

.mobile-cta {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Mobile Styles */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
        padding: 2rem;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-menu ul li {
        text-align: center;
    }
    
    .nav-menu ul li a {
        font-size: 1.1rem;
        padding: 0.5rem;
        display: block;
    }
    
    /* Hide desktop inquire button on mobile */
    .desktop-inquire-btn {
        display: none;
    }
    
    /* Show mobile inquire button in menu */
    .mobile-cta {
        display: block;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }
    
    .mobile-inquire-btn {
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 0.875rem !important;
        font-size: 1rem !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
}

.footer {
    background: var(--accent);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about span {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* YouTube specific hover effect */
.social-links a:hover .fa-youtube {
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact li i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

.credits-a { text-decoration: none; color: #b3805a; }

/* Advanced WhatsApp Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-popup-header {
    background: #075e54;
    color: white;
    padding: 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-popup-header i {
    font-size: 1.2rem;
}

.whatsapp-popup-header span {
    flex: 1;
    font-weight: 600;
}

.whatsapp-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.whatsapp-popup-body {
    padding: 15px;
}

.whatsapp-popup-body p {
    margin-bottom: 10px;
    color: var(--dark);
}

.whatsapp-options {
    margin: 15px 0;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin: 5px 0;
    background: #f0f0f0;
    border-radius: 8px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.whatsapp-option:hover {
    background: #e0e0e0;
    transform: translateX(5px);
}

.whatsapp-option i {
    width: 20px;
    color: #25d366;
}

.whatsapp-direct {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.whatsapp-direct-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-direct-link:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .whatsapp-popup {
        width: 280px;
        bottom: 70px;
    }
}

.contact-agent-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-agent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.contact-agent-card .btn-primary {
    transition: all 0.3s ease;
}

.contact-agent-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* Minimal & Elegant Search */
.search-section {
    position: relative;
    z-index: 20;
    margin-top: -50px;
    margin-bottom: 0;
}

.search-container {
    background: white;
    border-radius: 100px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 0.5rem;
    max-width: 720px;
    margin: 0 auto;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.search-container:hover {
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.search-fields {
    display: flex;
    align-items: center;
    gap: 0;
}

.search-field {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.search-field__icon {
    position: absolute;
    left: 1.25rem;
    color: var(--primary);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

.search-field__input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--dark);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.search-field__input:focus {
    color: var(--primary);
}

.search-field__input:focus + .search-field__icon,
.search-field:focus-within .search-field__icon {
    color: var(--primary-dark);
}

.search-divider {
    width: 1px;
    height: 30px;
    background: #e5e7eb;
    flex-shrink: 0;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 147, 30, 0.35);
}

.search-button:active {
    transform: scale(0.98);
}

.search-button i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .search-section {
        margin-top: -40px;
        padding: 0 1rem;
    }
    
    .search-container {
        border-radius: 1rem;
        padding: 0.5rem;
        max-width: 100%;
    }
    
    .search-fields {
        flex-direction: column;
        gap: 0;
    }
    
    .search-field {
        width: 100%;
    }
    
    .search-field__input {
        padding: 1rem 2.5rem 1rem 2.75rem;
        border-radius: 0.75rem;
    }
    
    .search-divider {
        width: calc(100% - 2rem);
        height: 1px;
        margin: 0.25rem 1rem;
    }
    
    .search-button {
        width: 100%;
        padding: 1rem;
        margin-top: 0.25rem;
        border-radius: 0.75rem;
    }
    
    .search-button span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .search-section {
        margin-top: -30px;
    }
    
    .search-field__input {
        font-size: 0.875rem;
        padding: 0.875rem 2.25rem 0.875rem 2.5rem;
    }
    
    .search-field__icon {
        left: 1rem;
        font-size: 0.85rem;
    }
    
    .search-button {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}