:root {
    --color-gold: #D4AF37;
    --color-gold-light: #F4D06F;
    --color-black: #0f0f0f;
    --color-charcoal: #1a1a1a;
    --color-ivory: #FFFFF0;
    --color-white: #ffffff;
    --color-gray: #888888;
    --color-overlay: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-black);
}

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

ul {
    list-style: none;
}

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

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    white-space: nowrap;
}

.primary-cta {
    background-color: var(--color-gold);
    color: var(--color-black);
    animation: zoom-shake 2.5s infinite;
}

.primary-cta:hover {
    background-color: var(--color-gold-light);
    transform: translateY(-2px);
    animation: none;
}

.outline-cta {
    background-color: transparent;
    border-color: var(--color-charcoal);
    color: var(--color-charcoal);
}

.outline-cta:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.header-cta {
    background-color: var(--color-gold);
    color: var(--color-black);
    padding: 10px 20px;
    font-size: 0.8rem;
    animation: zoom-shake 2.5s infinite;
}

.header-cta:hover {
    background-color: var(--color-gold-light);
    animation: none;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-medium), padding var(--transition-medium);
    padding: 20px 0;
    color: var(--color-white);
}

.header.scrolled {
    background-color: var(--color-black);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 46px;
    width: auto;
    display: block;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
}

.mobile-nav {
    display: none; /* Implemented in JS */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-black);
    padding: 20px;
    text-align: center;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-link {
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    top: 50px;
}

.glass-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 20px;
    border-radius: 4px; /* Minimal border radius */
    max-width: 350px;
    margin: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.exclusive-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid var(--color-gold);
    padding: 4px 12px;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.sub-headline {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 10px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 2px;
    font-weight: 400;
    letter-spacing: 1px;
}

.detail-item .value {
    font-size: 1.8rem;
    font-family: var(--font-body);
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- Section General --- */
.section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    white-space: nowrap;
    font-family: var(--font-heading);
}

.section-header p {
    color: var(--color-gray);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* --- Highlights Section --- */
.highlights-section {
    background-color: var(--color-white);
}

.more-content {
    display: block; /* Visible by default on desktop */
}

.learn-more-btn {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: underline;
    font-family: var(--font-body);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.highlight-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--color-white);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--color-gold);
}

@keyframes icon-shake-jiggle {
    0% { transform: rotate(0deg) scale(1); }
    5% { transform: rotate(-5deg) scale(1.1); }
    10% { transform: rotate(5deg) scale(1.1); }
    15% { transform: rotate(-5deg) scale(1.1); }
    20% { transform: rotate(5deg) scale(1.1); }
    25% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(0deg) scale(1); } /* Long pause */
}

.highlight-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    margin-bottom: 25px;
    transition: all 0.5s ease;
    animation: icon-shake-jiggle 3s ease-in-out infinite;
    transform-origin: center center;
}

/* Staggered animation delays for wave effect */
.highlight-card:nth-child(1) .highlight-icon { animation-delay: 0s; }
.highlight-card:nth-child(2) .highlight-icon { animation-delay: 1.5s; }
.highlight-card:nth-child(3) .highlight-icon { animation-delay: 0.5s; }
.highlight-card:nth-child(4) .highlight-icon { animation-delay: 2s; }

.highlight-card:hover .highlight-icon {
    animation: none; /* Stop loop on hover to lock state */
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 6px 15px rgba(212, 175, 55, 0.5));
}

.highlight-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 600;
}

.highlight-card p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.offer-banner {
    background: #000;
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
    border-left: none;
}

.offer-content h3 {
    color: var(--color-gold);
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-content h3 .highlight-number {
    font-weight: 800;
    font-size: 2.5rem;
}

.offer-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--color-white);
    font-weight: 500;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px auto;
    text-align: left;
    display: inline-block;
}

.offer-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #eee;
}

.offer-icon {
    color: var(--color-gold);
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.offer-footer {
    font-size: 1rem;
    color: var(--color-gold);
    font-style: italic;
}

/* --- Gallery Section --- */
.gallery-section {
    background-color: var(--color-ivory);
    overflow: hidden;
    padding-bottom: 60px; /* Restored gap */
    padding-top: 10px; /* Reduced top gap */
}

.gallery-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0; /* Add top/bottom padding for hover effects */
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: max-content;
    padding-left: 0;
}

.gallery-slide {
    position: relative;
    width: 33.333vw; /* Show 3 images at a time on desktop */
    height: 400px;
    flex-shrink: 0;
    padding: 0 15px; /* Gap between images (15px + 15px = 30px) */
    overflow: visible; /* Allow hover effects to spill out */
    box-sizing: border-box;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-slide:hover img {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 5;
    border-color: var(--color-gold);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 15px; /* Match padding */
    right: 15px; /* Match padding */
    width: auto;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none; /* Let clicks pass through if needed */
}

.gallery-slide:hover .gallery-caption {
    opacity: 1;
    transform: translateY(-10px); /* Move up with the image */
}

/* Navigation Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.gallery-nav:hover {
    background: var(--color-gold);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Responsive */
@media (max-width: 1024px) {
    .gallery-slide { width: 50vw; } /* 2 images on tablet */
}

@media (max-width: 768px) {
    .gallery-slide { width: 100vw; height: 300px; } /* 1 image on mobile */
}

/* --- Amenities Section --- */
.amenities-section {
    background-color: #000;
    padding-bottom: 80px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    padding-top: 40px;
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.amenity-icon-box {
    margin-bottom: 20px;
}

.amenity-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold); /* Theme color */
    stroke-width: 1.5;
}

.amenity-item h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: var(--font-body);
}

/* Removed Slider CSS */
.amenities-slider-container { display: none; }

.amenity-item:last-child {
    grid-column: 1 / -1;
}

.amenities-view-more {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}


.amenity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.amenity-card:hover img {
    transform: scale(1.1);
}

.amenity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-white);
}

.amenity-overlay h3 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* --- Pricing Section --- */
.pricing-section {
    background-color: #f9f9f9;
}

.pricing-slider-container {
    position: relative;
    width: 100%;
    /* overflow: hidden; Removed to allow arrows to be outside viewport */
    padding: 0 60px; /* Reduced padding for cleaner look */
}

.pricing-viewport {
    width: 100%;
    overflow: hidden;
    /* This ensures content clips strictly at the edge of the boxes */
}

.pricing-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.pricing-slide {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px; /* Creates gap between cards */
}

.price-card {
    background: var(--color-white);
    padding: 40px;
    text-align: center;
    border: 2px solid var(--color-gold);
    transition: var(--transition-fast);
    position: relative;
    height: 100%; /* Ensure equal height if flex stretch */
}

/* Pricing Navigation */
.pricing-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.pricing-nav:hover {
    background: var(--color-gold);
}

.prev-btn-pricing { left: 10px; }
.next-btn-pricing { right: 10px; }

/* Responsive Pricing Slider */
@media (max-width: 1023px) {
    .pricing-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .pricing-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pricing-slider-container {
        padding: 0;
    }

    .prev-btn-pricing { left: 0; }
    .next-btn-pricing { right: 0; }
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Removed featured card specific styling to keep all same */
.price-card.featured {
    /* No specific styles */
}

.best-value {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-gold);
    color: var(--color-black);
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.carpet-area {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 30px;
    line-height: 1.3;
}

.features-list {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.features-list li {
    margin-bottom: 10px;
    color: var(--color-charcoal);
}

/* --- Floor Plan Section --- */
.floor-plan-section {
    background-color: var(--color-white);
    padding-bottom: 10px; /* Reduced to bring Location closer */
}

.floor-plan-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.floor-plan-card:nth-child(1),
.floor-plan-card:nth-child(2),
.floor-plan-card:nth-child(3) {
    grid-column: span 2;
}

.floor-plan-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.floor-plan-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.floor-plan-card {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    /* Investment Plan Styling */
    background: var(--color-white);
    padding: 20px;
    border: 2px solid var(--color-gold);
    transition: var(--transition-fast);
    position: relative;
    /* Square Shape */
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.floor-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blur-container {
    position: relative;
    overflow: hidden;
    /* border: 1px solid #eee; Removed inner border */
    margin-bottom: 20px;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blurred-img {
    filter: blur(8px);
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure image fits in square */
    transition: var(--transition-medium);
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
}

.lock-icon {
    width: 48px;
    height: 48px;
    color: var(--color-charcoal);
    margin-bottom: 20px;
}

.floor-plan-card h3 {
    font-size: 1.2rem;
    color: var(--color-charcoal);
}

/* --- Location Section --- */
.location-section {
    background-color: var(--color-ivory);
}

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

.map-container {
    height: 500px;
    background: #eee;
    /* filter: grayscale(100%) contrast(1.2); Removed for colorful map */
}

.connectivity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: none;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 5px;
}

.accordion-btn {
    width: 100%;
    background-color: var(--color-gold);
    color: var(--color-white); /* Assuming white text on gold background as per image */
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.accordion-btn:hover {
    background-color: #bfa15f; /* Slightly darker gold */
}

.accordion-btn i {
    transition: transform 0.3s ease;
}

.accordion-btn.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--color-white);
}

.accordion-content .connect-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: transparent;
    border-left: none; /* Reset existing style */
}

.accordion-content .connect-item:last-child {
    border-bottom: none;
}

.location-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.location-cta-btn:hover {
    background-color: #bfa15f;
    transform: translateY(-2px);
}

.connect-item {
    display: flex;
    align-items: center;
    /* background: var(--color-white); Removed to avoid conflict */
    /* padding: 20px; Removed */
    /* border-left: 3px solid var(--color-gold); Removed */
}

.connect-item i {
    width: 24px;
    height: 24px;
    margin-right: 60px; /* Increased from 30px */
    color: var(--color-gold);
    flex-shrink: 0;
}

.connect-info {
    display: flex;
    align-items: center;
    width: 100%;
}

.connect-info h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0;
    margin-right: auto; /* Pushes the time to the right */
}

.connect-info span {
    font-size: 0.85rem;
    color: var(--color-gray);
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* --- Virtual Tour --- */
.virtual-tour-section {
    position: relative;
    height: 60vh;
    background-image: url('Banner/Banner2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.tour-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.tour-content h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    white-space: nowrap;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.play-icon {
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.youtube-btn {
    width: 68px;
    height: 48px;
    background-color: #FF0000;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.play-triangle {
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #FFFFFF;
}

.play-icon:hover {
    transform: scale(1.1);
}

.tour-btn {
    margin-top: 25px;
    border: none;
    font-family: var(--font-body);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #888;
}

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

/* --- RERA Section --- */
.rera-section {
    text-align: center;
    margin-bottom: 40px;
}

.rera-details p {
    color: var(--color-white);
    margin-bottom: 15px; /* Increased gap */
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.rera-compliance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-gold);
    margin-bottom: 15px; /* Added spacing below title */
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.rera-compliance i {
    width: 20px;
    height: 20px;
}

/* --- Footer CP Info --- */
.footer-cp-info {
    margin-top: 40px;
    text-align: center;
}

.footer-contact-info {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--color-gold);
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.disclaimer-content {
    font-size: 0.8rem;
    color: #888;
    text-align: justify;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}

.desktop-separator {
    display: inline;
}

.mobile-break {
    display: inline;
}

/* --- Fade In Animation --- */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-bottom-nav {
    display: none;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {

    /* Mobile Bottom Nav */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55px;
        background-color: var(--color-black);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
    }

    .mobile-bottom-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--color-white);
        font-size: 0.7rem;
        height: 100%;
        border-right: 1px solid rgba(255,255,255,0.1);
        letter-spacing: 0.5px;
    }

    .mobile-bottom-btn:last-child {
        border-right: none;
    }

    .mobile-bottom-btn i, 
    .mobile-bottom-btn svg, 
    .mobile-bottom-btn img {
        width: 18px;
        height: 18px;
        margin-bottom: 3px;
        color: var(--color-gold); /* Default fallback */
    }


    /* Header & Nav */
    .header {
        padding: 10px 0;
    }

    .header-container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .desktop-nav, .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero Section */
    .hero-section {
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 60px; /* Space for fixed header */
        background: #0f0f0f; /* Match theme background */
    }

    .hero-slider {
        position: relative;
        height: 35vh; /* Landscape aspect ratio area */
        width: 100%;
        overflow: hidden;
    }

    .hero-overlay {
        display: none; /* Remove overlay on mobile */
    }

    .hero-content {
        position: relative;
        top: 0;
        transform: none;
        padding: 30px 20px;
        width: 100%;
        margin: 0;
    }

    .glass-card {
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        padding: 0;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        white-space: normal; /* Allow wrapping */
        margin-bottom: 10px;
    }
    
    .section-header h2, .tour-content h2 {
        font-size: 1.6rem;
        white-space: nowrap;
    }
    
    .sub-headline {
        font-size: 1rem;
    }
    
    .detail-item .value {
        font-size: 1.2rem;
    }

    .hero-details {
        flex-direction: column;
        gap: 15px;
    }

    /* General Section Padding */
    .section {
        padding: 50px 0;
    }
    
    /* Highlights */
    .more-content {
        display: none; /* Hide extra content on mobile */
    }

    .more-content.expanded {
        display: block; /* Show when expanded */
        animation: fadeIn 0.5s ease;
    }

    .learn-more-btn {
        display: block; /* Show button on mobile and block for stacking */
        margin: 0 auto 20px auto; /* Center and push down the next element */
        width: fit-content;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        gap: 15px; /* Reduced gap */
    }

    .highlight-card {
        padding: 20px 10px; /* Reduced padding */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        aspect-ratio: 1 / 1; /* Make it square */
        height: auto; /* Allow aspect-ratio to control height */
    }

    .highlight-icon {
        width: 32px; /* Smaller icon */
        height: 32px;
        margin-bottom: 15px; /* Reduced margin */
    }

    .highlight-card h3 {
        font-size: 0.9rem; /* Smaller font */
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .highlight-card p {
        font-size: 0.75rem; /* Smaller text */
        line-height: 1.3;
        display: none; /* Hide description on mobile to keep it square and clean, or keep minimal */
    }

    /* Mobile Offer Styles */
    .offer-banner {
        padding: 40px 0;
        background-color: #000; /* Pure black as requested */
        border-left: none; /* Remove left border for symmetry */
        border-bottom: none; 
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .offer-content {
        text-align: center;
    }
    
    .offer-content h3 {
        font-size: 1.4rem;
    }

    .offer-content h3 .highlight-number {
        font-size: 1.8rem;
    }
    
    .offer-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .offer-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .offer-list li {
        margin-bottom: 10px;
        font-size: 0.8rem;
        white-space: nowrap;
        justify-content: center;
    }
    
    .offer-icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }
    
    .offer-footer {
        font-size: 0.9rem;
    }
    
    /* Amenities */
    .section-header {
        margin-bottom: 20px; /* Reduced from default */
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Revert to 10px or keep small */
        padding-top: 0; /* Remove top padding if any */
    }

    /* Floor Plan & Location Gap Fix */
    .floor-plan-section {
        padding-bottom: 10px;
    }

    .location-section {
        padding-top: 10px;
    }

    /* Split Plan & Gallery Gap Fix */
    .highlights-section {
        padding-bottom: 0;
    }

    .gallery-section {
        padding-top: 20px;
    }

    .amenity-item {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        /* aspect-ratio: 1 / 1; Removed to reduce vertical gap */
        padding: 10px 5px;
        /* Ensure it takes full width of grid cell */
        width: 100%; 
    }

    .amenity-icon-box {
        margin-bottom: 8px;
    }

    .amenity-icon {
        width: 32px;
        height: 32px;
    }

    .amenity-item h3 {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    /* Square Pricing Card for Mobile */
    .price-card {
        aspect-ratio: 1/1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        height: auto; /* Allow aspect ratio to dictate height */
    }

    .price-card h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .carpet-area {
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .price {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .features-list {
        display: none; /* Hide features list to ensure square shape fits nicely */
    }

    /* Square Floor Plan Card for Mobile */
    .floor-plan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .floor-plan-card:nth-child(1),
    .floor-plan-card:nth-child(2),
    .floor-plan-card:nth-child(3),
    .floor-plan-card:nth-child(4) {
        grid-column: auto;
    }

    /* Hide the last floor plan card (Jodi Option) on mobile */
    .floor-plan-card:nth-child(5) {
        display: none !important;
    }

    .floor-plan-card {
        padding: 8px; /* Further reduced padding */
    }

    .floor-plan-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .floor-plan-card .cta-button {
        padding: 5px 2px;
        font-size: 0.55rem;
        white-space: nowrap;
        width: 100%;
        line-height: 1;
        letter-spacing: 0px;
    }

    .floor-plans-container {
        padding: 0 10px;
    }
    
    /* Location Mobile Optimization */
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 250px;
    }

    .accordion-btn {
        padding: 10px 15px; /* Reduced padding */
        font-size: 0.95rem; /* Reduced font size */
    }

    .accordion-content .connect-item {
        padding: 10px 15px; /* Reduced padding */
    }

    .connect-item i {
        width: 18px; /* Reduced icon size */
        height: 18px;
        margin-right: 15px; /* Reduced margin */
    }

    .connect-info h4 {
        font-size: 0.85rem; /* Reduced font size */
    }

    .connect-info span {
        font-size: 0.75rem; /* Reduced font size */
        padding: 1px 6px;
    }

    .location-cta-btn {
        padding: 10px; /* Reduced padding */
        font-size: 0.9rem; /* Reduced font size */
        margin-top: 10px;
    }

    /* Virtual Tour Mobile Optimization */
    .virtual-tour-section {
        height: 40vh; /* Reduced height */
        min-height: 250px;
    }

    .tour-content h2 {
        font-size: 1rem; /* Reduced to fit one line */
        padding: 0 5px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .tour-content p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .play-icon {
        margin-bottom: 15px;
    }

    .youtube-btn {
        width: 56px;
        height: 40px;
    }
    
    .play-triangle {
        border-top-width: 8px;
        border-bottom-width: 8px;
        border-left-width: 13px;
    }

    .tour-btn {
        margin-top: 15px;
        padding: 8px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    /* RERA Section Mobile */
    .rera-compliance {
        flex-direction: column;
        gap: 5px;
        font-size: 0.9rem; /* Reduced size */
    }
    
    .rera-details p {
        font-size: 0.75rem; /* Reduced size to fit one line */
        margin-bottom: 5px;
        white-space: nowrap; /* Attempt to keep on one line */
        overflow: hidden;
        text-overflow: ellipsis; /* Handle overflow gracefully */
    }

    .footer-contact-info {
        font-size: 1rem; /* Reduced from 1.3rem */
        line-height: 1.5;
    }

    .desktop-separator {
        display: none;
    }

    .mobile-break {
        display: block;
        margin-top: 5px;
    }
    
    .disclaimer-content {
        font-size: 0.7rem; /* Reduced disclaimer size */
        padding: 0 10px;
    }

    .badge-item {
        max-width: 100%;
    }
}

/* --- Mobile Small (Phones) --- */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .detail-item .value {
        font-size: 1.1rem;
    }
    
    .popup-content {
        padding: 25px 15px;
        width: 95%;
        margin: 0 10px;
    }
    
    .popup-header h2 {
        font-size: 1.3rem;
    }
    
    .trust-badges {
        font-size: 0.6rem;
    }
}

/* --- Luxury Popup Styles --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.popup-content {
    background: #0f0f0f; /* Fallback */
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(26, 26, 26, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.3); /* Gold border */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 400px; /* Reduced from 500px */
    padding: 30px; /* Reduced from 40px */
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 10px; /* Reduced from 15px */
    right: 10px; /* Reduced from 15px */
    background: none;
    border: none;
    color: var(--color-gray);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
}

.close-popup:hover {
    color: var(--color-gold);
}

.popup-header {
    text-align: center;
    margin-bottom: 20px; /* Reduced from 25px */
}

.popup-header h2 {
    color: var(--color-gold);
    font-size: 1.5rem; /* Reduced from 1.8rem */
    margin-bottom: 8px; /* Reduced from 10px */
    line-height: 1.2;
}

.popup-header p {
    color: #ccc;
    font-size: 0.8rem; /* Reduced from 0.9rem */
    font-weight: 300;
}

.lead-form .form-group {
    margin-bottom: 10px; /* Reduced from 15px */
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 8px 12px; /* Reduced from 12px 15px */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.85rem; /* Reduced from 0.95rem */
    transition: border-color 0.3s ease;
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
}

.lead-form select {
    cursor: pointer;
    appearance: none; /* Remove default arrow */
    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='%23D4AF37' 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; /* Adjusted position */
    background-size: 14px; /* Reduced size */
}

.lead-form select option {
    background-color: var(--color-black);
    color: var(--color-white);
}

.form-row {
    display: flex;
    gap: 10px; /* Reduced from 15px */
}

.form-group.half {
    flex: 1;
}

.privacy-note {
    font-size: 0.7rem; /* Reduced from 0.75rem */
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px; /* Reduced from 20px */
    justify-content: center;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px; /* Reduced from 10px */
    padding: 10px 20px; /* Explicit smaller padding */
    font-size: 0.9rem; /* Slightly smaller text */
}

.trust-badges {
    display: flex;
    justify-content: space-between;
    margin-top: 15px; /* Reduced from 25px */
    padding-top: 15px; /* Reduced from 20px */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.65rem; /* Reduced from 0.7rem */
    color: #aaa;.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    flex: 1; /* Distribute space equally */
    max-width: 33%; /* Ensure text wraps and doesn't bleed */
}/* Reduced from 5px */
    text-align: center;
}

.badge-item i {
    width: 14px; /* Reduced from 16px */
    height: 14px; /* Reduced from 16px */
    color: var(--color-gold);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-black);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .loading-spinner {
    display: block;
}

/* Mobile responsive for popup */
@media (max-width: 480px) {
    .popup-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@keyframes zoom-shake {
    0% { transform: scale(1) rotate(0deg); }
    40% { transform: scale(1) rotate(0deg); }
    55% { transform: scale(1.05) rotate(3deg); }
    70% { transform: scale(1.05) rotate(-3deg); }
    85% { transform: scale(1.05) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); }
}
