:root {
    --bg-color: #080808;
    --surface-color: #121212;
    --surface-hover: #1a1a1a;
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --gold: #d4af37;
    --gold-light: #f3d473;
    --gold-dark: #b5952f;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--surface-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    border: 2px solid var(--surface-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 600;
}

p {
    color: var(--text-muted);
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: linear-gradient(90deg, rgba(29, 21, 6, 0.85), rgba(10, 8, 2, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 5%;
}

.header.scrolled .logo-img {
    height: 65px;
    /* Scales down smoothly */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 25px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo-img {
    height: 90px;
    /* Increased to make stacked logo fully visible */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo {
    height: 130px;
    margin-bottom: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    /* Hidden on desktop to prevent the "dot" */
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: var(--font-body);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-primary-small)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-small):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

.lang-switch-container {
    display: inline-flex;
    align-items: center;
}

.lang-switcher {
    background: rgba(20, 20, 20, 0.8);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.lang-switcher:hover, .lang-switcher:focus {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.lang-switcher option {
    background: #111;
    color: #fff;
}

.btn-primary,
.btn-primary-small {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000 !important;
    padding: 12px 28px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-small {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-primary:hover,
.btn-primary-small:hover {
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main) !important;
    padding: 12px 28px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--text-main);
    color: #000 !important;
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 1.5s ease-out;
}

.hero-section:hover .hero-background {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(8, 8, 8, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    color: var(--gold);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--gold);
    border-radius: 2px;
}

section:not(.hero-section) {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.title-separator {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Creative Textured Heading */
.textured-heading {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    background-image: repeating-linear-gradient(45deg,
            #f5d061 0%,
            #b58c2a 10%,
            #050505 20%,
            #333333 30%,
            #f5d061 45%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldTextureSweep 7s linear infinite;
    letter-spacing: 1px;
    line-height: 1.1;
    display: inline-block;
}

@keyframes goldTextureSweep {
    to {
        background-position: -200% center;
    }
}

/* About Section */
.about-section {
    background-color: var(--bg-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image-wrapper {
    position: relative;
    border-radius: 4px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.about-image-wrapper:hover .about-img {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.about-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold), transparent);
    opacity: 0.15;
    z-index: 1;
    border-radius: 4px;
    transition: var(--transition);
}

.about-content {
    padding-right: 20px;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Philosophy / Mission & Vision Section --- */
.philosophy-section {
    position: relative;
    padding: 80px 5%;
    background: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.philosophy-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.philosophy-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    gap: 25px;
    transition: var(--transition);
    border-left: 3px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.philosophy-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.philosophy-content h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.philosophy-content .mini-separator {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 20px;
}

.philosophy-content p {
    color: #555555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.philosophy-content strong {
    color: var(--gold-dark);
    font-weight: 600;
}

.philosophy-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gold);
    filter: blur(150px);
    opacity: 0.05;
    border-radius: 50%;
    animation: floatOrb 10s infinite ease-in-out alternate;
}

.glow-orb.left {
    top: -50px;
    left: -100px;
}

.glow-orb.right {
    bottom: -50px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(30px) scale(1.1);
    }
}

@media (max-width: 900px) {
    .philosophy-container {
        grid-template-columns: 1fr;
    }
}


/* Towers and Specifications Section Interactive Backgrounds */
#towers,
#specifications,
#amenities {
    position: relative;
    background-color: #0b0b0b;
    background-position: calc(50% + var(--bg-x, 0px)) calc(50% + var(--bg-y, 0px));
    transition: background-position 0.15s ease-out;
}

#towers,
#specifications,
#contact,
#amenities {
    background-color: #212121;
    background-image:
        /* Isometric Top Faces */
        linear-gradient(30deg, #333333 12%, transparent 12.5%, transparent 87%, #333333 87.5%, #333333),
        linear-gradient(150deg, #333333 12%, transparent 12.5%, transparent 87%, #333333 87.5%, #333333),
        linear-gradient(30deg, #333333 12%, transparent 12.5%, transparent 87%, #333333 87.5%, #333333),
        linear-gradient(150deg, #333333 12%, transparent 12.5%, transparent 87%, #333333 87.5%, #333333),
        /* Isometric Side Faces tinted with Gold */
        linear-gradient(60deg, rgba(212, 175, 55, 0.25) 25%, transparent 25.5%, transparent 75%, rgba(212, 175, 55, 0.25) 75%, rgba(212, 175, 55, 0.25)),
        linear-gradient(60deg, rgba(212, 175, 55, 0.25) 25%, transparent 25.5%, transparent 75%, rgba(212, 175, 55, 0.25) 75%, rgba(212, 175, 55, 0.25));
    background-size: 80px 138px;
    background-position:
        calc(0px + (var(--bg-x, 0px) * 0.3)) calc(0px + (var(--bg-y, 0px) * 0.3)),
        calc(0px + (var(--bg-x, 0px) * 0.3)) calc(0px + (var(--bg-y, 0px) * 0.3)),
        calc(40px + (var(--bg-x, 0px) * 0.3)) calc(69px + (var(--bg-y, 0px) * 0.3)),
        calc(40px + (var(--bg-x, 0px) * 0.3)) calc(69px + (var(--bg-y, 0px) * 0.3)),
        calc(0px + (var(--bg-x, 0px) * 0.3)) calc(0px + (var(--bg-y, 0px) * 0.3)),
        calc(40px + (var(--bg-x, 0px) * 0.3)) calc(69px + (var(--bg-y, 0px) * 0.3));
}

#towers::before,
#specifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 15%, rgba(8, 8, 8, 0.95) 100%);
    pointer-events: none;
    z-index: 0;
}

#specifications::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#specifications:hover::after {
    opacity: 1;
}

#towers>*,
#specifications>* {
    position: relative;
    z-index: 1;
}

.towers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.tower-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
}

.tower-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.2);
}

.tower-image-placeholder {
    height: 350px;
    background: linear-gradient(135deg, #1f1f1f, #0a0a0a);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--gold);
    filter: blur(80px);
    opacity: 0.1;
    border-radius: 50%;
    transition: var(--transition);
}

.tower-card:hover .glow-effect {
    opacity: 0.2;
    transform: scale(1.2);
}

.tower-name {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    font-weight: 700;
    white-space: nowrap;
}

.tower-name span {
    color: rgba(212, 175, 55, 0.15);
}

.tower-info {
    padding: 40px;
}

.tower-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.tower-info p {
    margin-bottom: 25px;
}

/* Flat Category Cards (New Dashboard UI) */
.tower-configs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.flat-category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 22px;
    transition: var(--transition);
}

.flat-category-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.flat-cat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.bhk-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.bhk-subtitle {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.flat-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-bubble {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 10px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-bubble .val {
    display: block;
    font-size: 1.35rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-bubble .unit {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flat-details-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #cecece;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-row span:last-child {
    font-weight: 500;
    color: var(--text-main);
}

.flat-footer {
    font-size: 0.85rem;
    color: var(--gold-light);
    font-style: italic;
    text-align: center;
    padding-top: 15px;
    margin-top: 10px;
    font-weight: 500;
}

.specifications-section .section-title {
    color: var(--text-main);
}

.specifications-section .section-subtitle {
    color: var(--text-muted);
}

.specifications-section .title-separator {
    background: var(--gold);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.spec-card {
    background: var(--surface-color);
    padding: 50px 30px;
    border-radius: 2px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.spec-card:hover {
    background: var(--surface-hover);
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.2);
}

.spec-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spec-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.cta-section {
    position: relative;
    padding: 120px 5%;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #e0e0e0;
    font-weight: 500;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000 !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.cta-section .btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.footer {
    background-color: #000;
    padding: 80px 5% 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* --- Flat Specifications Details --- */
.specs-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.spec-card-detailed {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-top: 3px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.spec-card-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.spec-card-detailed:hover {
    transform: translateY(-5px);
    border-top-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.spec-card-detailed:hover::before {
    opacity: 1;
}

.spec-icon-detailed {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.spec-title-detailed {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-list {
    list-style: none;
    position: relative;
    z-index: 2;
    text-align: left;
}

.spec-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.spec-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--gold-dark);
    border-radius: 50%;
}

/* --- Amenities Section --- */
.amenities-section {
    padding: 100px 5%;
    background-color: var(--bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2;
}

.amenity-card {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 20px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.amenity-card:hover {
    background: rgba(30, 30, 30, 0.95);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.15);
}

.amenity-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

/* --- Architecture Showcase --- */
.architecture-section {
    padding: 100px 5%;
    background-color: var(--bg-color);
}

.gallery-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    height: 700px;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.gallery-slide.active {
    opacity: 1;
    z-index: 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.gallery-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.gallery-btn.prev {
    left: 20px;
}

.gallery-btn.next {
    right: 20px;
}

.gallery-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.gallery-indicators .indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.gallery-indicators .indicator.active {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

@media (max-width: 768px) {
    .gallery-carousel-container {
        height: 400px;
    }
}

/* --- Floor Plans Carousel --- */
.floor-plans-section {
    background-color: #ffffff;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.floor-plans-section .section-title {
    color: #1a1a1a;
}

.floor-plans-section .section-subtitle {
    color: #555555;
}

.floor-plans-section .title-separator {
    background: var(--gold-dark);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: #fdfdfd;
    overflow: hidden;
}

.carousel-container.locked-view .carousel-wrapper,
.carousel-container.locked-view .view-360-badge,
.carousel-container.locked-view .carousel-button,
.carousel-container.locked-view .carousel-indicators {
    filter: blur(8px);
    pointer-events: none;
    opacity: 0.6;
}

.lock-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
}

.carousel-container.locked-view .lock-overlay {
    display: flex;
}

.lock-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 600px;
    transform-style: preserve-3d;
}

.slide-inner {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.carousel-slide {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.1s ease-out, filter 0.3s;
    user-select: none;
    -webkit-user-drag: none;
    cursor: grab;
}

.carousel-slide:active {
    cursor: grabbing;
}

.view-360-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-dark);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-360-badge svg {
    opacity: 0.9;
}

.scene-node {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.hotspot-card {
    position: absolute;
    background: rgba(10, 15, 25, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    pointer-events: none;
    /* Allows dragging past the card */
    z-index: 10;
    min-width: 180px;
}

.hotspot-card h4 {
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
    font-weight: 600;
}

.hotspot-data {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 6px;
    color: #fff;
}

.hotspot-data span {
    color: #aaa;
}

.hotspot-data strong {
    font-weight: 500;
}

@media (max-width: 768px) {
    .carousel-wrapper {
        height: 350px;
    }
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-button:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

/* --- Clubhouse Section --- */
.clubhouse-section {
    position: relative;
    padding: 120px 5%;
    background-color: #050505;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.clubhouse-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: grayscale(20%) brightness(80%);
    z-index: 1;
}

.clubhouse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.4) 40%, rgba(5, 5, 5, 0) 100%);
    z-index: 2;
}

.clubhouse-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.clubhouse-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.clubhouse-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    font-family: var(--font-heading);
}

.clubhouse-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #d0d0d0;
}

.clubhouse-suitability {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.clubhouse-suitability span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.clubhouse-suitability .dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
}

.clubhouse-facilities {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facility-card {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.facility-card:hover {
    background: rgba(30, 30, 30, 0.8);
    transform: translateX(-10px);
    border-color: rgba(212, 175, 55, 0.4);
}

.facility-icon {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    color: var(--gold);
}

.facility-card h4 {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.facility-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--gold);
    transition: width 0.4s ease;
}

.facility-card:hover .facility-line {
    width: 100%;
}

/* --- Features & Safety Section --- */
.features-section {
    padding: 100px 5%;
    background-color: var(--surface-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--bg-color);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    opacity: 0.5;
}

.addon-features::before {
    background: linear-gradient(90deg, #d4af37, #f3d473);
}

.safety-features::before {
    background: linear-gradient(90deg, #4285f4, #8ab4f8);
}

.feature-box-header {
    margin-bottom: 30px;
    text-align: center;
}

.feature-box-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-box-title {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.feature-box-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.feature-list-wrapper {
    background: rgba(255, 255, 255, 0.01);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.premium-feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.premium-feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: #e0e0e0;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.premium-feature-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.check-icon {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shield-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.safety-features .feature-box-title {
    color: #cadcff;
}

/* Fade In Classes for JS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal & Table Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: translateY(-30px);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-modal {
    color: var(--text-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: var(--text-main);
    text-align: center;
}

.data-table th,
.data-table td {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
    white-space: nowrap;
}

.data-table tbody tr {
    transition: background-color 0.2s;
}

.data-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.data-table td {
    color: #e0e0e0;
}

.data-table td:nth-child(1),
.data-table td:nth-child(2) {
    font-weight: 500;
}

/* --- Footer Address Updates --- */
.updated-footer {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-addresses {
    display: flex;
    gap: 40px;
    flex: 2;
}

.footer-address-block {
    flex: 1;
}

.footer-address-block h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 5px;
    display: inline-block;
}

.footer-address-block p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-address-block .company-name {
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-contact-small {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.footer-contact-small p {
    color: var(--gold-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-links-block {
    flex: 1;
}

.footer-links-block h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 5px;
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-info {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-info a {
    color: var(--gold);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* --- Elegant Dark Gold Footer Redesign --- */
.footer {
    position: relative;
    background: linear-gradient(135deg, #1b1404 0%, #080601 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 80px 5% 20px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.updated-footer {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* --- Enquiry Modal Styles --- */
.contact-modal {
    max-width: 500px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    color: var(--text-main);
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background: var(--surface-color);
    color: var(--text-main);
}

/* --- Chatbot Widget Styles --- */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: bottom right;
}

.chatbot-window.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
}

.chatbot-header {
    background: linear-gradient(to right, #1b1404, #080601);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin: 0;
}

.online-status {
    font-size: 0.8rem;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 5px;
}

.online-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    display: block;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.chatbot-close:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    max-height: 300px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages .message {
    max-width: 85%;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
    animation: fadeInMessage 0.3s ease forwards;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.chatbot-options {
    padding: 15px;
    background: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-option-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-main);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.chat-option-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateX(3px);
}

.whatsapp-option {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-option:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: #fff;
    transform: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.chatbot-input-area {
    display: flex;
    padding: 15px;
    background: var(--surface-color);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    gap: 10px;
}

#chatbot-text-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 15px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

#chatbot-text-input:focus {
    outline: none;
    border-color: var(--gold);
}

.chatbot-send-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* --- Comprehensive Responsive Design --- */
@media (max-width: 1200px) {

    .features-grid,
    .towers-grid,
    .philosophy-container,
    .about-container,
    .gallery-carousel-container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .specs-grid-detailed {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    section:not(.hero-section) {
        padding: 80px 5%;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .textured-heading {
        font-size: 2.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        padding-right: 0;
    }

    .philosophy-container {
        grid-template-columns: 1fr;
    }

    .towers-grid {
        grid-template-columns: 1fr;
    }

    .updated-footer {
        flex-direction: column;
        gap: 40px;
    }

    .footer-addresses {
        flex-direction: column;
        gap: 30px;
    }

    .clubhouse-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clubhouse-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-box {
        padding: 40px 20px;
    }

    .feature-box-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 5%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 8, 3, 0.98);
        padding: 20px 5%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }

    .nav-links.active {
        display: flex !important;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
    }

    .nav-links .btn-primary-small {
        margin-top: 15px;
        text-align: center;
        border: none;
    }

    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
        padding: 10px;
    }

    .hamburger {
        width: 30px;
        height: 2px;
        background: white;
        display: block;
        position: relative;
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 2px;
        background: white;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .mobile-menu-btn.active .hamburger {
        background: transparent;
    }

    .mobile-menu-btn.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-menu-btn.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-section {
        height: 65vh;
        min-height: 480px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .textured-heading {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Amenities Grid & Tower Cards */
    .amenities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .tower-image-placeholder {
        height: 280px;
    }

    /* Modals adjustments */
    .modal-content {
        width: 95%;
        max-height: 85vh;
        border-radius: 6px;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 20px 15px;
    }

    .data-table th,
    .data-table td {
        padding: 10px;
        font-size: 0.85rem;
    }

    /* Forms */
    .enquiry-form {
        gap: 15px;
    }

    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    section:not(.hero-section) {
        padding: 60px 5%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-section {
        height: 55vh;
        min-height: 400px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .textured-heading {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .specs-grid-detailed {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .flat-stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-bubble {
        padding: 10px;
    }

    .stat-bubble .val {
        font-size: 1.1rem;
    }

    .philosophy-card {
        padding: 25px 15px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .philosophy-icon {
        margin-bottom: 10px;
    }

    .footer {
        padding: 50px 5% 20px;
    }

    /* Chatbot adjustments for mobile */
    .chatbot-widget {
        bottom: 15px;
        right: 15px;
    }

    .chatbot-window {
        right: 0;
        width: calc(100vw - 30px);
        max-width: 350px;
        bottom: 70px;
    }

    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }

    .chatbot-toggle svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 400px) {

    /* Mini iPhone / Small Screen tweaks */
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-primary-small,
    .btn-outline {
        font-size: 0.8rem;
        padding: 10px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
        text-align: center;
    }

    .tower-info {
        padding: 20px;
    }

    .flat-category-card {
        padding: 15px;
    }

    .detail-row {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .detail-row span:last-child {
        align-self: flex-start;
    }

    .chatbot-options {
        padding: 10px;
    }

    .chat-option-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .data-table th,
    .data-table td {
        font-size: 0.75rem;
        padding: 8px 6px;
    }

    .modal-header h3 {
        font-size: 0.95rem;
    }
}

/* Offer Modal Styles */
.offer-modal-content {
    background: transparent;
    border: none;
    padding: 0;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.offer-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.offer-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    opacity: 1;
}

.offer-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.offer-title {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
}

.offer-subtitle strong {
    color: var(--gold-light);
    font-size: 1.4rem;
}

#close-offer-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-shadow: none;
    cursor: pointer;
}

#close-offer-modal:hover {
    background: var(--gold);
    color: #000;
}

/* --- Split Contact Section --- */
.contact-section {
    padding: 100px 5%;
    background-color: var(--bg-color);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--surface-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.contact-info {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(25, 25, 25, 1), rgba(15, 15, 15, 1));
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    padding: 60px 40px;
    background: transparent;
}

.form-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.form-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-heading);
    padding: 8px 15px;
    transition: var(--transition);
    position: relative;
}

.form-tab.active {
    color: var(--gold);
}

.form-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.form-tab:hover {
    color: #fff;
}

.custom-form {
    display: none;
    animation: fadeInForm 0.5s ease;
}

.custom-form.active-form {
    display: block;
}

@keyframes fadeInForm {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Creative Form Styling */
.form-modal-content {
    max-width: 500px;
    padding: 40px;
    margin: auto;
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255,255,255,0.02);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.form-modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #f5d061, var(--gold-dark));
}

.form-modal-header {
    border-bottom: none;
    padding-bottom: 25px;
    position: relative;
}

.form-modal-title {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.form-modal-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-modal-header .close-modal {
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.form-modal-header .close-modal:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    transform: rotate(90deg);
}

.input-group {
    margin-bottom: 22px;
}

.split-group {
    display: flex;
    gap: 15px;
}

/* Floating Label Inputs */
.float-label {
    position: relative;
}

.float-label input,
.float-label select,
.float-label textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.float-label textarea {
    resize: vertical;
    min-height: 100px;
}

.float-label label {
    position: absolute;
    left: 18px;
    top: 18px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0 4px;
    background: transparent;
}

.float-label input:focus,
.float-label select:focus,
.float-label textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.float-label input:focus ~ label,
.float-label textarea:focus ~ label,
.float-label input:not(:placeholder-shown) ~ label,
.float-label textarea:not(:placeholder-shown) ~ label,
.float-label select:focus ~ label,
.float-label select:valid ~ label {
    top: -10px;
    left: 14px;
    font-size: 0.8rem;
    color: var(--gold);
    background: #111; /* Match modal background */
    font-weight: 500;
}

.custom-form select option {
    background: #111;
    color: #fff;
    padding: 10px;
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e5c35b, #b5952f);
    color: #000;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* --- Global Comprehensive Device Compatibility (iPhone, iPad, Android, Mac) --- */

/* 1. Ensure absolute no horizontal scrolling on mobile/tablets */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    /* iOS Safari 100vh fix */
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* 2. Responsive Images & Media */
img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* 3. Table Responsiveness for Modals */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.data-table {
    width: 100%;
    min-width: 650px; /* Force scroll instead of squishing */
    border-collapse: collapse;
}

/* 4. iPad Pro and Landscape Tablets (1024px - 1366px) */
@media (max-width: 1366px) {
    .hero-title { font-size: 3.8rem; }
}

@media (max-width: 1024px) {
    .towers-grid { gap: 30px; }
    .hero-title { font-size: 3.5rem; }
    .contact-container { grid-template-columns: 1fr; }
    .contact-info { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    /* iPad touch targets */
    .btn-primary, .btn-secondary, .btn-primary-small, .btn-outline {
        min-height: 48px; /* Apple Human Interface Guidelines */
    }
}

/* 5. Mobile Adjustments (768px down) */
@media (max-width: 768px) {
    /* Larger touch targets on mobile */
    .nav-links a { padding: 15px 20px; font-size: 1.2rem; }
    
    .flat-category-card { padding: 15px; }
    
    /* Ensure forms don't overflow */
    .form-modal-content {
        padding: 20px;
        width: 100%;
        margin: 10px;
        border-radius: 8px;
    }
    
    .offer-modal-content { max-width: 90%; }
}

/* 6. Extra Small Devices (iPhone SE, Mini, smaller Androids - 390px and down) */
@media (max-width: 390px) {
    .hero-title { font-size: 2rem; }
    .hero-description { font-size: 0.9rem; margin-bottom: 25px; }
    .hero-actions { display: flex; flex-direction: column; width: 100%; padding: 0 10px; gap: 10px; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }

    .textured-heading, .section-title { font-size: 1.6rem; }
    .stat-number { font-size: 1.5rem; }
    .tower-name { font-size: 2rem; }
    
    .clubhouse-title { font-size: 1.8rem; }
    .clubhouse-facilities { flex-direction: column; gap: 15px; }
    
    .form-tabs { flex-wrap: wrap; justify-content: center; }
    .form-tab { font-size: 0.9rem; padding: 6px 10px; }
    
    .footer { padding: 40px 15px 20px; }
    .logo-text { font-size: 1.5rem; }
}

/* iOS Safari Dynamic viewport adjustments */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        /* Fix for iOS viewport bug */
        height: 100dvh;
    }
}