.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-blue: #20B2AA;
    --primary-light: #E0F7FA;
    --primary-dark: #008B8B;
    --accent-teal: #48D1CC;
    --accent-emerald: #5F9EA0;
    --gold: #D4AF37;
    --light-gold: #F4E4BC;
    --dark-gray: #2C3E50;
    --light-gray: #F8F9FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: var(--dark-gray);
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 60px; /* Add padding for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Compact Premium Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0 !important; /* Reduced padding */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    height: 60px; /* Fixed height */
}

.navbar.scrolled {
    padding: 8px 0 !important; /* Even smaller when scrolled */
    box-shadow: 0 5px 25px rgba(0, 139, 139, 0.15);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem !important; /* Smaller font */
    color: var(--primary-dark) !important;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar-brand .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.navbar-brand .main-logo {
    font-size: 1.4rem !important; /* Smaller */
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: 0.5px;
}

.navbar-brand .sub-logo {
    font-size: 0.85rem !important; /* Smaller */
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 1.5px;
    margin-top: 1px;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem !important; /* Smaller toggle button */
    font-size: 1rem;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-gray) !important;
    margin: 0 8px !important; /* Reduced margin */
    position: relative;
    padding: 8px 5px !important; /* Smaller padding */
    transition: color 0.3s ease;
    font-size: 0.9rem !important; /* Smaller font */
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover:before,
.nav-link.active:before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-dark) !important;
}

.navbar-nav {
    align-items: center;
}

/* Ultra Premium Hero Section with High-Quality Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
                url('../images/estoria/slider-01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(32, 178, 170, 0.1) 0%, 
        rgba(0, 139, 139, 0.2) 50%,
        rgba(212, 175, 55, 0.1) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0; /* Reduced padding */
    color: white;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #B8860B);
    color: white;
    padding: 12px 30px; /* Smaller padding */
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem; /* Smaller font */
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: float 4s ease-in-out infinite;
}

.coming-soon-badge:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.coming-soon-badge:hover:before {
    left: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3.5rem; /* Slightly smaller */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem; /* Smaller */
    color: var(--light-gold);
    font-weight: 500;
    margin-bottom: 25px;
    max-width: 700px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem; /* Smaller */
    margin-bottom: 40px;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Smaller gap */
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px; /* Smaller padding */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 150px; /* Smaller min width */
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem; /* Smaller */
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-weight: 600;
    color: var(--light-gold);
    font-size: 1rem; /* Smaller */
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Smaller gap */
}

.btn-premium {
    background: linear-gradient(135deg, var(--gold), #B8860B);
    color: white;
    padding: 15px 35px; /* Smaller padding */
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1rem; /* Smaller */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-premium:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-premium:hover:before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
}

.btn-outline-premium {
    background: transparent;
    color: white;
    padding: 15px 35px; /* Smaller padding */
    border-radius: 50px;
    border: 2px solid white;
    font-weight: 700;
    font-size: 1rem; /* Smaller */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline-premium:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Premium Section Styling - WITHOUT THE UNDERLINE */
.section-title {
    font-size: 2.8rem; /* Smaller */
    font-weight: 900;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--primary-dark);
}

/* REMOVED THE :after PSEUDO-ELEMENT THAT CREATED THE LINE */
.section-subtitle {
    font-size: 1.1rem; /* Smaller */
    color: var(--accent-emerald);
    margin-bottom: 50px;
    max-width: 700px;
}

/* Luxury Amenities Section */
.amenities-section {
    padding: 100px 0; /* Reduced padding */
    background: linear-gradient(135deg, #f9fdfe 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.amenities-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold), var(--primary-blue));
}

.amenity-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px; /* Smaller padding */
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(32, 178, 170, 0.1);
}

.amenity-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-card:hover:before {
    transform: scaleX(1);
}

.amenity-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(32, 178, 170, 0.2);
}

.amenity-icon {
    width: 80px; /* Smaller */
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--light-gray), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem; /* Smaller */
    color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(32, 178, 170, 0.15);
    transition: all 0.4s ease;
}

.amenity-card:hover .amenity-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    transform: rotateY(360deg);
}

.amenity-card h4 {
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.3rem; /* Smaller */
}

/* Luxury Registration Section */
.registration-section {
    padding: 100px 0; /* Reduced padding */
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    position: relative;
}

.registration-form-container {
    background: white;
    border-radius: 25px;
    padding: 50px 40px; /* Smaller padding */
    box-shadow: 0 25px 60px rgba(0, 139, 139, 0.15);
    position: relative;
    overflow: hidden;
}

.registration-form-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold), var(--primary-blue));
}

.form-control-luxury {
    border: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 12px 0; /* Smaller padding */
    font-size: 1rem; /* Smaller */
    background: transparent;
    transition: all 0.3s ease;
}

.form-control-luxury:focus {
    border-bottom-color: var(--primary-blue);
    box-shadow: none;
    background: transparent;
}

/* Interactive Location Section */
.location-section {
    padding: 100px 0; /* Reduced padding */
    background: white;
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.location-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(32, 178, 170, 0.2);
}

.location-feature {
    text-align: center;
    padding: 25px 15px; /* Smaller padding */
    transition: all 0.3s ease;
}

.location-feature:hover {
    transform: translateY(-8px);
}

.location-feature i {
    font-size: 2.5rem; /* Smaller */
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-gray), #1a252f);
    color: white;
    padding: 50px 0 25px; /* Reduced padding */
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold), var(--primary-blue));
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem; /* Smaller */
    margin-bottom: 15px;
    display: inline-block;
    text-align: center;
}

.footer-logo .main-logo {
    color: white;
    font-size: 2rem;
}

.footer-logo .sub-logo {
    color: var(--light-gold);
    font-size: 1.2rem;
    letter-spacing: 2.5px;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem; /* Smaller */
}

/* Floating Particles Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-1000px) rotate(720deg); }
}

/* Scroll Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px; /* Thinner */
    background: transparent;
    z-index: 9999;
}

.progress-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 56px; /* Adjust for smaller navbar */
    }
    
    .navbar {
        height: 56px;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .registration-form-container {
        padding: 30px 25px;
    }
    
    .btn-premium, .btn-outline-premium {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-premium, .btn-outline-premium {
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .navbar-brand .main-logo {
        font-size: 1.2rem !important;
    }
    
    .navbar-brand .sub-logo {
        font-size: 0.75rem !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
}