/* CSS Reset & Basics */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-primary: hsla(217, 100%, 71%, 1);
    /* Lighter Vibrant Blue */
    --color-primary-dark: hsla(218, 100%, 65%, 1);

    --color-secondary: hsla(230, 35%, 45%, 1);
    /* Lighter Medium-Dark Blue */
    --color-text-body: hsla(217, 32%, 35%, 1);
    /* Lighter Dark Slate Body Text */

    --color-bg-light: hsla(210, 40%, 96%, 1);
    --color-bg-white: hsla(0, 0%, 100%, 1);
    --color-bg-dark: hsla(221, 47%, 20%, 1);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Decoration */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-body);
    background-color: var(--color-bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: #E0E0E0;
}

.btn-outline:hover {
    border-color: var(--color-secondary);
    background-color: var(--color-bg-light);
}


/* Header Styles */
.main-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    background: linear-gradient(to bottom, hsla(0, 0%, 0%, 0.3), transparent);
    transition: background-color 0.3s ease;
}

.main-header.scrolled {
    background-color: var(--color-secondary);
    box-shadow: 0 5px 20px hsla(0, 0%, 0%, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 2rem;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--color-primary);
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

.nav-links li:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Sub-menu Styles */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--color-bg-white);
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.15);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-links li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu li {
    display: block;
    width: 100%;
}

.sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-secondary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sub-menu li a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary) !important;
    padding-left: 1rem;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Language Switcher */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--color-primary);
}

.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid hsla(0, 0%, 100%, 0.3);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.main-header.scrolled .lang-current {
    border-color: hsla(0, 0%, 100%, 0.1);
}

.lang-switcher:hover .lang-current {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.flag-icon {
    border-radius: 2px;
    box-shadow: 0 0 2px hsla(0, 0%, 0%, 0.1);
}

.lang-current .flag-icon {
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 92px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
    margin-top: 0.5rem;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    color: var(--color-secondary) !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-dropdown li a .flag-icon {
    font-size: 1rem;
}

.lang-dropdown li a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary) !important;
}

/* Scrolled State tweaks */
.main-header.scrolled .lang-current {
    border-color: hsla(0, 0%, 100%, 0.1);
}

/* Override nav buttons specific for header */
.main-header .btn-outline {
    color: white;
    border-color: hsla(0, 0%, 100%, 0.3);
}

.main-header .btn-outline:hover {
    background-color: white;
    color: var(--color-secondary);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding-top: var(--header-height);
    /* Offset for fixed header */
}

/* Dark Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, hsla(230, 35%, 7%, 0.6), hsla(230, 35%, 7%, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    /* Explicitly white for hero */
}

.hero-subtitle {
    font-size: 1.1rem;
    color: hsla(0, 0%, 100%, 0.9);
    max-width: 500px;
}

/* Search Box Component */
.search-container {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 900px;
}

.search-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.search-tab {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-body);
    cursor: pointer;
    position: relative;
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.search-tab.active {
    color: var(--color-primary);
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1.1rem;
    /* Align with border */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid #EEE;
    padding-right: 1rem;
}

.input-group:last-of-type {
    border-right: none;
}

.input-label {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
}

.input-field {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-secondary);
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
}

.input-field::placeholder {
    color: var(--color-secondary);
    opacity: 1;
}

.search-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Sections General */
section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.section-link {
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Project Filters */
.project-filters {
    display: flex;
    gap: 1rem;
    background-color: hsla(210, 40%, 92%, 1);
    padding: 0.4rem;
    border-radius: 50px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--color-primary);
}

.filter-btn.active {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .project-filters {
        width: 100%;
        overflow-x: auto;
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
}

/* Property Types */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.type-card {
    background: var(--color-bg-light);
    padding: 2rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px hsla(0, 0%, 0%, 0.05);
    background: white;
}

.type-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.type-name {
    font-weight: 600;
    color: var(--color-secondary);
}

.type-count {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--color-secondary);
    padding: 6rem 0 4rem;
    position: relative;
    margin-top: 4rem;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats-section .stat-item {
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item:not(:last-child)::after {
    display: none;
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.stat-icon-wrapper i {
    font-size: 2rem;
    color: var(--color-bg-dark);
}

.stats-grid .stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stats-grid .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    max-width: 200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3rem 1rem;
    }

    .stat-value {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 0.5rem;
    }

    .stat-item {
        padding: 0 0.25rem;
    }

    .stat-value {
        font-size: 2rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.listing-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px hsla(0, 0%, 0%, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px hsla(0, 0%, 0%, 0.1);
}

.listing-image {
    height: 250px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
    /* Fix for image sizing */
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
}

.listing-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.listing-badge.for-sell {
    background: var(--color-primary);
}

.listing-details {
    padding: 1.5rem;
}

.listing-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.listing-price span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.listing-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-address {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.listing-features {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: var(--color-text-body);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: #AAA;
}

/* Testimonials */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px hsla(0, 0%, 0%, 0.05);
    border: 1px solid #f0f0f0;
}

.review-header {
    margin-bottom: 1rem;
}

.review-title {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.review-text {
    color: var(--color-text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 1rem;
}

.reviewer-location {
    font-size: 0.85rem;
    color: #888;
}

/* Footer */
footer {
    background-color: var(--color-secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin: 1.5rem 0;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links {
    text-align: right;
}

.newsletter-form {
    display: flex;
    background: hsla(0, 0%, 100%, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.newsletter-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 0.5rem;
    flex-grow: 1;
}

.newsletter-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* color: #777; */
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    /* color: #AAA; */
    font-size: 1.1rem;
}

.social-links a:hover {
    color: white;
}

@media (max-width: 768px) {

    .types-grid,
    .listings-grid,
    .reviews-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo {
        justify-content: center;
        margin-right: 0;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        padding: 0.5rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-secondary);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        gap: 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: flex;
        /* Override display: none if it was there */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        justify-content: center;
    }

    .nav-links a {
        font-size: 1.25rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-actions {
        margin-left: 0;
    }

    .lang-switcher {
        margin-left: 0;
    }
}

/* Project Detail Page Styles */

/* Project Header */
.project-header-section {
    padding: 2rem 0;
    background-color: var(--color-bg-light);
}

.project-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.project-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.project-price span {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
}

.project-address {
    font-size: 1.1rem;
    color: var(--color-text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-specs {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-secondary);
}

.spec-item i {
    color: var(--color-primary);
}

/* Gallery Slider */
.gallery-section {
    padding: 3rem 0;
}

.gallery-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 600px;
    /* Fixed height for consistency */
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: hsla(0, 0%, 100%, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-secondary);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    color: var(--color-primary);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Project Details Grid */
.project-details-section {
    padding: 2rem 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.sub-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.description-text {
    line-height: 1.8;
    color: var(--color-text-body);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-secondary);
    font-size: 1rem;
}

.amenity-item i {
    color: var(--color-primary);
    background: hsla(9, 100%, 62%, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Agent Card */
.agent-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #eee;
    box-shadow: 0 5px 20px hsla(0, 0%, 0%, 0.05);
    position: sticky;
    top: 100px;
}

.agent-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agent-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-name {
    font-weight: 700;
    color: var(--color-secondary);
}

.agent-role {
    font-size: 0.9rem;
    color: #888;
}

.agent-card .btn {
    margin-bottom: 0.75rem;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Latest Projects Slider */
.latest-projects-section {
    padding: 4rem 0;
    background: var(--color-bg-light);
    overflow: hidden;
}

.slider-nav-external {
    display: flex;
    gap: 1rem;
}

.nav-btn-ext {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn-ext:hover {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: white;
}

/* Carousel Logic specific styles */
.listings-carousel-container {
    overflow: hidden;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-out;
}

.carousel-track .listing-card {
    min-width: 350px;
    /* Fixed width for standard card in slider */
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-slider {
        height: 400px;
    }

    .project-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .amenities-list {
        grid-template-columns: 1fr;
    }

    .gallery-slider {
        height: 300px;
    }

    .carousel-track .listing-card {
        min-width: 300px;
    }
}

/* About Us Page Styles */

/* Hero */
.about-hero {
    background-image: linear-gradient(hsla(0, 0%, 0%, 0.6), hsla(0, 0%, 0%, 0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-label {
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.story-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.1);
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Vision & Mission */
.vision-mission-section {
    padding: 5rem 0;
    background-color: var(--color-bg-light);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid #efefef;
    text-align: center;
    transition: transform 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.05);
}

.vm-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.vm-card p {
    color: var(--color-text-body);
    line-height: 1.6;
}

/* Location Section */
.location-section {
    padding: 5rem 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 40px;
    min-width: 40px;
    height: 40px;
    background: hsla(9, 100%, 62%, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-item h5 {
    color: var(--color-secondary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #666;
    font-size: 0.95rem;
}

.map-container {
    height: 400px;
    background: #eee;
    border-radius: var(--radius-lg);
    overflow: hidden;
}


@media (max-width: 768px) {

    .story-grid,
    .vm-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-image {
        order: -1;
        /* Image first on mobile */
    }
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}