:root {
    --primary-color: #2b5a84; /* Steel Blue */
    --primary-rgb: 43, 90, 132;
    --secondary-color: #f37021; /* Orange */
    --secondary-rgb: 243, 112, 33;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    
    --font-heading: 'Outfit', 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    
    --transition: all 0.3s ease;
}

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

/* Font cho tiếng Trung */
body.lang-zh {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--font-body);
}
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3, body.lang-zh h4, body.lang-zh h5, body.lang-zh h6, body.lang-zh .font-heading {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--font-heading);
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

.section-padding {
    padding: 80px 0;
}

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

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: #1e405e;
    color: #fff;
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary-custom:hover {
    background-color: #d85c13;
    color: #fff;
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Header */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.top-bar a {
    color: #fff;
}
.top-bar a:hover {
    color: var(--secondary-color);
}

.site-header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color);
    padding: 15px 20px !important;
    text-transform: uppercase;
    font-size: 14px;
}

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

/* Language Switcher */
.language-switcher {
    margin-left: 15px;
}
.language-switcher .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}
.language-switcher .dropdown-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.language-switcher .dropdown-toggle::after {
    display: none;
}
.language-switcher .dropdown-toggle .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.language-switcher .dropdown.show .fa-chevron-down {
    transform: rotate(180deg);
}
.language-switcher .lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}
.language-switcher .lang-text {
    font-weight: 600;
}
.language-switcher .dropdown-menu {
    min-width: 150px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 10px !important;
}
.language-switcher .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}
.language-switcher .dropdown-item:hover {
    background-color: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-color);
}
.language-switcher .dropdown-item.active {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero-slider .carousel-item {
    height: 600px;
    position: relative;
    background-color: var(--dark-color);
}
.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}
.hero-slider .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    max-width: 800px;
}
.hero-slider .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-slider .carousel-caption p {
    font-size: 1.2rem;
    color: #f8fafc;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Section Title */
.section-title {
    margin-bottom: 50px;
    text-align: center;
}
.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}
.section-title p {
    color: var(--text-light);
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Services */
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Featured Services */
.featured-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.featured-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.featured-img {
    height: 200px;
    overflow: hidden;
}
.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.featured-card:hover .featured-img img {
    transform: scale(1.05);
}
.featured-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.featured-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.featured-info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.featured-info-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}
.featured-info-list li i {
    color: var(--secondary-color);
    margin-top: 4px;
    margin-right: 10px;
}
.featured-content .btn {
    margin-top: auto;
}

/* Why Choose Us & News */
.feature-box {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.feature-box i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(var(--secondary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.feature-box h4 {
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    margin: 15px;
    border-left: 4px solid var(--primary-color);
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
}
.testimonial-card h5 {
    font-size: 1rem;
    margin: 0;
    color: var(--dark-color);
}

.news-card {
    display: flex;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}
.news-img {
    width: 120px;
    flex-shrink: 0;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-content {
    padding: 15px;
}
.news-content h5 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-content a {
    font-size: 0.9rem;
    font-weight: 600;
}

/* FAQ Accordion */
.custom-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    margin-bottom: 10px;
}
.custom-accordion .accordion-item:last-child {
    border-bottom: none;
}
.custom-accordion .accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    padding: 15px 0;
    background-color: transparent;
    box-shadow: none;
}
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: transparent;
    box-shadow: none;
}
.custom-accordion .accordion-body {
    padding: 0 0 15px 0;
    color: var(--text-light);
}

/* Contact Section */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}
.contact-info-item {
    display: flex;
    margin-bottom: 25px;
}
.contact-info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}
.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.contact-info-item p {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: #cbd5e1;
    padding: 60px 0 20px;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}
.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #cbd5e1;
}
.footer-links a:hover {
    color: var(--secondary-color);
}
.footer-social {
    margin-top: 20px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 10px;
}
.footer-social a:hover {
    background-color: var(--secondary-color);
}
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Floating CTA Mobile */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}
.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #0068ff; /* Zalo color */
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    animation: pulse 2s infinite;
}
.floating-btn:hover {
    color: #fff;
    transform: scale(1.05);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

/* About Page Specific */
.page-banner {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 50px;
}
.banner-content {
    z-index: 2;
    position: relative;
}
.breadcrumb-item a:hover {
    color: var(--secondary-color) !important;
}
.stat-box {
    padding: 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}
.stat-box:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}
.vvm-card {
    transition: var(--transition);
}
.transition-hover {
    transition: all 0.3s ease;
}
.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}
.transition-hover-zoom {
    transition: transform 0.4s ease;
}
.team-card:hover .transition-hover-zoom {
    transform: scale(1.1);
}
.bg-primary-subtle {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
}
.bg-secondary-subtle {
    background-color: rgba(var(--secondary-rgb), 0.1) !important;
}
.border-4 {
    border-width: 4px !important;
}
/* Service Detail Page Specific */
.service-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 20px;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 500;
}
.service-sidebar .list-group-item:hover,
.service-sidebar .list-group-item.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.service-sidebar .list-group-item i {
    margin-right: 10px;
}
.contact-widget {
    background: linear-gradient(135deg, var(--primary-color), #1a365d);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}
.contact-widget i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.process-box {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}
.process-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.process-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb, 17, 30, 48), 0.05);
    z-index: -1;
    line-height: 1;
}
.benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}
.benefit-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
}

/* Pricing Page Specific */
.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.pricing-card.popular {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
    z-index: 2;
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}
.pricing-card.popular .text-muted {
    color: rgba(255,255,255,0.7) !important;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.pricing-card.popular .pricing-price {
    color: #fff;
}
.pricing-unit {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}
.pricing-card.popular .pricing-unit {
    color: rgba(255,255,255,0.7);
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
}
.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}
.pricing-card.popular .pricing-features li {
    border-bottom-color: rgba(255,255,255,0.1);
}
.pricing-features li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}
.pricing-card.popular .pricing-features li i {
    color: var(--secondary-color);
}
.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-slider .carousel-item {
        height: 500px;
    }
    .hero-slider .carousel-caption h1 {
        font-size: 2.5rem;
    }
    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }
    .language-switcher .dropdown-toggle {
        width: 100%;
        justify-content: flex-start;
    }
    .floating-cta {
        display: block;
    }
    .top-bar {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-slider .carousel-item {
        height: 400px;
    }
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }
    .section-padding {
        padding: 50px 0;
    }
    .contact-form-wrap {
        padding: 25px;
    }
    .news-card {
        flex-direction: column;
    }
    .news-img {
        width: 100%;
        height: 200px;
    }
}
