.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 {
    --primary-color: #1a3568;
    --secondary-color: #d4af37;
    --accent-color: #c19b53;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --light-text: #f8f8f8;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    overflow-x: hidden;
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3,  .section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    width: 100%;
    color:white;
}

.navbar {
    background-color:transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    transition: all 0.4s;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-family: var(--font-heading);
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 8px;
    transition: all 0.3s;
    position: relative;
    font-size: 0.9rem;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover:after {
    width: 100%;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/slider/slider-01.jpeg') fixed center/cover;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 53, 104, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
    z-index: 1;
}

.section-title {
    position: relative;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    width: 100%;
    padding: 0 15px;
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--secondary-color);
    margin: 12px auto;
}

.feature-card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* World Class Amenities Section */
.amenities-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.amenity-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.amenity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    width: 36px;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    text-align: center;
    flex-shrink: 0;
}

.amenity-item h5 {
    margin-bottom: 3px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
}

.amenity-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.location-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 20px;
}

.cta-section {
    background: linear-gradient(rgba(26, 53, 104, 0.92), rgba(26, 53, 104, 0.92)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3') fixed center/cover;
    color: white;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill-opacity="0.03" fill="white" width="50" height="50" /><rect fill-opacity="0.03" fill="white" x="50" y="50" width="50" height="50" /></svg>');
    background-size: 100px 100px;
    z-index: 0;
}

.form-control {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
    border-color: var(--secondary-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s;
}

.btn-primary:hover:before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-light {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    margin-left: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

.trust-badge {
    background: white;
    border-radius: 12px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
    margin-bottom: 20px;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--secondary-color);
}

.trust-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

footer {
    background: linear-gradient(to right, #1a3568 0%, #15294d 100%);
    color: white;
    padding: 30px 0 15px;
    position: relative;
    font-size: 0.85rem;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.footer-title {
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    font-size: 1rem;
    font-family: var(--font-heading);
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-link {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
    font-size: 0.85rem;
}

.footer-link:before {
    content: '→';
    position: absolute;
    left: -12px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 12px;
}

.footer-link:hover:before {
    opacity: 1;
    left: 0;
}

.social-icon {
    color: white;
    font-size: 1rem;
    margin-right: 8px;
    transition: all 0.3s;
    display: inline-block;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 30px;
    font-size: 0.75rem;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.05;
}

.shape-1 {
    top: 20%;
    left: 5%;
    font-size: 8rem;
    color: var(--secondary-color);
    transform: rotate(45deg);
}

.shape-2 {
    bottom: 10%;
    right: 5%;
    font-size: 6rem;
    color: var(--primary-color);
    transform: rotate(-20deg);
}

.counter-item {
    text-align: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    margin-bottom: 20px;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 15px 0;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card:after {
    content: '"';
    position: absolute;
    top: 15px;
    right: 22px;
    font-size: 4rem;
    color: var(--secondary-color);
    font-family: Arial;
    opacity: 0.2;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 200px;
    background: #eee;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* About Section Styles */
.about-section {
    padding: 60px 0;
    background: white;
}

.about-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 350px;
    background-color: #1a3568;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    position: relative;
}

.about-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 53, 104, 0.7), rgba(212, 175, 55, 0.3));
}

.about-content {
    padding: 0 15px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.about-feature:hover {
    transform: translateX(5px);
    background: #f0f0f0;
}

.about-feature-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Project Highlights Section */
.project-highlights {
    padding: 60px 0;
    background: #f9f9f9;
}

.highlight-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    margin-bottom: 20px;
}

.highlight-card h4 {
    color: var(--primary-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

.highlight-card h4 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #eee;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 22px;
    text-align: center;
}

/* Map Styles */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 350px;
    margin-bottom: 25px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-marker {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.location-marker-icon {
    width: 26px;
    color: var(--secondary-color);
    font-size: 1rem;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Virtual Tour Section */
.virtual-tour-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1588880331179-bc9b93a8cb5e?ixlib=rb-4.0.3') fixed center/cover;
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.virtual-tour-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.virtual-tour-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Floor Plan Section */
.floor-plan-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.floor-plan-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    margin-bottom: 20px;
}

.floor-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.floor-plan-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.floor-plan-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.floor-plan-features li {
    padding: 7px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.floor-plan-features li:last-child {
    border-bottom: none;
}

.floor-plan-features li i {
    margin-right: 8px;
    color: var(--primary-color);
}

.floor-plan-img {
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
    height: 160px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

/* Booking Open Banner */
.booking-banner {
    background: linear-gradient(to right, var(--primary-color), #1e3d7a);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.booking-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height"100" viewBox="0 0 100 100"><rect fill-opacity="0.05" fill="white" width="50" height="50" /><rect fill-opacity="0.05" fill="white" x="50" y="50" width="50" height="50" /></svg>');
    background-size: 100px 100px;
}

/* Promises Section */
.promises-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.promise-item {
    text-align: center;
    padding: 22px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    margin-bottom: 20px;
}

.promise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.promise-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Popup Banner */
.popup-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to right, var(--primary-color), #1e3d7a);
    color: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    width: 90%;
    max-width: 500px;
    text-align: center;
    display: none;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    display: none;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
}

/* Floor Plan Modal */
.floor-plan-modal .modal-dialog {
    max-width: 800px;
}

.floor-plan-modal-img {
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Brochure Section */
.brochure-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.brochure-card {
    background: white;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.brochure-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.price-tag {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadein {
    animation: fadeIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Staggered animation for items */
.stagger-item {
    opacity: 0;
}

/* Modal styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(to right, var(--primary-color), #1e3d7a);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 15px;
    border: none;
}

.btn-close {
    filter: invert(1);
}

/* Fix for mobile menu */
.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Improve touch targets on mobile */
@media (max-width: 767.98px) {
    .nav-link {
        padding: 8px 0;
        margin: 0;
    }
    
    .amenity-item, .feature-card, .counter-item {
        cursor: default;
    }
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ========== RESPONSIVE STYLES ========== */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.6rem;
        padding-left: 0.6rem;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 70px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 25px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .amenity-item {
        margin-bottom: 15px;
    }
    
    .counter-item {
        margin-bottom: 20px;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .floor-plan-card, .promise-item {
        margin-bottom: 20px;
    }
    
    .footer-section .col-lg-3 {
        margin-bottom: 20px;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
    body {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-section {
        padding: 90px 0 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .btn-primary, .btn-outline-light {
        padding: 10px 22px;
        font-size: 0.9rem;
        width: auto;
        display: inline-block;
    }
    
    .btn-outline-light {
        margin-left: 0;
        margin-top: 12px;
    }
    
    .about-img {
        min-height: 280px;
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .feature-icon {
        font-size: 1.9rem;
    }
    
    .trust-icon, .promise-icon {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        height: 180px;
        margin-bottom: 15px;
    }
    
    .map-container {
        height: 280px;
    }
    
    .virtual-tour-section {
        padding: 50px 0;
    }
    
    .virtual-tour-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .floor-plan-img {
        height: 140px;
    }
    
    .floating-shape {
        display: none;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar .btn-primary {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
    
    .about-section, .floor-plan-section, .promises-section, .brochure-section, .cta-section, .project-highlights, .amenities-section {
        padding: 50px 0 !important;
    }
    
    .progress-container {
        margin: 25px 0;
    }
    
    .progress-item {
        margin-bottom: 18px;
    }
    
    .progress-content {
        padding: 15px;
    }
    
    /* Project highlights adjustments */
    .highlight-card {
        margin-bottom: 20px;
    }
    
    .list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .list-group-item .highlight {
        margin-top: 5px;
    }
    
    /* Amenities grid adjustment */
    .amenity-item {
        flex-direction: column;
        text-align: center;
    }
    
    .amenity-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 70px 0 40px;
    }
    
    h1 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }
    
    .section-title:after {
        width: 50px;
        margin: 10px auto;
    }
    
    .btn-primary, .btn-outline-light {
        width: 100%;
        display: block;
        margin: 8px 0;
    }
    
    .about-img {
        min-height: 220px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.9rem;
    }
    
    .feature-icon {
        font-size: 1.7rem;
    }
    
    .amenity-icon {
        font-size: 1.1rem;
        margin-right: 0;
        margin-bottom: 8px;
        width: 28px;
    }
    
    .amenity-item {
        padding: 10px;
    }
    
    .trust-badge, .promise-item {
        padding: 18px 12px;
        margin-bottom: 15px;
    }
    
    .trust-icon, .promise-icon {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }
    
    .gallery-item {
        height: 160px;
    }
    
    .map-container {
        height: 220px;
    }
    
    .virtual-tour-section {
        padding: 40px 0;
    }
    
    .virtual-tour-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .floor-plan-img {
        height: 120px;
    }
    
    .floor-plan-badge, .price-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .testimonial-card {
        padding: 18px;
    }
    
    .testimonial-card:after {
        font-size: 2.8rem;
        top: 10px;
        right: 15px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    footer {
        padding: 25px 0 12px;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .footer-link {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .social-icon {
        font-size: 0.95rem;
        margin-right: 6px;
    }
    
    .copyright {
        margin-top: 25px;
        padding-top: 12px;
    }
    
    .popup-banner {
        padding: 18px;
    }
    
    .popup-close {
        top: 8px;
        right: 8px;
        font-size: 1.1rem;
    }
    
    .about-section, .floor-plan-section, .promises-section, .brochure-section, .cta-section, .project-highlights, .amenities-section {
        padding: 40px 0 !important;
    }
    
    .progress-icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
        font-size: 0.9rem;
    }
    
    .progress-content {
        padding: 12px;
    }
    
    /* About features adjustment */
    .about-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .about-feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Project highlights adjustments */
    .list-group-item {
        padding: 10px 0;
    }
    
    .list-group-item i {
        margin-right: 6px;
    }
}
/* Mobile Spacing Optimization */
@media (max-width: 767.98px) {
    /* Reduce section padding */
    .hero-section,
    .about-section,
    .floor-plan-section,
    .project-highlights,
    .amenities-section,
    .virtual-tour-section,
    .cta-section {
        padding: 40px 0 !important;
    }
    
    /* Reduce element margins */
    .section-title {
        margin-bottom: 20px;
    }
    
    .section-title:after {
        margin: 10px auto;
    }
    
    /* Floor plan cards */
    .floor-plan-card {
        margin-bottom: 15px;
        padding: 18px;
    }
    
    .floor-plan-img {
        height: 140px;
        margin: 12px 0;
    }
    
    .floor-plan-features {
        margin: 12px 0;
    }
    
    .floor-plan-features li {
        padding: 6px 0;
    }
    
    /* Project highlights */
    .highlight-card {
        margin-bottom: 15px;
        padding: 18px;
    }
    
    .list-group-item {
        padding: 10px 0;
    }
    
    /* Amenities */
    .amenity-item {
        margin-bottom: 12px;
        padding: 10px;
    }
    
    /* Location section */
    .map-container {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .location-card {
        margin-bottom: 15px;
        padding: 18px;
    }
    
    .location-marker {
        margin-bottom: 10px;
    }
    
    /* Trust badges */
    .trust-badge {
        margin-bottom: 15px;
        padding: 18px 12px;
    }
    
    /* Contact form */
    .form-control {
        margin-bottom: 12px;
        padding: 10px 14px;
    }
    
    /* Buttons */
    .btn-primary, .btn-outline-light {
        margin: 5px 0;
    }
    
    /* Modal adjustments */
    .modal-body {
        padding: 15px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    /* Footer spacing */
    footer {
        padding: 25px 0 12px;
    }
    
    .copyright {
        margin-top: 25px;
        padding-top: 15px;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Even more compact spacing */
    .hero-section,
    .about-section,
    .floor-plan-section,
    .project-highlights,
    .amenities-section,
    .virtual-tour-section,
    .cta-section {
        padding: 30px 0 !important;
    }
    
    .section-title {
        margin-bottom: 15px;
        font-size: 1.5rem;
    }
    
    /* Floor plans */
    .floor-plan-card {
        padding: 15px;
    }
    
    .floor-plan-badge {
        margin-bottom: 12px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Project highlights */
    .highlight-card {
        padding: 15px;
    }
    
    .highlight-card h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
    
    /* Amenities */
    .amenities-section .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .amenities-section .col-md-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .amenity-item {
        margin-bottom: 10px;
        padding: 8px;
    }
    
    .amenity-icon {
        font-size: 1.1rem;
        margin-right: 10px;
        width: 30px;
    }
    
    /* Location section */
    .location-card {
        padding: 15px;
    }
    
    .location-card h4 {
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
    
    /* Trust section */
    .trust-badge {
        padding: 15px 10px;
    }
    
    .trust-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    /* Contact form */
    .cta-section .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .cta-section .col-md-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* Virtual tour */
    .virtual-tour-section {
        padding: 30px 0 !important;
    }
    
    .virtual-tour-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Reduce space between sections */
    section {
        margin-bottom: 0;
    }
    
    /* Remove extra padding from containers */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Compact buttons */
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Specific spacing adjustments for certain sections */
@media (max-width: 767.98px) {
    /* Reduce space between floor plans and project highlights */
    #floor-plans + .py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Reduce space between project highlights and amenities */
    .project-highlights + #amenities {
        padding-top: 20px !important;
    }
    
    /* Reduce space between amenities and location */
    #amenities + #location {
        padding-top: 20px !important;
    }
    
    /* Reduce space between location and virtual tour */
    #location + .virtual-tour-section {
        padding-top: 20px !important;
    }
    
    /* Reduce space between virtual tour and trust section */
    .virtual-tour-section + .py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    /* Reduce space between trust section and contact */
    .py-5 + #contact {
        padding-top: 20px !important;
    }
}

/* Utility classes for tight spacing */
.tight-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.tighter-section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.compact-container {
    padding-left: 10px;
    padding-right: 10px;
}

/* Apply tight spacing to all sections on mobile */
@media (max-width: 767.98px) {
    section {
        padding: 30px 0 !important;
    }
    
    .py-5 {
        padding: 30px 0 !important;
    }
}

/* Fix for Bootstrap gutter spacing on mobile */
@media (max-width: 767.98px) {
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .col-md-4, .col-md-6, .col-lg-6, .col-lg-12 {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .g-4 {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .g-4 > [class^="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
}