.error-name, .error-email, .error-phone, .error-email-valid, .error-phone-valid {
    color: red;
    float: left;
    margin-bottom: 10px;
    display: none;
}

#loading_bottom_1, #loading_bottom_2, #loading_bottom_3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

#contactForm {
    position: relative;
}



/* ----------------------------------------------------
   DESIGN SYSTEM & CUSTOM VARIABLES
   ---------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-emerald: #0F8A5F;
    --dark-emerald: #06684A;
    --light-mint: #EAFBF4;
    --accent-gold: #D4AF37;
    --background: #FFFFFF;
    --card-bg: #FFFFFF;
    --border-color: rgba(15, 138, 95, 0.15);
    --text-color: #17212B;
    --secondary-text: #5B6675;
    --footer-bg: #0B5D43;
    --footer-text: #E8F5EF;

    /* Typographies */
    --font-heading: 'Cormorant Garamond', serif;
    --font-nav: 'Inter', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-btn: 'Poppins', sans-serif;

    /* Shadows */
    --shadow-soft: 0 10px 30px -10px rgba(6, 104, 74, 0.06);
    --shadow-hover: 0 20px 40px -12px rgba(6, 104, 74, 0.12);
    --shadow-premium: 0 30px 60px -15px rgba(6, 104, 74, 0.15);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
}

/* ----------------------------------------------------
   BASE STYLES & RESET
   ---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--background);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-color);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f7f5;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-emerald);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--dark-emerald);
}

/* ----------------------------------------------------
   UTILITIES & COMPONENTS
   ---------------------------------------------------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-badge {
    font-family: var(--font-btn);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-emerald);
    background-color: var(--light-mint);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-emerald), var(--accent-gold));
    margin: 0 auto 20px auto;
    border-radius: 10px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--secondary-text);
    line-height: 1.7;
}

/* Buttons */
.btn {
    font-family: var(--font-btn);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-emerald), var(--dark-emerald));
    color: #FFFFFF;
    box-shadow: 0 8px 20px -6px rgba(15, 138, 95, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -5px rgba(15, 138, 95, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-emerald);
    border: 2px solid var(--primary-emerald);
}

.btn-secondary:hover {
    background-color: var(--light-mint);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Gold details */
.gold-icon {
    color: var(--accent-gold);
}

/* Glassmorphism helpers */
.glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

/* ----------------------------------------------------
   1. STICKY NAVBAR
   ---------------------------------------------------- */
.navbar {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    top: 12px;
}

.nav-container {
    max-width: 1200px;
    width: calc(100% - 48px);
    height: 74px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 138, 95, 0.15);
    box-shadow: 0 15px 40px -10px rgba(6, 104, 74, 0.15);
    height: 68px;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-emerald), var(--dark-emerald));
    color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 15px -4px rgba(15, 138, 95, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-nav);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FFFFFF;
    transition: var(--transition-smooth);
}

.navbar.scrolled .brand-name {
    color: var(--dark-emerald);
}

.project-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-top: 2px;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-nav);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-link {
    color: var(--secondary-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-link::after {
    background-color: var(--primary-emerald);
}

.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
}

.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active {
    color: var(--primary-emerald);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.85rem;
    padding: 10px 22px;
}

/* Hamburger for Mobile */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.navbar.scrolled .hamburger span {
    background-color: var(--dark-emerald);
}

/* ----------------------------------------------------
   2. HERO (HOME) SECTION
   ---------------------------------------------------- */
/* ----------------------------------------------------
   2. HERO (HOME) SECTION
   ---------------------------------------------------- */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(11, 70, 52, 0.88) 0%, rgba(6, 60, 44, 0.82) 50%, rgba(3, 40, 29, 0.95) 100%), url('../images/slider/slider-01.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #FFFFFF;
}

.hero h1, .hero h2, .hero h3 {
    color: #FFFFFF;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(234, 251, 244, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--accent-gold);
    font-family: var(--font-btn);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight-text {
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(232, 245, 239, 0.85);
    margin-bottom: 30px;
    max-width: 580px;
    line-height: 1.7;
}

/* Pricing Card */
.price-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--accent-gold);
    padding: 14px 28px;
    border-radius: 0 16px 16px 0;
    margin-bottom: 36px;
    display: inline-flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(232, 245, 239, 0.7);
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-top: 4px;
}

.price-suffix {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--accent-gold);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero .btn-secondary {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* 4 Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 580px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
    transition: var(--transition-smooth);
    box-shadow: none;
    color: #FFFFFF;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: rgba(15, 138, 95, 0.35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.feature-details h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
}

.feature-details p {
    font-size: 0.8rem;
    color: rgba(232, 245, 239, 0.8);
    margin-top: 2px;
}

/* Hero Visual & Image */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    overflow: clip;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 138, 95, 0.2);
    border-radius: 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-hover);
    animation: float 5s ease-in-out infinite;
    z-index: 5;
}

.floating-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-emerald);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.floating-badge h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
}

.floating-badge p {
    font-size: 0.75rem;
    color: var(--secondary-text);
}

/* Position of badges */
.badge-price {
    top: -30px;
    left: -40px;
    animation-delay: 0s;
}

.badge-amenities {
    bottom: 60px;
    right: -45px;
    animation-delay: 2s;
}

.badge-location {
    bottom: -25px;
    left: -35px;
    animation-delay: 1s;
}

/* Hero Enquiry form (collapsible / stacked in mobile) */
.hero-enquiry-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-premium);
    z-index: 10;
}

.hero-enquiry-card .card-header {
    text-align: center;
    margin-bottom: 20px;
}

.hero-enquiry-card h3 {
    font-size: 1.6rem;
    color: var(--dark-emerald);
}

.hero-enquiry-card p {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-top: 4px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(23, 33, 43, 0.15);
    background-color: #FFFFFF;
    color: var(--text-color);
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical; /* block horizontal resize that causes overflow */
    min-height: 80px;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #A0ABB8;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-emerald);
    box-shadow: 0 0 0 3px rgba(15, 138, 95, 0.1);
    background-color: #FFFFFF;
}

.form-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.lock-icon {
    color: var(--primary-emerald);
    font-size: 0.8rem;
}

.form-secure span {
    font-size: 0.75rem;
    color: var(--secondary-text);
}

/* ----------------------------------------------------
   3. HIGHLIGHTS SECTION
   ---------------------------------------------------- */
.highlights {
    background-color: #F6FCFA;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px 24px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(15, 138, 95, 0.4);
    background: linear-gradient(185deg, #FFFFFF, rgba(234, 251, 244, 0.3));
}

.card-icon {
    width: 52px;
    height: 52px;
    background-color: var(--light-mint);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-emerald);
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.highlight-card:hover .card-icon {
    background-color: var(--primary-emerald);
    color: #FFFFFF;
    transform: scale(1.1);
}

.highlight-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* ----------------------------------------------------
   4. CONTACT FORM SECTION
   ---------------------------------------------------- */
.contact {
    padding: 100px 24px;
    background: radial-gradient(circle at 10% 80%, rgba(234, 251, 244, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
}

.contact-container {
    max-width: 860px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 56px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-emerald), var(--accent-gold));
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-badge {
    font-family: var(--font-btn);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-emerald);
    margin-bottom: 12px;
    display: inline-block;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    font-size: 0.9rem;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid rgba(23, 33, 43, 0.12);
    background-color: #FCFDFD;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--primary-emerald);
    background-color: #FFFFFF;
}

.privacy-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-top: 10px;
}

.privacy-lock i {
    color: var(--primary-emerald);
}

/* ----------------------------------------------------
   5. FAQ SECTION
   ---------------------------------------------------- */
.faqs {
    background-color: #F6FCFA;
}

/* Sticky Bottom Mobile Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-emerald);
    padding: 14px;
    z-index: 999;
    display: none; /* hidden on desktop */
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sticky-bottom-bar:hover {
    background-color: var(--dark-emerald);
}

.sticky-bar-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-family: var(--font-btn);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Responsive visibility */
@media (max-width: 768px) {
    .sticky-bottom-bar {
        display: flex;
    }
    /* Add padding to the bottom of the body so the footer/content doesn't get covered by the sticky bar */
    body {
        padding-bottom: 60px;
    }
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(15, 138, 95, 0.3);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
    outline: none;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-emerald);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background-color: var(--light-mint);
    color: var(--primary-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
    background-color: var(--primary-emerald);
    color: #FFFFFF;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-content {
    overflow: hidden;
    padding: 0 24px;
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.6;
    transition: padding 0.3s ease-out;
}

.faq-item.active .faq-answer-content {
    padding: 0 24px 24px 24px;
}

/* ----------------------------------------------------
   6. FOOTER
   ---------------------------------------------------- */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 24px 40px 24px;
    overflow-x: hidden;
}

.footer-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

.footer-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-content-centered .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-content-centered .logo-icon {
    background: #FFFFFF;
    color: var(--primary-emerald);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: none;
}

.footer-content-centered .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-content-centered .brand-name {
    font-family: var(--font-nav);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FFFFFF;
}

.footer-content-centered .project-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-top: 2px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(232, 245, 239, 0.85);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Disclaimer Section */
.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-bottom: 40px;
}

.footer-disclaimer h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.footer-disclaimer p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(232, 245, 239, 0.6);
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Bottom elements */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    overflow-x: hidden;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(232, 245, 239, 0.6);
    overflow-wrap: break-word;
    word-break: break-word;
    padding: 0 8px;
}

/* ----------------------------------------------------
   7. FLOATING ACTIONS (RIGHT SIDE)
   ---------------------------------------------------- */
.floating-actions {
    position: fixed;
    right: 20px;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 48px;
    height: 48px;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(6, 104, 74, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    color: var(--primary-emerald);
}

.float-btn .float-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.float-btn .float-label {
    font-family: var(--font-btn);
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    padding-right: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.float-btn:hover {
    width: 190px;
    background: linear-gradient(135deg, var(--primary-emerald), var(--dark-emerald));
    color: #FFFFFF;
    border-color: transparent;
}

.float-btn:hover .float-label {
    opacity: 1;
    width: auto;
    padding-right: 18px;
}

/* WhatsApp Theme Floating Hover */
.float-whatsapp:hover {
    background: #25D366;
    color: #FFFFFF;
}

/* ----------------------------------------------------
   8. SCROLL TO TOP BUTTON
   ---------------------------------------------------- */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-emerald), var(--dark-emerald));
    color: #FFFFFF;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(15, 138, 95, 0.3);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, var(--dark-emerald), #034b35);
    box-shadow: 0 12px 28px rgba(15, 138, 95, 0.5);
    transform: scale(1.08);
}

/* ----------------------------------------------------
   DYNAMIC POPUP MODALS
   ---------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(11, 46, 35, 0.4);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 10;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F1F5F3;
    border: none;
    outline: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--light-mint);
    color: var(--primary-emerald);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-head-icon {
    font-size: 2.2rem;
    color: var(--primary-emerald);
    margin-bottom: 12px;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--dark-emerald);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.85rem;
    color: var(--secondary-text);
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Success Modal Customization */
.modal-success {
    text-align: center;
    max-width: 420px;
}

.success-icon-wrapper {
    font-size: 4rem;
    color: var(--primary-emerald);
    margin-bottom: 16px;
    animation: zoomIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-success h2 {
    font-size: 2.2rem;
    color: var(--dark-emerald);
    margin-bottom: 12px;
}

.modal-success p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ----------------------------------------------------
   ANIMATION KEYFRAMES
   ---------------------------------------------------- */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Entrance Animations via JS observer (Scroll Effects) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ----------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   ---------------------------------------------------- */

/* Desktop & Wide (1200px and down) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets & Small Desktop (1024px and down) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .launch-badge {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-container {
        border-left: none;
        border-top: 4px solid var(--accent-gold);
        border-radius: 0 0 16px 16px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .feature-grid {
        margin: 0 auto;
    }
    
    .hero-visual {
        max-width: 580px;
        margin: 0 auto;
        width: 100%;
    }
    
    .image-wrapper {
        aspect-ratio: 4 / 3;
    }

    .badge-price {
        left: 2%;
        top: 5%;
    }
    
    .badge-amenities {
        right: 2%;
        bottom: 5%;
    }
    
    .badge-location {
        left: 2%;
        bottom: -5%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
}

/* Small Tablets & Mobile Devices (768px and down) */
@media (max-width: 768px) {
    /* ---- Overflow fix: prevent h-scroll BUT never clip the fixed nav-menu ---- */
    section, footer, .section-container {
        overflow-x: hidden;
    }
    /* Header itself must NOT have overflow:hidden — it would clip the fixed nav-menu panel */
    header.navbar {
        overflow: visible;
    }

    .section-title {
        font-size: 2.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 106px;
        left: -100%;
        width: calc(100% - 48px);
        margin: 0 24px;
        height: auto;
        max-height: calc(100vh - 130px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 30px;
        border: 1px solid var(--border-color);
        border-radius: 24px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-premium);
        z-index: 999;
    }
    
    .navbar.scrolled .nav-menu {
        top: 88px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        color: var(--text-color);
    }
    .nav-link:hover, .nav-link.active {
        color: var(--primary-emerald) !important;
    }
    
    .nav-cta {
        font-size: 1rem;
        padding: 14px 32px;
    }

    /* Navbar capsule on mobile - full width with safe margins */
    .nav-container {
        width: calc(100% - 24px);
        padding: 0 16px;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero {
        background-attachment: scroll; /* fixes iOS fixed bg overflow */
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 36px auto;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card {
        padding: 40px 24px;
    }
    
    .contact-card h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col:last-child {
        grid-column: span 1;
    }
    
    /* Hide floaters on mobile to prevent clutter */
    .hero-visual .floating-badge {
        display: none;
    }
    
    /* Floating action buttons stack on bottom for mobile */
    .floating-actions {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        box-shadow: 0 -10px 30px rgba(6, 104, 74, 0.12);
        padding: 10px 16px;
        justify-content: space-around;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }
    
    .float-btn {
        width: auto;
        height: auto;
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        flex-direction: column;
        color: var(--secondary-text);
        padding: 4px;
        gap: 4px;
        flex-grow: 1;
        justify-content: center;
    }
    
    .float-btn .float-icon {
        width: 24px;
        height: 24px;
        font-size: 1.1rem;
    }
    
    .float-btn .float-label {
        opacity: 1;
        width: auto;
        font-size: 0.6rem;
        padding-right: 0;
        text-transform: capitalize;
        letter-spacing: 0;
        color: var(--secondary-text);
    }
    
    .float-btn:hover {
        width: auto;
        background: none;
        color: var(--primary-emerald);
    }
    
    .float-btn:hover .float-label {
        color: var(--primary-emerald);
    }
    
    /* WhatsApp Theme on Mobile Hover */
    .float-whatsapp:hover {
        color: #25D366;
    }
    
    .scroll-top-btn {
        bottom: 80px; /* Above the mobile nav bar */
        right: 16px;
    }
}

/* Extra Small Phones (480px and down) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-container {
        padding: 0 12px;
    }

    .section-container {
        padding: 70px 16px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.6rem;
    }

    /* Prevent wide tables/grids from overflowing */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 18px 16px;
        font-size: 0.95rem;
    }

    .faq-answer-content {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer-content {
        padding: 0 16px 20px 16px;
    }

    /* Footer tight layout on small phones */
    .footer {
        padding: 60px 16px 32px 16px;
    }

    .copyright {
        font-size: 0.72rem;
        line-height: 1.6;
    }

    .footer-disclaimer p {
        font-size: 0.72rem;
    }

    .footer-content-centered .brand-name {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
}



/* Custom CAPTCHA Section */
.captcha-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    border-radius: 15px;
    padding: 10px;
    margin: 22px 0;
    border: 2px solid #e2e8f0;
    position: relative;
}

.captcha-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary-color);
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.captcha-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    background: var(--white-color);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 8px;
    color: var(--primary-color);
    user-select: none;
    text-align: center;
    flex-grow: 1;
    margin-right: 20px;
    border: 1px dashed #cbd5e1;
}

.captcha-refresh-btn {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(12, 74, 110, 0.2);
}

.captcha-refresh-btn:hover {
    transform: rotate(180deg);
    box-shadow: 0 8px 20px rgba(12, 74, 110, 0.3);
}

.captcha-input-container {
    margin-bottom: 15px;
}

.captcha-input {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    background-color: var(--white-color);
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.1);
}

.captcha-message {
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
}

.captcha-success {
    background-color: #d1fae5;
    color: #065f46;
    display: flex;
}

.captcha-error {
    background-color: #fee2e2;
    color: #991b1b;
    display: flex;
}