/* Aurelian Estates Stylesheet v3.0 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #d4af37; /* Gold */
    --primary-hover: #b5952f;
    --bg-dark: #0f1115;
    --bg-darker: #0a0b0d;
    --bg-card: #181b21;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 11, 13, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 11, 13, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

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

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

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

.header-cta {
    display: flex;
    gap: 10px;
}

.header-cta .btn {
    padding: 10px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

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

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(15px);
    z-index: 999;
    padding: 120px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid var(--border-color);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-cta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1600607687931-cebfad215f70?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    padding-top: 90px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero h1 span {
    color: var(--primary-color);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Search Box */
.search-box {
    background: rgba(24, 27, 33, 0.85);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.search-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.search-tabs button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: -16px;
}

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

.search-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--white);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* New Hero Section */
.hero-new {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.05);
    animation: zoomInOut 20s infinite alternate ease-in-out;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(19, 19, 19, 0.4) 0%, rgba(19, 19, 19, 0.8) 100%);
}

.hero-content-new {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: 80px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.partner-logo span {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
}

.partner-divider {
    height: 24px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.3em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title { font-size: 4rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 4.5rem; }
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: 3rem;
}

/* Glass Search Bar */
.glass-search {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(28, 27, 27, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    padding: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .glass-search {
        flex-direction: row;
        align-items: center;
    }
}

.search-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 0.75rem;
    width: 100%;
}

@media (min-width: 768px) {
    .search-toggle { width: auto; }
}

.toggle-btn {
    flex: 1;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .toggle-btn { flex: none; }
}

.toggle-btn:hover {
    color: var(--white);
}

.toggle-btn.active {
    background: var(--white);
    color: var(--bg-darker);
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.search-dropdown-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    color: var(--white);
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.filter-icon-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 0.75rem;
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-submit-btn {
    background: var(--white);
    color: var(--bg-darker);
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 768px) {
    .search-submit-btn { width: auto; }
}

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

/* Filters Modal */
.filters-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 13, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.filters-modal.active {
    display: flex;
    opacity: 1;
}

.filters-modal-content {
    background: #1a1e29; /* Darker navy from image */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.filters-modal.active .filters-modal-content {
    transform: translateY(0);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.filters-header h3 {
    font-size: 1.8rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

#close-filters-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#close-filters-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Premium Filter Grid */
.advanced-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .advanced-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .advanced-filter-grid {
        grid-template-columns: 1fr;
    }
    .filters-modal-content {
        padding: 2rem 1.5rem;
    }
}

.filter-column-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Custom Checkbox Styling */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    user-select: none;
    transition: color 0.2s ease;
}

.custom-checkbox:hover {
    color: var(--primary-color);
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--bg-darker);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    line-height: 1.2;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--white);
}

/* Property Cards */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* New Property Card Styles */
.property-card {
    background-color: #1a1e29; /* Dark blue-ish grey from image */
    border-radius: 12px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.property-badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
}

.property-share-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.property-share-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
}

.property-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-title {
    font-size: 1.3rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-desc {
    color: #a0a5b0;
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.property-price {
    font-size: 1.6rem;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin: 5px 0;
}

.property-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #e0e0e0;
    font-size: 0.85rem;
}

.property-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-meta-item i {
    color: #a0a5b0;
    font-size: 1rem;
}

.property-meta-item strong {
    font-weight: 600;
    color: var(--white);
}

.property-meta-single {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    font-size: 0.85rem;
}

.property-meta-single i {
    color: #a0a5b0;
}

.btn-details {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* Features/About Section */
.about-section {
    background-color: var(--bg-darker);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.about-stats-row {
    margin-top: 40px;
    display: flex;
    gap: 30px;
}

.stat-number {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .about-stats-row {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(10, 11, 13, 0.6), rgba(10, 11, 13, 0.8)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=2000&auto=format&fit=crop') center/cover fixed;
    padding: 120px 0;
}

.cta-complex-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .cta-complex-wrapper {
        grid-template-columns: 1fr;
    }
}

.cta-panel-left {
    background: var(--white);
    padding: 50px;
    color: var(--bg-darker);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-panel-left h2 {
    font-size: 2.5rem;
    color: var(--bg-darker);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.cta-panel-left p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group-custom {
    margin-bottom: 20px;
}

.form-group-custom label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group-custom input {
    width: 100%;
    padding: 15px;
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    color: var(--bg-darker);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: box-shadow 0.3s;
}

.form-group-custom input:focus {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.phone-input-wrapper {
    display: flex;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.phone-input-wrapper input {
    background: transparent;
    border-radius: 0;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background: #ebebeb;
    border-right: 1px solid #ddd;
    font-weight: 600;
    color: var(--bg-darker);
}

.phone-prefix img {
    width: 20px;
}

.cta-disclaimer {
    font-size: 0.75rem !important;
    color: #888 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

.cta-disclaimer a {
    color: var(--bg-darker);
    text-decoration: underline;
}

.cta-panel-middle {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.cta-panel-middle h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-grow: 1;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #25D366;
    border-radius: 50%;
    margin-top: 8px;
}

.contact-detail-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-detail-item span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.cta-socials {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.cta-socials a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.cta-socials a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-darker);
}

/* Removed cta-panel-right styles */

@media (max-width: 1024px) {
    .cta-panel-middle {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* Team Section Refinements */
.team-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.team-image-wrapper {
    height: 280px; /* Reduced from 350px for smaller cards */
    overflow: hidden;
    position: relative;
}

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

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

.whatsapp-float {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: var(--white);
    color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.team-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-role {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.team-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.team-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
}

.lang-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--primary-color);
}

/* Team Slider Navigation Overrides */
.team-slider-wrapper {
    position: relative;
    padding: 0 60px; /* Increased padding to give buttons more breathing room */
}

/* Square Professional Navigation */
.team-next,
.team-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    color: var(--bg-dark);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 4px; /* Professional square shape with slight rounding */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    cursor: pointer;
}

.team-next:after,
.team-prev:after {
    font-size: 0.9rem !important;
    font-weight: 700;
}

.team-next:hover,
.team-prev:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.team-prev {
    left: 0; /* Positioned with more distance from cards due to wrapper padding */
    right: auto;
}

.team-next {
    right: 0; /* Positioned with more distance from cards due to wrapper padding */
}

@media (max-width: 1024px) {
    .team-slider-wrapper {
        padding: 0 20px;
    }
    .team-prev { left: -5px; }
    .team-next { right: -5px; }
}

@media (max-width: 768px) {
    .team-next,
    .team-prev {
        display: none; /* Hide on mobile to prioritize swipe */
    }
    .team-slider-wrapper {
        padding: 0;
    }
}

/* Footer */
footer {
    background-color: #050608;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-darker);
    padding: 80px 0;
}

.stats-main-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.stats-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stats-card i {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.stats-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: 80%;
}

.stats-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Extra pages styling */
.page-header {
    height: 400px;
    background: linear-gradient(to right, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0.6) 100%), url('https://images.unsplash.com/photo-1613490900233-141c5560d75d?q=80&w=2000&auto=format&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.breadcrumb a {
    color: var(--primary-color);
}

/* Leadership Section */
.leadership-section {
    background-color: var(--bg-darker);
    padding: 100px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.leadership-card {
    background: transparent;
    perspective: 1000px;
    height: 320px;
    cursor: pointer;
}

.leadership-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.leadership-card.flipped .leadership-card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-front {
    background: #1a1c1e;
    display: flex;
}

.leadership-content {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card-logo-top {
    width: 60px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.leadership-image-side {
    width: 40%;
    overflow: hidden;
}

.leadership-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.card-back {
    background: #1a1c1e;
    transform: rotateY(180deg);
    padding: 20px 25px; /* Reduced padding for the large QR code */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-left {
    flex: 1;
}

.back-logo {
    width: 100px; /* Slightly smaller logo to balance the large QR code */
    margin-bottom: 15px;
}

.back-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

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

.qr-wrapper {
    background: var(--white);
    padding: 8px;
    border-radius: 8px;
    width: 250px; /* Maximum size for high-impact scanning */
    height: 250px; /* Maximum size for high-impact scanning */
    margin: 0 auto 5px;
}

.qr-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scan-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: none;
}

.flip-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition);
}

.leadership-card:hover .flip-icon {
    opacity: 1;
    color: var(--primary-color);
}

/* CTA Section with Grid Background */
.cta-section {
    position: relative;
    padding: 80px 0; /* Reduced padding for a more compact section */
    background-color: #0a0b0d;
    overflow: hidden;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, transparent 30%, transparent 70%, rgba(255, 215, 0, 0.15) 100%);
    animation: glowPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes glowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.cta-complex-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    position: relative;
    z-index: 2; /* Ensure content is above animated background */
}

.cta-panel-left {
    background: #ffffff;
    padding: 40px; /* Reduced padding */
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.cta-panel-left h2 {
    font-size: 2.2rem; /* Smaller heading as requested */
    font-family: 'Playfair Display', serif;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 15px;
}

.cta-panel-left p {
    font-size: 1rem;
    color: #444444;
    margin-bottom: 25px; /* Tighter spacing */
    line-height: 1.5;
}

.cta-panel-middle {
    background: var(--bg-darker);
    padding: 40px; /* Reduced padding */
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group-custom {
    margin-bottom: 15px; /* Tighter form groups */
}

.form-group-custom label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group-custom input {
    width: 100%;
    background: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    padding: 12px; /* Reduced padding */
    color: #111111;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group-custom input:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    overflow: hidden;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    border-right: 1px solid #eeeeee;
    background: #f1f1f1;
    height: 46px; /* Reduced height to match input */
}

.phone-prefix span {
    font-size: 0.9rem;
    color: #333333;
    font-weight: 600;
}

.phone-input-wrapper input {
    border: none;
    border-radius: 0;
}

.cta-panel-middle h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-top: 8px;
    box-shadow: 0 0 10px var(--primary-color);
}

.contact-detail-item h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-detail-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cta-socials {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.cta-socials a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.cta-socials a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .cta-complex-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
    }
}

.leadership-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
    line-height: 1.2;
}

.leadership-role {
    font-family: 'Poppins', sans-serif; /* Switched to Poppins for a more compact look */
    font-size: 0.65rem; /* Further reduced size */
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.2px; /* Minimal letter spacing as requested */
    margin-bottom: 35px;
    display: block;
}

.leadership-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leadership-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.leadership-contact-item i {
    color: var(--primary-color);
    width: 14px;
    text-align: center;
}

.leadership-contact-item a {
    color: var(--text-muted);
    transition: var(--transition);
}

.leadership-contact-item a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Fix */
.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 1000;
    padding: 100px 30px 40px;
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    color: var(--white);
}

@media (max-width: 1200px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-links, .header-cta {
        display: none;
    }
    .leadership-card {
        flex-direction: column-reverse;
        height: auto;
    }
    .leadership-image-side {
        width: 100%;
        height: 300px;
    }
}

/* Detail Page specific */
.property-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.gallery-main img {
    width: 100%;
    border-radius: 8px;
    height: 500px;
    object-fit: cover;
    margin-bottom: 20px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-thumbs img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.gallery-thumbs img:hover, .gallery-thumbs img.active {
    opacity: 1;
    border: 2px solid var(--primary-color);
}

.detail-header {
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.detail-price {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.detail-features {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

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

.detail-feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.detail-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-feature strong {
    display: block;
    font-size: 1.2rem;
    color: var(--white);
    margin-top: 5px;
}

.detail-description h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.contact-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 120px;
}

.contact-card h3 {
    margin-bottom: 20px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    color: var(--white);
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 120px;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
}

@media (max-width: 992px) {
    .property-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* YouTube Section Styles */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.youtube-card {
    text-decoration: none;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.youtube-card:hover {
    transform: translateY(-5px);
}

.youtube-thumb-wrapper {
    position: relative;
    width: 180px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.youtube-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--white);
    margin: 0 0 10px;
    font-weight: 600;
}

.youtube-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* Unit Detail Grid */
.unit-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 992px) {
    .unit-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.unit-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.unit-tabs::-webkit-scrollbar {
    display: none;
}

.unit-tab-btn {
    white-space: nowrap;
    padding: 12px 30px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--white);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.unit-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

/* Location Section Layout */
.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.proximity-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.proximity-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Lifestyle Section Layout */
.lifestyle-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .lifestyle-img-wrapper {
        order: 1;
    }
    
    .lifestyle-content {
        order: 2;
    }
}
.new-compare-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0a0b0d 100%);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.compare-banner-left {
    flex: 1;
    min-width: 300px;
}

.new-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.compare-banner-left h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.compare-banner-left p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.6;
}

.compare-banner-left p strong {
    color: var(--white);
    font-weight: 600;
}

.compare-banner-right {
    display: flex;
    gap: 15px;
    flex: 1;
    min-width: 300px;
    justify-content: flex-end;
}

.mock-compare-card {
    background: linear-gradient(180deg, #3a3a3a 0%, #0a0b0d 100%);
    border-radius: 12px;
    width: 140px;
    height: 240px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.mock-card-image {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mock-compare-card:hover {
    transform: translateY(-5px);
}

.mock-card-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.mock-check-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #00d26a; /* Green checkmark */
    font-size: 1.2rem;
    background: #0a0b0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.mock-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.mock-card-content strong {
    color: var(--white);
    font-size: 1.1rem;
}

.mock-card-content span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Footer Styling */
.main-footer {
    background-color: var(--bg-dark); /* Match the preferred dark background */
    padding: 60px 0 0; 
    border-top: 1px solid var(--border-color);
}

.footer-dev-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 30px; /* Reduced from 80px as per reference */
    text-align: center;
    letter-spacing: 1px;
}

.footer-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centered for equal side space */
    align-items: center;
    gap: 40px; 
    opacity: 0.8;
    margin: 0 0 40px; /* Reduced from 80px vertical margin */
}

.footer-logo-grid img {
    max-height: 45px; /* Slightly larger */
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: var(--transition);
}

.footer-logo-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px; /* Reduced from 80px */
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px; /* Reduced from 50px */
    padding-bottom: 30px; /* Explicit small bottom padding */
}

/* Swiper Pagination Styling */
.testimonials-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
}

.testimonials-slider .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}

/* Updated Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .nav-wrapper {
        height: 80px;
    }
    
    .logo img {
        height: 40px;
    }

    .nav-links {
        display: none; /* Hide desktop nav */
    }

    .header-cta {
        display: none; /* Hide desktop CTA */
    }

    .mobile-toggle {
        display: flex; /* Show mobile toggle */
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-complex-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-panel-middle, .cta-panel-right {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .hero-new {
        min-height: 600px;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .glass-search {
        padding: 1.5rem;
        gap: 15px;
        margin: 0 15px;
    }

    .search-input-wrapper {
        margin-bottom: 10px;
    }

    .stats-main-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .cta-panel-left, .cta-panel-middle, .cta-panel-right {
        padding: 50px 30px;
    }

    .cta-panel-left h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-logo-grid {
        justify-content: center;
        gap: 20px;
        display: flex;
        flex-wrap: wrap;
    }

    .footer-logo-grid img {
        height: 30px;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }
    
    /* YouTube Section Mobile */
    .youtube-grid, .youtube-section div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .youtube-card, .youtube-section a[style*="display: flex"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 15px !important;
    }

    .youtube-thumb-wrapper, .youtube-section div[style*="width: 180px"] {
        width: 100% !important;
        height: 200px !important;
        margin-bottom: 15px;
    }
    
    .map-container, .map-wrapper {
        height: 350px !important;
    }
    
    .location-grid {
        grid-template-columns: 1fr !important;
    }

    .compare-banner-container {
        padding: 60px 20px;
    }

    .compare-banner-right {
        margin-top: 40px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 20px;
        gap: 15px;
        scrollbar-width: none; /* Hide scrollbar for cleaner look */
    }

    .compare-banner-right::-webkit-scrollbar {
        display: none;
    }

    .mock-compare-card {
        min-width: 150px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 92%;
    }

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

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
    
    .nav-wrapper {
        height: 60px;
    }
    
    .logo img {
        height: 30px;
    }

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

    .property-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .detail-left {
        padding: 30px 20px !important;
    }

    .about-stats-row {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .about-stat-item {
        border-right: none !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .about-stat-item:last-child {
        border-bottom: none !important;
    }

    .page-header {
        padding: 80px 0 40px !important;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
    }

    .breadcrumb {
        font-size: 0.85rem !important;
    }
    .detail-features {
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
        padding: 20px !important;
    }

    .detail-feature {
        min-width: 120px !important;
    }

    .gallery-main img {
        height: 300px !important;
    }

    .gallery-thumbs img {
        height: 60px !important;
    }

    .detail-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .detail-price {
        font-size: 1.8rem !important;
    }

    .detail-header h1 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* Footer Property Cards - High-Fidelity Reference Match */
.featured-properties .section-header {
    text-align: left !important;
    margin-bottom: 30px !important;
}

.featured-properties .section-header h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.8rem !important;
    color: var(--white) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.footer-property-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important; /* Slightly increased from original 12px to reduce card width by ~3px */
    width: 100% !important;
    padding: 0 20px !important; /* Reduced from 40px as per feedback to balance width */
}

.footer-property-grid .property-card {
    flex-direction: column !important;
    height: auto !important;
    background: #1e2126 !important; /* Darker card background from image */
    border-radius: 12px !important;
    border: none !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
}

.footer-property-grid .property-card:hover {
    transform: translateY(-5px);
}

.footer-property-grid .property-image {
    width: 100% !important;
    height: 128px !important; /* Precision height as per user request */
    flex-shrink: 0 !important;
    position: relative !important;
}

.footer-property-grid .property-image img {
    height: 100% !important;
    object-fit: cover !important;
}

.footer-property-grid .property-badge-featured {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: rgba(40, 44, 52, 0.7) !important;
    color: white !important;
    font-size: 0.6rem !important;
    padding: 3px 10px !important;
    border-radius: 4px !important;
    text-transform: capitalize !important;
    font-weight: 500 !important;
    backdrop-filter: blur(4px) !important;
}

.footer-property-grid .property-content {
    width: 100% !important;
    padding: 8px 10px !important; /* Tighter internal padding */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 1px !important; /* Minimum gap between title, type, and price */
}

.footer-property-grid .property-title {
    font-size: 0.7rem !important; /* Smaller title */
    font-weight: 700 !important;
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    margin: 0 0 1px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.footer-property-grid .property-meta-item {
    font-size: 0.6rem !important; /* Slightly smaller meta text */
    color: #9ea3ae !important; /* Muted gray from image */
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important; /* Tighter gap between icon and text */
}

.footer-property-grid .property-meta-item i {
    width: 10px !important; /* Smaller icon container */
    font-size: 0.55rem !important; /* Explicitly smaller icon size */
    text-align: center !important;
}

.footer-property-grid .property-price {
    font-size: 0.6rem !important; /* Slightly smaller price text */
    color: #9ea3ae !important;
    margin-top: 0px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important; /* Tighter gap between icon and text */
}

.footer-property-grid .property-price i {
    width: 10px !important; /* Smaller icon container */
    font-size: 0.55rem !important; /* Explicitly smaller icon size */
    text-align: center !important;
}

@media (max-width: 1200px) {
    .footer-property-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .footer-property-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .footer-property-grid .property-image {
        height: 128px !important;
    }
}

@media (max-width: 480px) {
    .footer-property-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-property-grid .property-image {
        height: 128px !important;
    }
}

/* YouTube Section Responsiveness Fix */
@media (max-width: 768px) {
    .youtube-section .container > div, 
    .youtube-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .youtube-card, 
    .youtube-section a {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 15px !important;
    }
    .youtube-thumb-wrapper, 
    .youtube-section div[style*="width: 180px"] {
        width: 100% !important;
        height: 200px !important;
        margin-bottom: 15px;
    }
}

 / *   R e n t a l   S p e c i f i c   S t y l e s   * / 
 . r e n t a l - p r i c i n g - l i s t   { 
         m a r g i n - t o p :   1 5 p x ; 
         p a d d i n g - t o p :   1 5 p x ; 
         b o r d e r - t o p :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 ) ; 
 } 
 . r e n t a l - p r i c i n g - i t e m   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   s p a c e - b e t w e e n ; 
         f o n t - s i z e :   0 . 8 5 r e m ; 
         m a r g i n - b o t t o m :   5 p x ; 
         c o l o r :   v a r ( - - t e x t - m u t e d ) ; 
 } 
 . r e n t a l - p r i c i n g - i t e m   s t r o n g   { 
         c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ; 
 } 
 . r e n t a l - b a d g e   { 
         b a c k g r o u n d :   v a r ( - - p r i m a r y - c o l o r ) ; 
         c o l o r :   v a r ( - - b g - d a r k e r ) ; 
         p a d d i n g :   4 p x   1 2 p x ; 
         b o r d e r - r a d i u s :   4 p x ; 
         f o n t - s i z e :   0 . 7 5 r e m ; 
         f o n t - w e i g h t :   7 0 0 ; 
         t e x t - t r a n s f o r m :   u p p e r c a s e ; 
         p o s i t i o n :   a b s o l u t e ; 
         t o p :   2 0 p x ; 
         l e f t :   2 0 p x ; 
         z - i n d e x :   2 ; 
 }  
 
 / *   F i x   f o r   l o n g   m e t a   t e x t   i n   p r o p e r t y   c a r d s   * / 
 . p r o p e r t y - m e t a - r o w   { 
         d i s p l a y :   f l e x ; 
         g a p :   1 5 p x ; 
         m a r g i n - b o t t o m :   1 5 p x ; 
         f l e x - w r a p :   w r a p ; 
 } 
 . p r o p e r t y - m e t a - i t e m   { 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   6 p x ; 
         f o n t - s i z e :   0 . 8 r e m ; 
         c o l o r :   v a r ( - - t e x t - m u t e d ) ; 
 } 
 . p r o p e r t y - m e t a - i t e m   s t r o n g   { 
         c o l o r :   v a r ( - - w h i t e ) ; 
         f o n t - s i z e :   0 . 7 5 r e m ; 
         w h i t e - s p a c e :   n o w r a p ; 
 }  
 /* --- Global Mobile Responsiveness Final Fixes --- */

@media (max-width: 1200px) {
    .container { padding: 0 30px; }
}

@media (max-width: 992px) {
    .nav-links, .header-cta { display: none; }
    .mobile-toggle { display: block; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .youtube-grid { grid-template-columns: 1fr; }
    .property-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-desc { font-size: 1rem; }
    .property-grid, .rental-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .section-header h2 { font-size: 2.2rem; }
    
    .cta-complex-wrapper {
        grid-template-columns: 1fr !important;
        border-radius: 16px;
        max-width: 100% !important;
    }
    .cta-panel-left, .cta-panel-middle { padding: 30px; }
    .cta-panel-middle {
        border-left: none !important;
        border-top: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .gallery-main img { height: 350px; }
    .detail-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .detail-price { text-align: left; font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .btn { width: 100%; }
    .partner-logos { gap: 1rem; }
    .partner-logo span { font-size: 0.85rem; }
    .section-header h2 { font-size: 1.8rem; }
    
    .specs-grid { grid-template-columns: 1fr !important; }
    .facilities-grid { grid-template-columns: 1fr !important; }
}

/* Property Grid Global Definitions */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.footer-property-grid {
    margin-top: 40px;
}

/* Rental Grid Global Definitions */
.rental-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    padding: 40px 0 !important;
}

@media (max-width: 600px) {
    .rental-grid { grid-template-columns: 1fr !important; }
}

/* Ensure mobile menu works on all pages */
.mobile-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0) !important;
    transform: translateX(-100%);
    left: 0 !important;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Fix for long meta text in property cards */
.property-meta-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.property-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.property-meta-item strong {
    color: var(--white);
    font-size: 0.75rem;
    white-space: nowrap;
}
