/* ==========================================================================
   Single Property Header & Hero Bar Styles
   ========================================================================== */

.single-property-page {
    background-color: #ffffff;
    color: #1e293b;
    font-family: inherit;
}

.property-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Hero Container & Badges
   -------------------------------------------------------------------------- */
.property-hero-section {
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Takes full dynamic screen height */
    display: flex;
    flex-direction: column; /* Stacks image wrapper and meta bar vertically */
    overflow: hidden;
}

.property-hero-wrapper {
    position: relative;
    width: 100%;
    flex: 1; /* Automatically expands to take ALL remaining space */
    overflow: hidden;
}

.property-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Basic background zoom entrance animation */
    animation: heroBgZoom 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Left Title Badge */
.hero-badge-title {
    position: absolute;
    top: 100px; 
    left: 40px;
    background-color: #ffffff;
    padding: 10px 28px 10px 20px;
    border-left: 6px solid #1d4ed8; /* Blue vertical accent bar */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(-20px);
    animation: heroFadeSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-badge-title h1 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

/* Right Status Tag (Ongoing / Upcoming / Completed) */
.hero-status-tag {
    position: absolute;
    top: 100px;
    right: 40px;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
    color: #ffffff;
    text-transform: capitalize;
    z-index: 2;
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(-20px);
    animation: heroFadeSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-status-tag.status-ongoing {
    background-color: #facc15; /* Yellow tag */
    color: #0f172a;
}

.hero-status-tag.status-upcoming {
    background-color: #3b82f6; /* Blue tag */
}

.hero-status-tag.status-completed {
    background-color: #22c55e; /* Green tag */
}

/* --------------------------------------------------------------------------
   Blue Navigation & Info Bar
   -------------------------------------------------------------------------- */
.property-meta-bar {
    background-color: #1e40af; /* Primary blue bar */
    color: #ffffff;
    padding: 18px 0;
    flex-shrink: 0; /* Prevents the bar from shrinking */
    width: 100%;
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.meta-info-group {
    display: flex;
    gap: 40px;
    align-items: center;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: #93c5fd;
    text-transform: uppercase;
    font-weight: 600;
}

.meta-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================
   Desktop Jump Menu
========================================== */

.jump-menu-wrapper{
    display:flex;
    align-items:center;
}

/* Hide arrow buttons on desktop */
.jump-scroll-btn{
    display:none;
}

.property-jump-menu{
    display:flex;
    gap:2px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.3);
    border-radius:2px;
}

.jump-menu-container{
    display:flex;
}

.jump-link{
    color:#fff;
    text-decoration:none;
    padding:10px 24px;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.5px;
    border-right:1px solid rgba(255,255,255,.3);
    transition:.25s;
}

.jump-link:last-child{
    border-right:none;
}

.jump-link:hover{
    background:rgba(255,255,255,.25);
}

/* --------------------------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes heroBgZoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@keyframes heroFadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Mobile Responsive Styles (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* ==========================
   Hero Section
========================== */

.property-hero-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0;
    min-height: 320px;
    overflow: hidden;
}

/* Title inside image */
.hero-badge-title {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.hero-badge-title h1 {
    font-size: 1.7rem;
    line-height: 1.25;
    color: #ffffff;   /* White so it's visible on the image */
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Status badge above title */
.hero-status-tag {
    position: absolute;
    left: 16px;
    bottom: 80px;

    top: auto;
    right: auto;

    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;

    display: inline-flex;
    align-items: center;

    padding: 6px 14px;
    margin: 0;
    z-index: 2;
}
    /* Property Title */
    .hero-badge-title {
        position: static;
        max-width: 100%;
        margin: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .hero-badge-title h1 {
        font-size: 1.7rem;
        line-height: 1.25;
        color:#000000;
        font-weight: 700;
    }

    /* ==========================
       Meta Information Bar
    ========================== */

    .property-meta-bar {
        padding: 18px 15px;
    }

    .bar-content {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .meta-info-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .meta-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;

        border-radius: 10px;
    }

    .meta-icon {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .meta-label {
        font-size: 0.72rem;
        color: #93c5fd;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .meta-value {
        font-size: 1rem;
        font-weight: 600;
        margin-top: 4px;
        color: #ffffff;
    }

    /* CTA Buttons */
    .bar-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .bar-actions .btn,
    .bar-actions a {
        width: 100%;
        justify-content: center;
    }
/* ==========================================
   Mobile Jump Menu
========================================== */

.jump-menu-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

.property-jump-menu {
    flex: 1; /* Automatically takes up all space between the buttons */
    min-width: 0; /* Prevents flex items from overflowing container width */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.property-jump-menu::-webkit-scrollbar {
    display: none;
}

.jump-menu-container {
    display: inline-flex;
    gap: 10px;
    padding: 4px 0; /* Vertical breathing room without clipping overflow horizontally */
    min-width: max-content;
}

.jump-link {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Arrow Buttons - Positioned outside the scrolling menu flow */
.jump-scroll-btn {
    flex: 0 0 32px; /* Fixed button size */
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #1e40af;
    color: #fff;
    cursor: pointer;

    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.jump-scroll-btn:hover {
    background: #1d4ed8;
}

/* Removes absolute positioning so buttons sit neatly on left/right sides */
.jump-scroll-btn.left,
.jump-scroll-btn.right {
    position: static;
    transform: none;
}

}
/* --------------------------------------------------------------------------
   Content Section
   -------------------------------------------------------------------------- */
.property-content-section {
    padding: 60px 0;
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.property-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 640px) {
    .property-hero-wrapper {
        height: 350px;
    }

    .hero-badge-title {
        top: 20px;
        left: 15px;
        padding: 8px 16px;
    }

    .hero-badge-title h1 {
        font-size: 1.2rem;
    }



    .meta-info-group {
        gap: 20px;
    }
}

/* Container & Dark Overlay Background */
.property-dark-details-section {
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.88)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    padding: 60px 0;
    color: #ffffff;
}

.dark-grid-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 35px;
    margin-bottom: 35px;
    align-items: stretch;
}

/* Card Shell */
.dark-card {
    background: rgba(30, 32, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-heading {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin: 0 0 24px 0;
    color: #ffffff;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   1. Amenities Grid with Divider Borders
   -------------------------------------------------------------------------- */
.amenities-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.amenity-grid-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

/* Remove right border on 3rd column */
.amenity-grid-cell:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border on last row */
.amenity-grid-cell:nth-last-child(-n+3) {
    border-bottom: none;
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.icon-circle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.amenity-name {
    font-size: 0.88rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   2. Agent Box & Brochure
   -------------------------------------------------------------------------- */
.agent-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Center wrapper for the Download Brochure button */
.brochure-wrap-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

/* Updated Button Styles */
.btn-brochure {
    display: inline-block;
    background-color: #38bdf8;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    transition: all 0.2s ease-in-out;
}

.btn-brochure:hover {
    background-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4);
}
.agent-heading {
    text-align: center;
    font-size: 1.1rem;
    margin: 15px 0 20px 0;
    font-weight: 500;
    color: #f1f5f9;
}

.custom-agent-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-agent-form input,
.custom-agent-form textarea {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 3px;
    padding: 11px 14px;
    font-size: 0.85rem;
    color: #0f172a;
    box-sizing: border-box;
}

.btn-agent-submit {
    align-self: center;
    background: transparent;
    border: 1.5px solid #38bdf8;
    color: #ffffff;
    padding: 8px 42px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.btn-agent-submit:hover {
    background-color: #38bdf8;
}

/* --------------------------------------------------------------------------
   3. Google Map Wrapper
   -------------------------------------------------------------------------- */
.map-card-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 360px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.map-card-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

/* --------------------------------------------------------------------------
   Location Advantage Interactive Buttons & Dropdowns
   -------------------------------------------------------------------------- */
.location-advantage-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 16px;
    align-items: start;
}

/* Category Buttons (Left Column) */
.loc-categories-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.loc-cat-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    transition: all 0.25s ease;
    outline: none;
}

.loc-cat-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Active Category Button State */
.loc-cat-btn.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.loc-cat-btn.active .cat-arrow {
    transform: translateX(4px);
    color: #38bdf8;
}

.cat-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-icon-circle .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
}

.cat-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #f1f5f9;
}

.cat-arrow {
    color: #cbd5e1;
    font-size: 1.1rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Right Dropdown Panels Container */
.loc-destinations-col {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    min-height: 200px;
}

/* Dropdown Panel Hidden by default */
.loc-dropdown-panel {
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dropdown Panel Active State */
.loc-dropdown-panel.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.loc-dest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    color: #e2e8f0;
}

.loc-dest-row:last-child {
    border-bottom: none;
}

.dest-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dest-dist {
    font-weight: 500;
    color: #38bdf8;
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .dark-grid-row {
        grid-template-columns: 1fr;
    }

    .brochure-wrap {
        position: static;
        margin-bottom: 15px;
        text-align: right;
    }
}

@media (max-width: 640px) {
    .location-advantage-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenity-grid-cell:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .amenity-grid-cell:nth-child(2n) {
        border-right: none;
    }
}

/* --------------------------------------------------------------------------
   1. Video Section
   -------------------------------------------------------------------------- */
.property-video-section {
    padding: 40px 0 20px 0;
    background: #ffffff;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.play-btn-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #ffffff;
}

.play-icon {
    transform: rotate(90deg);
    font-size: 22px;
    color: #1e293b;
    margin-left: 4px;
}

/* --------------------------------------------------------------------------
   2. Property Highlight Section
   -------------------------------------------------------------------------- */
.property-highlight-section {
    background: linear-gradient(rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.92)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    padding: 60px 0 80px 0;
    color: #ffffff;
}

.highlight-header {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.highlight-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
    margin: 0;
    color: #ffffff;
}

.highlight-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

/* Scrollable Gallery Track */
.gallery-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    width: 100%;
}

/* Hide default browser scrollbar */
.gallery-track::-webkit-scrollbar {
    height: 6px;
}

.gallery-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.5);
    border-radius: 10px;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 14px); /* Show 3 cards per row */
    min-width: 280px;
    height: 220px;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav Arrow Buttons */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
    background: #38bdf8;
    border-color: #38bdf8;
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .highlight-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        flex: 0 0 calc(80% - 10px); /* 1.2 slides visible on mobile */
    }

    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}

/* --------------------------------------------------------------------------
   Approvals & Plot Layout Section
   -------------------------------------------------------------------------- */
.plot-layout-section {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
}

/* 1. Top Approval Badges */
.approvals-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.approval-badge {
    background-color: #2b91d5;
    color: #ffffff;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease;
}

.approval-badge:hover {
    background-color: #1d71a8;
}

/* 2. Section Heading */
.plot-layout-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0f172a;
    margin: 0 0 35px 0;
    text-transform: uppercase;
}

/* 3. Image Container */
.plot-image-wrapper {
    max-width: 750px;
    margin: 0 auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 8px;
}

.plot-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

/* Responsive Rules */
@media (max-width: 640px) {
    .approvals-wrapper {
        gap: 10px;
    }
    
    .approval-badge {
        width: 100%;
        max-width: 280px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .plot-layout-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}
/* --------------------------------------------------------------------------
   Gated EMI Calculator - Login Overlay Styling
   -------------------------------------------------------------------------- */
.emi-card-dark {
    position: relative;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    overflow: hidden;
}

/* Blur & Dim Effect when Locked */
.emi-card-dark.emi-locked .emi-grid {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
    opacity: 0.2;
    transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

/* Full Overlay Container */
.emi-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.emi-card-dark.unlocked .emi-lock-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.emi-card-dark.unlocked .emi-grid {
    filter: blur(0);
    pointer-events: auto;
    opacity: 1;
}

/* Modern Login Card */
.emi-login-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 32px 36px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    text-align: left;
}

/* Login Header */
.login-header {
    margin-bottom: 24px;
    text-align: center;
}

.login-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.login-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 6px 0;
    letter-spacing: -0.2px;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.45;
}

/* Login Form Controls */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.6);
    color: #f8fafc;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #64748b;
}

.form-group input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: rgba(15, 23, 42, 0.9);
}

/* Submit Button */
.btn-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #38bdf8;
    color: #0f172a;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-login-submit:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-login-submit:hover .btn-arrow {
    transform: translateX(4px);
}

/* Footer Privacy Note */
.login-footer-note {
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    margin-top: 18px;
    margin-bottom: 0;
    line-height: 1.35;
}

/* Responsive adjustment */
@media (max-width: 480px) {
    .emi-login-card {
        padding: 24px 20px;
    }
}
/* --------------------------------------------------------------------------
   1. EMI Calculator Dark Styling
   -------------------------------------------------------------------------- */
.emi-calc-section {
    padding: 60px 0;
    background-color: #0f172a;
    color: #ffffff;
}

.section-title-center {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.emi-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.emi-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.emi-range-group {
    margin-bottom: 25px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.range-val {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
}

.emi-range-group input[type="range"] {
    width: 100%;
    accent-color: #eab308;
    cursor: pointer;
}

.range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
}

.emi-info-row {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.info-block {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

.info-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #38bdf8;
}

/* Results Column */
.emi-results-col {
    text-align: center;
}

.monthly-payment-box {
    margin-bottom: 30px;
}

.pay-title {
    font-size: 1.2rem;
    color: #f8fafc;
    font-weight: 600;
}

.pay-amount {
    font-size: 2.2rem;
    color: #38bdf8;
    font-weight: 800;
    margin-top: 10px;
}

.summary-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pill-box {
    padding: 16px 12px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pill-white {
    background: #ffffff;
    color: #0f172a;
}

.pill-blue {
    background: #2563eb;
    color: #ffffff;
}

.pill-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pill-value {
    font-size: 1.1rem;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   2. About Us Section Styling
   -------------------------------------------------------------------------- */
.about-us-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 180px 1fr 300px;
    gap: 40px;
    align-items: center;
}

.about-brand-graphic {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.about-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
}

.about-feature-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .emi-grid, .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Approvals & Plot Layout Section
   ========================================== */
.plot-layout-section {
    background-color: #ffffff;
    padding: 60px 0;
    color: #000000;
}

/* Approvals Badges Row */
.approvals-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.approval-badge {
    background: rgb(18, 18, 18);
    border: 1px solid rgba(212, 175, 55, 0.4); /* Gold accent border */
    color: #d4af37;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.approval-badge:hover {
    background: #d4af37;
    color: #000000;
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Plot Layout Image Container */
.plot-layout-image-wrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #181818;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.plot-layout-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.plot-layout-image-wrap img:hover {
    transform: scale(1.02);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .plot-layout-section {
        padding: 40px 15px;
    }

    .approvals-wrapper {
        gap: 10px;
    }

    .approval-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ==========================================================================
   PURE ANIMATION STYLES
   ========================================================================== */

/* 1. Base Scroll-Reveal Initial State */
.property-dark-details-section .dark-card,
.property-dark-details-section .map-card-wrapper,
.property-dark-details-section .video-card-wrapper {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll-Reveal Active State */
.property-dark-details-section .dark-card.is-visible,
.property-dark-details-section .map-card-wrapper.is-visible,
.property-dark-details-section .video-card-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Row Animations */
.dark-grid-row:nth-child(2) .dark-card,
.dark-grid-row:nth-child(2) .map-card-wrapper {
    transition-delay: 0.15s;
}

/* 2. Amenity Items Staggered Pop-In */
.amenity-grid-cell {
    opacity: 0;
    transform: scale(0.9) translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.amenities-card.is-visible .amenity-grid-cell {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Hover Micro-Interactions for Amenities */
.amenity-grid-cell {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.amenity-grid-cell:hover {
    transform: translateY(-4px);
}

.amenity-grid-cell:hover .icon-circle {
    transform: scale(1.15) rotate(5deg);
}

.icon-circle {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. Button Micro-Interactions (Brochure & Submit) */
.btn-brochure,
.btn-agent-submit {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    will-change: transform;
}

.btn-brochure:hover,
.btn-agent-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-brochure:active,
.btn-agent-submit:active {
    transform: translateY(0);
}

/* 4. Location Advantage Tab-Switching & Panel Fade Animations */
.loc-cat-btn {
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.loc-cat-btn .cat-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.loc-cat-btn:hover .cat-arrow,
.loc-cat-btn.active .cat-arrow {
    transform: translateX(5px);
}

/* Panels Fade-Slide Transition */
.loc-dropdown-panel {
    display: none;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loc-dropdown-panel.active {
    display: block;
    animation: panelSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loc-dest-row {
    opacity: 0;
    transform: translateY(10px);
    animation: rowFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger destination rows inside active panel */
.loc-dropdown-panel.active .loc-dest-row:nth-child(1) { animation-delay: 0.05s; }
.loc-dropdown-panel.active .loc-dest-row:nth-child(2) { animation-delay: 0.10s; }
.loc-dropdown-panel.active .loc-dest-row:nth-child(3) { animation-delay: 0.15s; }
.loc-dropdown-panel.active .loc-dest-row:nth-child(4) { animation-delay: 0.20s; }
.loc-dropdown-panel.active .loc-dest-row:nth-child(5) { animation-delay: 0.25s; }

@keyframes panelSlideIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rowFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. Pulsing Animation for Play Button (Video Section) */
.video-play-btn,
.play-icon-pulse {
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ==========================================================================
   PROPERTY HIGHLIGHT SECTION - PURE ANIMATIONS
   ========================================================================== */

/* Header Text Animations */
.highlight-header .highlight-title,
.highlight-header .highlight-desc {
    opacity: 0;
    transform: translateY(25px);
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-header.is-visible .highlight-title {
    opacity: 1;
    transform: translateY(0);
}

.highlight-header.is-visible .highlight-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* Gallery Track & Container Scroll-Reveal */
.gallery-scroll-wrapper {
    opacity: 0;
    transform: translateY(35px);
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.gallery-scroll-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Pop-In for Individual Gallery Items */
.gallery-item {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    will-change: opacity, transform;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.gallery-scroll-wrapper.is-visible .gallery-item {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Gallery Item Hover Effect & Image Zoom */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Smooth Horizontal Scroll Transitions */
.gallery-track {
    scroll-behavior: smooth;
}

/* Navigation Arrows Micro-Interactions */
.gallery-nav-btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                background-color 0.3s ease,
                opacity 0.3s ease;
    will-change: transform;
}

.gallery-nav-btn:hover {
    transform: scale(1.12);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

.prev-btn:hover {
    transform: translateX(-3px) scale(1.1);
}

.next-btn:hover {
    transform: translateX(3px) scale(1.1);
}