/* ==========================================================================
   PROJECT REFINED THEME (Clean Slate)
   Target: SquareYards / Tarc Ishva Premium Aesthetic
   Structure: Strict Mobile (<768px) vs Desktop (>=768px) Separation
   ========================================================================== */


.mobile-sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 15px;
    display: flex;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.btn-whatsapp {
    flex: 1;
    background: #25d366;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}

.btn-call-back {
    flex: 1;
    background: var(--gold-main);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}

.btn-more-options {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    width: 42px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scrollable Tabs */
.mobile-scroll-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 5px;
    margin-bottom: 15px;
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    /* Adjust based on header height */
    z-index: 90;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

/* Mobile Logo Constraint */
.mobile-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.mobile-scroll-tabs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome */
}

.tab-link {
    display: inline-block;
    padding: 12px 15px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.tab-link.active {
    color: #222;
    font-weight: 700;
    border-bottom: 2px solid #222;
}

/* Hide header on scroll interaction or make mobile header sticky if needed - keeping simple for now */
/* Hide header on scroll interaction or make mobile header sticky if needed - keeping simple for now */

/* --------------------------------------------------------------------------
   1. VARIABLES & RESETS
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --gold-main: #9E6D20;
    --gold-light: #fff9e6;
    --gold-border: #e6dcc5;
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-muted: #888888;
    --bg-light: #ffffff;
    --bg-off-white: #f9f9f9;
    --bg-grey: #f4f4f4;
    --accent-red: #d32f2f;

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 40px;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-text: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-text);
    color: var(--text-body);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.cp-tagline {
    font-family: var(--font-primary);
}

/* Enforce Paragraph/Text Font Everywhere Else */
p,
span,
a,
li,
input,
textarea,
select,
select,
label,
div {
    font-family: var(--font-text);
}

/* Enforce Inter Font for Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.btn-premium-gold,
.btn-yellow-block,
[class*="btn-"] {
    font-family: var(--font-primary) !important;
}

/* Exceptions for Icons */
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded' !important;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.container {

    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-none {
    display: none !important;
}

/* Text Utilities */
.text-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 1rem;
}

.stars {
    color: #f5c518;
    letter-spacing: 2px;
    font-size: 14px;
}

/* Element Utilities */
.builder-logo-md {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.btn-link-action {
    background: none;
    border: none;
    color: var(--accent-red);
    padding: 0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-flex {
        display: flex !important;
    }

    .d-md-none {
        display: none !important;
    }
}

/* Material Icons Resets */
.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.icon-xs {
    font-size: 16px !important;
}

.icon-sm {
    font-size: 20px !important;
}

.icon-lg {
    font-size: 28px !important;
}

/* --------------------------------------------------------------------------
   2. SITE HEADER (Desktop Only - Global)
   -------------------------------------------------------------------------- */
.static-cp-header {
    background: #fff;
    border-bottom: 1px solid #ccc;
    /* Dark Green Top Border */
    padding: 12px 0;
}

/* Desktop Logo Constraint */
.cp-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cp-tagline {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}


/* --------------------------------------------------------------------------
   3. DESKTOP LAYOUT (>= 768px)
   -------------------------------------------------------------------------- */
.desktop-view-container {
    padding-bottom: 60px;
    background-color: #f4f5f7;
    /* Light grey background for desktop */
}

.desktop-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    /* Main content + 340px Sidebar */
    gap: 30px;
    align-items: start;
}

.desktop-left-col {
    width: 100%;
    min-width: 0;
}

.desktop-right-col {
    width: 100%;
    position: sticky;
    top: 90px;
}

.desktop-info-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.desktop-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-heading {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   4. DESKTOP GALLERY GRID
   -------------------------------------------------------------------------- */
.desktop-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.d-gallery-main {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.d-gallery-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.d-gallery-top-item {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.d-gallery-split-row {
    flex: 1;
    display: flex;
    gap: 10px;
}

.d-gallery-split-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
}

.d-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.desktop-gallery-grid:hover .d-gallery-img {
    transform: scale(1.02);
}

.d-overlay-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.d-overlay-bottom-left {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.btn-white-sm {
    background: #fff;
    color: #222;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.badge-dark {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. DESKTOP COMPONENT STYLES
   -------------------------------------------------------------------------- */
.btn-gold-desktop {
    background: #cfaa5f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.desktop-price {
    font-size: 24px;
    font-weight: 800;
    color: #222;
}

.charges-lbl {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    text-decoration: underline;
}

.desktop-sqft {
    font-size: 14px;
    color: #666;
}

.desktop-val {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.desktop-val-sm {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.lbl-sm {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.d-highlights-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.d-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.icon-grey {
    color: #999;
    font-size: 24px;
}

/* Sidebar Widget */
.sidebar-widget-gold {
    background: #fff9f0;
    border: 1px solid #f0e0c0;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.sidebar-widget-gold h4 {
    font-size: 16px;
    font-weight: 700;
    color: #8a6d3b;
    margin-bottom: 15px;
}

.check-list-gold li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.check-list-gold li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #cfaa5f;
    font-weight: bold;
}

.view-more-link {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #cfaa5f;
    font-weight: 600;
    text-decoration: underline;
}


.header-nav-links .nav-item {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-left: 24px;
    transition: color 0.2s;
}


.header-nav-links .nav-item:hover {
    color: var(--gold-main);
}


/* --------------------------------------------------------------------------
   3. MOBILE VIEW (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    body {
        padding-top: 60px;
        /* Space for fixed header */
    }

    /* Custom Mobile Header */
    .mobile-header-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #fff;
        display: flex;
        align-items: center;
        padding: 0 12px;
        z-index: 999;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        gap: 12px;
    }

    .mobile-search-input {
        flex: 1;
        background: #f5f5f5;
        height: 40px;
        border-radius: 4px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        color: #777;
        font-size: 14px;
        border: 1px solid #eee;
    }

    .mobile-search-input input {
        border: none;
        background: transparent;
        margin-left: 8px;
        width: 100%;
        outline: none;
    }

    /* Mobile Hero */
    .mobile-hero-section {
        height: 280px;
        position: relative;
        background: #eee;
    }

    .mobile-hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-overlay-actions {
        position: absolute;
        top: 12px;
        right: 12px;
        display: flex;
        gap: 8px;
    }

    .btn-circular {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #eee;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        color: #333;
    }

    /* Mobile Badges */
    .mobile-hero-badges-bottom {
        position: absolute;
        bottom: 12px;
        left: 12px;
        right: 12px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .badge-3d {
        background: #fff;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .badge-media {
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-left: 6px;
    }

    /* Mobile Body */
    .mobile-body-content {
        padding: 20px 16px;
        background: #fff;
    }

    .mobile-project-title {
        font-size: 22px;
        font-weight: 700;
        color: #000;
        margin-bottom: 4px;
    }

    .mobile-project-loc {
        font-size: 14px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-rating-row {
        margin-top: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        color: #444;
    }

    .mobile-divider {
        border: 0;
        border-top: 1px solid #f0f0f0;
        margin: 20px 0;
    }

    /* Price Section */
    .mobile-price-section {
        position: relative;
    }

    .mobile-price-val {
        font-size: 24px;
        font-weight: 700;
        color: #222;
    }

    .mobile-price-sub {
        font-size: 14px;
        color: #666;
        margin-top: 2px;
    }

    .btn-gold-outline-mobile {
        position: absolute;
        top: 0;
        right: 0;
        border: 1px solid var(--gold-main);
        background: var(--gold-light);
        color: #8a6d3b;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 12px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* Status Section */
    .icon-label-group {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .lbl {
        display: block;
        font-size: 12px;
        color: #888;
    }

    .val {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #000;
    }

    .btn-gold-capsule {
        border: 1px solid #eee;
        background: #fff;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        color: #555;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    /* Config Grid */
    .mobile-config-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .m-config-item {
        display: flex;
        gap: 10px;
    }

    /* Urgency Strip */
    .mobile-urgency-strip {
        background: #fff5f5;
        border-left: 3px solid var(--accent-red);
        padding: 10px;
        margin-top: 20px;
        font-size: 12px;
        color: #555;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .u-red {
        color: var(--accent-red);
        font-weight: 700;
        margin-left: 4px;
    }
}


/* --------------------------------------------------------------------------
   4. DESKTOP VIEW (>= 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {

    /* Header Strip */
    .desktop-project-header {
        background: #fff;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
    }

    .desktop-title {
        font-size: 32px;
        font-weight: 700;
        color: #222;
        margin-bottom: 4px;
    }

    .desktop-loc {
        font-size: 14px;
        color: #666;
    }

    .loc-link {
        color: #222;
        text-decoration: underline;
        margin-left: 8px;
    }

    /* Gallery Grid (Split) */
    .desktop-gallery-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 12px;
        height: 480px;
        overflow: hidden;
        border-radius: 8px;
        margin-top: 20px;
    }

    .d-gallery-main {
        position: relative;
        height: 100%;
        background: #ccc;
        cursor: pointer;
    }

    .d-gallery-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .d-gallery-main:hover .d-gallery-img {
        transform: scale(1.02);
    }

    .d-overlay-top-right {
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        gap: 10px;
    }

    .btn-white-sm {
        background: #fff;
        border: 1px solid #ddd;
        padding: 8px 16px;
        border-radius: 4px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .badge-dark {
        position: absolute;
        bottom: 20px;
        left: 20px;
        text-transform: uppercase;
        background: rgba(0, 0, 0, 0.75);
        color: #fff;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .d-gallery-side {
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: 100%;
    }

    .d-gallery-top-item {
        flex: 1.5;
        overflow: hidden;
        border-radius: 8px;
    }

    .d-gallery-split-row {
        flex: 1;
        display: flex;
        gap: 12px;
    }

    .d-gallery-split-item {
        flex: 1;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        background: #f4f4f4;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #eee;
        cursor: pointer;
    }

    .center-badge {
        position: absolute;
        background: #fff;
        padding: 6px 14px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    /* Layout Grid */
    .desktop-layout-grid {
        display: grid;
        grid-template-columns: 7fr 3.5fr;
        gap: 40px;
        margin-top: 30px;
    }

    /* Config Cards */
    .desktop-info-card {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 24px;
        margin-bottom: 20px;
    }

    .desktop-price {
        font-size: 28px;
        font-weight: 700;
        color: #222;
    }

    .charges-lbl {
        font-size: 13px;
        color: #888;
        font-weight: 400;
        text-decoration: underline;
        margin-left: 8px;
    }

    .desktop-sqft {
        font-size: 15px;
        color: #666;
        margin-top: 4px;
    }

    .btn-gold-desktop {
        background: #fff;
        border: 1px solid var(--gold-main);
        color: #8a6d3b;
        padding: 10px 24px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background 0.2s;
    }

    .btn-gold-desktop:hover {
        background: var(--gold-light);
    }

    .desktop-val {
        margin-top: 4px;
        font-size: 20px;
        font-weight: 600;
        color: #222;
    }

    .lbl-sm {
        font-size: 13px;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Highlights Row */
    .d-highlights-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .d-highlight-item {
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
    }

    .d-highlight-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -10px;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background: #eee;
    }

    .desktop-val-sm {
        display: block;
        font-size: 15px;
        font-weight: 600;
        color: #333;
        margin-top: 2px;
    }

    /* Sidebar Widget */
    .sidebar-widget-gold {
        background: #fff;
        border: 1px solid #e0e0e0;
        padding: 24px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .sidebar-widget-gold h4 {
        font-size: 16px;
        font-weight: 700;
        color: #000;
        margin-bottom: 16px;
    }

    .check-list-gold li {
        font-size: 14px;
        position: relative;
        padding-left: 14px;
        margin-bottom: 12px;
        color: #555;
    }

    .check-list-gold li::before {
        content: '•';
        position: absolute;
        left: 0;
        top: 0;
        color: #aaa;
        font-size: 14px;
    }

    .view-more-link {
        font-size: 14px;
        font-weight: 600;
        color: #27ae60;
        text-decoration: underline;
    }
}

/* --------------------------------------------------------------------------
   5. UTILS & COMPONENTS
   -------------------------------------------------------------------------- */
/* Lead Form Reusable */
.lead-form-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-badge {
    background: #fff5f5;
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid #ffcccc;
}

.form-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}

.form-control-modern {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    outline: none;
    transition: border 0.2s;
}

.form-control-modern:focus {
    border-color: var(--gold-main);
}

.btn-yellow-block {
    width: 100%;
    background: #ffce00;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
}

.btn-yellow-block:hover {
    background: #e6b800;
}

.hidden {
    display: none;
}

/* --------------------------------------------------------------------------
   6. INTERACTIVE OVERLAY & GALLERY
   -------------------------------------------------------------------------- */
.project-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.overlay-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 20px;
}

.btn-close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2010;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.btn-close-overlay:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Overlay Header */
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-right: 60px;
    /* Space for close button */
}

.overlay-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

/* Tabs */
.overlay-tabs {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 30px;
}

.overlay-tab {
    background: transparent;
    border: none;
    color: #ccc;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.overlay-tab:hover {
    color: #fff;
}

.overlay-tab.active {
    background: #fff;
    color: #000;
}

/* Tab Content Areas */
.overlay-tab-content {
    display: none;
    flex: 1;
    overflow: hidden;
    /* For slider */
    flex-direction: column;
    justify-content: center;
}

.overlay-tab-content.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Slider */
.gallery-slider-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    width: 100%;
}

.gallery-slide-img {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0 40px;
    /* Space for arrows */
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    width: 40px;
    height: 60px;
    cursor: pointer;
    z-index: 20;
    font-size: 20px;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.slider-nav.next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

/* Thumbnails */
.gallery-thumbnails {
    height: 80px;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow-x: auto;
}

.thumb-img {
    height: 100%;
    width: auto;
    border-radius: 4px;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.thumb-img:hover {
    opacity: 0.8;
}

.thumb-img.active {
    opacity: 1;
    border-color: var(--gold-main);
}

/* Video/Map Grid Placeholder */
.overlay-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    overflow-y: auto;
    max-height: 80vh;
    padding: 20px;
}

.video-card-overlay {
    position: relative;
    cursor: pointer;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border: 2px solid #fff;
}

.floorplan-img,
.map-container-overlay img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .overlay-tabs {
        width: 100%;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.05);
    }

    .overlay-tab {
        padding: 6px 10px;
        font-size: 12px;
    }

    .gallery-slide-img {
        padding: 0;
        /* Full width on mobile */
    }

    .slider-nav {
        width: 30px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
    }

    .overlay-content-wrapper {
        padding: 10px;
    }

    .btn-close-overlay {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
    }
}

/* --------------------------------------------------------------------------
   7. OVERLAY VISIBILITY (NUCLEAR OPTION)
   -------------------------------------------------------------------------- */
#project-details-overlay.overlay-visible {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
    /* On top of everything */
}

/* --------------------------------------------------------------------------
   9. PRICE LIST TABLE
   -------------------------------------------------------------------------- */
.price-list-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    padding: 24px;
}

.price-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.premium-table thead {
    background: #f9f9f9;
    border-bottom: 2px solid #eee;
}

.premium-table th {
    text-align: left;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.premium-table td {
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
    color: #333;
    vertical-align: middle;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.unit-type-row {
    font-weight: 700;
    color: #222;
}

.price-val-row {
    font-weight: 700;
    color: #333;
}

.check-availability-link {
    color: #222;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.check-availability-link:hover {
    color: #cfaa5f;
    /* Gold hover */
}

/* --------------------------------------------------------------------------
   8. PREMIUM LEAD FORM
   -------------------------------------------------------------------------- */
.premium-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    font-family: 'Inter', sans-serif;
    /* Ensure premium font */
}

/* Hide Honeypot completely */
.honeypot {
    display: none !important;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

.premium-banner {
    background: #fff9e6;
    color: #333;
    text-align: center;
    padding: 10px 10px;
    /* Compact padding */
    font-size: 11px;
    /* Smaller font for single line */
    font-weight: 700;
    border: 1px solid #ffd700;
    border-radius: 8px;
    margin: 15px 15px 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    /* FORCE single line */
    overflow: hidden;
    text-overflow: ellipsis;
}

.premium-banner .fire-icon {
    margin-right: 0;
    font-size: 14px;
}

.form-body {
    padding: 15px 20px 25px;
}

.form-heading-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    text-align: left;
    flex-wrap: nowrap;
    /* No wrapping */
}

/* Circle Icon Container */
.phone-icon-animated {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    /* Slightly smaller */
    height: 36px;
    border: 2px solid #222;
    border-radius: 50%;
    font-size: 18px;
    color: #222;
    margin-bottom: 0;
    flex-shrink: 0;
}

.form-heading-row h3 {
    font-size: 15px;
    /* Perfect size for single line */
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    /* FORCE single line */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fields */
.form-group-premium {
    margin-bottom: 15px;
}

.form-control-premium {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* More rounded */
    font-size: 15px;
    color: #444;
    transition: all 0.2s;
    background: #fff;
}

.form-control-premium::placeholder {
    color: #999;
}

.form-control-premium:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
    outline: none;
}

/* Phone Group with Country Code - INTEGRATED LOOK */
.phone-group-premium {
    display: flex;
    gap: 10px;
    /* border: 1px solid #e0e0e0; */
    /* border-radius: 8px; */
    /* padding: 0; */
    /* overflow: hidden; */
}

.country-select {
    width: 85px;
    padding: 12px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    /* Custom Arrow */
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.phone-input-premium {
    flex: 1;
    /* border: none; */
}

/* Button */
.btn-premium-gold {
    width: 100%;
    background: var(--gold-main);
    /* Updated to user gold */
    color: #fff;
    /* White text for contrast */
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    box-shadow: none;
    /* Removed heavy shadow per ref */
}

/* Read More Link Style */
.btn-link-action {
    background: none;
    border: none;
    padding: 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 5px;
}

.btn-premium-gold:hover {
    filter: brightness(0.9);
    transform: none;
    box-shadow: none;
}

/* Floor Plan Card Button (Refined - Sleek/Mobile-like) */
.btn-yellow-block {
    background: var(--gold-main);
    color: #fff;
    width: 100%;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    padding: 10px 15px;
    /* Reduced padding */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    /* Reduced for premium look */
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    letter-spacing: 1px;
    /* Increased spacing */
}

.btn-yellow-block:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(158, 109, 32, 0.2);
}

.auth-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}


/* Floor Plan Styles */
.fp-main-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.fp-tab-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.fp-tab-btn.active {
    background: #222;
    color: #fff;
    border-color: #222;
}

.fp-sub-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.fp-sub-tab {
    padding-bottom: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.fp-sub-tab.active {
    border-bottom: 2px solid #222;
}

.fp-size {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.fp-price {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.fp-img-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    min-height: 250px;
}

.fp-img-main {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.fp-details-block {
    margin-bottom: 20px;
}

.fp-variant-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.fp-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.fp-price-lg {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.fp-charges {
    font-size: 13px;
    color: #444;
    text-decoration: underline;
}


/* Mobile Floor Plan Carousel */
.mobile-fp-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
    padding-left: 2px;
    /* Prevent cutoff of shadow */
    padding-right: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.mobile-fp-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.fp-mobile-card {
    min-width: 85%;
    /* Show part of next card to encourage scroll */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fp-card-img-box {
    position: relative;
    background: #f9f9f9;
    padding: 10px;
    /* Reduced padding for tighter look */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    /* Gently reduced height */
}

.fp-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Removed fp-badge-3d as per request */


.fp-card-body {
    padding: 15px;
}

.fp-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
    line-height: 1.3;
}

.fp-card-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.fp-price-val {
    font-size: 18px;
    font-weight: 800;
    /* Very bold */
    color: #222;
}

.fp-charges {
    font-size: 13px;
    color: #444;
    text-decoration: underline;
}

.fp-emi {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin-left: 2px;
}

.fp-card-btn {
    font-weight: 800;
    /* Bold text for button */
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    padding: 12px;
}

/* --------------------------------------------------------------------------
   6. DESKTOP MEDIA & AMENITIES
   -------------------------------------------------------------------------- */
.play-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid #fff;
    z-index: 2;
}

.badge-count-bottom {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.object-fit-cover {
    object-fit: cover;
}

/* Desktop Media Grid - Compact */
.desktop-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* Prevent overflow */
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.desktop-media-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 140px;
    /* Small height as requested */
}

.badge-pill-white {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #fff;
    color: #333;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Amenities Grid */
.amenities-grid-desktop {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.amenity-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    height: 100px;
    transition: all 0.2s;
}

.amenity-card:hover {
    border-color: #cfaa5f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.amenity-card span {
    font-size: 13px;
    color: #555;
    line-height: 1.3;
}

.amenity-card .icon-lg {
    font-size: 28px;
    color: #333;
}

.more-card {
    background: #fff9e6;
    /* Light Gold */
    border-color: #f0e0c0;
    cursor: pointer;
}

.more-card .count {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* Amenities Modal Styles */
.amenities-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.amenities-modal-container {
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUpFade 0.3s ease-out;
}

.amenities-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.amenities-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.btn-close-modal {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background 0.2s;
}

.btn-close-modal:hover {
    background: #f5f5f5;
    color: #000;
}

.amenities-modal-body {
    padding: 25px;
    overflow-y: auto;
}

.amenities-category-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.amenities-category-box:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.amenity-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 14px;
}

.amenity-item-row .material-symbols-rounded {
    font-size: 24px;
    color: #333;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Specific Styles */
.mobile-media-scroll {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    /* Space for scrollbar if visible */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    width: 100%;
}

.mobile-media-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.media-card-mobile {
    flex: 0 0 85%;
    /* Shows partial next card to encourage scroll */
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* Prevent overflow with minmax */
    gap: 10px;
    width: 100%;
}

.mobile-amenity-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 90px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mobile-amenity-card .icon-md {
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.mobile-amenity-card span {
    font-size: 11px;
    color: #555;
    line-height: 1.2;
}

.mobile-amenity-card.more-card {
    background: #fff9e6;
    border-color: #f0e0c0;
}

.mobile-amenity-card .count-sm {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

/* Brochure Section Styles */
.brochure-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ebebeb;
}

.btn-download-brochure {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-download-brochure:hover {
    background: #f9f9f9;
    border-color: #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #000;
}

.text-danger {
    color: #dc3545 !important;
    /* Bootstrap Red for PDF icon */
}

/* Mobile Adjustment for Brochure */
@media (max-width: 768px) {
    .brochure-card {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
        text-align: center;
        padding: 20px;
    }

    .brochure-card .d-flex {
        width: 100%;
        justify-content: center;
        /* Center icon and title on mobile */
    }

    .btn-download-brochure {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

/* Nearby Landmarks Styles */
.landmark-map-container {
    background-color: #f5f5f5;
    background-image: url('https://placehold.co/800x250/e0e0e0/e0e0e0');
    /* Plain grey, no text */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #ebebeb;
}

.btn-map-overlay {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-map-overlay:hover {
    background: #000;
    transform: translateY(-2px);
}

.landmark-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.landmark-tab {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.landmark-tab:hover {
    background: #f9f9f9;
}

.landmark-tab.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.landmark-list {
    border-top: 1px solid #ebebeb;
}

.landmark-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ebebeb;
    font-size: 14px;
    color: #333;
}

.lm-dist {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hidden-landmark-mobile {
    display: none;
}

.btn-view-more-landmarks {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view-more-landmarks:hover {
    background: #f9f9f9;
    border-color: #333;
    color: #000;
}

.hidden-landmark-desktop {
    display: none;
}

/* FAQ Section */
.faq-section {
    background: #fff;
    border-radius: 8px;
}

.faq-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 14px;

    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.disclaimer-text {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    text-align: justify;

    font-size: 12px;
    color: #666;
    line-height: 1.6;
    text-align: justify;
    font-style: italic;
}

/* Footer Redesign - 3 Column */
.footer-new {
    background: #f9f9f9;
    padding: 60px 0 30px;
    border-top: 1px solid #ebebeb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.btn-download-brochure {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #cfaa5f;
    /* Gold */
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-download-brochure:hover {
    background: #b59045;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 170, 95, 0.3);
    color: #fff;
}

.footer-links-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-new li {
    margin-bottom: 12px;
}

.footer-links-new a {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.footer-links-new a:hover {
    color: #cfaa5f;
    transform: translateX(4px);
}

.footer-bottom-new {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .footer-logo,
    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }


    .footer-links-new a:hover {
        transform: none;
    }

    /* Fix Form Header Visibility on Mobile */
    .premium-banner {
        white-space: normal;
        height: auto;
        padding: 8px 10px;
        font-size: 10px;
        /* Reduced for better fit */
        line-height: 1.3;
        flex-direction: row;
        flex-wrap: nowrap;
        /* Try to keep on one line if possible, or wrap gently */
        justify-content: center;
        width: 100%;
        margin: 15px auto 10px;
    }

    .premium-banner .fire-icon {
        font-size: 12px;
        margin-right: 4px;
    }

    .form-heading-row {
        flex-wrap: nowrap;
        /* Prevent icon on top of text */
        justify-content: flex-start;
        text-align: left;
        align-items: center;
        gap: 10px;
        padding: 0 5px;
    }

    .phone-icon-animated {
        width: 32px;
        /* Smaller icon */
        height: 32px;
        font-size: 16px;
        flex-shrink: 0;
    }

    .form-heading-row h3 {
        white-space: normal;
        font-size: 14px;
        /* Adjusted size */
        font-weight: 700;
        text-align: left;
        line-height: 1.2;
    }

    /* Mobile Navbar (New) */
    .mobile-navbar {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .mobile-logo {
        height: 36px;
        width: auto;
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        padding: 0;
        font-size: 28px;
        color: #333;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden by default */
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 2000;
        transition: right 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
        display: flex;
        flex-direction: column;
    }

    .mobile-menu-overlay.active {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .btn-close-menu {
        background: none;
        border: none;
        font-size: 28px;
        color: #333;
        cursor: pointer;
    }

    .mobile-nav-links {
        list-style: none;
        padding: 20px;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav-links a {
        font-size: 18px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        display: block;
    }

    .mobile-hero-section {
        margin-top: 0;
    }

    /* Remove gap above mobile header */
    body,
    #main-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* ========================================= */
/* Enquire Popup Modal Styles */
/* ========================================= */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

.popup-content-wrapper {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 480px;
    /* Aligned with form card width */
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-overlay.active .popup-content-wrapper {
    transform: scale(1);
}

.btn-close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #333;
    transition: background 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-close-popup:hover {
    background: #fff;
    transform: rotate(90deg);
}

.popup-body {
    /* The lead form container inside already has styles */
}

/* Adjust contained form styles when inside popup */
.popup-body .lead-form-container {
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Mobile Adjustments for Popup */
@media (max-width: 768px) {
    .popup-content-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        transform: translateY(100%);
        max-height: 85vh;
        /* Prevent covering full screen */
    }

    .popup-overlay.active .popup-content-wrapper {
        transform: translateY(0);
    }

    .btn-close-popup {
        top: 10px;
        right: 10px;
        background: #fff;
        /* Ensure visible on mobile header */
    }
}

/* Primary Button Style (Refined) */
.btn-premium-gold {
    background: var(--gold-main);
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(158, 109, 32, 0.2);
    margin-top: 15px;
}



/* ========================================= */
/* Gallery Overlay Styles (Restored)         */
/* ========================================= */
.project-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.project-overlay.overlay-visible {
    display: flex !important;
}

.overlay-content-wrapper {
    width: 90%;
    max-width: 1100px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Close Button */
.btn-close-overlay {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 100;
}

.btn-close-overlay:hover {
    color: var(--gold-main);
    transform: rotate(90deg);
    transition: all 0.3s;
}

/* Tabs */
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.overlay-title {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.overlay-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.overlay-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
}

.overlay-tab.active {
    background: #fff;
    color: #000;
}

/* Tab Content Areas */
.overlay-tab-content {
    display: none;
    height: 100%;
    overflow-y: auto;
}

.overlay-tab-content.active {
    display: block;
}

/* Video Grid System */
.overlay-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.video-card-overlay {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    aspect-ratio: 16/9;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    display: block;
}

.video-card-overlay:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-main);
}

.video-card-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-card-overlay:hover img {
    opacity: 0.6;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(158, 109, 32, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s;
}

.video-card-overlay:hover .play-icon-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold-main);
}

.video-card-overlay p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Scrollbar styling for overlay */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-main);
}

/* ========================================= */
/* UTILITY CLASSES (Read More / View More)   */
/* ========================================= */

/* Global Read More Utilities (High Specificity) */
.clamped-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.clamped-text.expanded {
    -webkit-line-clamp: unset !important;
    display: block !important;
    overflow: visible !important;
}

/* Sidebar Expandable List */
.expandable-list li.extra-item {
    display: none !important;
}

.expandable-list.expanded li.extra-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================= */
/* NEW CONTACT MODAL STYLES                  */
/* ========================================= */

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.custom-modal-container {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    /* overflow: hidden; Removed to allow intl-tel-input dropdown */
    animation: slideUpFade 0.3s ease-out;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    z-index: 10;
}

.modal-header-row {
    padding: 24px 24px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle span {
    font-size: 20px;
    color: #000;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.modal-body {
    padding: 10px 24px 20px;
}

.modal-input-group {
    margin-bottom: 12px;
    position: relative;
}

.modal-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.modal-input:focus {
    border-color: #ffd700;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.country-code-select {
    width: 80px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 14px;
}

.btn-modal-submit {
    width: 100%;
    background: #ffd700;
    color: #000;
    font-weight: 700;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* USP Section */
.modal-usps {
    background: #fdfdfd;
    border-top: 1px solid #eee;
    padding: 20px 24px;
      border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.usp-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.usp-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.usp-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.usp-icon-box {
    padding: 4px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.usp-icon-box span {
    font-size: 18px;
    color: #555;
}

.usp-text {
    font-size: 13px;
    line-height: 1.4;
    color: #555;
}

.usp-text strong {
    display: block;
    color: #000;
    margin-bottom: 2px;
}

.usp-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #ddd;
    border-radius: 50%;
}

.dot.active {
    background: #555;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Refinements */
@media (max-width: 768px) {
    .custom-modal-container {
        max-width: 90%;
        border-radius: 20px;
    }


    .usp-grid {
        gap: 20px;
    }
}

/* Map Section Styles (Desktop & Mobile) */
.landmark-map-container {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    background: #eee;
}

.btn-map-overlay {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #222;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-map-overlay:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: #fff !important;
    color: #222 !important;
}

@media (max-width: 767.98px) {
    .landmark-map-container {
        height: 250px;
        /* Smaller height for mobile */
    }
}

/* Master Plan Image Constraints (Desktop) */
/* Master Plan Image Constraints (Desktop) */
.master-plan-img-desktop {
    max-height: 450px;
    width: auto !important;
    /* Override img-fluid width: 100% to preserve aspect ratio within height constraint */
    max-width: 100%;
    /* Ensure it doesn't overflow container width */
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* ==========================================================================
   International Telephone Input Overrides
   ========================================================================== */
.iti {
    width: 100% !important;
    display: block !important;
}

.iti__country-list {
    z-index: 9999 !important;
    /* Ensure it appears above modals */
    white-space: normal;
    /* Prevent text clipping */
    width: 300px !important;
    /* Ensure enough width for country names */
}

/* Ensure container doesn't collapse */
.phone-group,
.phone-group-premium {
    display: block !important;
    width: 100%;
}

/* Reset input padding/width handled by library */
.iti input.phone-input,
.iti input.phone-input-premium {
    width: 100% !important;
    padding-left: 90px !important;
    /* Space for the flag+code display */
}

/* Adjust for the separate dial code display */
.iti__selected-flag {
    background-color: transparent !important;
    border-right: 1px solid #e0e0e0;
}

/* --------------------------------------------------------------------------
   PHOTOS & VIDEOS GRID (3-Card Layout)
   -------------------------------------------------------------------------- */
.desktop-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.desktop-media-item {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f0f0f0;
    /* Fallback */
}

.desktop-media-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
}

.media-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.media-card-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.desktop-media-item:hover .media-card-wrapper img {
    transform: scale(1.05);
}

/* Play Icon (Centered) */
.play-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 2;
    transition: all 0.2s ease;
}

.desktop-media-item:hover .play-icon-center {
    background: rgba(0, 0, 0, 0.85);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon-center::before {
    content: "▶";
    /* Simple play icon character or use material icon if preferred */
    font-size: 18px;
    margin-left: 2px;
    /* Visual center adjustment */
}

/* White Pill Badge */
.badge-pill-white {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #fff;
    color: #111;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
    line-height: 1;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .desktop-media-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on tablet */
    }

    .desktop-media-item {
        height: 180px;
    }
}

/* Read More / Less Logic */
.clamped-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Show 3 lines by default */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.3s ease;
}

.clamped-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* ==========================================================================
   MOBILE LAYOUT FIXES
   ========================================================================== */
@media (max-width: 767.98px) {

    /* Fix Price Insights Button Overlap */
    .mobile-price-section {
        display: flex;
        flex-direction: column;
        /* Stack elements */
        align-items: flex-start;
        gap: 5px;
        position: relative;
        padding-bottom: 10px;
    }

    .mobile-price-val {
        font-size: 26px;
        font-weight: 700;
        color: #222;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .mobile-price-sub {
        font-size: 14px;
        color: #666;
        margin-bottom: 5px;
    }

    .link-charges {
        display: inline-block;
        margin-bottom: 15px;
        font-size: 13px;
        color: #888;
        text-decoration: underline;
    }

    .btn-gold-outline-mobile {
        position: static !important;
        /* Remove absolute positioning */
        margin-top: 10px;
        width: 100%;
        background: #fff;
        border: 1px solid #9E6D20;
        color: #9E6D20;
        padding: 10px;
        border-radius: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    /* Responsive Desktop Gallery Grid for Mobile */
    .desktop-gallery-grid {
        height: auto !important;
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 10px;
    }

    .d-gallery-main {
        height: 220px;
        border-radius: 8px;
        margin-bottom: 0;
    }

    .d-gallery-side {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: auto;
    }

    .d-gallery-top-item {
        display: none !important;
    }

    /* Hide large side image */
    .d-gallery-split-row {
        display: flex;
        gap: 10px;
        height: 100px;
    }

    .d-gallery-split-item {
        flex: 1;
        height: 100%;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }

    .d-gallery-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .desktop-gallery-grid .badge-dark,
    .desktop-gallery-grid .center-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Mobile RERA Alignment */
.mobile-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* Fix for intl-tel-input dropdown z-index in modals */
.iti {
    position: relative;
    display: block;
}

.iti__dropdown,
.iti--container {
    z-index: 10000 !important;
}