.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;
}



/* 
===========================================
  FINAL MASTER PROMPT THEME
=========================================== 
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-blue: #7B61FF; 
    --dark-blue: #1A1A2E;    
    --accent-purple: #4F8CFF; 
    --gradient-primary: linear-gradient(135deg, #7B61FF, #4F8CFF);
    --gradient-hover: linear-gradient(135deg, #6248E5, #3575E5);
    
    --text-main: #333344;
    --text-muted: #666677;
    --bg-light: #F8F9FB;
    --bg-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-ui: 'Outfit', sans-serif;
    
    --shadow-sm: 0 5px 15px rgba(123, 97, 255, 0.05);
    --shadow-hover: 0 15px 35px rgba(123, 97, 255, 0.2);
}

html, body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
    line-height: 1.6;
}

.py-6 { padding-top: 80px; padding-bottom: 80px; }

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
}

.font-body { font-family: var(--font-body); }
.tracking-wide { letter-spacing: 1px; }

.text-dark { color: var(--dark-blue) !important; }
.text-primary { color: var(--primary-blue) !important; }
.bg-soft-primary { background-color: rgba(123, 97, 255, 0.1); }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-light {
    background: linear-gradient(135deg, #FFFFFF, #E0E7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    font-family: var(--font-ui);
    transition: all 0.3s ease;
}
.btn-gradient {
    background: var(--gradient-primary);
    color: white;
    border: none;
}
.btn-gradient:hover {
    background: var(--gradient-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
}
.btn-outline-glass {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}
.btn-outline-glass:hover {
    background: white;
    color: var(--primary-blue);
}

.divider-gradient {
    width: 60px; height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* NAVBAR */
.premium-nav {
    padding: 15px 0;
    transition: all 0.4s ease;
}
.premium-nav .nav-container {
    width: 90%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px !important;
    border: 1px solid rgba(123, 97, 255, 0.15);
    box-shadow: 0 10px 40px rgba(123, 97, 255, 0.1);
    padding: 10px 25px;
    transition: all 0.3s ease;
}
.premium-nav.scrolled .nav-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.95);
}
.premium-nav .nav-link {
    font-family: var(--font-ui);
    font-weight: 500;
    color: var(--text-main) !important;
    position: relative;
    margin: 0 5px;
}
.premium-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}
.premium-nav .nav-link:hover::after, .premium-nav .nav-link.active::after {
    width: 70%;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}
.min-vh-75 { min-height: 75vh; }
.hero-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: 0;
}
.hero-gradient-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(123, 97, 255, 0.4) 100%);
    z-index: 1;
}

/* CARDS & GLASSMORPHISM */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(123, 97, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}
.glass-card-dark {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}
.glass-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.highlight-card:hover, .glass-card:hover, .glass-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(123, 97, 255, 0.3);
}

.icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* FORMS */
.premium-input {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 12px 20px;
    transition: all 0.3s ease;
}
.premium-input:focus {
    box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.15);
    border-color: var(--primary-blue);
    background: white;
}

/* FLOOR PLANS */
.locked-floor-plan {
    position: relative; overflow: hidden;
}
.locked-floor-plan img {
    filter: blur(10px);
    transition: filter 0.4s ease;
}
.locked-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
}

/* GALLERY */
.gallery-item {
    transition: all 0.4s ease;
}
.gallery-item img {
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* FLOATING BUTTONS */
.floating-whatsapp {
    position: fixed; bottom: 80px; right: 20px;
    width: 60px; height: 60px;
    background: #25D366; color: white;
    border-radius: 50%; font-size: 30px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000; transition: all 0.3s ease;
}
.floating-whatsapp:hover { transform: scale(1.1); color: white; }

.scroll-to-top {
    position: fixed; bottom: 150px; right: 20px;
    width: 50px; height: 50px;
    background: var(--gradient-primary); color: white;
    border-radius: 50%; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.scroll-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); color: white; }

/* MOBILE STICKY CTA */
.mobile-sticky-cta {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: white; box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1050; padding: 10px;
}
.mobile-sticky-cta .btn {
    flex: 1; margin: 0 5px; font-weight: 600; font-size: 0.9rem; padding: 10px 0;
}

/* RESPONSIVE UTILS */
@media (min-width: 768px) {
    .floating-whatsapp { bottom: 30px; right: 30px; }
    .scroll-to-top { bottom: 100px; right: 30px; }
}
@media (max-width: 768px) {
    .mobile-sticky-cta { display: flex; }
    body { padding-bottom: 70px; }
    .hero-section { text-align: center; }
    .premium-nav .nav-container { width: 100%; border-radius: 0 !important; }
}

/* Hero Premium Updates */
.hero-premium {
    min-height: 85vh;
    background: url('../images/slider/slider-01.jpeg') no-repeat center center;
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 50px;
}
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 5, 30, 0.9) 0%, rgba(30, 15, 60, 0.7) 100%);
    z-index: 1;
}
.badge-premium {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
}
.price-box-premium {
    background: rgba(123, 97, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(123, 97, 255, 0.4);
    border-radius: 16px;
    padding: 15px 30px;
    box-shadow: 0 10px 30px rgba(123, 97, 255, 0.2);
}
.text-gradient-light {
    background: linear-gradient(135deg, #a38dff, #6bb8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glass-pill {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}
.glass-form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px !important;
}
.form-glow-border {
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.6), rgba(79, 140, 255, 0.6));
    z-index: -1;
    border-radius: 26px;
    filter: blur(8px);
}
.premium-input {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.95rem;
}
.premium-input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(123, 97, 255, 0.1);
}
.glass-bottom-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.icon-box-small {
    width: 35px; height: 35px;
    background: rgba(123, 97, 255, 0.2);
    color: #a38dff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.btn-glow {
    box-shadow: 0 8px 20px rgba(123, 97, 255, 0.4);
}
.premium-nav-island {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 20px !important;
}
.z-index-master {
    z-index: 1050;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* UI UX Polish Added via Script */
.hero-premium .glass-form-card {
    padding: 2.5rem !important;
    transform: scale(0.95);
    transform-origin: right center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}
.premium-nav-island {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}
.hero-title {
    line-height: 1.1;
    font-size: 4rem;
}
.hero-premium .btn {
    min-width: 200px;
}
.glass-bottom-bar {
    justify-content: center !important;
    gap: 3rem;
}
.highlight-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.masonry-gallery {
    columns: 2 300px;
    column-gap: 1.5rem;
}
.masonry-item {
    margin-bottom: 1.5rem;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.masonry-item:hover img {
    transform: scale(1.08);
}
.masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.masonry-item:hover .masonry-caption {
    transform: translateY(0);
}
.premium-tabs .nav-link {
    color: #495057;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}
.premium-tabs .nav-link.active {
    background: linear-gradient(135deg, #7B61FF, #4F8CFF);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(123, 97, 255, 0.3);
}
@media (max-width: 768px) {
    .hero-premium .glass-form-card {
        transform: scale(1);
    }
    .hero-title {
        font-size: 2.5rem;
    }
}






/* 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;
}