/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Roboto', 'Arial Unicode MS', 'Helvetica Neue', 'Segoe UI', sans-serif; /* Font hỗ trợ tiếng Việt */
    line-height: 1.6;
    position: relative;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
}

.logo img {
    height: 50px;
    width: auto;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    width: 40px;
    height: 40px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.hamburger:hover {
    background-color: rgba(193, 116, 55, 0.1);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background-color: #C17437;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
    transform-origin: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #C17437;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #B87B44;
    font-weight: 600;
    margin-left: 2rem;
    white-space: nowrap;
}

.contact-info i {
    transform: rotate(90deg);
}

/* Slide Section */
#slide {
    margin-top: 70px;
    min-height: 600px;
    height: auto;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://betaviet.vn/wp-content/uploads/2025/01/backgroup3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
    padding: 4rem 0;
}

.slide-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 2rem;
}

.text-column {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.text-content {
    flex: 1;
    overflow: visible;
}

.problems, .warnings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.7rem 0;
}

.problem-item, .warning-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.problem-item p, .warning-item p {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 0;
}

.hero-text h2 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.hero-text h3 {
    font-size: 1rem;
    margin: 0.7rem 0;
    color: #C17437;
}

.highlight-text {
    margin-top: 1rem;
}

.highlight-text h2 {
    color: #C17437;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    color: #333;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(193, 116, 55, 0.05) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: shimmer 4s infinite linear;
    z-index: 0;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.contact-form-wrapper h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #C17437;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #C17437;
    margin: 10px auto 0;
    border-radius: 2px;
}

.slide-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 0.8rem;
    position: relative;
    overflow: hidden;
}

.slide-contact-form input,
.slide-contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #f8f8f8;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.slide-contact-form input:focus,
.slide-contact-form textarea:focus {
    border-color: #C17437;
    background: #fff;
    box-shadow: 0 0 8px rgba(193, 116, 55, 0.2);
    outline: none;
}

.slide-contact-form input::placeholder,
.slide-contact-form textarea::placeholder {
    color: #999;
    transition: all 0.3s ease;
}

.slide-contact-form input:focus::placeholder,
.slide-contact-form textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateX(10px);
}

.slide-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #C17437;
    transition: width 0.3s ease;
}

.form-group:focus-within::after {
    width: 100%;
}

.submit-btn {
    background: linear-gradient(45deg, #C17437, #E09456);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(193, 116, 55, 0.4);
}

.submit-btn::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: all 0.6s ease;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #a05f2d, #C17437);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 116, 55, 0.5);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(193, 116, 55, 0.4);
}

/* Trust indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.trust-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-indicator i {
    font-size: 1.5rem;
    color: #C17437;
    margin-bottom: 0.5rem;
}

.trust-indicator span {
    font-size: 0.8rem;
    color: #666;
}

/* Testimonial badge */
.testimonial-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #C17437;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    font-family: 'Roboto', 'Arial Unicode MS', 'Helvetica Neue', 'Segoe UI', sans-serif; /* Font hỗ trợ tiếng Việt */
}

.testimonial-badge i {
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.4rem;
    }

    .trust-indicators {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .testimonial-badge {
        top: -10px;
        right: -10px;
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Featured Projects */
#featured-projects {
    padding: 5rem 5%;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 15px;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.architect {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.architect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info h3 {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    font-weight: normal;
}

/* Interior Gallery */
#interior-gallery {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
#contact {
    padding: 5rem 5%;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form button {
    padding: 1rem;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #ff5252;
}

/* Footer */
footer {
    background-color: #B87B44;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo img.white-logo {
    filter: brightness(0) invert(1);
}

.footer-info {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-info p {
    margin: 0 0 8px;
}

.region-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.location-title {
    font-size: 15px;
    font-weight: 700;
    margin: 15px 0 10px;
}

.location-address {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icons a.zalo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a.zalo-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        height: 60px;
    }

    .logo img {
        height: 40px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .contact-info {
        font-size: 0.9rem;
    }

    #slide {
        margin-top: 60px;
        height: auto;
        min-height: calc(100vh - 60px);
    }

    .slide-content {
        flex-direction: column;
    }

    .text-column,
    .form-column {
        max-width: 100%;
    }

    .text-content {
        margin-bottom: 1rem;
    }

    .hero-text h2,
    .contact-form-wrapper h2 {
        font-size: 1.1rem;
    }

    .hero-text h3 {
        font-size: 1rem;
    }

    .problem-item p,
    .warning-item p {
        font-size: 0.85rem;
    }
}

/* Footer specific fixes for mobile */
@media (max-width: 768px) {
    /* Fix for footer layout */
    footer {
        padding: 20px 0 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .footer-container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        overflow-x: hidden;
    }
    
    /* Force all paragraphs to break properly */
    .footer-info p, 
    .location-address p,
    .footer-column p,
    .address-line {
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
        word-break: break-word !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        display: inline-block;
        font-size: 15px;
        margin-bottom: 4px;
        overflow: visible;
        hyphens: auto;
    }
    
    /* Specific fix for long address lines */
    .location-address {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ensure the copyright section doesn't overflow */
    .copyright {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }
    
    /* Ensure container doesn't overflow */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        overflow-x: hidden;
    }
    
    /* Ensure contact forms don't overflow */
    .contact-form-section .container,
    .contact-form-content,
    .contact-form-text,
    .contact-form-box {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-form-box {
        margin: 0;
        padding: 20px 15px;
        width: 100%;
        border-radius: 8px;
    }
}

/* Additional global fixes for any content that might cause horizontal overflow */
section, div, form, input, textarea, button, h1, h2, h3, h4, h5, h6, p, a, span, ul, li {
    max-width: 100%;
}

@media (max-width: 768px) {
    /* Fix for any containers that might cause overflow */
    .contact-form-section,
    .about-us-section,
    .process-section,
    .projects-section,
    .interior-projects-section,
    .visit-sites-section,
    .unique-difference-section,
    .video-review-section,
    .design-signup-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Force all text inputs to not overflow */
    input, textarea, button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 50px;
        padding: 0 15px;
        justify-content: center;
    }

    .logo {
        position: relative;
        left: 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo img {
        height: 45px;
        width: auto;
    }

    .contact-info {
        display: none;
    }

    .hamburger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .hamburger:hover, .hamburger:active {
        background-color: rgba(193, 116, 55, 0.1);
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 3px 0;
        background-color: #C17437;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .nav-links {
        position: fixed;
        top: 50px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 50px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        margin: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
        text-align: center;
    }

    .nav-links .mobile-contact {
        display: block;
        margin-top: 1.5rem;
        text-align: center;
        padding: 15px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .nav-links .mobile-contact a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #C17437;
        font-weight: 600;
        font-size: 1.1rem;
        text-decoration: none;
    }

    .nav-links .mobile-contact i {
        transform: rotate(90deg);
    }

    #slide {
        margin-top: 50px;
        min-height: auto;
        padding: 3rem 15px;
    }

    .slide-container {
        padding: 0;
        width: 100%;
    }

    .slide-content {
        gap: 1.5rem;
    }

    .text-column,
    .form-column {
        max-width: 100%;
        padding: 0;
    }

    .hero-text h2,
    .contact-form-wrapper h2 {
        font-size: 1rem;
    }

    .problem-item p,
    .warning-item p {
        font-size: 0.85rem;
    }

    .highlight-text h2 {
        font-size: 1.4rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Hamburger animation */
    .hamburger.active {
        background-color: rgba(193, 116, 55, 0.1);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        width: 22px;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        width: 22px;
    }

    /* Adjust hotline styling */
    .contact-info {
        display: none;
    }

    .project-info {
        padding: 10px;
        gap: 0.8rem;
    }

    .architect {
        width: 48px;
        height: 48px;
    }

    .project-info h3 {
        font-size: 0.85rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 1s ease-out;
}

#why-choose {
    padding: 3rem 0;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: #B87B44;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.rating {
    text-align: center;
    margin-bottom: 2rem;
}

.rating i {
    color: #FFD700;
    font-size: 24px;
    margin: 0 5px;
}

.why-choose-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.text-content h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0;
}

.text-content > p {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 0;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-list li {
    font-size: 0.9rem;
    line-height: 1.2;
}

.achievement, .contact {
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.contact a {
    color: #B87B44;
    text-decoration: none;
}

.register-btn-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.register-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 2px solid #B87B44;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #B87B44;
    text-decoration: none;
}

.register-btn:hover {
    background: #B87B44;
    color: white;
}

.video-preview {
    flex: 1;
}

.video-container {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-container img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}

.video-container:hover .play-button {
    background: rgb(255, 0, 0);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: transparent;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    cursor: default;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .why-choose-content {
        flex-direction: column;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .text-content h3 {
        font-size: 1.2rem;
    }

    .modal-content {
        margin: 15% auto;
        width: 95%;
    }
}

/* Hide mobile contact in desktop */
.nav-links .mobile-contact {
    display: none;
}

@media (max-width: 768px) {
    .nav-links .mobile-contact {
        display: block;
        margin-top: 1.5rem;
        text-align: center;
        padding: 15px;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .contact-info {
        display: none;
    }
}

#registerModal .modal-content {
    position: relative;
    width: 400px;
    max-width: 90%;
    margin: 6% auto;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#registerModal h2 {
    color: #C17437;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#registerForm {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

#registerForm .form-group {
    position: relative;
}

#registerForm input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

#registerForm input:focus {
    border-color: #C17437;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 116, 55, 0.1);
}

#registerForm input::placeholder {
    color: #999;
}

#registerForm .hotline {
    text-align: center;
    margin: 1rem 0;
    font-size: 1.1rem;
}

#registerForm .hotline a {
    color: #C17437;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(193, 116, 55, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

#registerForm .hotline a:hover {
    background: rgba(193, 116, 55, 0.2);
}

#registerForm button {
    background: #C17437;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

#registerForm button:hover {
    background: #a05f2d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 116, 55, 0.3);
}

#registerModal .close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    z-index: 10;
}

#registerModal .close-modal:hover {
    color: #C17437;
}

@media (max-width: 768px) {
    #registerModal .modal-content {
        width: 95%;
    }
    
    #registerModal h2 {
        font-size: 1.5rem;
    }
}

/* Customer Testimonials Section */
#testimonials {
    background-color: #f8f8f8;
    padding: 3rem 0;
}

#testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonials-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonials-intro p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonials-grid .video-preview {
    width: 100%;
}

.testimonials-grid .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonials-grid .video-container:hover {
    transform: translateY(-5px);
}

.testimonials-grid .video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-more-wrapper {
    text-align: center;
    margin-top: 15px;
}

.view-more-btn {
    display: inline-block;
    padding: 8px 25px;
    background-color: transparent;
    color: #B87B44;
    border: 2px solid #B87B44;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background-color: #B87B44;
    color: white;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-intro {
        padding: 0 1rem;
    }
}

/* Process Section */
.process-section {
    background-color: #B87B44;
    padding: 60px 0;
    color: white;
}

.process-section .section-title {
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: transparent;
}

.step-icon i {
    font-size: 24px;
    color: white;
}

.step-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

.step-description {
    font-size: 14px;
    color: white;
    max-width: 130px;
    line-height: 1.4;
}

/* Process Steps Connection Line */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .process-step {
        flex: 0 0 30%;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 30px 0 25px;
        background: linear-gradient(135deg, #B87B44 0%, #CE8B52 100%);
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 5px 10px 5px;
        justify-content: center;
        max-width: 85%;
        margin: 0 auto;
    }
    
    .process-step {
        flex: none;
        scroll-snap-align: none;
        position: relative;
        background-color: rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        padding: 8px 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 95px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
    }
    
    /* Đặt bước 7 ở giữa */
    .process-step:nth-child(7) {
        grid-column: 1 / span 2;
        width: 45%;
        max-width: none;
        margin: 4px auto 0;
    }
    
    /* Đảm bảo bước 6 hiển thị đúng */
    .process-step:nth-child(6) {
        height: 95px;
    }
    
    .process-step:active {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
    
    .step-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 3px;
        background-color: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .step-icon i {
        font-size: 14px;
    }
    
    .step-number {
        font-size: 22px;
        margin-bottom: 2px;
        font-weight: 700;
    }
    
    .step-description {
        font-size: 14px;
        max-width: 100%;
        font-weight: 500;
        line-height: 1.3;
        padding: 0 2px;
        margin: 0;
        text-align: center;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .process-section {
        padding: 25px 0 20px;
    }
    
    .process-section .section-title {
        margin-bottom: 12px;
        font-size: 20px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 92%;
    }
    
    .process-step {
        height: 92px;
        padding: 6px 3px;
    }
    
    /* Bước 7 responsive trên màn hình nhỏ */
    .process-step:nth-child(7) {
        width: 45%;
        max-width: none;
        margin: 4px auto 0;
    }
    
    .step-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .step-icon i {
        font-size: 12px;
    }
    
    .step-number {
        font-size: 20px;
        margin-bottom: 1px;
    }
    
    .step-description {
        font-size: 13px;
        line-height: 1.2;
    }
}

/* Projects Section */
.projects-section {
    padding: 4rem 0;
    background: #fff;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #333;
    line-height: 1.6;
}

/* Category Buttons */
.category-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.category-button {
    text-decoration: none;
    color: white;
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.button-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.button-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.button-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.button-image span {
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.category-button:hover .button-image img {
    transform: scale(1.15);
}

.category-button:hover .overlay {
    opacity: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.2);
}

.project-info {
    padding: 15px;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.architect {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.architect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 15px 15px 5px;
    line-height: 1.4;
    height: auto;
    min-height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
}

@media (max-width: 768px) {
    .category-buttons {
        display: none;
    }

    /* Reduce the top padding of projects section on mobile */
    .projects-section {
        padding: 2rem 0;
    }

    /* Default projects grid style for most sections (horizontal scroll) */
    .projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 1rem;
    }

    .project-card {
        flex: 0 0 330px;
        scroll-snap-align: start;
    }

    /* Special styling for architecture and interior design sections (vertical rows) */
    #projects-section .projects-grid,
    #interior-projects-section .projects-grid {
        display: flex;
        flex-direction: column;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 20px;
        padding-bottom: 30px;
    }

    #projects-section .project-card,
    #interior-projects-section .project-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        scroll-snap-align: none;
    }

    .project-info {
        padding: 15px;
        gap: 0.8rem;
    }

    .architect {
        width: 55px;
        height: 55px;
    }

    .project-info h3 {
        font-size: 0.85rem;
    }

    /* Custom Scrollbar */
    .projects-grid::-webkit-scrollbar {
        height: 6px;
    }

    .projects-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }

    .projects-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }

    .projects-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* View More Projects Button */
.view-more-projects {
    text-align: center;
    margin-top: 2rem;
}

.view-more-projects-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #B87B44;
    border: 2px solid #B87B44;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: auto;
    max-width: none;
}

.view-more-projects-btn:hover {
    background-color: #B87B44;
    color: white;
}

/* Interior Projects Section */
.interior-projects-section {
    background-color: #f9f9f9;
    margin-top: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.interior-projects-section .section-title {
    color: #B87B44;
}

/* Visit Sites Section */
.visit-sites-section {
    background-color: #fff;
    padding: 60px 0;
}

.visit-sites-section .section-title {
    color: #B87B44;
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.visit-sites-section .projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.project-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-card a {
    text-decoration: none;
    color: #333;
    display: block;
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f15a24;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

.project-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 15px 15px 5px;
    line-height: 1.4;
    height: auto;
    min-height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px;
    position: relative;
    margin-top: 10px;
    width: 100%;
}

.progress-steps:before {
    content: '';
    position: absolute;
    top: 6px;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 20%;
}

.step span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-bottom: 10px;
    display: block;
}

.step.active span {
    background-color: #B87B44;
}

.step-label {
    font-size: 11px;
    text-align: center;
    color: #333;
    word-wrap: break-word;
    font-weight: normal;
    margin-top: 2px;
    width: 100%;
    padding: 0 3px;
    line-height: 1.2;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step.active .step-label {
    font-weight: 500;
    color: #333;
}

.view-more-projects {
    text-align: center;
    margin-top: 30px;
}

/* Removed duplicate view-more-projects-btn styles for the visit-sites-section */

/* Responsive adjustments */
@media (max-width: 1200px) {
    .visit-sites-section .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .visit-sites-section .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .visit-sites-section .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        padding: 0 15px 20px;
    }
    
    .progress-steps:before {
        left: 20px;
        right: 20px;
    }
    
    .step span {
        width: 10px;
        height: 10px;
    }
    
    .step-label {
        font-size: 9px;
        max-width: 100%;
    }
}

/* Projects section specific container */
.projects-section .container {
    max-width: 1400px;
    padding: 0 10px;
}

/* Unique Difference Section */
.unique-difference-section {
    padding: 80px 0;
    background: url('https://betaviet.vn/wp-content/uploads/2025/01/back-box-4-20240627125157-mtx8u.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.unique-difference-section .section-title {
    color: #B87B44;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.unique-difference-section .rating {
    text-align: center;
    margin-bottom: 40px;
}

.unique-difference-section .rating i {
    color: #B87B44;
    font-size: 24px;
    margin: 0 5px;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.difference-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.difference-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.difference-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.difference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.difference-item:hover .difference-image img {
    transform: scale(1.1);
}

.difference-item h3 {
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
    margin: 0;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .difference-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .difference-item h3 {
        font-size: 16px;
        padding: 12px 10px;
    }
}

@media (max-width: 576px) {
    .difference-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .unique-difference-section {
        padding: 40px 0;
    }
    
    .unique-difference-section .section-title {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .unique-difference-section .rating {
        margin-bottom: 20px;
    }
    
    .unique-difference-section .rating i {
        font-size: 16px;
        margin: 0 3px;
    }
    
    .difference-item h3 {
        font-size: 12px;
        padding: 10px 5px;
        line-height: 1.3;
    }
    
    .difference-image {
        height: 120px;
    }
}

/* Visit Sites Section - Mobile Responsive */
@media (max-width: 768px) {
    .visit-sites-section .projects-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 20px;
    }

    .visit-sites-section .project-card {
        flex: 0 0 300px;
        scroll-snap-align: start;
        margin-bottom: 0;
    }

    /* Custom Scrollbar for Visit Sites Section */
    .visit-sites-section .projects-grid::-webkit-scrollbar {
        height: 4px;
    }

    .visit-sites-section .projects-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }

    .visit-sites-section .projects-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2px;
    }

    .visit-sites-section .projects-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* Video Review Section */
.video-review-section {
    padding: 70px 0;
    background-color: #fff;
}

.video-review-section .section-title {
    color: #B87B44;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.video-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: #333;
    line-height: 1.6;
}

.video-intro p {
    margin-bottom: 10px;
}

.video-intro strong {
    color: #B87B44;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.main-video {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: 16/9;
}

.right-videos {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.video-item.small-video {
    aspect-ratio: 16/9;
}

.video-item.small-video:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
}

.video-item.small-video:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
}

.video-item.small-video:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.video-item.small-video:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    z-index: 2;
    font-size: 18px;
}

.main-video .video-caption {
    font-size: 24px;
    bottom: 20px;
    left: 20px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 70%);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.small-video .play-button {
    width: 50px;
    height: 50px;
}

.play-button i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}

.small-video .play-button i {
    font-size: 20px;
}

/* Video Modal Styles */
#videoReviewModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

#videoReviewModal .modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: 5% auto;
}

#videoReviewModal .close-modal {
    position: absolute;
    right: -40px;
    top: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

#videoReviewModal .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

#videoReviewModal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .main-video {
        grid-column: 1;
        grid-row: 1 / span 2;
    }
    
    .right-videos {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 768px) {
    .video-review-section {
        padding: 50px 15px;
    }

    .video-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-bottom: 20px;
    }
    
    .main-video {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .right-videos {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 10px;
        width: 100%;
    }
    
    .right-videos .video-item.small-video {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 10px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .video-caption {
        font-size: 16px;
    }
    
    .main-video .video-caption {
        font-size: 18px;
        bottom: 10px;
        left: 10px;
    }
    
    /* Custom Scrollbar */
    .right-videos::-webkit-scrollbar {
        height: 4px;
    }

    .right-videos::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }

    .right-videos::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2px;
    }

    .right-videos::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .about-us-content {
        grid-template-columns: 1fr;
    }
    
    .about-us-description {
        grid-column: 1;
        padding: 0 15px;
    }
    
    .about-us-map {
        grid-column: 1;
        margin: 20px 0;
    }
    
    .about-us-achievements {
        grid-column: 1;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .achievement-item {
        padding: 15px 10px;
    }
    
    .achievement-number {
        font-size: 36px;
    }
    
    .achievement-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .right-videos {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }
    
    .video-item.small-video {
        margin-bottom: 15px;
    }
}

/* About Us Section */
.about-us-section {
    padding: 0px 0;
    background-color: #fff;
}

.about-us-section .section-title {
    text-align: center;
    color: #B87B44;
    font-size: 28px;
    margin-bottom: 50px;
}

.about-us-section .section-title h2 {
    font-size: 28px;
}

.about-us-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.about-us-description {
    padding-right: 20px;
}

.about-us-description p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #666;
    font-size: 16px;
}

.about-us-map {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.about-us-map img {
    max-width: 100%;
    height: auto;
}

.about-us-achievements {
    display: grid;
    grid-template-rows: repeat(4, auto);
    gap: 20px;
}

.achievement-item {
    text-align: left;
}

.achievement-number {
    font-size: 48px;
    font-weight: 700;
    color: #B87B44;
    margin-bottom: 5px;
    line-height: 1;
}

.achievement-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Responsive styles for About Us section */
@media (max-width: 992px) {
    .about-us-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-us-description {
        grid-column: 1 / 3;
    }
    
    .about-us-map {
        grid-column: 1 / 2;
    }
    
    .about-us-achievements {
        grid-column: 2 / 3;
        grid-template-rows: repeat(2, auto);
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .video-review-section {
        padding: 50px 15px;
    }

    .video-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-bottom: 20px;
    }
    
    .main-video {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .right-videos {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 10px;
        width: 100%;
    }
    
    .right-videos .video-item.small-video {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 10px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .video-caption {
        font-size: 16px;
    }
    
    .main-video .video-caption {
        font-size: 18px;
        bottom: 10px;
        left: 10px;
    }
    
    /* Custom Scrollbar */
    .right-videos::-webkit-scrollbar {
        height: 4px;
    }

    .right-videos::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 2px;
    }

    .right-videos::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2px;
    }

    .right-videos::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
    
    .about-us-content {
        grid-template-columns: 1fr;
    }
    
    .about-us-description {
        grid-column: 1;
        padding: 0 15px;
    }
    
    .about-us-map {
        grid-column: 1;
        margin: 20px 0;
    }
    
    .about-us-achievements {
        grid-column: 1;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .achievement-item {
        padding: 15px 10px;
    }
    
    .achievement-number {
        font-size: 36px;
    }
    
    .achievement-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .about-us-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-us-description {
        text-align: center;
    }
    
    .about-us-map {
        margin: 10px 0;
    }
    
    .about-us-achievements {
        grid-template-columns: 1fr;
    }
    
    .achievement-item {
        text-align: center;
    }
}

.mobile-description {
    display: none;
}

.mobile-description h3 {
    font-size: 16px;
    font-weight: 700;
    color: #B87B44;
    margin-bottom: 15px;
    line-height: 1.4;
}

.mobile-description p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

@media (max-width: 768px) {
    .about-us-map {
        flex-direction: column;
    }
    
    .about-us-map img {
        display: none;
    }
    
    .mobile-description {
        display: block;
        padding: 20px 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-us-description {
        display: none;
    }
    
    .about-us-achievements {
        display: none;
    }
}

/* Contact Form Section */
.contact-form-section {
    position: relative;
    padding: 80px 0;
    background: url('https://betaviet.vn/wp-content/uploads/2025/01/thiet-ke-phong-khach-can-ho-hien-dai-penthouse-nt24721-4.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
}

.contact-form-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.contact-form-section .container {
    position: relative;
    z-index: 2;
}

.contact-form-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-form-text {
    flex: 1;
    padding-right: 20px;
}

.contact-form-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #B87B44;
    line-height: 1.3;
}

.contact-form-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.features-checklist {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.features-checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.4;
}

.checkmark {
    margin-right: 10px;
    flex-shrink: 0;
}

.highlight {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0;
    color: #B87B44;
}

.contact-hotline {
    font-size: 18px;
    font-weight: 600;
}

.contact-hotline a {
    color: #B87B44;
    text-decoration: none;
}

.contact-form-box {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form-box h3 {
    text-align: center;
    color: #B87B44;
    font-size: 24px;
    margin-bottom: 25px;
    line-height: 1.4;
    white-space: nowrap;
}

#contact-form .form-group {
    margin-bottom: 15px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 15px;
    transition: all 0.3s;
}

#contact-form textarea {
    height: 120px;
    resize: none;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #B87B44;
    box-shadow: 0 0 0 2px rgba(184, 123, 68, 0.2);
    outline: none;
}

#contact-form .submit-btn {
    width: 100%;
    padding: 14px;
    background: #B87B44;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#contact-form .submit-btn:hover {
    background: #a06b36;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-form-content {
        flex-direction: column;
    }
    
    .contact-form-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 50px 15px;
    }
    
    .contact-form-section .container {
        padding: 0;
    }
    
    .contact-form-text h2 {
        font-size: 24px;
    }
    
    .contact-form-box {
        padding: 25px 20px;
        margin: 0 -15px;
        width: calc(100% + 30px);
        border-radius: 8px;
    }
    
    .contact-form-text {
        margin-bottom: 15px;
        padding: 0;
    }
    
    .contact-hotline {
        margin-bottom: 10px;
    }
    
    .contact-form-content {
        gap: 20px;
    }
}

/* Side Nav Button */
.side-nav-button {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.side-nav-button button {
    background-color: #B87B44;
    color: white;
    padding: 20px 10px;
    border: none;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(0deg);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 0 7px 7px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.side-nav-button button:hover {
    background-color: #a06b36;
    padding-left: 15px;
}

/* Consult Form Modal */
.consult-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.consult-form-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    position: relative;
    border-radius: 7px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-form {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-form:hover {
    color: #333;
}

.consult-form-content h2 {
    padding: 20px;
    margin: 0;
    color: #B87B44;
    font-size: 20px;
    border-bottom: 1px solid #eee;
}

.consult-form-inner {
    padding: 20px;
}

.consult-form-inner h3 {
    text-align: center;
    font-size: 18px;
    margin: 0 0 20px;
    line-height: 1.4;
}

#sideConsultForm .form-group {
    margin-bottom: 15px;
}

#sideConsultForm input, 
#sideConsultForm textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 15px;
    transition: all 0.3s;
}

#sideConsultForm input:focus, 
#sideConsultForm textarea:focus {
    border-color: #B87B44;
    box-shadow: 0 0 0 2px rgba(184, 123, 68, 0.2);
    outline: none;
}

#sideConsultForm textarea {
    resize: none;
    height: 120px;
}

#sideConsultForm .submit-btn {
    width: 100%;
    padding: 14px;
    background: #B87B44;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#sideConsultForm .submit-btn:hover {
    background: #a06b36;
}

@media (max-width: 768px) {
    .consult-form-content {
        width: 95%;
    }
    
    .side-nav-button button {
        padding: 15px 8px;
        font-size: 14px;
    }
} 

/* Additional form styling and animations */
.form-group.focused::after {
    width: 100%;
}

.form-group.valid input,
.form-group.valid textarea {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #f44336;
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.2);
}

.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #4CAF50;
    font-size: 1rem;
    z-index: 2;
}

/* Submit button animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.submit-btn.pulse {
    animation: pulse 0.5s;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
}

/* Shake animation for invalid fields */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Success message styling */
.form-success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    padding: 2rem;
    text-align: center;
    z-index: 10;
}

.success-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.form-success-message h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.form-success-message p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Testimonial badge hover effect */
.testimonial-badge {
    transition: all 0.3s ease;
}

.testimonial-badge:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Trust indicators hover effects */
.trust-indicator {
    transition: all 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-5px);
}

.trust-indicator i {
    transition: all 0.3s ease;
}

.trust-indicator:hover i {
    transform: scale(1.2);
}

/* Form wrapper hover effect */
.contact-form-wrapper {
    transition: all 0.4s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Input field focus and hover effects */
.slide-contact-form input,
.slide-contact-form textarea {
    transition: all 0.3s ease;
}

.slide-contact-form input:hover,
.slide-contact-form textarea:hover {
    border-color: rgba(193, 116, 55, 0.3);
}

/* Responsive adjustments for animations */
@media (max-width: 768px) {
    .success-icon {
        font-size: 2.5rem;
    }
    
    .form-success-message h3 {
        font-size: 1.2rem;
    }
    
    .form-success-message p {
        font-size: 0.9rem;
    }
}

/* Tạo hiệu ứng WOW cho Design Form */
.design-signup-section {
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.design-signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://betaviet.vn/wp-content/uploads/2023/12/pattern.png') repeat;
    opacity: 0.04;
    z-index: 0;
}

.design-form-wrapper {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 45px 35px 35px;
    z-index: 1;
    overflow: hidden;
}

.form-header-badges {
    position: relative;
    height: 50px;
    margin-bottom: 20px;
}

.design-form-content {
    position: relative;
    z-index: 5;
    padding-top: 20px;
}

/* Premium Badge - cố định ở góc trên bên phải */
.premium-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, #f5c518, #e09900);
    color: #fff;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: badgePulse 2s infinite;
}

.premium-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5c518, #e09900);
    opacity: 0.5;
    filter: blur(8px);
    z-index: -1;
    border-radius: 3px;
}

.badge-icon {
    font-size: 16px;
    color: #fff;
}

.badge-text {
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roboto', 'Arial Unicode MS', 'Helvetica Neue', 'Segoe UI', sans-serif; /* Font hỗ trợ tiếng Việt */
}

/* Countdown Timer - cố định bên phải không đè lên text */
.countdown-timer {
    position: absolute;
    top: -10px;
    right: 160px; /* Đẩy sang phải để không đè lên Premium badge */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.timer-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.timer-digits {
    display: flex;
    gap: 8px;
}

.timer-digit-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timer-digit {
    background: linear-gradient(135deg, #b87b44 0%, #d98f53 100%);
    color: white;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 3px 6px rgba(184, 123, 68, 0.2);
    position: relative;
    overflow: hidden;
}

.timer-digit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.timer-label {
    font-size: 10px;
    color: #666;
    margin-top: 4px;
}

/* Form Header Styling */
.form-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.form-header h3 {
    color: #b87b44;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.form-header h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #b87b44;
}

.form-header h2 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.3;
}

/* Trust Indicators - canh giữa không bị chèn */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 14px;
    background-color: rgba(184, 123, 68, 0.05);
    padding: 5px 10px;
    border-radius: 5px;
}

.trust-item i {
    color: #b87b44;
    font-size: 16px;
}

/* Highlight text - cải thiện khả năng đọc */
.highlight-text {
    color: #b87b44;
    font-weight: 800;
    position: relative;
    display: inline-block;
    z-index: 1;
    font-family: 'Roboto', 'Arial Unicode MS', 'Helvetica Neue', 'Segoe UI', sans-serif; /* Font hỗ trợ tiếng Việt */
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(184, 123, 68, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.promo-text {
    font-size: 14px;
    color: #555;
    margin: 15px auto;
    max-width: 90%;
    line-height: 1.5;
    font-style: italic;
}

/* Chỉnh input icon để không đè vào text */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b87b44;
    z-index: 2;
    font-size: 16px;
    pointer-events: none;
}

.design-form .form-group {
    flex: 1;
    min-width: 200px;
    position: relative;
    margin-bottom: 10px;
}

.design-form input {
    width: 100%;
    padding: 12px 15px 12px 40px; /* Thêm padding bên trái để nhường chỗ cho icon */
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    height: 43px; /* Set a fixed height to match the button */
    box-sizing: border-box; /* Ensure padding is included in the height calculation */
}

.design-form input:focus {
    border-color: #b87b44;
    box-shadow: 0 0 0 3px rgba(184, 123, 68, 0.1);
    background: #fff;
}

/* Form Input Styling */
.design-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center; /* This ensures vertical centering of all elements */
}

/* Submit Button Styling */
.submit-design-btn {
    background: linear-gradient(135deg, #b87b44 0%, #d98f53 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(184, 123, 68, 0.3);
    height: 43px; /* Match the height of the input fields */
    margin-top: -11px
}

.submit-design-btn:hover {
    background: linear-gradient(135deg, #d98f53 0%, #b87b44 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 123, 68, 0.4);
}

.submit-design-btn .btn-icon {
    transition: transform 0.3s ease;
}

.submit-design-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Registration Progress Bar */
.registration-progress {
    margin-top: 25px;
    padding: 15px;
    background: #f7f8fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    border-radius: 4px;
    position: relative;
}

.progress-text {
    font-size: 13px;
    color: #555;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-text i {
    color: #ff6b6b;
}

.spots-left {
    font-weight: bold;
    color: #ff6b6b;
}

/* Testimonial Mini */
.testimonial-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-left: -10px;
    transition: transform 0.3s ease;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-3px);
    z-index: 2;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-mini p {
    font-size: 13px;
    color: #555;
    margin: 0;
}

/* Animations */
@keyframes badgePulse {
    0% { transform: translateY(0); }
    50% { transform: translateY(3px); }
    100% { transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .countdown-timer {
        right: 120px;
    }
}

@media (max-width: 768px) {
    .premium-badge {
        top: -10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .badge-icon {
        font-size: 14px;
    }
    
    .badge-text {
        font-size: 12px;
    }
    
    .countdown-timer {
        position: relative;
        top: auto;
        right: auto;
        margin: 15px auto;
    }
    
    .form-header-badges {
        height: auto;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .input-icon {
        left: 12px;
        font-size: 14px;
    }
    
    .design-form input {
        padding: 10px 10px 10px 35px;
    }
    
    .trust-indicators {
        gap: 10px;
        margin: 10px 0;
        flex-direction: column;
        align-items: center;
    }
    
    .trust-item {
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    .design-form-wrapper {
        padding: 35px 20px 20px;
    }
    
    .form-header h2 {
        font-size: 20px;
    }
    
    .design-form .form-row {
        flex-direction: column;
    }
    
    .submit-design-btn {
        width: 100%;
    }
}

/* ... existing code ... */

/* Hiệu ứng ripple khi click vào form */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hiệu ứng màu sắc cho form wrapper */
.design-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(184, 123, 68, 0.03) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: shimmer 8s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translateY(-20%); }
    100% { transform: rotate(45deg) translateY(20%); }
}

/* Success Message hiển thị sau khi đăng ký */
.success-message-box {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    max-width: 350px;
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
}

.success-message-box.show {
    transform: translateX(0);
}

.success-icon {
    font-size: 24px;
    color: white;
}

.success-content h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
}

.success-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.close-message {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-message:hover {
    opacity: 1;
}

/* Button Success State */
.submit-design-btn.success {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.3);
}

/* Hiệu ứng khi focus vào input */
.design-form input.animated {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.submit-design-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.7s ease;
}

.submit-design-btn:hover::before {
    left: 100%;
}

/* Validation States */
.form-group.focused::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b87b44;
    transform-origin: center;
    animation: focusLine 0.3s forwards;
}

@keyframes focusLine {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.form-group.invalid input {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}

.form-group.valid input {
    border-color: #38ef7d !important;
    box-shadow: 0 0 0 3px rgba(56, 239, 125, 0.1) !important;
}

.form-group.invalid::after {
    background: #ff6b6b;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ... existing code ... */

/* Input wrapper để tạo khoảng cách tốt hơn giữa icon và text */
.input-wrapper {
    position: relative;
    height: 43px; /* Match the height with button */
}

/* Chỉnh input icon để không đè vào text */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b87b44;
    z-index: 2;
    font-size: 16px;
    pointer-events: none;
}

.design-form .form-group {
    flex: 1;
    min-width: 200px;
    position: relative;
    margin-bottom: 10px;
}

.design-form input {
    width: 100%;
    padding: 12px 15px 12px 40px; /* Thêm padding bên trái để nhường chỗ cho icon */
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

/* Highlight note style */
.highlight-note {
    color: #ff6b6b;
    font-weight: 700;
    background-color: rgba(255, 107, 107, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

/* Trust item với span để không bị đè */
.trust-item span {
    display: inline-block;
    margin-left: 5px;
}

/* Đảm bảo icon nổi bật hơn */
.trust-item i {
    color: #b87b44;
    font-size: 16px;
    width: 20px;
    text-align: center;
    display: inline-block;
}

/* Cập nhật progress-text để tránh đè */
.progress-text i {
    color: #ff6b6b;
    margin-right: 5px;
    font-size: 14px;
}

/* ... existing code ... */

/* Fix for input icons overlapping with text */
.form-group {
    position: relative;
}

/* Add proper spacing between icons and text in regular inputs */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    padding-left: 40px !important;
}

/* Position icons consistently in all form inputs */
.form-group .input-icon,
.input-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b87b44;
    z-index: 2;
    font-size: 16px;
    width: 20px;
    text-align: center;
    pointer-events: none;
}

/* Ensure consistent positioning for design form */
.design-form input {
    padding-left: 40px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"],
    .form-group textarea {
        padding-left: 35px !important;
    }
    
    .form-group .input-icon,
    .input-wrapper .input-icon {
        left: 12px;
        font-size: 14px;
    }
}

/* Position icons consistently in all form inputs */
.form-group .input-icon,
.input-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b87b44;
    z-index: 2;
    font-size: 16px;
    width: 20px;
    text-align: center;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Special positioning for textarea icons */
.form-group textarea ~ .input-icon {
    top: 16px !important; /* Position at the top of textarea instead of center */
    transform: none !important;
}

/* Add hover effect for input fields with icons */
.form-group:hover .input-icon {
    color: #d98f53; /* Lighter shade on hover */
}

/* Input focus effect for icon */
.form-group input:focus ~ .input-icon,
.form-group textarea:focus ~ .input-icon {
    color: #d98f53;
}

/* Specific classes for textarea form groups */
.textarea-group .input-icon {
    top: 16px !important; 
    transform: none !important;
}

/* Add this at the end of the file to override previous settings */
@media (max-width: 768px) {
    .design-form-wrapper .premium-badge {
        top: 10px !important; /* Equal spacing from the top edge */
    }
}

/* Add this at the end of the file to override previous settings */
@media (max-width: 768px) {
    .design-form-wrapper .premium-badge {
        top: 10px !important; /* Equal spacing from the top edge */
        right: 10px !important; /* Ensure equal spacing from right edge */
        padding: 4px 10px !important; /* Maintain consistent padding */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important; /* Refined shadow for mobile */
    }
}

/* Adjust premium badge position to move it further right on mobile */
@media (max-width: 768px) {
    .premium-badge {
        right: 40px !important; /* Move further right to avoid text overlap */
    }
}

/* Adjust premium badge position to move it further right on mobile */
@media (max-width: 768px) {
    .premium-badge {
        right: 80px !important; /* Move further right to avoid text overlap */
    }
}

/* Fix text overlap with premium badge */
@media (max-width: 768px) {
    /* Add more right margin to text to make room for badge */
    .design-form-wrapper h2,
    .form-header h2 {
        margin-right: 90px !important;
    }
}

/* Comprehensive fix for premium badge and text overlap */
@media (max-width: 768px) {
    /* Move badge even further right */
    .premium-badge {
        right: 100px !important;
    }
    
    /* Ensure text description has enough margin */
    .design-form-wrapper h2,
    .form-header h2 {
        margin-right: 90px !important;
        text-align: left !important; /* Align text to the left for better spacing */
        padding-left: 15px !important; /* Add some padding on the left */
    }
}

/* Điều chỉnh vị trí Premium badge trên thiết bị di động */
@media (max-width: 768px) {
    .design-form-wrapper .premium-badge,
    body .premium-badge {
        top: -10px !important; /* Giữ ở vị trí cao ban đầu */
        right: 100px !important; /* Di chuyển sang phải để không đè lên text */
        z-index: 100 !important; /* Đảm bảo hiển thị phía trên */
        position: absolute !important;
    }
}

/* Điều chỉnh vị trí Premium badge trên thiết bị di động - QUY TẮC CUỐI CÙNG */
@media (max-width: 768px) {
    .premium-badge,
    .design-form-wrapper .premium-badge,
    body .premium-badge {
        top: -10px !important; /* Giữ ở vị trí cao ban đầu */
        right: 140px !important; /* Di chuyển sang phải nhiều hơn để không đè lên text */
        z-index: 100 !important; /* Đảm bảo hiển thị phía trên */
        position: absolute !important;
    }
}

/* Điều chỉnh vị trí Premium badge trên thiết bị di động - QUY TẮC CUỐI CÙNG */
@media (max-width: 768px) {
    .premium-badge,
    .design-form-wrapper .premium-badge,
    body .premium-badge {
        top: -10px !important; /* Giữ ở vị trí cao ban đầu */
        right: -10px !important; /* Di chuyển sang phải nhiều hơn để không đè lên text */
        z-index: 100 !important; /* Đảm bảo hiển thị phía trên */
        position: absolute !important;
    }
}

@media (max-width: 768px) {
    /* ... existing code ... */
    .about-us-section {
        padding: 40px 0;
    }
    
    .about-us-section .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .about-us-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-us-description {
        grid-column: 1;
        padding: 0 15px;
    }
    
    .about-us-map {
        grid-column: 1;
        margin: 15px 0;
    }
    
    .about-us-achievements {
        grid-column: 1;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .achievement-item {
        padding: 10px;
    }
    
    .achievement-number {
        font-size: 32px;
    }
    
    .achievement-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    /* ... existing code ... */
    .about-us-section {
        padding: 30px 0;
    }
    
    .about-us-section .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    /* ... existing code ... */
    .about-us-section {
        padding: 30px 0;
    }
    
    .about-us-section .section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .mobile-description h3 {
        font-size: 16px;
        line-height: 1.3;
        margin-top: 10px;
        margin-bottom: 12px;
    }
}

@media (max-width: 576px) {
    /* ... existing code ... */
    .about-us-section {
        padding: 25px 0;
    }
    
    .about-us-section .section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .about-us-map {
        padding: 0;
    }
    
    .about-us-map img {
        max-width: 100%;
    }
    
    .mobile-description {
        display: block;
        padding: 15px 0;
        text-align: left;
    }
    
    .mobile-description h3 {
        font-size: 16px;
        line-height: 1.3;
        margin-top: 10px;
        margin-bottom: 12px;
    }
    
    .mobile-description p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    /* Fix for business registration text */
    .footer-info p {
        margin: 0 0 4px; /* Reduce gap between paragraphs on mobile */
        font-size: 15px; /* Increase font size by 1px */
    }
    
    /* Specific styling for address lines */
    .address-line {
        white-space: nowrap !important; /* Prevent text from wrapping within the line */
        overflow: visible; /* Ensure text isn't cut off */
        display: block; /* Ensure each address line is a separate block */
        font-size: 15px; /* Consistent font size */
    }
    
    /* Address lines that should be joined - force onto a single line */
    .address-line + .address-line {
        display: inline-block; /* Keep lines together */
        margin-top: -2px; /* Pull lines closer together */
    }
    
    /* Better approach for address text */
    .footer-info p:nth-child(1),
    .footer-info p:nth-child(2),
    .location-address p {
        word-break: keep-all; /* Keep words together */
        width: 100%;
        display: inline-block; /* Keep each paragraph as a single block */
        font-size: 15px; /* Increased font size */
    }
    
    /* Create a container for the registration information */
    .footer-info .registration-title + p.registration-info {
        display: inline-block; /* Start a new line for the first registration info */
    }
    
    /* Special handling for business registration info to prevent unwanted line breaks */
    .footer-info .registration-info {
        display: inline;
        margin-right: 4px; /* Add small space between inline elements */
    }
    
    /* Create proper break after each sentence */
    .footer-info p.registration-info:last-of-type {
        display: block;
        margin-bottom: 8px;
    }
    
    /* Create spacing after registration title */
    .footer-info .registration-title {
        display: block;
        margin-bottom: 5px;
        font-size: 15px; /* Increase font size by 1px */
    }

    /* Reduce overall spacing in footer for mobile */
    footer {
        padding: 20px 0 15px; /* Minimal padding */
    }
    
    /* Major reduction in spacing between footer columns */
    .footer-column {
        margin-bottom: 0; /* Remove bottom margin completely */
        padding-bottom: 0;
    }
    
    /* Tighter grid spacing */
    .footer-container {
        gap: 0; /* Remove gap between footer sections */
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        padding: 0 10px; /* Add slight padding to prevent text touching edges */
    }
    
    /* Reduce space for first column info */
    .footer-info {
        margin-bottom: 5px;
    }
    
    /* Add specific negative margin to pull sections closer */
    .footer-column:not(:first-child) {
        margin-top: -5px; /* Pull sections closer with negative margin */
    }
    
    /* Minimize spacing for region titles - these are the section headers with red arrows */
    .region-title {
        margin-bottom: 2px;
        margin-top: 5px;
        line-height: 1.2;
        font-size: 16px; /* Increase font size by 1px */
        padding-top: 2px;
    }
    
    /* Minimize space for location titles */
    .location-title {
        margin: 2px 0 2px;
        line-height: 1.2;
        font-size: 15px; /* Increase font size by 1px */
    }
    
    /* Minimize space for location addresses */
    .location-address {
        margin-bottom: 3px;
        line-height: 1.3;
    }
    
    /* Reduce spacing below footer logo */
    .footer-logo {
        margin-bottom: 5px;
    }
    
    /* Tighter line height for all footer text */
    .footer-column p {
        line-height: 1.3;
        margin: 0 0 2px;
        font-size: 15px; /* Increase font size by 1px */
    }
}

/* Apply to all devices for consistency */
.address-line {
    font-size: 14px; /* Default size */
}

/* Special styling to join address parts */
.location-address {
    font-size: 0; /* Reset font size to remove unwanted spaces */
}

.location-address p {
    font-size: 14px; /* Restore font size for text */
    display: inline; /* Keep address parts on same line */
}

.location-address p:first-child:after {
    content: " "; /* Add space after first part */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Fix for business registration text */
    .footer-info p {
        margin: 0 0 4px; /* Reduce gap between paragraphs on mobile */
        font-size: 15px; /* Increase font size by 1px */
    }
    
    /* Specific styling for address lines */
    .address-line {
        font-size: 15px; /* Larger font size for mobile */
    }
    
    /* Special styling to join address parts on mobile */
    .location-address p {
        font-size: 15px; /* Larger font size for mobile */
    }
    
    /* Better approach for address text */
    .footer-info p:nth-child(1),
    .footer-info p:nth-child(2),
    .location-address p {
        word-break: keep-all; /* Keep words together */
        width: 100%;
        display: inline; /* Keep each paragraph as a single block */
    }
    
    /* Create a container for the registration information */
    .footer-info .registration-title + p.registration-info {
        display: inline-block; /* Start a new line for the first registration info */
    }
}

/* Address line styling for all devices */
.address-line {
    font-size: 14px; /* Default size */
    white-space: normal; /* Allow natural wrapping */
    word-break: normal; /* Use normal word breaking rules */
    overflow-wrap: break-word; /* Break words if necessary */
    width: 100%;
    display: block; /* Make each address a block */
    margin-bottom: 8px;
    hyphens: auto; /* Enable hyphenation if needed */
}

@media (max-width: 768px) {
    /* Force all text to wrap appropriately on mobile */
    .address-line {
        width: 100%;
        white-space: normal;
        word-break: break-all;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* Fix horizontal overflow on mobile */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    
    /* Force all text to wrap appropriately on mobile */
    .address-line {
        width: 100%;
        white-space: normal;
        word-break: break-word;
        font-size: 15px;
        overflow-wrap: break-word;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* ... existing code ... */
}

/* Contact Form Section - Fix for mobile */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 50px 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 25px 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .contact-form-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .contact-form-section .container,
    .contact-form-text {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding: 0 10px !important;
    }
}

/* ... existing code ... */

@media (max-width: 768px) {
    /* Fix hamburger button positioning */
    .hamburger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        left: auto;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .hamburger:hover, .hamburger:active {
        background-color: rgba(193, 116, 55, 0.1);
    }
    
    /* Make sure hamburger lines are visible */
    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 3px 0;
        background-color: #C17437;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    /* ... existing code ... */
}

/* ... existing code ... */

/* Animation styles for process steps */
.process-step.has-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.has-animation.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay for steps */
.process-step.has-animation:nth-child(1) {
    transition-delay: 0.1s;
}
.process-step.has-animation:nth-child(2) {
    transition-delay: 0.2s;
}
.process-step.has-animation:nth-child(3) {
    transition-delay: 0.3s;
}
.process-step.has-animation:nth-child(4) {
    transition-delay: 0.4s;
}
.process-step.has-animation:nth-child(5) {
    transition-delay: 0.5s;
}
.process-step.has-animation:nth-child(6) {
    transition-delay: 0.6s;
}
.process-step.has-animation:nth-child(7) {
    transition-delay: 0.7s;
}

/* Icon animation on hover */
.process-step .step-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.25);
}

/* Pulse animation for step number */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.process-step:hover .step-number {
    animation: pulse 1s infinite;
}

.step-description {
    font-size: 11px;
    line-height: 1.15;
}

@media (max-width: 768px) {
    /* Hide the "TƯ VẤN MIỄN PHÍ" button on mobile. 
       To re-enable, remove or comment out the following rule: */
    .nav-links li:has(.nav-consult-btn) {
        display: none; /* Comment this line with /* */ to re-enable */
    }
    
    /* Side nav button (fixed position button) is also hidden for mobile */
    .side-nav-button {
        display: none; /* Comment this line with /* */ to re-enable */
    }
    
    .consult-form-content {
        width: 95%;
    }
    
    .side-nav-button button {
        padding: 15px 8px;
        font-size: 14px;
    }
} 