
/**
 * Front Page Styles - Nirmalaya Complex
 * 
 * CSS Variables for easy customization
 */

 /* Force remove any theme-specific containers */
.page-template-front-page .site-content-contain,
.page-template-front-page .ast-container,
.page-template-front-page .site-container,
.page-template-front-page .wrap,
.page-template-front-page .content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Override common theme classes */
.page-template-front-page .entry-content > * {
    max-width: 100% !important;
}

/* Ensure sections stretch full width */
.page-template-front-page section,
.page-template-front-page .section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remove any default article/post spacing */
.page-template-front-page article {
    padding: 0 !important;
}

/* Override Twenty Twenty-One, Twenty Twenty-Two themes */
.page-template-front-page .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 100% !important;
    width: 100% !important;
}

/* Override Gutenberg container */
.page-template-front-page .wp-block-group__inner-container {
    max-width: 100% !important;
}


:root {
    /* Primary Colors - Updated to match reference */
    --color-primary: #bf950c;
    --color-primary-dark: #bf950c;
    --color-primary-light: #b8773a;
    
    /* Secondary Colors - Updated to match reference */
    --color-secondary: #324F36;
    --color-secondary-dark: #243a28;
    --color-secondary-light: #3d6040;
    
    /* Accent Colors */
    --color-accent: #bf950c;
    --color-accent-light: #bf950c;
    
    /* Neutral Colors */
    --color-dark: #1a1a1a;
    --color-dark-green: #324F36;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-gray: #6c757d;
    --color-gray-light: #e9ecef;
    
    /* Typography - Updated to GilroyRegular */
    --font-primary: 'GilroyRegular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'GilroyRegular', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Sizes */
    --fs-hero: 3.5rem;
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}


/* ========================================
   GLOBAL STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body.page-template-front-page {
    font-family: var(--font-primary) !important;
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
}


/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section Padding */
.section-padding {
    padding: var(--section-padding);
}

/* Background Variants */
.bg-light {
    background-color: var(--color-light);
}

.bg-dark {
    background-color: var(--color-dark-green);
}

.bg-accent {
    background-color: var(--color-accent);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: var(--fs-h1);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.section-title.light {
    color: var(--color-white);
}

.section-title .highlight {
    color: #000000;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.9);
}

.text-center {
    text-align: center;
}

/* ========================================
   HEADER CUSTOMIZATION
   ======================================== */

/* Make header sticky and transparent on hero */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.admin-bar .site-header {
    top: 32px;
}

.site-header.transparent {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

/* Smooth scroll offset for fixed header */
section {
    scroll-margin-top: 80px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-secondary);
    font-size: var(--fs-body);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-resource {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    margin: 0.5rem;
}

.btn-resource:hover {
    background-color: var(--color-accent-light);
}

.btn-icon {
    margin-right: 0.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden !important;  /* ✅ ADDED */
}

/* ✅ NEW: Fixed background using pseudo-element */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://nirmalayacomplexchinsurah.in/wp-content/uploads/2025/10/NIR-COM_1-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1 important;  /* ✅ Make sure it's above ::before */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-xl) 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.hero-text {
    color: var(--color-white);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: var(--fs-hero);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
    color: #ffffff;
}

.project-name {
    display: block;
    color: #ffffff;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-features {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* Hero Form Card */
.hero-form-card {
    background-color: #1a3a52;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: fadeInRight 0.8s ease 0.4s backwards;
    color: var(--color-white);
    max-width: 380px;
    width: 100%;
}

.form-card-title {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.35rem;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.form-card-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.form-card-stats {
    background-color: var(--color-white);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-gray);
}

.stat-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-card-highlight {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-align: center;
}

.form-card-highlight p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.form-card-highlight strong {
    color: var(--color-white);
    font-weight: 700;
}

.quick-enquiry-form input,
.quick-enquiry-form textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.6rem;
    border: 1px solid var(--color-gray-light);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    transition: border-color var(--transition-base);
    background-color: var(--color-white);
}

.btn-book-now {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.quick-enquiry-form input:focus,
.quick-enquiry-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.quick-enquiry-form textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-resource-info {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    margin: 0.5rem;
    cursor: default;
    opacity: 0.8;
}

.btn-resource-info:hover {
    background-color: var(--color-accent);
    transform: none;
    box-shadow: var(--shadow-sm);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.875rem;
}

.scroll-arrow {
    font-size: 2rem;
    margin-top: 0.5rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background-color: #f8f9fa;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover .play-icon {
    color: var(--color-white);
}

.play-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-left: 8px;
    transition: color var(--transition-base);
}

.about-text {
    display: flex;
    flex-direction: column;
}

.about-text .section-title {
    text-align: left;
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #bf950c;
}

.about-text .section-title .highlight {
    color: #1a3a52;
    display: block;
    margin-top: 0.25rem;
}

.about-text .section-subtitle {
    text-align: left;
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    color: #666;
    max-width: 100%;
}

.about-text p {
    margin-bottom: 1.25rem;
    line-height: 1.9;
    color: #555;
    font-size: 1.05rem;
}

.about-text p:last-of-type {
    margin-bottom: 2.5rem;
}

/* Project Stats - Horizontal Layout */
.project-stats {
    display: flex;
    gap: 5rem !important;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.stat-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

/* Action Buttons */
.about-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    border-radius: 8px;
}

/* Project Stats - Separate Row Below About Grid */
.project-stats {
    display: flex;
    gap: 3rem;
    margin: 4rem auto 0;
    border-top: 2px solid #e0e0e0;
    justify-content: center;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    transition: transform var(--transition-base);
    max-width: 200px;
}

/* ========================================
   CONFIGURATION SECTION
   ======================================== */

.config-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.config-card {
    position: relative;
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.config-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.config-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(193, 122, 58, 0.1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.config-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
}

.config-icon img {
    width: 100%;
    height: auto;
}

.config-title {
    font-family: var(--font-secondary);
    font-size: var(--fs-h2);
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

.config-subtitle {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

.config-features {
    list-style: none;
    text-align: left;
    margin: var(--spacing-md) 0;
    padding: 0;
}

.config-features li {
    padding: 0.5rem 0;
    color: var(--color-gray);
    border-bottom: 1px solid var(--color-gray-light);
}

.config-features li:last-child {
    border-bottom: none;
}

.config-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(193, 122, 58, 0.1);
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
}

.highlight-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
}

.highlight-item h4 {
    font-size: var(--fs-body);
    color: var(--color-dark);
    font-weight: 600;
}

/* ========================================
   AMENITIES SECTION
   ======================================== */

.amenities-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.amenities-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://nirmalayacomplexchinsurah.in/wp-content/uploads/2025/10/VIEW_11-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.amenities-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(22 1 1 / 36%);
    backdrop-filter: blur(3px);
}

.amenities-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.amenities-section .section-header {
    margin-bottom: 3rem;
}

.amenities-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.amenities-section .section-title .highlight {
    color: #ffffff;
}

.amenities-section .section-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
    font-weight: 400;
}

/* Amenities Grid - Pill Style Layout */
.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.amenity-card {
    background-color: #1a3a52;
    backdrop-filter: blur(20px);
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-align: center;
    transition: all var(--transition-base);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.amenity-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.amenity-icon svg {
    width: 22px;
    height: 22px;
    color: #4a7c4e;
}

.amenity-card h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SPECIFICATIONS SECTION
   ======================================== */

.specifications-section {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
}

.specs-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 300px;
}

.spec-slide {
    display: none;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-lg);
    animation: fadeIn 0.5s ease;
}

.spec-slide.active {
    display: block;
}

.spec-slide .spec-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.spec-slide .spec-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-white);
}

.spec-slide h3 {
    font-family: var(--font-secondary);
    font-size: var(--fs-h2);
    margin-bottom: var(--spacing-md);
}

.spec-slide p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.95;
}

.specs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.spec-nav-btn {
    width: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.spec-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.spec-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active,
.dot:hover {
    background-color: var(--color-white);
    transform: scale(1.2);
}

/* ========================================
   FLOOR PLANS SECTION
   ======================================== */

.resource-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
}

.floor-plan-preview {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.floor-plan-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.plan-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    position: relative !important;
    overflow: hidden !important;  /* ✅ ADDED */
    padding: 0 !important;
    margin: 0 !important;
}

/* ✅ NEW: Fixed background using pseudo-element */
.gallery-section::before {
    content: '';
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://nirmalayacomplexchinsurah.in/wp-content/uploads/2025/10/VIEW_8-scaled.jpg');
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0 !important;
}
/* FIXED: Ocean Wave at Top - Curves UP into section */
.wave-top {
    position: absolute;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    top: -1px;
}

/* Hide bottom wave */
.wave-bottom {
    display: none !important;
}

/* Background Image with Overlay */
.gallery-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://nirmalayacomplexchinsurah.in/wp-content/uploads/2025/10/VIEW_8-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.gallery-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4a6152;
    opacity: 0.85;
    z-index: 1;
}

/* FIXED: Increased padding to prevent title cutoff */
.gallery-section .container {
    position: relative;
    z-index: 3;
    padding: 6.1rem 2rem 7rem 2rem !important; /* ✅ Increased from 12rem to 14rem */
}

/* Section Header */
.gallery-section .section-header {
    margin-bottom: 4rem;
}

.gallery-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.gallery-section .section-title .highlight {
    color: #ffffff;
    font-weight: 700;
}

.gallery-section .section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}


/* Gallery Slider Wrapper */
.gallery-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.gallery-slider {
    display: flex;
    gap: 1.5rem;  /* Reduced gap */
    overflow-x: hidden;
    max-width: 1020px;  /* ✅ (320px × 3) + (1.5rem × 2) = exactly 3 slides */
    margin: 0 auto;
}

/* Individual Slide */
.gallery-slide {
    min-width: 320px !important;
    max-width: 320px !important;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.gallery-slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.gallery-slider-nav {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    z-index: 10;
}

.gallery-slider-nav:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-slider-nav svg {
    color: #4a6152 !important;
    width: 24px;
    height: 24px;
}

.gallery-slider-nav.prev {
    margin-right: 0;
}

.gallery-slider-nav.next {
    margin-left: 0;
}

/* Remove old gallery grid styles */
.gallery-grid,
.gallery-item,
.gallery-overlay,
.gallery-nav {
    display: none !important;
}

/* ========================================
   GALLERY ARROWS - BULLETPROOF FIX
   ======================================== */

/* Force arrow visibility - Override ALL theme styles */
.gallery-slider-nav,
.gallery-slider-nav:hover,
.gallery-slider-nav:focus,
.gallery-slider-nav:active,
.gallery-slider-nav:visited {
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gallery-slider-nav:hover {
    background-color: #ffffff !important;
    background: #ffffff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Force SVG arrow colors */
.gallery-slider-nav svg,
.gallery-slider-nav:hover svg,
.gallery-slider-nav:focus svg,
.gallery-slider-nav:active svg {
    color: #4a6152 !important;
    fill: none !important;
    stroke: #4a6152 !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-slider-nav svg path,
.gallery-slider-nav svg polyline {
    stroke: #4a6152 !important;
    stroke-width: 2 !important;
    fill: none !important;
    color: #4a6152 !important;
}

/* Specific targeting for prev/next buttons */
button.gallery-slider-nav.prev,
button.gallery-slider-nav.next {
    background-color: #ffffff !important;
    background: #ffffff !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove any inherited styles from theme */
.gallery-section .gallery-slider-nav,
.gallery-section button.gallery-slider-nav {
    all: revert !important;
    position: relative !important;
    width: 50px !important;
    height: 50px !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
}

/* Ensure wrapper is visible */
.gallery-slider-wrapper {
    position: relative !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-slider-wrapper * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force button type styles */
.gallery-slider-nav[type="button"] {
    -webkit-appearance: button !important;
    appearance: button !important;
}

/* Override any Astra theme button styles */
.ast-container .gallery-slider-nav,
.site-content .gallery-slider-nav,
#primary .gallery-slider-nav,
#main .gallery-slider-nav {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #4a6152 !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gallery-slider-nav {
        width: 40px !important;
        height: 40px !important;
    }
    
    .gallery-slider-nav svg {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 480px) {
    .gallery-slider-nav {
        width: 35px !important;
        height: 35px !important;
    }
    
    .gallery-slider-nav svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    transition: color var(--transition-base);
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--color-white) !important;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10000;
}

.lightbox-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ========================================
   LOCATION SECTION
   ======================================== */

.location-section {
    background-color: #f8f5f0;
    padding: 5rem 0;
}

.location-section .section-header {
    margin-bottom: 3rem;
}

.location-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #bf950c;
}

.location-section .section-title .highlight {
    color: #999;
    font-weight: 400;
}

.location-section .section-subtitle {
    font-size: 1.125rem;
    color: #666;
}

.location-content {
    max-width: 1400px;
    margin: 0 auto;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* Map Container */
.location-map {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    border: none;
}

/* Accordion Container */
.location-landmarks {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar */
.location-landmarks::-webkit-scrollbar {
    width: 6px;
}

.location-landmarks::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.location-landmarks::-webkit-scrollbar-thumb {
    background: #8B6F47;
    border-radius: 10px;
}

.location-landmarks::-webkit-scrollbar-thumb:hover {
    background: #6d5536;
}

/* Accordion Item */
.landmark-category {
    background-color: #ffffff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.landmark-category:last-child {
    border-bottom: none;
}

/* Accordion Header */
.landmark-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.landmark-category-header:hover {
    background-color: #f8f5f0;
}

.landmark-category.active .landmark-category-header {
    background-color: #f8f5f0;
}

.landmark-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.landmark-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background-color: #8B6F47;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.landmark-category.active .landmark-icon {
    background-color: #6d5536;
}

.landmark-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.landmark-category h4 {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: #2d2d2d;
    margin-bottom: 0;
    font-weight: 600;
}

/* Accordion Toggle Icon */
.accordion-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8B6F47;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.landmark-category.active .accordion-toggle {
    transform: rotate(45deg);
}

/* Accordion Content */
.landmark-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.landmark-category.active .landmark-content {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem 4rem;
}

.landmark-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landmark-category li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landmark-category li::before {
    content: '•';
    color: #8B6F47;
    font-weight: bold;
    margin-right: 0.75rem;
    display: none;
}

.landmark-name {
    flex: 1;
}

.landmark-distance {
    color: #999;
    font-size: 0.9rem;
}

.landmark-category p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
CONTACT SECTION
======================================== */
.contact-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: var(--spacing-xl);
}
.contact-form-wrapper {
background-color: var(--color-white);
padding: var(--spacing-lg);
border-radius: 12px;
box-shadow: var(--shadow-md);
}
/* Alert Messages */
.alert {
padding: var(--spacing-sm) var(--spacing-md);
border-radius: 6px;
margin-bottom: var(--spacing-md);
font-size: 0.95rem;
}
.alert-success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.alert-error {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
/* Form Styles */
.contact-form .form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--spacing-md);
}
.form-group {
margin-bottom: var(--spacing-md);
}
.form-group label {
display: block;
font-weight: 600;
color: var(--color-dark);
margin-bottom: 0.5rem;
font-size: 0.95rem;
}
.form-group .required {
color: #dc3545;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
width: 100%;
border: 2px solid var(--color-gray-light);
border-radius: 6px;
font-family: var(--font-primary);
font-size: var(--fs-body);
transition: all var(--transition-base);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(193, 122, 58, 0.1);
}
.contact-form textarea {
resize: vertical;
min-height: 120px;
}
.form-note {
margin-top: var(--spacing-md);
font-size: var(--fs-small);
color: var(--color-gray);
text-align: center;
line-height: 1.5;
}
/* Contact Information */
.contact-info {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
}
.info-card {
background-color: var(--color-white);
padding: var(--spacing-md);
border-radius: 8px;
box-shadow: var(--shadow-sm);
transition: all var(--transition-base);
}
.info-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-md);
}
.info-icon {
width: 50px;
height: 50px;
background-color: rgba(193, 122, 58, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: var(--spacing-sm);
}
.info-icon svg {
width: 24px;
height: 24px;
color: var(--color-primary);
}
.info-card h4 {
font-family: var(--font-secondary);
font-size: var(--fs-h4);
color: var(--color-dark);
margin-bottom: var(--spacing-xs);
}
.info-card p {
color: var(--color-gray);
font-size: 0.95rem;
line-height: 1.6;
}
.info-card a {
color: var(--color-primary);
text-decoration: none;
transition: color var(--transition-base);
}
.info-card a:hover {
color: var(--color-primary-dark);
text-decoration: underline;
}
/* Social Links */
.social-links {
background-color: var(--color-white);
padding: var(--spacing-md);
border-radius: 8px;
box-shadow: var(--shadow-sm);
text-align: center;
}
.social-links h4 {
font-family: var(--font-secondary);
font-size: var(--fs-h4);
color: var(--color-dark);
margin-bottom: var(--spacing-md);
}
.social-icons {
display: flex;
justify-content: center;
gap: var(--spacing-sm);
}
.social-icons a {
width: 50px;
height: 50px;
background-color: rgba(193, 122, 58, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--transition-base);
}
.social-icons a:hover {
background-color: var(--color-primary);
transform: translateY(-3px);
}
.social-icons svg {
width: 24px;
height: 24px;
color: var(--color-primary);
transition: color var(--transition-base);
}
.social-icons a:hover svg {
color: var(--color-white);
}
/* ========================================
ANIMATIONS
======================================== */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateX(-50%) translateY(0);
}
40% {
transform: translateX(-50%) translateY(-10px);
}
60% {
transform: translateX(-50%) translateY(-5px);
}
}

/* ========================================
RESPONSIVE DESIGN
======================================== */

/* Tablet Landscape (max-width: 1024px) */

@media (max-width: 1024px) {
    :root {
    --fs-hero: 2.5rem;
    --fs-h1: 2rem;
    --fs-h2: 1.75rem;
    }

    .hero-grid,
    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .config-grid {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-landmarks {
        grid-template-columns: 1fr;
    }

}

/* Tablet Portrait (max-width: 768px) */

@media (max-width: 768px) {
    :root {
    --fs-hero: 2rem;
    --fs-h1: 1.75rem;
    --fs-h2: 1.5rem;
    --fs-h3: 1.25rem;
    --section-padding: 3rem 0;
    }

    .container {
    padding: 0 var(--spacing-sm);
}

.hero-section {
        min-height: 100vh !important;  /* ✅ Keep 100vh but with fixed background */
        padding: 100px 0 var(--spacing-xl);
    }
    
    /* ✅ Disable parallax effect on mobile if needed */
    .hero-section::before,
    .amenities-section::before,
    .gallery-section::before {
        background-attachment: scroll !important;  /* ✅ Force scroll on mobile */
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .project-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .about-actions {
        flex-direction: column;
    }

    .about-actions .btn {
        width: 100%;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resource-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .plan-actions {
        flex-direction: column;
    }

    .plan-actions .btn {
        width: 100%;
    }

/* ✅ CRITICAL: Force stable viewport height on mobile */
    .hero-section {
        min-height: 100vh !important;
        min-height: -webkit-fill-available !important;  /* iOS Safari fix */
    }
    
    /* ✅ Ensure backgrounds don't cause reflow */
    .hero-section::before,
    .amenities-section::before,
    .gallery-section::before {
        background-attachment: scroll !important;
        will-change: auto !important;  /* Prevent GPU acceleration issues */
    }
    
    /* ✅ Prevent content shift during scroll */
    .hero-content,
    .amenities-section .container,
    .gallery-section .container {
        transform: translateZ(0) !important;  /* Force GPU layer */
        backface-visibility: hidden !important;  /* Prevent flicker */
    }


}
/* Mobile (max-width: 480px) */

@media (max-width: 480px) {
    :root {
    --fs-hero: 1.75rem;
    --fs-h1: 1.5rem;
    --fs-h2: 1.25rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .project-name {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .spec-slide h3 {
        font-size: 1.5rem;
    }

    .spec-slide p {
        font-size: 0.95rem;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .lightbox-close {
        font-size: 2rem;
        top: 10px;
        right: 15px;
    }
}

/* ✅ CRITICAL: Force stable viewport height on mobile */
    .hero-section {
        min-height: 100vh !important;
        min-height: -webkit-fill-available !important;  /* iOS Safari fix */
    }
    
    /* ✅ Ensure backgrounds don't cause reflow */
    .hero-section::before,
    .amenities-section::before,
    .gallery-section::before {
        background-attachment: scroll !important;
        will-change: auto !important;  /* Prevent GPU acceleration issues */
    }
    
    /* ✅ Prevent content shift during scroll */
    .hero-content,
    .amenities-section .container,
    .gallery-section .container {
        transform: translateZ(0) !important;  /* Force GPU layer */
        backface-visibility: hidden !important;  /* Prevent flicker */
    }

/* Print Styles */
    @media print {
    .hero-form-card,
    .scroll-indicator,
    .gallery-nav,
    .lightbox-modal,
    .contact-form,
    .btn {
    display: none !important;
    }
    .hero-section,
    .amenities-section {
        background-image: none !important;
    }

    .section-padding {
        padding: 2rem 0;
    }
}

/* Accessibility Enhancements */
    .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    }
    /* Focus visible for keyboard navigation */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    }
    /* Reduced motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
    @media (prefers-contrast: high) {
    .btn {
    border-width: 3px;
    }
    .config-card,
    .amenity-card,
    .info-card {
        border: 2px solid var(--color-dark);
    }
}

/* ========================================
   POP-UP ENQUIRY FORM
   ======================================== */

/* Modal Overlay */
.popup-enquiry-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.popup-enquiry-modal.active {
    display: flex;
}

/* Modal Content */
.popup-enquiry-content {
    background-color: #1a3a52;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease;
}

/* Close Button - FIXED VERSION */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none !important;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-weight: 300;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: none; /* Removed rotation */
}

.popup-close:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.popup-form-title {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.popup-form-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* Consent Checkbox Styling */
.popup-form-consent {
    margin: 1.25rem 0;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.consent-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.consent-checkbox:hover input ~ .checkmark {
    background-color: #ffffff;
}

.consent-checkbox input:checked ~ .checkmark {
    background-color: #d4af37;
    border-color: #d4af37;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.consent-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.consent-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.5;
    display: block;
}

/* Trust Badges Footer */
.popup-form-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.popup-trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.trust-badge svg {
    color: #d4af37;
    flex-shrink: 0;
}

/* Form Styles */
.popup-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-form-group {
    margin-bottom: 0;
}

.popup-enquiry-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
}

.popup-enquiry-form input:focus {
    outline: none;
    border-color: #a56627;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(165, 102, 39, 0.1);
}

.popup-enquiry-form input::placeholder {
    color: #999;
}

.popup-enquiry-form .btn {
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    background-color: #bf950c;
    border-color: #bf950c;
}

.popup-enquiry-form .btn:hover {
    background-color: #8a5420;
    border-color: #8a5420;
}

/* Alert Messages in Popup */
.popup-enquiry-content .alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.popup-enquiry-content .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.popup-enquiry-content .alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.popup-form-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.popup-form-logo {
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   STICKY ENQUIRY BUTTON
   ======================================== */

.sticky-enquiry-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1a3a52;
    color: #ffffff;
    border: none;
    padding: 1.5rem 0.75rem;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.sticky-enquiry-btn:hover {
    background-color: #1a3a52;
    padding-right: 1rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.sticky-btn-text {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Slide In Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .popup-enquiry-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .popup-form-title {
        font-size: 1.5rem;
    }

	.popup-form-subtitle {
        font-size: 0.875rem;
    }

	.consent-text {
        font-size: 0.8rem;
    }
    
    .popup-trust-badges {
        gap: 1.5rem;
    }
    
    .trust-badge {
        font-size: 0.8rem;
    }
    
    .sticky-enquiry-btn {
        padding: 1.25rem 1.1rem;
    }
    
    .sticky-btn-text {
        font-size: 0.875rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .popup-enquiry-content {
        padding: 1.75rem 1.25rem;
    }
    
    .popup-form-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

	.popup-form-subtitle {
        font-size: 0.825rem;
    }
    
    .consent-checkbox {
        padding-left: 32px;
    }
    
    .checkmark {
        height: 20px;
        width: 20px;
    }
    
    .checkmark:after {
        left: 5px;
        top: 2px;
        width: 5px;
        height: 10px;
    }
    
    .consent-text {
        font-size: 0.75rem;
    }
    
    .popup-trust-badges {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .popup-enquiry-form input {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 1.75rem;
        top: 10px;
        right: 10px;
    }
}

/* ========================================
   FLOOR PLANS MODAL - NEW STYLES
   ======================================== */

/* Make resource buttons clickable */
.btn-resource {
    cursor: pointer !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.btn-resource:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background-color: #d4af37 !important;
}

/* Floor Plans Modal Overlay */
.floor-plans-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.floor-plans-modal.active {
    display: flex !important;
}

/* Modal Content Container */
.floor-plans-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single Image View */
.floor-plans-single {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.floor-plans-single img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Slider Container */
.floor-plans-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 90vw;
}

/* Slider Images */
.floor-plans-slider {
    position: relative;
    max-width: 80vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floor-plans-slide {
    display: none;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.floor-plans-slide.active {
    display: block !important;
}

/* Navigation Arrows - FORCE VISIBILITY */
.floor-plans-nav,
.floor-plans-nav:hover,
.floor-plans-nav:focus,
.floor-plans-nav:active {
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    flex-shrink: 0 !important;
    z-index: 100000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.floor-plans-nav:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Force SVG arrow colors */
.floor-plans-nav svg,
.floor-plans-nav:hover svg,
.floor-plans-nav:focus svg {
    color: #324F36 !important;
    fill: none !important;
    stroke: #324F36 !important;
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.floor-plans-nav svg path,
.floor-plans-nav svg polyline {
    stroke: #324F36 !important;
    stroke-width: 2.5 !important;
    fill: none !important;
}

/* Override ANY theme button styles */
.floor-plans-modal .floor-plans-nav,
.floor-plans-modal button.floor-plans-nav,
.ast-container .floor-plans-nav,
.site-content .floor-plans-nav,
#primary .floor-plans-nav,
#main .floor-plans-nav {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #324F36 !important;
    border: none !important;
    outline: none !important;
}

/* Close Button */
.floor-plans-close {
    position: absolute !important;
    top: 20px !important;
    right: 30px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    color: #324F36 !important;
    font-size: 3rem !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 100001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    font-weight: 300 !important;
    transition: all 0.3s ease !important;
    padding-bottom: 8px !important;
}

/* Slide Counter */
.floor-plans-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #324F36;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 100000;
}

.floor-plans-counter .current-slide {
    color: #a56627;
    font-size: 1.3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floor-plans-nav {
        width: 50px !important;
        height: 50px !important;
    }
    
    .floor-plans-nav svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .floor-plans-close {
        width: 50px !important;
        height: 50px !important;
        font-size: 2.5rem !important;
        top: 15px !important;
        right: 15px !important;
    }
    
    .floor-plans-slider-container {
        gap: 1rem;
    }
    
    .floor-plans-counter {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        bottom: -5rem;
    }
}

@media (max-width: 480px) {
    .floor-plans-nav {
        width: 45px !important;
        height: 45px !important;
    }
    
    .floor-plans-nav svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .floor-plans-close {
        width: 45px !important;
        height: 45px !important;
        font-size: 2rem !important;
        top: 10px !important;
        right: 10px !important;
    }
    
    .floor-plans-slider-container {
        gap: 0.5rem;
    }
}

/* ========================================
   LOCATION SECTION - SIMPLIFIED
   ======================================== */

.location-section {
    background-color: #f8f5f0;
    padding: 5rem 0;
}

.location-section .section-header {
    margin-bottom: 3rem;
}

.location-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #bf950c;
}

.location-section .section-title .highlight {
    color: #999;
    font-weight: 400;
}

.location-section .section-subtitle {
    font-size: 1.125rem;
    color: #666;
}

.location-content {
    max-width: 1400px;
    margin: 0 auto;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

/* Map Container */
.location-map {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    border-radius: 12px;
    width: 100%;
    height: 100%;
    border: none;
}

/* Address Card */
.location-address {
    display: flex;
    flex-direction: column;
}

.address-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.address-header {
    background-color: #1a3a52;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.address-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-icon svg {
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.address-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.address-content {
    padding: 2rem;
}

.address-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.address-list li {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e0e0e0;
    gap: 1rem;
}

.address-list li:last-child {
    border-bottom: none;
}

.landmark-name {
    flex: 1;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

.landmark-distance {
    color: #8B6F47;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 3rem 0;
    }
    
    .location-map {
        height: 400px;
    }
    
    .address-header {
        padding: 1.25rem 1.5rem;
    }
    
    .address-header h3 {
        font-size: 1.25rem;
    }
    
    .address-content {
        padding: 1.5rem;
    }
    
    .address-list li {
        padding: 0.875rem 0;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .landmark-distance {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .location-map {
        height: 350px;
    }
    
    .address-header {
        padding: 1rem 1.25rem;
    }
    
    .address-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .address-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .address-header h3 {
        font-size: 1.125rem;
    }
    
    .address-content {
        padding: 1.25rem;
    }
    
    .landmark-name {
        font-size: 0.95rem;
    }
    
    .landmark-distance {
        font-size: 0.875rem;
    }
}