/* 
   Trehan Iris Broadway Greno West Design System
   Aesthetics: Sleek, high-end, classic-modern architecture style.
   Colors: Dark Bronze/Brown, Warm Light Cream, Soft Gold, Charcoal
*/

:root {
    --color-bg-light: #FAF6F0; /* Warm light cream */
    --color-bg-dark: #322720;  /* Dark bronze-brown */
    --color-accent-gold: #DFD1C0; /* Soft gold-cream */
    --color-accent-button: #544E43; /* Olive-brown taupe */
    --color-text-dark: #2A201A;
    --color-text-light: #F7F3EB;
    --color-text-muted: #7E756C;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', Arial, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* Header & Navigation */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Hamburger toggle */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    z-index: 105;
}

.burger-icon {
    width: 28px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: var(--transition-smooth);
}

/* Section scroll offsets for sticky sub-navbar */
#intro, #highlights, #price-list, #floor-plans, #contact {
    scroll-margin-top: 60px;
}

/* Sticky Sub-Navbar (Below Hero Section) */
.sub-navbar {
    width: 100%;
    background-color: var(--color-bg-dark);
    border-bottom: 1px solid rgba(223, 209, 192, 0.15);
    position: relative;
    z-index: 90;
}

.sub-navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 199;
    animation: slideDownSubNavbar 0.4s ease;
}

@keyframes slideDownSubNavbar {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.sub-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sub-navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 1.1rem 0;
}

.sub-nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.4rem 0;
}

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

.sub-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

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

/* Logo placement overlapping */
.logo {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 102;
    transition: var(--transition-smooth);
}

.logo-img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo:hover {
    transform: translate(-50%, -52%) scale(1.03);
}

/* Header Contact Button */
.contact-us-btn {
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
    position: relative;
}

.contact-us-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: var(--transition-smooth);
}

.contact-us-btn:hover {
    color: var(--color-accent-gold);
}

.contact-us-btn:hover::after {
    width: 100%;
    background-color: var(--color-accent-gold);
}

/* Overlay Navigation Drawer (Glassmorphism with solid fallback, scrollable for mobile) */
.nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.82); /* Dark transparent black overlay */
    backdrop-filter: blur(15px); /* Strong blur so video motion is visible but background text is obscured */
    -webkit-backdrop-filter: blur(15px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 2rem 3rem 2rem;
    overflow-y: auto; /* Scrollable if screen height is short */
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.active {
    left: 0;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto 0; /* Vertically center content when space allows */
}

.close-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-smooth);
    z-index: 210;
}

.close-overlay:hover {
    transform: rotate(90deg);
    color: var(--color-accent-gold);
}

.overlay-nav ul {
    list-style: none;
    text-align: center;
}

.overlay-nav li {
    margin-bottom: 1.5rem; /* Tighter margins to fit vertical mobile screens */
}

.overlay-nav a {
    color: #fff;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.overlay-nav a:hover {
    color: var(--color-accent-gold);
}

.overlay-nav a.highlight {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    display: inline-block;
    margin-top: 0.5rem;
}

.overlay-footer {
    position: relative; /* Changed from absolute to prevent overlapping RERA number and Call link */
    margin-top: 3rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    width: 100%;
}

.overlay-footer .rera-num {
    margin-top: 0.5rem;
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.4;
}

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

.hero-video {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center top; /* Center top alignment to keep the building tops visible */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8); /* Text shadow for legibility over bright video elements */
    display: none; /* Hidden on PC/desktop viewports by default */
}

.hero-title {
    font-family: var(--font-sans); /* Clean bold sans-serif */
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: 6px;
    line-height: 0.95;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 14px;
    margin-bottom: 0.8rem;
    color: #fff;
    text-transform: uppercase;
}

.hero-location {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 8px;
    color: var(--color-accent-gold);
    text-transform: uppercase;
}



.hero-rera-container {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.rera-box {
    background-color: #0C4E9C; /* Strike blue matching mockup images */
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.7rem; /* Sized down slightly */
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 0.4rem 0.8rem; /* Sized down slightly */
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.rera-link {
    text-decoration: none;
    display: inline-block;
}

.rera-link:hover {
    background-color: #fff;
    color: #0C4E9C;
    border-color: #fff;
}

.artistic-impression {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    z-index: 3;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Floating Sticky Side Actions (Right) */
.sticky-side-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sticky-action-btn {
    background-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
}

.sticky-action-btn:hover {
    background-color: var(--color-bg-dark);
    color: var(--color-accent-gold);
    transform: translateX(-4px);
}

.sticky-action-btn.phone-btn {
    background-color: #e5d8cb;
}

/* Intro / About Section */
.intro-section {
    background-color: var(--color-bg-light);
    text-align: center;
}

.intro-text {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    max-width: 1000px;
    margin: 0 auto;
    font-weight: 300;
    text-align: justify;
    text-align-last: center;
}

/* Highlights Section */
.highlights-section {
    background-color: #FAF6F0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Carousel Container and Equal Image Sizing */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.carousel-slides {
    position: relative;
    height: 480px; /* Force consistent desktop height */
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Equal sizing: crop & scale uniformly */
    display: block;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--color-bg-dark);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 5;
}

.carousel-arrow:hover {
    background-color: var(--color-bg-dark);
    color: #fff;
}

.carousel-arrow.prev {
    left: 1.5rem;
}

.carousel-arrow.next {
    right: 1.5rem;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* Highlights List (Right Side) */
.highlights-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}

.highlights-list {
    list-style: none;
}

.highlights-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.highlight-num {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text-muted);
    min-width: 35px;
    white-space: nowrap;
    padding-top: 0.1rem;
}

.highlights-list p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

/* Price List Section */
.price-list-section {
    background-color: var(--color-bg-light);
    border-top: 1px solid rgba(0,0,0,0.04);
}

.price-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3.5rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.price-card {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(50, 39, 32, 0.08);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(50, 39, 32, 0.05);
    border-color: rgba(50, 39, 32, 0.2);
}

.price-space-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--color-bg-dark);
}

.price-space-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-align: center;
}

.enquire-btn {
    background-color: var(--color-accent-button);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    margin-top: auto;
}

.enquire-btn:hover {
    background-color: var(--color-bg-dark);
    color: var(--color-accent-gold);
}

/* Floor Plans Section */
.floor-plans-section {
    background-color: #faf6f0;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.floor-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
}

.floor-plans-grid {
    max-width: 800px;
    margin: 0 auto;
}

.floor-plan-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.floor-img-container {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    height: 380px;
}

.floor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.floor-overlay-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 39, 32, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.floor-overlay-zoom span {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.floor-img-container:hover .floor-overlay-zoom {
    opacity: 1;
}

.floor-img-container:hover .floor-img {
    transform: scale(1.05);
}

.floor-info {
    padding: 2rem;
    text-align: center;
}

.floor-info h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.floor-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.floor-download-btn {
    background-color: var(--color-bg-dark);
    color: var(--color-accent-gold);
    border: none;
    padding: 0.8rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.floor-download-btn:hover {
    background-color: var(--color-accent-button);
    color: #fff;
}

/* Get in Touch Section (Mockup 5 styling) */
.contact-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    text-align: center;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    text-align: center;
    color: var(--color-accent-gold);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 3.5rem;
    letter-spacing: 0.5px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Inline form rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Mockup Underline style */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(223, 209, 192, 0.4);
    color: #fff;
    padding: 0.8rem 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.contact-form input:focus {
    border-bottom-color: var(--color-accent-gold);
}

/* Phone Field Container with Country Select */
.phone-group-wrapper {
    position: relative;
}

.phone-input-container {
    display: flex;
    border-bottom: 1px solid rgba(223, 209, 192, 0.4);
    align-items: center;
}

.phone-input-container:focus-within {
    border-bottom-color: var(--color-accent-gold);
}

.country-select-wrapper {
    position: relative;
    margin-right: 0.5rem;
}

.phone-input-container select {
    background: none;
    border: none;
    color: #fff;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.phone-input-container select option {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 0.5rem;
}

.phone-input-container input[type="tel"] {
    border-bottom: none !important;
    width: 100%;
    padding: 0.8rem 0 !important;
}

/* Message spans across full row */
.message-group {
    margin-bottom: 2rem;
}

.brochure-info {
    font-size: 0.85rem;
    color: var(--color-accent-gold);
    margin-bottom: 2rem;
    font-weight: 500;
}

.consent-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.consent-group input[type="checkbox"] {
    margin-top: 0.3rem;
    accent-color: var(--color-accent-gold);
    cursor: pointer;
}

.consent-group label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    cursor: pointer;
}

/* Submit Button gold-cream styled */
/* Submit Button gold-cream styled */
.contact-section .submit-btn {
    background-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
    border: none;
    width: 100%;
    max-width: 280px; /* Constrain button size on PC */
    margin: 0 auto;  /* Center the button */
    display: block;   /* Display as block for centering */
    padding: 1.1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    text-align: center;
}

.contact-section .submit-btn:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.consent-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    justify-content: center; /* Center-align the consent box on PC */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer styling */
.site-footer {
    background-color: #271E19; /* Slightly darker brown */
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem 1.5rem;
}

.contact-strip {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 1rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-phone a {
    color: var(--color-accent-gold);
    transition: var(--transition-smooth);
}

.footer-phone a:hover {
    color: #fff;
}

.rera-strip {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.not-official-warning {
    line-height: 1.5;
    flex: 1;
}

.privacy-policy-link {
    color: var(--color-accent-gold);
    text-decoration: underline;
    margin-left: 0.5rem;
    transition: var(--transition-smooth);
}

.privacy-policy-link:hover {
    color: #fff;
}

.marketing-credits {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.disclaimer-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    text-align: justify;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.5rem;
}

/* Modal Popup Window */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto; /* Enable scroll on viewport overlay for short screens */
    padding: 2rem 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 39, 32, 0.8);
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    background-color: var(--color-bg-light);
    width: 100%;
    max-width: 520px;
    border-radius: 8px;
    z-index: 1010;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: calc(100vh - 4rem); /* Ensure it fits in viewport */
    overflow-y: auto; /* Let modal content scroll internally if height is too short */
}

.modal.active .modal-wrapper {
    transform: scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-bg-dark);
    transition: var(--transition-smooth);
}

.close-modal-btn:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 3rem 2.5rem;
}

.modal-body h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-bg-dark);
    margin-bottom: 0.5rem;
}

.modal-body p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Modal Form Styles */
.modal-body .form-group {
    margin-bottom: 1.25rem;
}

.modal-body label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-bg-dark);
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body input[type="tel"] {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid rgba(50, 39, 32, 0.15);
    border-radius: 4px;
    background-color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.modal-body input:focus {
    border-color: var(--color-bg-dark);
    box-shadow: 0 0 0 3px rgba(50, 39, 32, 0.05);
}

.modal-body .phone-input-container {
    border: 1px solid rgba(50, 39, 32, 0.15);
    border-radius: 4px;
    background-color: #fff;
    padding: 0 0.85rem;
}

.modal-body .phone-input-container:focus-within {
    border-color: var(--color-bg-dark);
    box-shadow: 0 0 0 3px rgba(50, 39, 32, 0.05);
}

.modal-body .phone-input-container select {
    color: var(--color-bg-dark);
    padding: 0.85rem 0;
}

.modal-body .phone-input-container select option {
    background-color: #fff;
    color: var(--color-bg-dark);
}

.modal-body .phone-input-container input[type="tel"] {
    border: none;
    padding: 0.85rem 0;
}

.modal-body .checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem 0;
}

.modal-body .checkbox-group input {
    margin-top: 0.2rem;
}

.modal-body .consent-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.3;
}

.modal-submit-btn {
    background-color: var(--color-bg-dark);
    color: var(--color-accent-gold);
    border: none;
    width: 100%;
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-submit-btn:hover {
    background-color: var(--color-accent-button);
    color: #fff;
}

.modal-contact-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}

.modal-contact-footer p {
    margin-bottom: 0.5rem;
}

.modal-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-bg-dark);
    font-weight: 700;
    font-size: 1.05rem;
}

/* Floating Call Button for Mobile */
.mobile-floating-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    z-index: 99;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.15);
}

/* Bottom Floating Details Bar (Stats Card Mockup Style) */
.hero-details-bar-container {
    position: absolute;
    bottom: 5.5rem; /* Floating just above the bottom RERA banner */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 3;
}

.hero-details-bar {
    background-color: rgba(50, 39, 32, 0.75); /* Translucent dark bronze brown */
    backdrop-filter: blur(12px); /* Glassmorphic blur so video building is visible underneath */
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
    border: 1px solid rgba(223, 209, 192, 0.25);
}

.details-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(223, 209, 192, 0.15);
}

.details-bar-col:last-child {
    border-right: none;
}

.bar-large {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff; /* White values */
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.details-bar-col:last-child .bar-large,
.details-bar-col:nth-child(4) .bar-large {
    color: var(--color-accent-gold); /* Beige/cream color (#dfd1c0) for highlights matching Image 1 */
}

.bar-bold {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff; /* White labels */
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bar-small {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6); /* Muted white descriptions */
    line-height: 1.3;
    max-width: 90%;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
        letter-spacing: 12px;
    }
    .highlights-grid {
        gap: 2.5rem;
    }
    .carousel-slides {
        height: 380px;
    }
    .intro-text {
        font-size: 1.8rem;
    }
    .hero-details-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .details-bar-col {
        border-right: none;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(223, 209, 192, 0.15);
    }
    .details-bar-col:nth-child(4),
    .details-bar-col:nth-child(5) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Prevent background video horizontal spill */
    }
    .center-nav {
        display: none;
    }
    .header-container {
        padding: 0 1.5rem;
    }
    .logo-img {
        height: 48px; /* Larger logo on mobile for legibility */
    }
    .contact-us-btn {
        display: none; /* Hide Contact Us button in header on mobile to prevent overlaps */
    }
    
    /* Center title vertically in the middle of hero section using parent flexbox */
    .hero-content {
        display: block; /* Show on mobile viewports */
        margin-top: 0;
    }
    .hero-details-bar-container {
        display: none; /* Hide stats details bar on mobile viewports */
    }
    .hero-title {
        font-size: 4rem;
        letter-spacing: 4px;
        line-height: 0.95;
    }
    .hero-subtitle {
        font-size: 1.3rem;
        letter-spacing: 8px;
    }
    .hero-location {
        font-size: 0.8rem;
        letter-spacing: 4px;
    }
    
    /* Sub-Navbar Horizontal Scroll on Mobile */
    .sub-navbar ul {
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 1rem;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    .sub-navbar ul::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Safari/Chrome */
    }
    .sub-navbar li {
        display: inline-block;
    }

    .hero-rera-container {
        position: absolute;
        bottom: 5.5rem; /* Pin RERA boxes banner to the absolute bottom of the hero section */
        left: 1.5rem;
        right: 1.5rem;
        transform: none;
        width: auto;
        margin: 0;
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
        z-index: 3;
    }
    .rera-box {
        width: 100%;
        text-align: center;
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    .artistic-impression {
        position: absolute;
        bottom: 11.5rem; /* Sit cleanly just above the RERA boxes on the left */
        left: 1.5rem;
        transform: none;
        margin: 0;
        text-align: left;
        z-index: 3;
    }
    .intro-text {
        font-size: 1.4rem;
        text-align: center;
        text-align-last: center;
        padding: 0 0.5rem;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .carousel-slides {
        height: 320px;
    }
    .highlights-title {
        font-size: 2.8rem;
        text-align: center;
    }
    
    /* Responsive Form on Mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-section .submit-btn {
        max-width: 100%;
    }
    .consent-group {
        margin-bottom: 2rem;
    }

    .price-title, .floor-title, .contact-title {
        font-size: 2.8rem;
    }
    .floor-img-container {
        height: 280px;
    }
    .footer-meta {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .site-footer {
        padding-bottom: 5rem; /* Space for mobile floating bar */
    }
    .mobile-floating-btn {
        display: flex;
    }
    .sticky-side-actions {
        display: none; /* Hide sticky buttons on mobile to avoid layout overlap */
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 44px; /* Ensure logo is highly legible on small phone screens */
    }
    .hero-title {
        font-size: 3rem;
        letter-spacing: 3px;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        letter-spacing: 6px;
    }

    .carousel-slides {
        height: 240px;
    }
    .highlights-title {
        font-size: 2.3rem;
    }
    .price-title, .floor-title, .contact-title {
        font-size: 2.3rem;
    }
    .modal-body {
        padding: 2.5rem 1.5rem;
    }

}
