.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;
}



 :root {
            --gold: #c6a16e;
            --dark: #0a0a0a;
            --darker: #050505;
            --light: #f8f9fa;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: #ddd;
            background-color: var(--darker);
            overflow-x: hidden;
            padding: 0;
            margin: 0;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            color: var(--gold);
        }
        
        /* Left Side Navbar */
        .navbar-left {
            position: fixed;
            top: 0;
            left: 0;
            width: 250px;
            height: 100vh;
            background-color: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(10px);
            border-right: 1px solid var(--gold);
            z-index: 1000;
            padding: 20px 0;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
        }
        
        .navbar-brand {
            color: var(--gold);
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            text-align: center;
            padding: 20px 0;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(198, 161, 110, 0.3);
        }
        
        .nav-left {
            flex-grow: 1;
        }
        
        .nav-left .nav-link {
            color: rgba(255, 255, 255, 0.8);
            padding: 12px 20px;
            margin: 5px 15px;
            border-radius: 5px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }
        
        .nav-left .nav-link i {
            margin-right: 10px;
            font-size: 1.2rem;
        }
        
        .nav-left .nav-link:hover, .nav-left .nav-link.active {
            color: var(--gold);
            background: rgba(198, 161, 110, 0.1);
        }
        
        .navbar-footer {
            padding: 15px;
            border-top: 1px solid rgba(198, 161, 110, 0.3);
            text-align: center;
        }
        
        .social-icons {
            margin-top: 15px;
        }
        
        .social-icons a {
            color: white;
            font-size: 1.2rem;
            margin: 0 8px;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: var(--gold);
        }
        
        /* Main Content */
        .main-content {
            margin-left: 250px;
            padding: 0;
            transition: all 0.3s ease;
        }
        
        /* Mobile Hamburger Menu */
        .menu-btn {
            display: none;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1010;
            background: rgba(198, 161, 110, 0.2);
            border: 1px solid var(--gold);
            color: var(--gold);
            border-radius: 5px;
            padding: 10px 15px;
        }
        
        /* Hero Slider */
        .hero-slider {
            height: 100vh;
            position: relative;
            overflow: hidden;
        }
        
        .carousel-item {
            height: 100vh;
            background-position: center;
            background-size: cover;
            position: relative;
        }
        
        .carousel-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(5, 5, 5, 0.9));
        }
        
        .carousel-caption {
            z-index: 10;
            bottom: auto;
            top: 50%;
            transform: translateY(-50%);
            text-align: left;
            max-width: 800px;
            padding: 30px;
        }
        
        .hero-title {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s forwards 0.5s;
        }
        
        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 30px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s forwards 0.8s;
        }
        
        .hero-text {
            margin-bottom: 30px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s forwards 1.1s;
        }
        
        .btn-gold {
            background-color: var(--gold);
            color: var(--darker);
            padding: 12px 30px;
            border: none;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s forwards 1.4s;
        }
        
        .btn-gold:hover {
            background-color: #b58d5c;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        
        /* Section Styling */
        .section {
            padding: 100px 0;
        }
        
        .section-title {
            position: relative;
            margin-bottom: 40px;
            padding-bottom: 15px;
            text-align: center;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--gold);
        }
        
        /* About Section */
        .about-section {
            background-color: var(--dark);
        }
        
        .about-content {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 40px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .feature-box {
            text-align: center;
            padding: 30px 20px;
            margin-bottom: 30px;
            border-radius: 10px;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .feature-box:hover {
            transform: translateY(-10px);
            background: rgba(198, 161, 110, 0.1);
            border-color: var(--gold);
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 20px;
        }
        
        /* Gallery Section */
        .gallery-section {
            background-color: var(--darker);
        }
        
        .gallery-filter {
            margin-bottom: 30px;
            text-align: center;
        }
        
        .filter-btn {
            background: transparent;
            border: 1px solid var(--gold);
            color: var(--gold);
            padding: 8px 20px;
            margin: 0 5px;
            border-radius: 30px;
            transition: all 0.3s;
        }
        
        .filter-btn.active, .filter-btn:hover {
            background: var(--gold);
            color: var(--darker);
        }
        
        .gallery-item {
            margin-bottom: 30px;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .gallery-item img {
            width: 100%;
            transition: all 0.5s;
            filter: brightness(0.8);
        }
        
        .gallery-item:hover img {
            transform: scale(1.05);
            filter: brightness(1) blur(0);
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(5, 5, 5, 0.9), transparent);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 20px;
            opacity: 0;
            transition: all 0.3s;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        /* Floor Plans Section */
        .floorplans-container {
            padding: 100px 0;
            background-color: var(--dark);
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-subtitle {
            color: #ddd;
            font-size: 1.2rem;
        }
        
        .tabs-container {
            margin-bottom: 30px;
        }
        
        .nav-tabs {
            border-bottom: 1px solid rgba(198, 161, 110, 0.3);
            justify-content: center;
        }
        
        .nav-tabs .nav-link {
            color: rgba(255, 255, 255, 0.7);
            border: 1px solid transparent;
            border-radius: 5px 5px 0 0;
            padding: 10px 20px;
            margin: 0 5px;
            transition: all 0.3s;
        }
        
        .nav-tabs .nav-link:hover {
            border-color: transparent;
            color: var(--gold);
        }
        
        .nav-tabs .nav-link.active {
            color: var(--gold);
            background-color: transparent;
            border-color: rgba(198, 161, 110, 0.3);
            border-bottom-color: transparent;
        }
        
        .floorplan-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }
        
        .floorplan-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            overflow: hidden;
            transition: all 0.3s;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .floorplan-card:hover {
            transform: translateY(-10px);
            border-color: var(--gold);
        }
        
        .floorplan-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            filter: blur(3px);
        }
        
        .floorplan-content {
            padding: 20px;
        }
        
        .floorplan-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
        }
        
        .floorplan-size {
            color: #ddd;
            margin-bottom: 0;
        }
        
        /* Prime Locations Section */
        .locations-section {
            background-color: var(--dark);
        }
        
        .location-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 30px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }
        
        .location-card:hover {
            transform: translateY(-5px);
            border-color: var(--gold);
        }
        
        .location-img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }
        
        .location-content {
            padding: 20px;
        }
        
        .map-container {
            height: 300px;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        /* Contact Section */
        .contact-section {
            background: linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.8)), url('../images/villas-sky/amenities-img-2.jpg') no-repeat center center/cover;
            padding: 100px 0;
        }
        
        .contact-form {
            background: rgba(10, 10, 10, 0.7);
            padding: 40px;
            border-radius: 10px;
            border: 1px solid rgba(198, 161, 110, 0.3);
        }
        
        .form-control {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            padding: 12px 15px;
            margin-bottom: 20px;
            border-radius: 5px;
        }
        
        .form-control:focus {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--gold);
            box-shadow: none;
            color: white;
        }
        
        .form-control::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }
        
        /* Footer */
        .footer {
            background-color: var(--dark);
            padding: 60px 0 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .footer-title {
            color: var(--gold);
            margin-bottom: 20px;
            font-size: 1.5rem;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            margin-bottom: 10px;
        }
        
        .footer-links a:hover {
            color: var(--gold);
        }
        
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            margin-top: 40px;
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .navbar-left {
                transform: translateX(-100%);
                width: 280px;
            }
            
            .navbar-left.active {
                transform: translateX(0);
            }
            
            .main-content {
                margin-left: 0;
            }
            
            .menu-btn {
                display: block;
            }
            
            .hero-title {
                font-size: 2.8rem;
            }
            
            .hero-subtitle {
                font-size: 1.3rem;
            }
            
            .floorplan-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .carousel-caption {
                text-align: center;
                padding: 20px;
            }
            
            .contact-form {
                padding: 20px;
            }
            
            .filter-btn {
                margin-bottom: 10px;
                display: inline-block;
                width: 45%;
            }
            
            .about-content {
                padding: 20px;
            }
            
            .floorplan-grid {
                grid-template-columns: 1fr;
            }
            
            .nav-tabs .nav-link {
                margin-bottom: 10px;
            }
        }
        
        @media (max-width: 576px) {
            .filter-btn {
                width: 100%;
            }
            
            .hero-title {
                font-size: 1.8rem;
            }
            
            .nav-tabs .nav-link {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
        }
        .scroll-btn {
    position: fixed;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(45deg, #c89d2d, #e6b325);
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 12px 15px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease-in-out;
    display: none;
  }
  .scroll-btn:hover {
    background: linear-gradient(45deg, #b38625, #d1a421);
    transform: scale(1.1);
  }
  #scrollTopBtn {
    bottom: 80px; /* Above bottom button */
  }
  #scrollBottomBtn {
    bottom: 20px;
  }
  /* Reduce overall section padding */
.section {
    padding: 70px 0;
}

/* Reduce spacing between section titles and content */
.section-title {
    margin-bottom: 30px;
    padding-bottom: 12px;
}

/* About section adjustments */
.about-content {
    padding: 30px;
}

/* Feature box adjustments */
.feature-box {
    padding: 25px 15px;
    margin-bottom: 25px;
}

/* Gallery section adjustments */
.gallery-filter {
    margin-bottom: 25px;
}

.gallery-item {
    margin-bottom: 25px;
}

/* Floor plans section adjustments */
.floorplans-container {
    padding: 70px 0;
}

.section-header {
    margin-bottom: 40px;
}

.floorplan-grid {
    gap: 25px;
    margin-top: 25px;
}

.floorplan-content {
    padding: 15px;
}

/* Location card adjustments */
.location-card {
    margin-bottom: 25px;
}

.location-content {
    padding: 15px;
}

/* Contact form adjustments */
.contact-form {
    padding: 30px;
}

/* Footer adjustments */
.footer {
    padding: 50px 0 25px;
}

.copyright {
    margin-top: 30px;
    padding-top: 15px;
}

/* Mobile-specific adjustments */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .floorplans-container {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 20px;
        font-size: 1.8rem;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .feature-box {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .floorplans-container {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .floorplan-grid {
        gap: 20px;
        margin-top: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 15px;
        font-size: 1.6rem;
        padding-bottom: 10px;
    }
    
    .section-title:after {
        width: 60px;
        height: 2px;
    }
    
    .floorplans-container {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .floorplan-grid {
        gap: 15px;
    }
    
    .nav-tabs .nav-link {
        padding: 6px 12px;
        margin: 0 3px;
    }
}
/* Mobile-specific adjustments for floor plans and gallery */
@media (max-width: 768px) {
    /* Reduce space in photo gallery section */
    #gallery.section {
        padding: 40px 0 30px;
    }
    
    #gallery .section-title {
        margin-bottom: 20px;
        padding-bottom: 10px;
        font-size: 1.8rem;
    }
    
    #gallery .gallery-filter {
        margin-bottom: 20px;
    }
    
    #gallery .gallery-item {
        margin-bottom: 20px;
    }
    
    /* Reduce space in floor plans section */
    .floorplans-container {
        padding: 40px 0 30px;
    }
    
    .floorplans-container .section-title {
        margin-bottom: 20px;
        padding-bottom: 10px;
        font-size: 1.8rem;
    }
    
    .floorplans-container .section-subtitle {
        margin-bottom: 25px;
        font-size: 1rem;
    }
    
    .tabs-container {
        margin-bottom: 20px;
    }
    
    .floorplan-grid {
        gap: 20px;
        margin-top: 20px;
    }
    
    .floorplan-card {
        margin-bottom: 20px;
    }
    
    /* Adjust tab styling for mobile */
    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        margin: 0 3px 5px;
    }
    
    /* Reduce space in individual cards */
    .floorplan-content {
        padding: 15px;
    }
    
    .floorplan-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .floorplan-size {
        font-size: 0.9rem;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    /* Further reduce space in photo gallery section */
    #gallery.section {
        padding: 30px 0 20px;
    }
    
    #gallery .section-title {
        margin-bottom: 15px;
        font-size: 1.6rem;
    }
    
    #gallery .gallery-filter {
        margin-bottom: 15px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        margin: 0 3px 5px;
        font-size: 0.85rem;
    }
    
    #gallery .gallery-item {
        margin-bottom: 15px;
    }
    
    /* Further reduce space in floor plans section */
    .floorplans-container {
        padding: 30px 0 20px;
    }
    
    .floorplans-container .section-title {
        margin-bottom: 15px;
        font-size: 1.6rem;
    }
    
    .floorplans-container .section-subtitle {
        margin-bottom: 20px;
        font-size: 0.95rem;
    }
    
    .tabs-container {
        margin-bottom: 15px;
    }
    
    .nav-tabs .nav-link {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin: 0 2px 5px;
    }
    
    .floorplan-grid {
        gap: 15px;
        margin-top: 15px;
    }
    
    .floorplan-card {
        margin-bottom: 15px;
    }
    
    .floorplan-content {
        padding: 12px;
    }
    
    .floorplan-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .floorplan-size {
        font-size: 0.85rem;
    }
    
    /* Adjust overlay text size */
    .gallery-overlay h4 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
}