/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    position: relative;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #df171e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    background: linear-gradient(rgba(2, 50, 8, 0.9), rgba(2, 50, 8, 0.9));
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(2, 50, 8, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.price-update-badge {
    background: linear-gradient(45deg, #df171e, #c71516);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    animation: pulse 2s infinite;
    white-space: nowrap; /* Prevent text wrapping */
}

.animated-text {
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 30px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title.highlight {
    color: #0a9b1d;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.8));
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.overview-section {
    background: #f8f9fa;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.overview-card {
    background: #fff;
    
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
}

.overview-card h3 {
    color: #df171e;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: bold;
}

.info-list .icon {
    color: #df171e;
    font-weight: bold;
    margin-top: 2px;
}

/* Video Section */
.video-section {
    height: auto;
    width: auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Location Section */
.location-section {
    background: #f8f9fa;
}

.location-image {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Location Details Section */
.location-details-section {
    padding: 100px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-text h3 {
    font-size: 28px;
    color: #df171e;
    margin-bottom: 20px;
}

.location-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.connection-info h4 {
    color: #013a52;
    font-size: 20px;
    margin-bottom: 15px;
}

.connection-info ul {
    list-style: none;
}

.connection-info li {
    padding: 5px 0;
    color: #555;
}

.location-image {
    border-radius: 12px;
    overflow: hidden;
}

/* Master Plan Section */
.masterplan-section {
    background: #f8f9fa;
}

.masterplan-image {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Phases Section */
.phases-section {
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    color: #fff;
}



.phases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.phase-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.phase-image {
    height: auto;
    overflow: hidden;
}

.phase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phase-info {
    padding: 30px;
}

.phase-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #050000;
}

.phase-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.phase-info li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #050000;
}

/* CTA Groups */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap; /* Prevent text wrapping */
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-link img {
    width: 20px;
    height: 20px;
}

/* Project Images Section */
.project-images-section {
    padding: 100px 0;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.image-card .cta-group {
    padding: 20px;
    background: #fff;
}

/* Villa Types Section */
.villa-types-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.villa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.villa-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.villa-card:hover {
    transform: translateY(-5px);
}

.villa-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.villa-card .cta-group {
    padding: 20px;
}

/* Phase Detail Section */
.phases-detail-section {
    padding: 100px 0;
}

.phase-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.phase-detail.reverse {
    grid-template-columns: 1fr 1fr;
}

.phase-detail.reverse .phase-content {
    order: 2;
}

.phase-detail.reverse .phase-image {
    order: 1;
}

.phase-content h2 {
    font-size: 28px;
    color: #df171e;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-list {
    list-style: none;
}

.product-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.phase-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Design Section */
.design-section {
    background: #f8f9fa;
}

.design-description {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.design-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Gallery */

.amenities-gallery {
    margin-left: -250px;
}

.gallery-container {
    max-width: 900px;
    margin: 0 auto;
}

.gallery {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.gallery-main {
    height: 500px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    padding: 15px;
    gap: 10px;
    background: #fff;
    overflow-x: auto;
}

.thumbnail {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: #df171e;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Amenities Section */
.amenities-section {
    background: linear-gradient(rgba(1, 55, 66, 0.9), rgba(1, 55, 66, 0.9)), url('https://w.ladicdn.com/s1550x1150/604f29b3cc7c87002c31f981/32r34253-20250730031008-b_lv-.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.amenities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.amenities-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.amenities-text h3 {
    font-size: 20px;
    color: #c71f16;
    margin-bottom: 30px;
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.amenity-item .icon {
    color: #c71f16;
    font-weight: bold;
}

/* Amenities Detail Section */
.amenities-detail-section {
    padding: 100px 0;
}

.amenities-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.download-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.download-form-section h3 {
    font-size: 20px;
    color: #df171e;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}

/* Forms */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #df171e;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.checkbox-group label:hover {
    background: black;
    border-color: #df171e;
}

.checkbox-group input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
}



/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping */
}

.btn-primary {
    background: linear-gradient(45deg, #df171e, #c71516);
    color: #fff;
    border: 3px solid #013a52;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #c71516, #b01414);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 23, 30, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Progress Section */
.progress-section {
    height: auto;
    width: auto;
    color: #fff;
    margin-top: -100px;
}



/* Document Section */
.document-section {
    background: linear-gradient(rgba(3, 64, 76, 0.9), rgba(3, 64, 76, 0.9));
    color: #fff;
}

.document-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.document-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.pdf-icon img {
    width: 80px;
    height: auto;
}

.document-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.document-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 3px solid #0a2a54;
}

.contact-info {
    margin-top: 40px;
}

.phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #df171e;
    color: #fff;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 5px solid #fff;
    white-space: nowrap; /* Prevent text wrapping */
}

.phone-cta:hover {
    background: #c71516;
    transform: scale(1.05);
}

.contact-benefits {
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.check-icon {
    color: #df171e;
    font-weight: bold;
    background: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Visit Section */
.visit-section {
    position: relative;
    min-height: 600px;
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
    min-height: 600px;
}

.visit-background {
    position: relative;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-form {
    background: rgba(2, 21, 47, 0.95);
    padding: 60px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visit-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.visit-form p {
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://w.ladicdn.com/s768x823/604f29b3cc7c87002c31f981/z6809455453996_be2432f7bd80ed6b7aa1d08eef29f0bf-20250716034552-1vylz.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.company-info {
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.company-logo {
    text-align: center;
    margin-bottom: 30px;
}

.company-logo img {
    height: 60px;
    width: auto;
}

.company-details h3 {
    font-size: 18px;
    color: #ff914d;
    margin-bottom: 10px;
}

.company-details h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.company-details h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.contact-icon {
    font-size: 16px;
}

.commitment {
    margin-top: 30px;
}

.commitment h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ff914d;
}

.commitment ul {
    list-style: none;
}

.commitment li {
    padding: 5px 0;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.commitment li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #df171e;
    font-weight: bold;
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(241, 243, 244, 0.3);
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
}

/* Download Info */
.download-info {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.download-info .pdf-icon img {
    width: 50px;
    height: auto;
}

.download-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #0f0101;
}

.download-text p {
    font-size: 14px;
    color: #180101;
    margin-bottom: 3px;
}

/* Fixed Contact Buttons */
.fixed-contacts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fixed-contact {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.fixed-contact:hover {
    transform: scale(1.1);
}

.zalo-contact {
    background: #005eb8;
}

.phone-contact {
    background: #df171e;
}

.fixed-contact img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 3px solid #f49cc8;
}

.modal-header {
    padding: 20px 20px 0;
    text-align: center;
    position: relative;
}

.modal-header h3 {
    color: #14691f;
    font-size: 20px;
    margin-bottom: 0;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-logo {
    text-align: center;
    margin-bottom: 20px;
}

.modal-logo img {
    height: 50px;
    width: auto;
}

.success-content {
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: #14691f;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(2, 50, 8, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .location-content,
    .amenities-content,
    .contact-content,
    .document-content,
    .amenities-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .phase-detail,
    .phase-detail.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .phase-detail.reverse .phase-content {
        order: 1;
    }
    
    .phase-detail.reverse .phase-image {
        order: 2;
    }
    
    .images-grid,
    .villa-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .visit-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .visit-form {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {

    .mobile-menu-toggle {
        right: 20px;
    }

    .phase-detail {
        margin-bottom: 0px;
    }

    .progress-section .section-title {
        margin-top: 100px;
    }

    .section-header {
        text-align: center;
        margin-bottom: -20px;
    }
    #header-amenities,
    #header-design {
        margin-bottom: -25px;
    }
    
    .overview-grid {
        /* Overrides the desktop grid to create a single column */
        grid-template-columns: 1fr;
        
        /* Optional: You might want a smaller gap on mobile */
        gap: 20px; 
      }
    .overview-card {
        margin-top: -18px;
    }

    .navbar .container {
        padding: 8px 15px;
    }
    
    .nav-brand .logo {
        height: 35px;
    }
    
    .price-update-badge {
        font-size: 10px;
        padding: 6px 12px;
        
    }
    
    .hero-section {
        height: 60vh;
        min-height: 400px;
        margin-top: 60px;
    }
    
    .section {
        padding: 10px 0;
    }
    
    .section-title {
        font-size: 30px;
        padding-bottom: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .gallery-thumbnails {
        padding: 10px;
        gap: 8px;
    }
    
    
    .thumbnail {
        flex: 0 0 60px;
        height: 45px;
    }
    
    .download-form-section,
    .contact-form-section,
    .company-info {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .fixed-contacts {
        
        bottom: 20px;
        right: 15px;
    }
    
    .fixed-contact {
        width: 50px;
        height: 50px;
    }
    
    .fixed-contact img {
        width: 30px;
        height: 30px;
    }
    
    .download-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .document-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .amenities-list {
        gap: 10px;
    }
    
    .amenity-item {
        font-size: 14px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-body {
        padding: 15px;
    }
}

@media (max-width: 480px) {

    .section-header {
        text-align: center;
        margin-bottom: -30px;
    }

    .progress-section .section-title {
        margin-top: 100px;
    }

    .container {
        padding: 0 10px;
    }
    
    .amenities-gallery {
        margin-left: 0px;
    }

    .phase-image {
        height: auto;
    }

    .price-update-badge {
        margin-left: 50px;
    }

    .fixed-contacts {
        bottom: 30px;
        right: 30px;
    }

    .mobile-menu-toggle {
        padding-right: 10px;
    }

    .section {
        padding: 10px 0;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .download-form-section,
    .contact-form-section,
    .company-info {
        padding: 15px;
    }
    
    .gallery-main {
        height: 200px;
    }
    
    .images-grid img,
    .villa-card img {
        height: 200px;
    }
    
    .form-group input {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .download-info .pdf-icon img {
        width: 40px;
    }
    
    .download-text h4 {
        font-size: 14px;
    }
    
    .download-text p {
        font-size: 12px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #df171e;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .fixed-contacts,
    .navbar,
    .modal {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* Thank You Page Styles */
.thank-you-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    margin-bottom: 40px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #14691f;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px #14691f;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
}

.success-checkmark .check-icon {
    width: 56px;
    height: 56px;
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 1;
    border-radius: 50%;
    background: #14691f;
}

.success-checkmark .check-icon::before {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    left: 13px;
    top: 13px;
    border-radius: 50%;
    background: #fff;
}

.success-checkmark .check-icon::after {
    content: '✓';
    font-size: 25px;
    font-weight: bold;
    color: #14691f;
    position: absolute;
    left: 18px;
    top: 8px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    position: absolute;
    border-radius: 50%;
    background: #14691f;
    top: 0;
    left: 0;
    z-index: 0;
    animation: scaleIn .25s ease-in-out .7s both;
}

.icon-line {
    height: 2px;
    background: #fff;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip .75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long .75s;
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #fff;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.thank-you-text h1 {
    font-size: 36px;
    font-weight: bold;
    color: #14691f;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.thank-you-text h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.thank-you-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.next-steps {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.9s both;
}

.next-steps h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #df171e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-text {
    font-size: 16px;
    color: #555;
}

.contact-urgency {
    background: linear-gradient(135deg, #df171e, #c71516);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    color: #fff;
    animation: fadeInUp 0.6s ease-out 1.1s both;
}

.contact-urgency h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.urgent-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.phone-urgent {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap; /* Prevent text wrapping */
}

.phone-urgent:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 24px;
}

.phone-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
}

.phone-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.zalo-urgent {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #005eb8;
    padding: 15px 25px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap; /* Prevent text wrapping */
}

.zalo-urgent:hover {
    background: #004a9a;
    transform: translateY(-2px);
}

.zalo-urgent img {
    width: 24px;
    height: 24px;
}

.return-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 1.3s both;
}

.btn-secondary {
    background: transparent;
    color: #df171e;
    border: 2px solid #df171e;
}

.btn-secondary:hover {
    background: #df171e;
    color: #fff;
}

.project-highlights {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    animation: fadeInUp 0.6s ease-out 1.5s both;
}

.project-highlights h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.highlight-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.highlight-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Thank You Page Responsive */
@media (max-width: 768px) {
    .thank-you-section {
        padding: 100px 0 60px;
    }

    .amenities-gallery {
        margin-left: 0px;
    }
    
    .thank-you-content {
        margin: 0 20px;
        padding: 40px 20px;
    }
    
    .thank-you-text h1 {
        font-size: 28px;
    }
    
    .thank-you-text h2 {
        font-size: 20px;
    }
    
    .urgent-contact {
        flex-direction: column;
        gap: 15px;
    }
    
    .phone-urgent,
    .zalo-urgent {
        width: 100%;
        justify-content: center;
    }
    
    .return-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .next-steps,
    .contact-urgency,
    .project-highlights {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .thank-you-content {
        margin: 0 10px;
        padding: 30px 15px;
    }
    
    .thank-you-text h1 {
        font-size: 24px;
    }
    
    .thank-you-text h2 {
        font-size: 18px;
    }
    
    .success-checkmark {
        width: 60px;
        height: 60px;
    }
    
    .success-checkmark .check-icon {
        width: 42px;
        height: 42px;
        left: 9px;
        top: 9px;
    }
    
    .success-checkmark .check-icon::before {
        width: 22px;
        height: 22px;
        left: 10px;
        top: 10px;
    }
    
    .success-checkmark .check-icon::after {
        font-size: 18px;
        left: 14px;
        top: 6px;
    }
}