/* 
 * Pristine The Lords Luxury - Main Stylesheet
 * Modern, Responsive Design for Real Estate
 */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c9a961;
    --accent-color: #d4af37;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f7f4;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--primary-color);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1em;
    color: var(--text-light);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header and Navigation */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    max-height: 50px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--bg-light);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* Featured Properties Grid */
.featured-properties {
    background: var(--bg-light);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.property-info {
    padding: 20px;
}

.property-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.property-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.detail {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-button {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.view-button:hover {
    background: var(--secondary-color);
}

/* About Section */
.about-preview {
    background: var(--white);
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefits-list li {
    padding: 15px;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 4px;
}

.btn-link {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--bg-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: var(--white);
    padding-top: 60px;
}

.footer-content .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 45px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-legal .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

@media (max-width: 768px) {
    .footer-legal .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .legal-links {
        justify-content: center;
    }
}

.legal-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="email"],
input[type="phone"],
input[type="date"],
textarea,
select {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(201, 169, 97, 0.3);
}

button[type="submit"] {
    padding: 12px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .navbar-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .footer-legal .container {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .navbar-brand .logo {
        flex-direction: column;
        gap: 5px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    section {
        padding: 40px 0;
    }

    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .main-header,
    .main-footer,
    .cta-section {
        display: none;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-base);
}

/* Elegant Luxury Color Scheme */
:root {
    --font-base: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --primary: #1a2332;
    /* Deep Navy - Premium */
    --secondary: #c19a6b;
    /* Warm Gold - Luxury & Elegance */
    --accent: #8a9a5b;
    /* Sage Green - Fresh & Natural */
    --light: #f8f6f2;
    /* Warm Off-White - Clean Background */
    --dark: #1a1a1a;
    /* Near Black - Text Color */
    --gray: #6c757d;
    /* Medium Gray */
    --success: #28a745;
    /* Green - Success */
    --light-gold: #e6d3b8;
    /* Light Gold for highlights */
    --shadow: 0 8px 25px rgba(26, 35, 50, 0.08);
    --gradient: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    --gold-gradient: linear-gradient(135deg, #c19a6b 0%, #d4b483 100%);
}

body {
    line-height: 1.7;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(42, 59, 77, 0.15);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 59, 77, 0.25);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gold-gradient);
    color: white;
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(193, 154, 107, 0.25);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--gray);
}

.highlight {
    color: var(--secondary);
    font-weight: 700;
    position: relative;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    opacity: 0.3;
}

/* Floating Lead Form - Enhanced */
.floating-form-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: none;
}

.floating-form-button {
    background: var(--gold-gradient);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-form-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(193, 154, 107, 0.3);
}

.floating-form-button .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #d9534f;
    color: white;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 20px;
    animation: pulse 1.5s infinite;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.floating-form-box {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow-x: hidden;
    display: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(42, 59, 77, 0.1);
}

.floating-form-box.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    background: var(--gradient);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.form-header:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
}

.form-header h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.form-content {
    padding: 30px;
    background: white;
}

/* Enhanced Form Styling */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
    color: var(--dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.1);
}

.form-control::placeholder {
    color: #999;
}

/* Select dropdown styling */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23c19a6b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
    cursor: pointer;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #eaeaea;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #ddd;
    cursor: pointer;
    accent-color: var(--secondary);
}

.checkbox-container label {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    cursor: pointer;
}

.consent-box {
    background: #fcf8e3;
    border: 1px solid #faf2cc;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.85rem;
    color: #8a6d3b;
    line-height: 1.6;
}

.submit-btn {
    background: var(--gold-gradient);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(193, 154, 107, 0.3);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    display: none;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.form-message.error {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Header */
/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.top-bar-left a,
.top-bar-left span {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: color 0.3s;
    font-family: var(--font-base);
    letter-spacing: 0.15px;
}

.top-bar-left a:hover {
    color: var(--secondary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-right a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.top-bar-right a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

/* Offset anchor targets to account for sticky header */
section[id],
span[id] {
    scroll-margin-top: 85px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    flex-wrap: nowrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 300px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    flex-shrink: 0;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text h1 {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text .tagline {
    font-size: 0.78rem;
    color: var(--secondary);
    font-weight: 500;
}

.rera-badge {
    background: #0d8a4e;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-base);
}

.rera-badge i {
    font-size: 0.65rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    flex-wrap: nowrap;
}

nav li {
    position: relative;
    white-space: nowrap;
}

nav a,
nav .dropdown-toggle {
    font-family: var(--font-base);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    padding: 10px 6px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
    background: transparent;
    border: none;
    cursor: pointer;
}

nav a:after,
nav .dropdown-toggle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}

nav a:hover,
nav .dropdown-toggle:hover {
    color: var(--secondary);
}

nav a:hover:after,
nav .dropdown-toggle:hover:after {
    width: 100%;
}

/* Active Link Styling */
nav a.active {
    color: var(--secondary);
    font-weight: 700;
}

nav a.active:after {
    width: 100%;
    background: var(--secondary);
}

/* Policies Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    cursor: pointer;
}

.nav-dropdown>.dropdown-toggle i {
    transition: transform 0.25s ease;
}

.nav-dropdown.open>.dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    z-index: 10002;
    border: 1px solid rgba(193, 154, 107, 0.15);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--primary) !important;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-menu a:after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    background: rgba(193, 154, 107, 0.1);
    color: var(--secondary) !important;
}

/* Contact CTA Button in Header */
.contact-header {
    background: var(--gold-gradient);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(193, 154, 107, 0.3);
    white-space: nowrap;
    text-decoration: none;
    margin-left: 15px;
    flex-shrink: 0;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-base);
    letter-spacing: 0.2px;
}

.contact-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(193, 154, 107, 0.4);
    background: linear-gradient(135deg, #d4af37, #c19a6b);
}

.contact-header:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 154, 107, 0.3);
}

.close-menu {
    display: none;
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    background: #f8f6f2;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(42, 59, 77, 0.9), rgba(42, 59, 77, 0.85)),
        url('https://images.unsplash.com/photo-1613977257363-707ba9348227?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero h1 {
    color: white;
    font-size: 3.8rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-badge i {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Project Overview */
.project-overview {
    padding: 100px 0;
    background: var(--light);
}

.about-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(42, 59, 77, 0.08);
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.about-text {
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text .about-intro {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--dark);
    margin-bottom: 15px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.about-text-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text-collapsible.expanded {
    max-height: 1000px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: var(--secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    padding: 10px 22px;
    margin-top: 12px;
    border-radius: 25px;
    transition: all 0.3s;
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.read-more-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 154, 107, 0.4);
}

.read-more-btn i {
    transition: transform 0.3s;
    font-size: 0.75rem;
}

.read-more-btn.active {
    background: var(--primary);
}

.read-more-btn.active i {
    transform: rotate(180deg);
}

.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.about-highlight-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.about-highlight-item span {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(42, 59, 77, 0.06);
    border: 1px solid #eaeaea;
    overflow: hidden;
}

.stat-item {
    background: white;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border-right: 1px solid #eaeaea;
    border-radius: 0;
    box-shadow: none;
    border-bottom: none;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(42, 59, 77, 0.08);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 0.85rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Pricing Table */
.pricing-section {
    background: white;
    position: relative;
}

.pricing-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: var(--light);
    z-index: -1;
}

.price-table-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.price-table-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.price-table th {
    background: var(--gradient);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.price-table td {
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
    background: white;
    transition: all 0.3s ease;
}

.price-table tr:hover td {
    background: #f8f6f2;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-link {
    color: var(--secondary);
    font-weight: 700;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    background: #fcf8f3;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.price-link:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.2);
    border-color: var(--secondary);
}

.price-cta {
    text-align: center;
    margin-top: 40px;
}

/* Master & Floor Plans */
.plans-section {
    background: var(--light);
}

.plans-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.plan-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid #eaeaea;
    position: relative;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(42, 59, 77, 0.15);
}

.plan-header {
    background: var(--gradient);
    color: white;
    padding: 25px;
    text-align: center;
}

.plan-header h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.plan-size {
    font-size: 1.1rem;
    opacity: 0.9;
}

.plan-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.plan-card:hover .plan-image img {
    transform: scale(1.05);
}

.plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 59, 77, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 30px;
    text-align: center;
}

.plan-card:hover .plan-overlay {
    opacity: 1;
}

.plan-overlay h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.plan-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.plan-info {
    padding: 25px;
    text-align: center;
}

.plan-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
}

.plan-feature i {
    color: var(--secondary);
}

/* Amenities Section */
.amenities-section {
    background: var(--light);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.amenity-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid #eaeaea;
    text-align: center;
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 35, 50, 0.12);
}

.amenity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.amenity-card:hover img {
    transform: scale(1.08);
}

.amenity-card .amenity-image {
    overflow: hidden;
    position: relative;
}

.amenity-card .amenity-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(26, 35, 50, 0.3), transparent);
    pointer-events: none;
}

.amenity-label {
    padding: 18px 12px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Amenities Swiper */
.amenities-swiper {
    width: 100%;
    padding: 10px 0 50px;
}

.amenities-swiper .swiper-slide {
    width: auto;
}

.amenities-swiper .swiper-pagination-bullet-active {
    background: var(--secondary);
}

/* Gallery */
.gallery-section {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 35, 50, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 520px;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    color: white;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Location */
.location-section {
    background: var(--light);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.location-map {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eaeaea;
}

.location-details {
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.location-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    background: #f8f6f2;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-item {
    background: var(--light);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 22px 25px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.faq-question i {
    color: var(--secondary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 22px;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

@media (max-width: 992px) and (min-width: 769px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--secondary);
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    line-height: 1;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.social-icon-facebook svg {
    width: 20px;
    height: 20px;
}

.social-icon-linkedin svg {
    width: 21px;
    height: 21px;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: #fff;
    text-decoration: none;
}

/* Footer section headings */
.footer-links h4,
.footer-contact h4,
.footer-about h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(193, 154, 107, 0.4);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-about a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
    font-size: 0.92rem;
}

.footer-links ul li a:hover,
.footer-about a:hover,
.footer-contact a:hover {
    color: var(--secondary);
    padding-left: 4px;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.3rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Slightly reduce logo and nav gap at 1200px to prevent wrapping */
    .logo-image {
        width: 260px;
        height: 75px;
    }

    nav ul {
        gap: 22px;
    }

    nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {

    /* Tablet navigation - reduce gap to prevent merging */
    nav ul {
        gap: 18px;
    }

    nav a {
        font-size: 0.85rem;
        padding: 8px 4px;
    }

    .contact-header {
        padding: 10px 18px;
        font-size: 0.85rem;
        margin-left: 8px;
    }

    .logo-image {
        width: 240px;
        height: 70px;
    }

    .header-container {
        gap: 12px;
    }

    .about-content,
    .location-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-text {
        padding: 40px 35px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-bottom: 1px solid #eaeaea;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid #eaeaea;
    }

    .stat-item:nth-child(even) {
        border-right: none;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .floating-form-box {
        width: 350px;
    }

    .top-bar-left {
        gap: 20px;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    /* Header mobile */
    .header-container {
        padding: 10px 0;
    }

    .logo {
        gap: 10px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .logo-image {
        width: 150px;
        height: 44px;
        flex-shrink: 0;
    }

    .logo-text h1 {
        font-size: 0.95rem;
    }

    .logo-text .tagline {
        display: none;
    }

    .rera-badge {
        font-size: 0.55rem;
        padding: 2px 7px;
        margin-top: 2px;
    }

    .mobile-menu {
        display: flex;
        z-index: 1000;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        flex-shrink: 0;
        border: 2px solid var(--primary);
        border-radius: 10px;
        color: var(--primary);
        background: #f8f6f2;
    }

    .contact-header {
        padding: 10px 14px;
        font-size: 0.82rem;
        margin-left: 8px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Keep corner logos visible inside card images on mobile */
    .amenity-card .amenity-image {
        background: #111;
    }

    .amenity-card img,
    .gallery-item img,
    .swiper-slide img {
        object-fit: contain;
        object-position: center;
        background: #111;
    }

    /* Hero mobile */
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .container>div:first-child span {
        font-size: 0.75rem !important;
        padding: 6px 14px !important;
    }

    .hero .container>p:nth-of-type(1) {
        font-size: 0.9rem !important;
    }

    .hero .container>p:nth-of-type(2) {
        font-size: 1.2rem !important;
    }

    .hero .container>p:nth-of-type(3) {
        font-size: 2rem !important;
        margin-bottom: 20px !important;
    }

    /* Hero buttons stack on mobile */
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .hero .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 14px 24px;
        font-size: 0.95rem;
        margin-left: 0 !important;
    }

    /* Hero badges */
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 25px;
    }

    .hero-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-badge i {
        font-size: 1.2rem;
    }

    /* About card mobile */
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-height: 250px;
        order: -1;
    }

    .about-image img {
        height: 250px;
    }

    .about-text {
        padding: 25px 20px;
    }

    .about-highlights {
        flex-wrap: wrap;
        gap: 12px;
    }

    .about-highlight-item span {
        font-size: 0.85rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }

    .stat-item {
        border-bottom: 1px solid #eaeaea;
        padding: 18px 10px;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid #eaeaea;
    }

    .stat-item:nth-child(even) {
        border-right: none;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        padding: 80px 30px 30px;
        z-index: 10000;
        overflow-y: auto;
    }

    nav.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }

        to {
            transform: translateX(0);
        }
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    nav li {
        width: 100%;
        text-align: center;
    }

    nav a,
    nav .dropdown-toggle {
        font-size: 1.1rem;
        padding: 14px 16px;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
        background: rgba(193, 154, 107, 0.05);
        width: 100%;
        text-align: center;
        color: var(--primary);
    }

    .nav-dropdown>.dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    nav a:after,
    nav .dropdown-toggle:after {
        display: none;
    }

    nav a.active {
        background: rgba(193, 154, 107, 0.15);
        color: var(--secondary);
    }

    nav a:hover,
    nav .dropdown-toggle:hover {
        background: rgba(193, 154, 107, 0.1);
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(193, 154, 107, 0.08);
        border-radius: 8px;
        padding: 0;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 300px;
        padding: 8px 0;
    }

    .nav-dropdown-menu a {
        font-size: 1rem !important;
        padding: 12px 24px !important;
        background: rgba(193, 154, 107, 0.05) !important;
        border-radius: 6px;
        margin: 4px 8px;
    }

    .nav-dropdown-menu a:hover {
        background: rgba(193, 154, 107, 0.15) !important;
    }

    .close-menu {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 2rem;
        cursor: pointer;
        color: var(--primary);
        z-index: 10001;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f0ece6;
        border-radius: 50%;
    }

    .floating-form-container {
        bottom: 20px;
        right: 20px;
    }

    .floating-form-box {
        width: 320px;
        right: -50px;
        max-height: 85vh;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    footer {
        padding: 60px 0 25px;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .social-icons {
        gap: 12px;
    }

    /* Section titles mobile */
    h2 {
        font-size: 1.6rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero .container>p:nth-of-type(3) {
        font-size: 1.6rem !important;
    }

    .floating-form-box {
        width: calc(100vw - 40px);
        right: -120px;
        max-height: 80vh;
    }

    .price-table-container {
        padding: 20px 15px;
    }

    .swiper {
        height: 300px;
    }

    .hero-badge {
        max-width: 250px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .contact-header {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:first-child {
        height: 250px;
    }

    /* Mobile logo adjustments */
    .logo-image {
        width: 120px;
        height: 36px;
    }

    .logo-text h1 {
        font-size: 0.8rem;
    }

    .rera-badge {
        display: none;
    }

    .mobile-menu {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .contact-header {
        padding: 9px 13px;
        font-size: 0.78rem;
        margin-left: 6px;
        gap: 6px;
    }

    .contact-header .btn-text {
        display: none;
    }

    .about-text {
        padding: 20px 15px;
    }

    .about-text p {
        font-size: 0.9rem;
    }
}

/* ===== CHATBOT WIDGET (Matching Goodwillestate pattern) ===== */
.chatbot-toggle {
    position: fixed;
    bottom: 100px;
    right: 24px;
    right: max(24px, calc(env(safe-area-inset-right) + 14px));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #1a2332), #2d3e50);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(26, 42, 58, 0.35);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    animation: chatPulse 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(26, 42, 58, 0.5);
}

.chatbot-toggle.active {
    animation: none;
    background: linear-gradient(135deg, #e53e3e, #c53030);
}

@keyframes chatPulse {

    0%,
    100% {
        box-shadow: 0 6px 25px rgba(26, 42, 58, 0.35);
    }

    50% {
        box-shadow: 0 6px 25px rgba(193, 154, 107, 0.6);
    }
}

.chatbot-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #e53e3e;
    border-radius: 50%;
    font-size: 0.65rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.chatbot-window {
    position: fixed;
    bottom: 170px;
    right: 24px;
    right: max(24px, calc(env(safe-area-inset-right) + 14px));
    width: 380px;
    max-height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.3s ease;
}

.chatbot-window.open {
    display: flex;
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary, #1a2332), #2d3e50);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chatbot-header-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1px;
    color: #fff;
}

.chatbot-header-info p {
    font-size: 0.75rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.chatbot-header-info .online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 340px;
    background: #f7f5f0;
}

.chatbot-body::-webkit-scrollbar {
    width: 4px;
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

.chat-msg {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: msgFade 0.3s ease;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

@keyframes msgFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg .msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary, #1a2332);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.chat-msg.user .msg-avatar {
    background: var(--secondary, #c19a6b);
}

.chat-msg .msg-content {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-line;
}

.chat-msg.bot .msg-content {
    background: #fff;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.chat-msg.user .msg-content {
    background: linear-gradient(135deg, var(--primary, #1a2332), #2d3e50);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg .msg-time {
    font-size: 0.65rem;
    color: #a0aec0;
    margin-top: 4px;
}

.chat-typing {
    display: none;
    align-self: flex-start;
    padding: 10px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.chat-typing.show {
    display: flex;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    background: #a0aec0;
    border-radius: 50%;
    margin: 0 2px;
    animation: typingBounce 0.6s infinite alternate;
}

.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    to {
        transform: translateY(-4px);
        opacity: 0.5;
    }
}

.chatbot-footer {
    padding: 12px 16px;
    border-top: 1px solid #e2e0db;
    background: #fff;
    display: flex;
    gap: 8px;
    align-items: center;
}

.chatbot-footer input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e2e0db;
    border-radius: 24px;
    font-size: 0.88rem;
    outline: none;
    transition: border 0.3s;
}

.chatbot-footer input:focus {
    border-color: var(--secondary, #c19a6b);
}

.chatbot-footer button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary, #c19a6b), #b8923e);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.chatbot-footer button:hover {
    transform: scale(1.1);
}

.chatbot-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-form h4 {
    font-size: 1rem;
    color: var(--primary, #1a2332);
    text-align: center;
    margin-bottom: 4px;
}

.chatbot-form p {
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
    margin-bottom: 4px;
}

.chatbot-form input {
    padding: 10px 14px;
    border: 1.5px solid #e2e0db;
    border-radius: 10px;
    font-size: 0.88rem;
    outline: none;
    transition: border 0.3s;
}

.chatbot-form input:focus {
    border-color: var(--secondary, #c19a6b);
}

.chatbot-form button {
    padding: 10px;
    background: linear-gradient(135deg, var(--secondary, #c19a6b), #b8923e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.chatbot-form button:hover {
    transform: translateY(-2px);
}

.chatbot-form .form-error {
    color: #e53e3e;
    font-size: 0.78rem;
    text-align: center;
    display: none;
}

.chat-quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 4px;
}

.chat-quick-btn {
    padding: 6px 12px;
    background: rgba(193, 154, 107, 0.1);
    border: 1px solid rgba(193, 154, 107, 0.3);
    color: var(--secondary, #c19a6b);
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-quick-btn:hover {
    background: var(--secondary, #c19a6b);
    color: #fff;
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100% - 20px);
        right: 12px;
        right: max(12px, calc(env(safe-area-inset-right) + 12px));
        bottom: 150px;
        max-height: 70vh;
    }

    .chatbot-toggle {
        bottom: 90px;
        right: 22px;
        right: max(22px, calc(env(safe-area-inset-right) + 14px));
        width: 54px;
        height: 54px;
        font-size: 1.3rem;
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    right: max(24px, calc(env(safe-area-inset-right) + 14px));
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 22px;
        right: max(22px, calc(env(safe-area-inset-right) + 14px));
    }

    .whatsapp-btn {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}

/* ============================================================
   PAGE BANNER — Privacy, Terms, About Us
   ============================================================ */
.page-banner {
    background: var(--gradient);
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><circle cx="600" cy="100" r="280" fill="rgba(193,154,107,0.06)"/><circle cx="100" cy="350" r="200" fill="rgba(193,154,107,0.04)"/></svg>') no-repeat center / cover;
    pointer-events: none;
}


.page-banner h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
}

.page-banner h1 span {
    color: var(--secondary);
}

.page-banner p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    margin: 0 auto 24px;
    max-width: 600px;
}

.page-banner-divider {
    width: 70px;
    height: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
    margin: 0 auto 20px;
}


/* ============================================================
   LEGAL PAGES — shared wrapper
   ============================================================ */
.legal-page {
    background: #fff;
    padding: 70px 0 80px;
}

.legal-intro {
    background: var(--light);
    border-left: 5px solid var(--secondary);
    border-radius: 0 12px 12px 0;
    padding: 22px 28px;
    margin-bottom: 44px;
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.85;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.legal-intro strong { color: var(--primary); }

/* Last Updated Badge */
.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(193, 154, 107, 0.1);
    border: 1px solid rgba(193, 154, 107, 0.3);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.last-updated i {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Section Cards */
.privacy-section,
.terms-section {
    background: #fff;
    border: 1px solid #eeebe5;
    border-radius: 14px;
    padding: 32px 36px;
    margin-bottom: 22px;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    min-width: 0;
}

.privacy-section::before,
.terms-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gold-gradient);
    border-radius: 5px 0 0 5px;
}

.privacy-section:hover,
.terms-section:hover {
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.09);
    transform: translateY(-2px);
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(193, 154, 107, 0.12);
    border-radius: 10px;
    margin-bottom: 14px;
    color: var(--secondary);
    font-size: 1.1rem;
}

.privacy-section h2,
.terms-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--gold-gradient);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.privacy-section p,
.terms-section p {
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 10px;
    font-size: 0.97rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.privacy-section p:last-child,
.terms-section p:last-child { margin-bottom: 0; }

.privacy-section ul,
.terms-section ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.privacy-section ul li,
.terms-section ul li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: var(--gray);
    font-size: 0.97rem;
    line-height: 1.75;
    border-bottom: 1px solid #f4f1ec;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.privacy-section ul li:last-child,
.terms-section ul li:last-child { border-bottom: none; }

.privacy-section ul li::before,
.terms-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.privacy-section ul li strong,
.terms-section ul li strong {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Box */
.contact-box {
    background: var(--light);
    border: 1px solid rgba(193, 154, 107, 0.3);
    border-radius: 16px;
    padding: 32px 36px;
    margin-top: 40px;
    min-width: 0;
}

.contact-box h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box p {
    color: var(--gray);
    font-size: 0.97rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.legal-main a,
.legal-main strong {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-box p i {
    color: var(--secondary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.contact-box p:last-child { margin-bottom: 0; }

/* Acknowledgement Box */
.acknowledgement-box {
    background: linear-gradient(135deg, rgba(193, 154, 107, 0.1) 0%, rgba(212, 180, 131, 0.08) 100%);
    border: 1px solid rgba(193, 154, 107, 0.35);
    border-radius: 12px;
    padding: 22px 28px;
    margin: 36px 0 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.75;
    font-size: 0.97rem;
    color: var(--primary);
}

.acknowledgement-box i {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Legal Table of Contents (side sticky) */
.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--light);
    border-radius: 14px;
    padding: 24px 22px;
    border: 1px solid #eeebe5;
}

.legal-toc h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeebe5;
}

.legal-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.legal-toc ol li {
    counter-increment: toc-counter;
    margin-bottom: 4px;
}

.legal-toc ol li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--gray);
    transition: all 0.2s ease;
    text-decoration: none;
}

.legal-toc ol li a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    min-width: 24px;
}

.legal-toc ol li a:hover {
    background: rgba(193, 154, 107, 0.1);
    color: var(--primary);
    padding-left: 14px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
        display: none; /* hide on mobile to save space */
    }
}

@media (max-width: 768px) {
    .page-banner { padding: 70px 0 55px; }
    .page-banner h1 { font-size: 2rem; }
    .privacy-section,
    .terms-section { padding: 24px 22px; }
    .contact-box { padding: 24px 22px; }
    .legal-intro { padding: 18px 20px; }
}
/* Legal Page Specific Styles - Fully Responsive */
