:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #00ff00;
    --text-color: #333;
    --text-light: #777;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
    /* Changed to white */
}

h1,
h2,
h3,
.logo-text,
.search-btn {
    font-family: 'Outfit', sans-serif;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.3;
}

p {
    font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 40px);
}

/* Header Styles */
header {
    background: #ffffff;
    padding: 20px 0;
    position: relative;
    /* Not absolute anymore to stay above white bg */
    width: 100%;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-switcher {
    display: flex;
    gap: 8px;
    background: #f8f8f8;
    padding: 4px;
    border-radius: 50px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #888;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    min-height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    color: #000;
}

.lang-btn.active {
    background: #000;
    color: #fff;
}


.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    /* Darker gray for white background */
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #000;
    /* Pitch black for active/hover */
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    min-height: 48px;
}

.contact-btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.arrow {
    font-size: 18px;
}

/* Hero Section */
.hero {
    height: 85vh;
    /* Reduced height to look like a card */
    background: url('hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    border-radius: 40px;
    /* Rounded corners for the card effect */
    margin: 0 30px 30px 30px;
    /* Large margins to show white bg */
    display: flex;
    align-items: center;
    /* overflow: hidden; Removed to allow dropdowns to overflow */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
    border-radius: inherit;
}

.properties-filters-section {
    padding: 30px 0 0;
    background: #ffffff;
    position: relative;
    z-index: 100;
}

.archive-section {
    margin-top: -30px;
    padding-top: 0;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Search Engine Card */
.search-engine-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 15px 15px 15px 40px;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 50;
}

.search-engine-card.light {
    background: rgba(248, 250, 252, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.search-engine-card.light .filter-group {
    border-right-color: rgba(226, 232, 240, 0.8) !important;
}

.search-engine-card.light .filter-group label {
    color: #475569;
}

.search-engine-card.light .select-trigger,
.search-engine-card.light .hero-input {
    color: #0f172a;
}

.search-engine-card.light .hero-input::placeholder {
    color: #94a3b8;
}

.search-engine-card.light .select-options {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.search-engine-card.light .option {
    color: #1a1a1a;
}

.search-engine-card.light .option:hover {
    background: #f1f5f9;
}

.search-engine-card.light .option.selected {
    background: #000;
    color: #fff;
}

.search-engine-card.light .select-options::-webkit-scrollbar-thumb {
    background: #e2e8f0;
}

.filters {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 1024px) {
    .filters {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    position: relative;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .filter-group {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0 15px;
    }
}

.filter-group:last-of-type {
    border-right: none;
}

.filter-group.flex-grow-12 {
    flex: 1.2;
}

.filter-group.flex-grow-15 {
    flex: 1.5;
}

.filter-group.flex-grow-08 {
    flex: 0.8;
}

.filter-group label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Select Styles */
.custom-select {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.custom-select.active {
    z-index: 1000;
}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    padding: 5px 20px 5px 0;
    transition: var(--transition);
    min-height: 48px;
}

.hero-input {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 500;
    padding: 2px 0;
    width: 100%;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: var(--transition);
    min-height: 48px;
}

.hero-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.hero-input:focus {
    color: #fff;
}

.chevron {
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 10px;
    opacity: 0.7;
}

.custom-select.active .chevron {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 6px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.select-options::-webkit-scrollbar {
    width: 4px;
}

.select-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.custom-select.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option {
    padding: 8px 16px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.option:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 25px;
}

.option.selected {
    background: var(--accent-color);
    color: #000;
}

/* Multi-select option styling */
.custom-select[data-multi-select="true"] .option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-select[data-multi-select="true"] .option::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-select[data-multi-select="true"] .option.selected::after {
    background: #000;
    border-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Responsive Fixes for Search Bar */
@media (max-width: 1024px) {
    .select-options {
        position: relative;
        top: 10px;
        min-width: 100%;
        margin-bottom: 20px;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        background: rgba(255, 255, 255, 0.4) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .custom-select.active .select-options {
        display: block;
    }

    .option {
        color: #1a1a1a;
    }

    .option:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .option.selected {
        background: #000;
        color: #fff;
    }

    .custom-select[data-multi-select="true"] .option::after {
        border-color: rgba(0, 0, 0, 0.25);
    }

    .filter-group {
        width: 100%;
        border-right: none;
    }

    .select-trigger {
        padding: 5px 0;
        border-bottom: none;
    }
}

.search-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 20px 50px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .search-btn {
        width: auto;
    }
}

.search-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Footer Statistics */

/* Featured Properties Section */
.featured-properties {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    margin-bottom: 60px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.2;
    color: #1a1a1a;
    text-transform: uppercase;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.property-card {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition);
    padding: 0 0 20px 0;
}

.property-card:hover {
    transform: translateY(-5px);
}

.card-img {
    position: relative;
    height: 350px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-content: flex-start;
    padding: 15px;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tag {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
}

.location {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-main h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.share-icon {
    padding: 6px;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.share-icon:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.share-popup {
    position: absolute;
    top: 36px;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 8px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    min-width: 140px;
}

.share-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: var(--transition);
}

.share-option:hover {
    background: #f5f5f5;
    color: #000;
}

.card-footer {
    display: flex;
    gap: 20px;
    font-size: 16px;
    color: #777;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.section-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    border: 1px solid #000;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-btn:hover {
    background: #000;
    color: #fff;
}

.arrow-circle {
    background: #000;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
}

.view-all-btn:hover .arrow-circle {
    background: #fff;
    color: #000;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .hero {
        margin: 0 15px 15px 15px;
        height: auto;
        min-height: 60vh;
    }
}

/* Property Details Page Styles */
.property-gallery {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 20px;
    margin: 40px 0;
    height: 600px;
}

.gallery-main {
    border-radius: 30px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.gallery-item-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-item-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-wrapper:hover img {
    transform: scale(1.05);
}

.photos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    backdrop-filter: blur(2px);
}


.gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.property-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.property-header-info h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.specs-row {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    font-weight: 500;
    color: #444;
}

section h2 {
    font-size: 28px;
    margin: 40px 0 20px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 500;
}

.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.amenity-item {
    background: #f8f8f8;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.map-placeholder,
.video-container {
    position: relative;
    cursor: pointer;
}

.map-overlay,
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    padding: 0;
}

/* Sidebar Pricing Card */
.pricing-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: 30px;
    position: sticky;
    top: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.badge-alt {
    color: #666;
    font-weight: 600;
    font-size: 14px;
}

.price-display {
    font-size: 36px;
    font-weight: 700;
    margin: 10px 0;
}

.price-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}

.book-tour-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 30px;
    transition: var(--transition);
}

.book-tour-btn:hover {
    background: #444;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-bottom: 15px;
}

.agent-avatar {
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.agent-name {
    display: block;
    font-weight: 700;
}

.agent-title {
    font-size: 13px;
    color: #777;
}

.agent-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agent-contact a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
}

/* Effortless Journey Form */
.effortless-journey {
    padding: 100px 0;
    border-top: 1px solid #f0f0f0;
}

.journey-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.journey-header h2 {
    font-size: 42px;
    margin: 20px 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fdfdfd;
    font-family: inherit;
    outline: none;
}

.contact-form textarea {
    height: 150px;
    margin-bottom: 30px;
}

.submit-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 20px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.footer-brand .logo img {
    height: 52px;
}

.footer-brand .logo .logo-text {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.footer-brand .footer-tagline {
    color: #999;
    font-size: 17px;
    line-height: 1.7;
    max-width: 420px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.footer-contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-top: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #ccc;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.footer-contact-item:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: #555;
    font-size: 13px;
}

@media (max-width: 1024px) {
    .property-gallery {
        height: auto;
        grid-template-columns: 1fr;
    }

    .property-content-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* About Page Styles */
.about-hero {
    padding: 100px 0 60px;
    background: #ffffff;
    text-align: center;
}

.about-hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero p {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.our-story {
    padding: 100px 0;
}

.our-story h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
}

.our-story p {
    color: #555;
    font-size: 17px;
}

.badge-alt {
    display: inline-block;
    padding: 6px 18px;
    background: #f0f0f0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.stat-item .text-4xl {
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 42px;
    }

    .our-story h2 {
        font-size: 32px;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    backdrop-filter: blur(10px);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.nav-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

/* Hamburger Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    padding: 0 20px;
}

.mobile-nav-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-content ul li {
    margin-bottom: 8px;
}

.mobile-nav-content ul a {
    text-decoration: none;
    color: #333;
    font-size: 32px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-height: 48px;
}

.mobile-nav-content ul a:hover,
.mobile-nav-content ul a.active {
    color: #000;
}

.mobile-lang-switcher {
    display: flex;
    gap: 8px;
    background: #f8f8f8;
    padding: 6px;
    border-radius: 50px;
}

.mobile-lang-switcher .lang-btn {
    min-height: 48px;
    min-width: 48px;
    padding: 8px 12px;
    font-size: 14px;
}

.mobile-contact-btn {
    margin-top: 10px;
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

/* ============================================
   RESPONSIVE — MOBILE (≤767px)
   ============================================ */
@media (max-width: 767px) {

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Header */
    header {
        padding: 12px 0;
    }

    .header-container {
        flex-wrap: nowrap;
    }

    header nav,
    .header-right {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo img {
        height: 36px;
    }

    .logo-text {
        font-size: 16px;
        white-space: normal;
        line-height: 1.2;
    }

    /* Hero */
    .hero {
        margin: 0;
        border-radius: 0 0 20px 20px;
        min-height: 80svh;
        height: auto;
        background-image: url('hero-bg-mobile.jpg');
    }

    .hero-container {
        padding: 30px 0;
    }

    /* Search Engine Card — Vertical Stack, light glass */
    .search-engine-card {
        border-radius: 20px;
        padding: 15px;
        margin-bottom: 25px;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .search-engine-card .filter-group label {
        color: #000000;
        font-weight: 700 !important;
    }

    .search-engine-card .select-trigger,
    .search-engine-card .hero-input {
        color: #000000;
    }

    .search-engine-card .hero-input::placeholder {
        color: #666666;
    }

    .search-engine-card .chevron {
        color: #000000;
        opacity: 1;
    }

    .filters {
        flex-direction: column;
        gap: 0;
    }

    .filter-group {
        width: 100%;
        padding: 8px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .filter-group:last-of-type {
        border-bottom: none;
    }

    .search-engine-card.light .filter-group {
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        border-right: none !important;
    }

    .search-engine-card.light .filter-group:last-of-type {
        border-bottom: none;
    }

    .filter-group label {
        font-size: 12px;
    }

    .select-trigger {
        font-size: 16px;
        padding: 4px 0;
        text-shadow: none;
    }

    .hero-input {
        font-size: 16px;
        padding: 4px 0;
    }

    .search-btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        margin-top: 15px;
        min-height: 48px;
    }

    /* Properties Grid */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card-img {
        height: 240px;
        border-radius: 20px;
    }

    .card-main h3 {
        font-size: 17px;
    }

    .price {
        font-size: 17px;
    }

    .card-footer {
        gap: 15px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .featured-properties {
        padding: 60px 0;
    }

    /* Footer */
    .main-footer {
        padding: 50px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-brand .footer-tagline {
        max-width: 100%;
        font-size: 15px;
    }

    .footer-contact-item {
        font-size: 14px;
    }

    .footer-contact-list {
        grid-template-columns: 1fr;
    }

    .footer-contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 12px;
    }

    .footer-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        padding-top: 25px;
    }

    /* About Page */
    .about-hero {
        padding: 60px 0 40px;
    }

    .about-hero h1 {
        font-size: 28px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .our-story {
        padding: 60px 0;
    }

    .our-story h2 {
        font-size: 26px;
    }

    .our-story p {
        font-size: 16px;
    }

    .journey-header h2 {
        font-size: 24px;
    }

    .effortless-journey {
        padding: 60px 0;
    }

    /* Property Details */
    .property-gallery {
        grid-template-columns: 1fr;
        height: auto;
        gap: 12px;
        margin: 20px 0;
    }

    .gallery-main {
        border-radius: 20px;
        height: auto;
        aspect-ratio: 4/3;
        width: 100%;
    }

    .gallery-side {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .gallery-side img,
    .gallery-side .gallery-item-wrapper {
        border-radius: 12px;
        height: 70px;
    }

    .photos-overlay {
        font-size: 14px;
    }

    .photos-overlay span:last-child {
        display: none;
    }

    .property-content-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .property-header-info h1 {
        font-size: 26px;
    }

    .specs-row {
        gap: 15px;
        flex-wrap: wrap;
        font-size: 14px;
    }

    section h2 {
        font-size: 22px;
        margin: 30px 0 15px;
    }

    .features-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-card {
        position: static;
        padding: 25px;
        border-radius: 20px;
    }

    .price-display {
        font-size: 28px;
    }

    .book-tour-btn {
        min-height: 48px;
        padding: 16px;
    }

    .browse-more h2 {
        font-size: 24px;
    }

    /* Contact Form */
    .contact-form {
        padding: 0 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 16px;
        font-size: 16px;
        border-radius: 12px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 16px;
        min-height: 48px;
    }

    /* Lightbox */
    .lightbox-nav {
        padding: 0 10px;
    }

    .nav-btn {
        width: 44px;
        height: 44px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }

    /* General Touch Targets */
    .contact-btn {
        padding: 14px 20px;
        font-size: 14px;
        min-height: 44px;
    }

    .view-all-btn {
        padding: 14px 25px;
        min-height: 44px;
    }

    .badge {
        font-size: 13px;
        padding: 6px 16px;
    }

    /* Properties Page – filter section */
    .properties-filters-section {
        padding: 30px 0 10px;
    }

    .properties-page-header {
        padding: 80px 0 40px;
    }

    .properties-page-header h1 {
        font-size: 2rem;
    }

    .archive-section {
        padding: 40px 0;
    }

    .filter-bar {
        margin-bottom: 20px;
    }

    .results-count {
        font-size: 0.9rem;
    }
}

/* ============================================
   RESPONSIVE — TABLET (768px–1023px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {

    .container {
        padding: 0 24px;
    }

    .mobile-menu-btn {
        display: none;
    }

    .logo-text {
        font-size: 20px;
    }

    /* Hero */
    .hero {
        margin: 0 20px 20px;
        border-radius: 30px;
        min-height: 65vh;
    }

    /* Search Card: 2-col grid for filters */
    .search-engine-card {
        border-radius: 25px;
        padding: 20px 20px 20px 25px;
    }

    .filters {
        flex-wrap: wrap;
        gap: 0;
    }

    .filter-group {
        flex: 0 0 48%;
        padding: 10px 10px;
    }

    .search-btn {
        width: 100%;
        margin-top: 15px;
        padding: 16px;
    }

    /* Properties Grid */
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .card-img {
        height: 280px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* About */
    .about-hero h1 {
        font-size: 42px;
    }

    .our-story h2 {
        font-size: 36px;
    }

    /* Property Details */
    .property-gallery {
        height: 400px;
    }

    .property-content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card {
        position: static;
    }

    .property-header-info h1 {
        font-size: 32px;
    }

    .journey-header h2 {
        font-size: 32px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤380px)
   ============================================ */
@media (max-width: 380px) {
    .logo-text {
        font-size: 14px;
    }

    .logo img {
        height: 30px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .about-hero h1 {
        font-size: 24px;
    }

    .gallery-side {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-img {
        height: 200px;
    }
}

/* ============================================
   CRITICAL SIZE ENFORCEMENT
   Prevents Tailwind CDN Preflight from overriding sizes.
   This block MUST remain at the end of the file.
   ============================================ */

/* --- Global --- */
body {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* --- Header --- */
header {
    padding: 20px 0 !important;
}

.logo img {
    height: 48px !important;
    width: auto !important;
}

.logo-text {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.nav-links a {
    font-size: 16px !important;
    font-weight: 500 !important;
}

.contact-btn {
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border-radius: 50px !important;
}

.lang-btn {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
}

/* --- Container --- */
.container {
    max-width: 1400px !important;
    padding: 0 40px !important;
}

/* --- Search Bar --- */
.search-engine-card {
    border-radius: 100px !important;
    padding: 15px 15px 15px 40px !important;
    max-width: 1100px !important;
}

.search-engine-card.light {
    max-width: 100% !important;
}

.filter-group label {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.select-trigger {
    font-size: 18px !important;
    font-weight: 600 !important;
}

.hero-input {
    font-size: 16px !important;
    font-weight: 500 !important;
}

.search-btn {
    padding: 20px 50px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 100px !important;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px !important;
}

.badge {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    margin-bottom: 20px !important;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    max-width: 800px !important;
    text-transform: uppercase !important;
}

/* --- Property Cards --- */
.properties-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 60px !important;
}

.property-card {
    border-radius: 30px !important;
}

.card-img {
    height: 350px !important;
    border-radius: 30px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-content: flex-start !important;
    padding: 15px !important;
}

.card-img img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

.tag {
    position: relative !important;
    z-index: 1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    align-self: flex-start !important;
}

.location {
    font-size: 16px !important;
    margin-bottom: 10px !important;
}

.card-main {
    margin-bottom: 12px !important;
}

.card-main h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.price {
    font-size: 24px !important;
    font-weight: 700 !important;
}

.card-footer {
    font-size: 16px !important;
    gap: 20px !important;
    margin-top: 15px !important;
    padding-top: 15px !important;
}

/* --- Featured Properties --- */
.featured-properties {
    padding: 100px 0 !important;
}

/* --- Footer --- */
.main-footer {
    padding: 80px 0 40px !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
}

.footer-bottom {
    font-size: 13px !important;
}

/* ============================================= */
/* Contact Popup                                 */
/* ============================================= */
.contact-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.contact-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-popup {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.contact-popup-overlay.active .contact-popup {
    transform: translateY(0) scale(1);
}

.contact-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    line-height: 1;
}

.contact-popup-close:hover {
    background: #e0e0e0;
    color: #000;
}

.contact-popup-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.contact-popup-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
}

/* Action Buttons */
.contact-popup-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.contact-popup-action {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s ease;
    cursor: pointer;
}

.contact-popup-action.whatsapp {
    background: #25D366;
}

.contact-popup-action.whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.contact-popup-action.call {
    background: #1a1a1a;
}

.contact-popup-action.call:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-popup-action-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-popup-action-icon svg {
    width: 24px;
    height: 24px;
}

.contact-popup-action-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-popup-action-label strong {
    font-size: 15px;
    font-weight: 600;
}

.contact-popup-action-label small {
    font-size: 12px;
    opacity: 0.85;
}

/* Divider */
.contact-popup-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 20px;
    color: #bbb;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-popup-divider::before,
.contact-popup-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

/* Form */
.contact-popup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-popup-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-popup-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-popup-field label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-popup-field input,
.contact-popup-field textarea {
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
    resize: none;
}

.contact-popup-field input:focus,
.contact-popup-field textarea:focus {
    border-color: #000;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.contact-popup-field input::placeholder,
.contact-popup-field textarea::placeholder {
    color: #bbb;
}

.contact-popup-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 4px;
}

.contact-popup-submit:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.contact-popup-submit .arrow {
    font-size: 16px;
}

/* Hide form section on mobile */
@media (max-width: 768px) {
    .contact-popup-form-section {
        display: none;
    }

    .contact-popup {
        padding: 30px 24px;
        border-radius: 22px;
    }

    .contact-popup-actions {
        flex-direction: column;
    }

    .contact-popup-title {
        font-size: 22px;
    }
}

/* --- Responsive overrides with !important --- */
@media (max-width: 767px) {
    .container {
        padding: 0 16px !important;
    }

    .logo img {
        height: 36px !important;
    }

    .logo-text {
        font-size: 16px !important;
    }

    .about-hero h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .section-header h2 {
        font-size: 24px !important;
    }

    .card-img {
        height: 240px !important;
        border-radius: 20px !important;
    }

    .card-main h3 {
        font-size: 17px !important;
    }

    .price {
        font-size: 17px !important;
    }

    .card-footer {
        gap: 15px !important;
        font-size: 13px !important;
    }

    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .search-engine-card {
        border-radius: 20px !important;
        padding: 20px !important;
    }

    .search-btn {
        padding: 16px !important;
        font-size: 16px !important;
    }

    .filter-group label {
        font-size: 12px !important;
    }

    .select-trigger {
        font-size: 16px !important;
    }

    .hero-input {
        font-size: 16px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
}

/* --- Cookie Banner Styles --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 24px;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid #e2e8f0;
}

.cookie-banner.cookie-banner-hide {
    transform: translateY(100%);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-banner-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.cookie-banner-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-reject {
    background-color: transparent;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.cookie-reject:hover {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.cookie-accept {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.cookie-accept:hover {
    background-color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cookie-banner-buttons {
        width: 100%;
        display: flex;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 24px !important;
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }

    .card-img {
        height: 280px !important;
    }

    .section-header h2 {
        font-size: 32px !important;
    }

    .search-engine-card {
        border-radius: 25px !important;
        padding: 20px 20px 20px 25px !important;
    }

    .search-btn {
        padding: 16px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }
}