/* Base Styles */
:root {
    --primary-color: #e61c5d;
    --primary-dark: #c41a4c;
    --secondary-color: #202020;
    --light-color: #f8f9fa;
    --text-color: #333;
    --background-color: #fff;
    --section-spacing: 100px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.7rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 28, 93, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 28, 93, 0.3);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-white:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.highlight {
    color: var(--primary-color);
}

.section {
    padding: 100px 0;
    overflow-x: hidden;
}

.section-bg {
    background-color: var(--light-color);
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: var(--transition);
    transform: scale(1.2);
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary-color);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.auth-btn {
    padding: 10px 20px;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    color: var(--secondary-color);
    font-size: 24px;
    cursor: pointer;
}

/* Contact Section */
.contact {
    position: relative;
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    align-items: center;
}

.contact-info {
    position: relative;
}

.contact-info-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-info-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 22px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-text h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-text p,
.contact-text a {
    font-size: 16px;
    color: #555;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background-color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    background-color: rgba(230, 28, 93, 0.1);
    border-radius: var(--border-radius);
    z-index: -1;
}

.contact-form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 28, 93, 0.1);
    background-color: white;
}

.form-control::placeholder {
    color: #aaa;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNlNjFjNWQiIGZpbGwtb3BhY2l0eT0iLjE1Ij48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCAzLjk4LTEuNzggNC00aC4wMXptMC0xMGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDMuOTgtMS43OCA0LTRoLjAxek0yNiAyNGMwLTIuMjEtMS43OS00LTQtNHMtNCAxLjc5LTQgNCAxLjc5IDQgNCA0IDMuOTgtMS43OCA0LTRoLjAxem0wIDEwYzAtMi4yMS0xLjc5LTQtNC00cy00IDEuNzktNCA0IDEuNzkgNCA0IDQgMy45OC0xLjc4IDQtNGguMDF6Ij48L3BhdGg+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.1;
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer Section */
.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 100px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 70px;
}

.footer-widget:first-child {
    grid-column: span 2;
}

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

.footer-logo img {
    height: 70px;
}

.footer-about {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 400px;
}

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

.footer-social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-widget-title {
    font-size: 22px;
    color: white;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 15px;
}

.footer-link {
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-link i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 14px;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-icon {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.footer-contact-text {
    font-size: 16px;
    line-height: 1.6;
}

.footer-newsletter-text {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-newsletter-form {
    display: flex;
    position: relative;
}

.footer-newsletter-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    padding-right: 60px;
}

.footer-newsletter-input:focus {
    outline: none;
}

.footer-newsletter-btn {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter-btn:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .header.scrolled {
        padding: 8px 0;
    }

    .logo img {
        height: 50px;
    }

    .header.scrolled .logo img {
        height: 40px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        background-color: white;
        z-index: 1000;
        transition: var(--transition);
        overflow-y: auto;
        padding: 30px 0;
    }

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

    .nav-list {
        flex-direction: column;
        margin-right: 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .auth-btn {
        margin: 10px 0;
        width: 200px;
        text-align: center;
    }

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

    .footer-widget:first-child {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .container {
        width: 95%;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-form::before {
        display: none;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .contact-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .contact-social {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Language Switcher CSS mới */
.language-switcher {
    position: relative;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(230, 28, 93, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.current-language img {
    border-radius: 2px;
    display: inline-block;
    margin-right: 4px;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    min-width: 140px;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    z-index: 1;
    top: 30px;
    right: 0;
}

.language-dropdown-content a {
    color: var(--text-color);
    padding: 10px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.language-dropdown-content a:hover {
    background-color: rgba(230, 28, 93, 0.1);
    color: var(--primary-color);
}

.language-dropdown:hover .language-dropdown-content {
    display: block;
}

/* Responsive styles */
@media (max-width: 991px) {
    .language-dropdown-content {
        position: static;
        box-shadow: none;
        display: block;
        margin-top: 10px;
    }
    
    .language-dropdown-content a {
        justify-content: center;
    }
    
    .current-language {
        justify-content: center;
    }
}


/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.alert-primary {
    background-color: rgba(230, 28, 93, 0.1);
    color: var(--primary-color);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}