/**
 * DAMAC Properties - Official Luxury Design System
 * LIGHT THEME 1:1 Replica Styling (White Body Content with Dark Hero & Footer)
 * Matching official damacproperties.com screenshot and video recording.
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --damac-white: #ffffff;
    --damac-black: #000000;
    --damac-dark-text: #111111;
    --damac-muted-text: #555555;
    --damac-subtle-text: #888888;
    --damac-light-bg: #f9f9f9;
    --damac-light-border: #e8e8e8;
    --damac-card-bg: #ffffff;
    --damac-gold: #c5a880;
    --damac-gold-hover: #b8976b;
    --damac-font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --damac-font-heading: 'Outfit', 'Montserrat', sans-serif;
}

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

html, body {
    background-color: var(--damac-white) !important;
    color: var(--damac-dark-text);
    font-family: var(--damac-font-primary);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

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

/* Container */
.damac-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.damac-container-wide {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.damac-heading-tracking {
    font-family: var(--damac-font-heading);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
}

.damac-gold-text {
    color: var(--damac-gold);
}

/* Buttons */
.damac-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.damac-btn-pill:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.damac-btn-pill-dark {
    border: 1px solid #111111;
    background: transparent;
    color: #111111;
}

.damac-btn-pill-dark:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.damac-btn-solid-dark {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.damac-btn-solid-dark:hover {
    background: transparent;
    color: #000000;
    transform: translateY(-2px);
}

.damac-btn-solid-white {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.damac-btn-solid-white:hover {
    background: transparent;
    color: #ffffff;
}

/* ==========================================================================
   1. SITE DYNAMIC HEADER (1:1 EXACT OFFICIAL DAMAC SPECIFICATION)
   ========================================================================== */
.damac-topbar {
    display: none !important;
}

.damac-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
    padding: 18px 0;
    color: #ffffff;
}

body.admin-bar .damac-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .damac-header {
        top: 46px !important;
    }
}

/* Header when scrolled into Light theme body */
.damac-header.scrolled {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 13px 0;
    color: #111111;
}

.damac-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.damac-header-left {
    display: flex;
    align-items: center;
    gap: 44px;
}

.damac-logo-wrap {
    display: flex;
    align-items: center;
}

.damac-logo-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

/* Logo Switcher */
.damac-logo-white {
    display: block;
}
.damac-logo-black {
    display: none;
}

.damac-header.scrolled .damac-logo-white {
    display: none;
}
.damac-header.scrolled .damac-logo-black {
    display: block;
}

/* Navigation Links (Left-Aligned directly beside Logo) */
.damac-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.damac-nav-item {
    position: relative;
}

.damac-nav-link {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #ffffff;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.damac-header.scrolled .damac-nav-link {
    color: #111111;
}

.damac-nav-link:hover, 
.damac-nav-item:hover > .damac-nav-link {
    color: var(--damac-gold) !important;
}

/* Right Nav Controls: Search and Wishlist Heart (No Enquire button, No hamburger on desktop) */
.damac-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.damac-nav-search-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.damac-header.scrolled .damac-nav-search-btn {
    color: #111111;
}

.damac-nav-search-btn:hover {
    color: var(--damac-gold) !important;
}

.damac-nav-wishlist-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.damac-header.scrolled .damac-nav-wishlist-btn {
    color: #111111;
}

.damac-nav-wishlist-btn:hover {
    color: var(--damac-gold) !important;
    transform: scale(1.12);
}

.damac-hamburger-btn {
    display: none;
}

@media (max-width: 991px) {
    .damac-nav {
        display: none;
    }
    .damac-hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 22px;
        height: 16px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    .damac-hamburger-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: #ffffff;
        transition: background-color 0.2s ease;
    }
    .damac-header.scrolled .damac-hamburger-btn span {
        background: #111111;
    }
}

/* ========================================================
   OFFICIAL 5-COLUMN MEGA DROPDOWN MENU (1:1 DAMAC MATCH)
   ======================================================== */
.damac-has-mega {
    position: static;
}

/* Full-Screen Frosted Backdrop */
.damac-mega-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    pointer-events: none;
}

body.damac-mega-open .damac-mega-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Header style when Mega Menu is Open */
.damac-header.mega-active,
body.damac-mega-open .damac-header {
    background: #ffffff !important;
    color: #111111 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: none !important;
}

.damac-header.mega-active .damac-logo-white,
body.damac-mega-open .damac-header .damac-logo-white {
    display: none !important;
}
.damac-header.mega-active .damac-logo-black,
body.damac-mega-open .damac-header .damac-logo-black {
    display: block !important;
}

.damac-header.mega-active .damac-nav-link,
body.damac-mega-open .damac-header .damac-nav-link {
    color: #111111 !important;
}

.damac-header.mega-active .damac-nav-search-btn,
body.damac-mega-open .damac-header .damac-nav-search-btn {
    color: #111111 !important;
}

.damac-header.mega-active .damac-nav-wishlist-btn,
body.damac-mega-open .damac-header .damac-nav-wishlist-btn {
    color: #111111 !important;
}

/* Active Underline for All Mega Menu Items (matching official DAMAC) */
.damac-has-mega.open > .damac-nav-link,
.damac-has-mega:hover > .damac-nav-link {
    color: #111111 !important;
    position: relative;
}
.damac-has-mega.open > .damac-nav-link::after,
.damac-has-mega:hover > .damac-nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111111;
}

.damac-header.mega-active .damac-nav-link:hover,
body.damac-mega-open .damac-header .damac-nav-link:hover {
    color: #000000 !important;
}

/* Mega Dropdown Panel */
.damac-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
    z-index: 999;
    padding: 38px 0 46px;
    color: #111111;
    pointer-events: none;
}

.damac-has-mega.open > .damac-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 5 Column Grid Layout */
.damac-mega-wrapper {
    position: relative;
}

.damac-mega-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 36px;
    padding-right: 44px;
}

.damac-mega-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    padding-right: 44px;
}

.damac-mega-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px;
    max-width: 800px;
    padding-right: 44px;
}

.damac-mega-footer-action {
    display: flex;
    justify-content: center;
    padding-top: 26px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.damac-mega-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 42px;
    border: 1px solid #111111;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #111111;
    background: transparent;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

.damac-mega-btn-pill:hover {
    background: #111111;
    color: #ffffff;
}

/* Close Button (top-right of the mega panel, matching Image 2) */
.damac-mega-close {
    position: absolute;
    top: -2px;
    right: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #111111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}
.damac-mega-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Column Title (exact as in Image 2: subtle uppercase gray, no bottom line) */
.damac-mega-col-title {
    font-family: var(--damac-font-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 22px;
    padding-bottom: 0;
    border-bottom: none !important;
}

/* Column List */
.damac-mega-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.damac-mega-list a {
    font-size: 13.5px;
    font-weight: 400;
    color: #18181b;
    display: inline-block;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.18s ease;
}

.damac-mega-list a:hover {
    color: #000000;
    font-weight: 500;
}

.damac-mega-viewall {
    font-size: 13.5px;
    font-weight: 400;
    color: #18181b;
    display: inline-block;
    margin-top: 4px;
    transition: color 0.18s ease;
}

.damac-mega-viewall:hover {
    color: #000000;
    font-weight: 500;
}

@media screen and (max-width: 1100px) {
    .damac-mega-grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}
@media screen and (max-width: 768px) {
    .damac-mega-dropdown {
        display: none !important;
    }
}

/* Search Modal Overlay */
.damac-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.damac-search-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.damac-search-modal-box {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 750px;
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.damac-search-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.damac-search-modal-title {
    font-family: var(--damac-font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.damac-search-modal-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.damac-search-modal-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 9999px;
    font-size: 14px;
    outline: none;
}

.damac-search-modal-input:focus {
    border-color: #000;
}

.damac-search-quick-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.damac-search-quick-tags a {
    font-size: 12px;
    background: #f1f1f1;
    padding: 4px 12px;
    border-radius: 9999px;
    color: #333;
    transition: all 0.2s ease;
}

.damac-search-quick-tags a:hover {
    background: #000;
    color: #fff;
}

.damac-mega-list a:hover {
    color: #000000;
    transform: translateX(4px);
}

.damac-mega-view-all {
    margin-top: 15px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--damac-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   2. VERTICAL SCROLL HERO VIDEO CAROUSEL
   ========================================================================== */
.damac-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background: #000000;
}

.damac-hero-vertical-track,
.damac-hero-slider-vertical,
.damac-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.damac-hero-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.damac-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.damac-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.75) 100%);
    z-index: 2;
}

.damac-hero-content {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.damac-hero-slide-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.6));
}

.damac-hero-title {
    font-family: var(--damac-font-heading);
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.damac-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Vertical Slide Indicators on Right */
.damac-hero-indicators-vertical {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 25;
}

.damac-hero-indicator-item {
    width: 4px;
    height: 36px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0;
    transition: all 0.35s ease;
}

.damac-hero-indicator-item:hover {
    background: rgba(255, 255, 255, 0.7);
    height: 44px;
}

.damac-hero-indicator-item.active {
    background: #ffffff;
    height: 54px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Hero Search & Filter Bar */
.damac-hero-search-wrap {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 30;
}

.damac-hero-search-bar {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 60px;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

.damac-search-field {
    flex: 1;
    padding: 8px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    cursor: pointer;
}

.damac-search-field:last-of-type {
    border-right: none;
}

.damac-field-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
    white-space: nowrap;
}

.damac-field-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

.damac-field-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.damac-search-submit-btn {
    margin-left: 10px;
}

/* ==========================================================================
   3. CURATED COLLABORATIONS (LIGHT THEME - PURE WHITE)
   ========================================================================== */
.damac-collabs-section {
    padding: 100px 0 80px;
    background: #ffffff;
    position: relative;
}

.damac-section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.damac-section-title {
    font-family: var(--damac-font-heading);
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000000;
    line-height: 1.25;
    margin-bottom: 16px;
}

.damac-section-subtitle {
    font-size: 15px;
    color: var(--damac-muted-text);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

/* Authentic Black Brand Logos Tabs */
.damac-brand-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 0 16px;
}

.damac-brand-tab {
    background: transparent;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.damac-brand-tab:hover, .damac-brand-tab.active {
    opacity: 1;
    transform: scale(1.08);
}

.damac-brand-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: none; /* Authentic sharp black on white */
}

/* 4x3 Collaborations Cards Grid */
.damac-collabs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.damac-collab-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.damac-collab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.damac-collab-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.damac-collab-card:hover .damac-collab-card-img {
    transform: scale(1.08);
}

.damac-collab-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 2;
}

.damac-collab-card-brand-logo {
    max-height: 28px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.damac-collab-card-title {
    font-family: var(--damac-font-heading);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 4px;
}

.damac-collab-card-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   OFFICIAL CURATED COLLABORATIONS POPUP MODAL (1:1 AS IN SCREEN RECORDING)
   ========================================================================== */
.damac-collab-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    box-sizing: border-box;
}

.damac-collab-modal.active {
    display: flex !important;
}

.damac-collab-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    animation: damacCollabFade 0.3s ease forwards;
}

.damac-collab-modal-box {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 14px;
    width: 100%;
    max-width: 1360px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 26px 36px 34px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: damacCollabScale 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes damacCollabFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes damacCollabScale {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Modal Top Bar */
.damac-collab-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.damac-collab-modal-title {
    font-family: var(--damac-font-heading);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111111;
    white-space: nowrap;
}

/* Brand Tabs in Modal Header */
.damac-collab-modal-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    padding: 4px 10px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.damac-collab-modal-tabs::-webkit-scrollbar {
    display: none;
}

.damac-collab-mtab {
    background: transparent;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    opacity: 0.38;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: nowrap;
}

.damac-collab-mtab img {
    height: 22px;
    max-width: 110px;
    object-fit: contain;
    filter: none;
    transition: opacity 0.2s ease;
}

.damac-collab-mtab:hover {
    opacity: 0.8;
}

.damac-collab-mtab.active {
    opacity: 1;
}

.damac-collab-mtab.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000000;
    border-radius: 2px;
}

/* Modal Close Button */
.damac-collab-modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #111111;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.damac-collab-modal-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Slider Section */
.damac-collab-slider-wrapper {
    position: relative;
    margin: 6px 0 24px;
}

.damac-collab-slider-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
}

.damac-collab-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.damac-collab-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    aspect-ratio: 4 / 4.8;
    max-height: 480px;
    min-height: 380px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #f4f4f5;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.damac-collab-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.damac-collab-slide:hover img {
    transform: scale(1.05);
}

/* Chevrons */
.damac-collab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    color: #111111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.damac-collab-prev {
    left: -14px;
}

.damac-collab-next {
    right: -14px;
}

.damac-collab-arrow:hover:not(:disabled) {
    background: #111111;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.damac-collab-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* Dots Pagination */
.damac-collab-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 24px;
}

.damac-collab-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4d4d8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.damac-collab-dot.active {
    width: 22px;
    height: 7px;
    border-radius: 4px;
    background: #111111;
}

/* Modal Bottom CTA */
.damac-collab-modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .damac-collab-slide {
        flex: 0 0 calc((100% - 20px) / 2);
        max-height: 420px;
        min-height: 340px;
    }
    .damac-collab-prev {
        left: 6px;
    }
    .damac-collab-next {
        right: 6px;
    }
    .damac-collab-modal-top {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 680px) {
    .damac-collab-modal-box {
        padding: 20px 16px 24px;
    }
    .damac-collab-slide {
        flex: 0 0 100%;
        max-height: 380px;
        min-height: 300px;
    }
    .damac-collab-modal-title {
        font-size: 12px;
    }
}

/* ==========================================================================
   4. DEVELOPER SHOWCASE & COUNTER STATS (EXACT 1:1 DAMAC SPECIFICATION)
   ========================================================================== */
.damac-developer-section {
    padding: 85px 0 95px;
    background: #ffffff;
    border-top: 1px solid var(--damac-light-border);
    border-bottom: 1px solid var(--damac-light-border);
    text-align: center;
}

.damac-dev-title {
    font-family: var(--damac-font-heading);
    font-size: clamp(22px, 2.7vw, 36px);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #000000;
    line-height: 1.4;
    margin: 0 auto 18px;
    max-width: 900px;
}

.damac-dev-link {
    display: inline-block;
    font-family: var(--damac-font-primary);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #111111;
    border-bottom: 1.5px solid #111111;
    padding-bottom: 4px;
    margin-bottom: 60px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.damac-dev-link:hover {
    color: var(--damac-gold);
    border-bottom-color: var(--damac-gold);
}

/* Stats Counter Row (3 on Top, 2 Centered Below - Exactly matching Image 1) */
.damac-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 40px;
    max-width: 1240px;
    margin: 0 auto;
}

.damac-stat-box {
    flex: 0 0 calc(33.333% - 40px);
    max-width: 360px;
    min-width: 260px;
    padding: 0 16px;
    text-align: center;
    border: none !important;
}

.damac-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin: 0 auto 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.damac-stat-box:hover .damac-stat-icon {
    transform: translateY(-4px);
}

.damac-stat-icon svg {
    display: block;
    max-height: 48px;
    width: auto;
}

.damac-stat-num {
    font-family: var(--damac-font-heading);
    font-size: clamp(32px, 3.2vw, 42px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #000000;
    line-height: 1.15;
    margin-bottom: 8px;
}

.damac-stat-label {
    font-family: var(--damac-font-primary);
    font-size: 13.5px;
    font-weight: 400;
    color: #555555;
    line-height: 1.45;
}

@media screen and (max-width: 900px) {
    .damac-stat-box {
        flex: 0 0 calc(50% - 30px);
        max-width: 340px;
    }
}

@media screen and (max-width: 600px) {
    .damac-stat-box {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .damac-stats-grid {
        gap: 36px 0;
    }
}

/* ==========================================================================
   5. MY DAMAC HOME (TESTIMONIALS - LIGHT THEME)
   ========================================================================== */
.damac-testimonials-section {
    padding: 90px 0;
    background: #ffffff;
}

.damac-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.damac-testi-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.damac-testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.damac-testi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.damac-testi-card:hover .damac-testi-img {
    transform: scale(1.05);
}

.damac-testi-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 45%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

.damac-testi-name {
    font-family: var(--damac-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.damac-testi-quote {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

/* ==========================================================================
   6. WHY DUBAI? (LIGHT THEME)
   ========================================================================== */
.damac-whydubai-section {
    padding: 90px 0;
    background: #ffffff;
    border-top: 1px solid var(--damac-light-border);
}

.damac-whydubai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.damac-whydubai-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f5f5f5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.damac-whydubai-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.damac-whydubai-card:hover .damac-whydubai-img {
    transform: scale(1.05);
}

.damac-whydubai-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px 28px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 45%, rgba(0,0,0,0.95) 100%);
}

.damac-whydubai-card-title {
    font-family: var(--damac-font-heading);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
}

.damac-whydubai-card-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ==========================================================================
   7. OUR GLOBAL PRESENCE (TICKER OVER LIGHT THEME)
   ========================================================================== */
.damac-global-section {
    padding: 90px 0;
    background: #ffffff;
    border-top: 1px solid var(--damac-light-border);
    overflow: hidden;
}

/* ==========================================================================
   7. OUR GLOBAL PRESENCE (DUAL MARQUEE - 1:1 TO DAMAC OFFICIAL)
   ========================================================================== */
.damac-global-section {
    padding: 85px 0 75px;
    background: #ffffff;
    border-top: 1px solid var(--damac-light-border);
    overflow: hidden;
    position: relative;
}

.damac-global-heading {
    font-family: var(--damac-font-heading);
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 45px 0;
    text-align: center;
}

.damac-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.damac-marquee-row {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.damac-marquee-row.row-left {
    animation: damacScrollLeft 50s linear infinite;
}

.damac-marquee-row.row-right {
    animation: damacScrollRight 50s linear infinite;
}

.damac-marquee-row:hover {
    animation-play-state: paused;
}

@keyframes damacScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

@keyframes damacScrollRight {
    0% { transform: translateX(calc(-50% - 10px)); }
    100% { transform: translateX(0); }
}

.damac-global-card {
    position: relative;
    width: 370px;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #111111;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.damac-global-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.damac-global-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.damac-global-card:hover .damac-global-card-img {
    transform: scale(1.08);
}

.damac-global-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px 20px;
    text-align: center;
    z-index: 1;
}

.damac-global-card-center-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.damac-global-card-center-logo .damac-brand-text {
    font-family: var(--damac-font-heading);
    font-size: 19px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.15em;
    color: #ffffff;
    line-height: 1.1;
    text-transform: uppercase;
}

.damac-global-card-center-logo .damac-brand-sub {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2px;
    text-transform: uppercase;
}

.damac-global-card-center-logo .damac-brand-loc {
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
    text-transform: uppercase;
}

.damac-fan-logo {
    width: 44px;
    height: 24px;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.damac-global-card-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.damac-global-card-title {
    font-family: var(--damac-font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.damac-global-card-location {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.05em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .damac-global-card {
        width: 280px;
        height: 175px;
        border-radius: 10px;
    }
    .damac-global-card-center-logo .damac-brand-text {
        font-size: 15px;
    }
    .damac-global-card-title {
        font-size: 12px;
    }
}

/* ==========================================================================
   8. OUR EXPERTISE (SALES ADVISORY - LIGHT THEME)
   ========================================================================== */
.damac-expertise-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid var(--damac-light-border);
}

.damac-expertise-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.damac-expertise-content {
    display: flex;
    flex-direction: column;
}

.damac-expertise-title {
    font-family: var(--damac-font-heading);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 24px;
}

.damac-expertise-desc {
    font-size: 14px;
    color: var(--damac-muted-text);
    line-height: 1.8;
    margin-bottom: 40px;
}

.damac-expertise-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 45px;
}

.damac-exp-stat-num {
    font-family: var(--damac-font-heading);
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    line-height: 1.1;
    margin-bottom: 6px;
}

.damac-exp-stat-lbl {
    font-size: 12px;
    color: var(--damac-subtle-text);
}

.damac-expertise-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.damac-expertise-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   9. NEWSLETTER & DEEP MEGA FOOTER (DEEP BLACK)
   ========================================================================== */
.damac-footer {
    background: #000000;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 80px;
    padding-bottom: 40px;
}

/* Newsletter Strip */
.damac-newsletter-strip {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 70px;
}

.damac-newsletter-logo {
    height: 32px;
    width: auto;
    margin: 0 auto 24px;
    filter: brightness(0) invert(1);
}

.damac-social-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 35px;
}

.damac-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.25s ease;
}

.damac-social-link:hover {
    border-color: var(--damac-gold);
    color: var(--damac-gold);
    transform: translateY(-3px);
}

.damac-newsletter-title {
    font-family: var(--damac-font-heading);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

.damac-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.damac-newsletter-input {
    flex: 1;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.damac-newsletter-input:focus {
    border-color: var(--damac-gold);
}

.damac-newsletter-terms {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 12px;
}

/* Deep Footer Columns */
.damac-footer-columns {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.damac-footer-col-title {
    font-family: var(--damac-font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--damac-gold);
    margin-bottom: 20px;
}

.damac-footer-col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.damac-footer-col-list a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.damac-footer-col-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* App Download Badges */
.damac-app-badges {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.damac-app-badge img {
    height: 38px;
    width: auto;
}

/* Bottom Legal Bar */
.damac-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    flex-wrap: wrap;
    gap: 16px;
}

.damac-legal-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.damac-legal-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.damac-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   10. MODAL POPUP & INQUIRY SYSTEM
   ========================================================================== */
.damac-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.damac-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.damac-modal-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #111111;
}

.damac-modal-overlay.active .damac-modal-box {
    transform: translateY(0);
}

.damac-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #666666;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.damac-modal-close:hover {
    color: #000000;
}

.damac-modal-title {
    font-family: var(--damac-font-heading);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 8px;
}

.damac-modal-sub {
    font-size: 13px;
    color: var(--damac-muted-text);
    margin-bottom: 25px;
}

.damac-form-group {
    margin-bottom: 16px;
}

.damac-form-input, .damac-form-select {
    width: 100%;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 16px;
    color: #111111;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.damac-form-input:focus, .damac-form-select:focus {
    border-color: #000000;
}

/* ==========================================================================
   11. BROWSE PROPERTIES / PROJECTS PAGE (LIGHT THEME)
   ========================================================================== */
.damac-page-hero {
    padding: 150px 0 60px;
    background: #f8f8f8;
    text-align: center;
    border-bottom: 1px solid var(--damac-light-border);
}

.damac-page-title {
    font-family: var(--damac-font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 16px;
}

.damac-page-sub {
    font-size: 15px;
    color: var(--damac-muted-text);
    max-width: 600px;
    margin: 0 auto;
}

.damac-filter-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--damac-light-border);
    padding: 20px 0;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.damac-filter-grid {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.damac-filter-select {
    background: #f4f4f4;
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
    padding: 10px 20px;
    color: #111111;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.damac-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

.damac-project-card {
    background: #ffffff;
    border: 1px solid var(--damac-light-border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.damac-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.2);
}

.damac-project-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.damac-project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.damac-project-card:hover .damac-project-card-img {
    transform: scale(1.06);
}

.damac-project-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: var(--damac-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 9999px;
}

.damac-project-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.damac-project-brand {
    font-size: 11px;
    color: var(--damac-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.damac-project-title {
    font-family: var(--damac-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 8px;
    line-height: 1.3;
}

.damac-project-location {
    font-size: 12px;
    color: var(--damac-muted-text);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.damac-project-facts {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--damac-light-border);
    border-bottom: 1px solid var(--damac-light-border);
    margin-bottom: 20px;
    font-size: 12px;
}

.damac-fact-item {
    display: flex;
    flex-direction: column;
}

.damac-fact-lbl {
    color: var(--damac-subtle-text);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.damac-fact-val {
    color: #111111;
    font-weight: 600;
}

.damac-project-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

/* ==========================================================================
   12. RESPONSIVENESS
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .damac-collabs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .damac-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }
    .damac-stat-box:nth-child(3) {
        border-right: none;
    }
    .damac-testi-grid, .damac-whydubai-grid {
        grid-template-columns: 1fr;
    }
    .damac-expertise-grid {
        grid-template-columns: 1fr;
    }
    .damac-footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
    .damac-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .damac-topbar {
        display: none;
    }
    .damac-header {
        top: 0;
    }
    .damac-nav-menu {
        display: none;
    }
    .damac-stats-grid {
        grid-template-columns: 1fr;
    }
    .damac-stat-box {
        border-right: none;
        border-bottom: 1px solid var(--damac-light-border);
        padding-bottom: 20px;
    }
    .damac-hero-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 16px;
    }
    .damac-search-field {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 0;
    }
    .damac-search-submit-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 14px;
    }
    .damac-footer-columns {
        grid-template-columns: 1fr 1fr;
    }
    .damac-projects-grid {
        grid-template-columns: 1fr;
    }
    .damac-collabs-grid {
        grid-template-columns: 1fr;
    }
}
