/* Google Fonts */
/* Google Fonts loaded via <link> in HTML */

/* ============================================
   Bảng màu gốc ACC (congtyluatacc.vn)
   Nền trắng sáng tinh - Chữ xám slate - Accent đỏ đô (ACC)
   ============================================ */
:root {
    --primary: #b53333;
    --primary-dark: #942a2a;
    --primary-light: #d63d3d;
    --gold: #c9a84c;
    --gold-light: #dfc06a;
    --white: #ffffff;
    --bg-body: #f2f2f2;
    --bg-section: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-input: #f8fafc;
    --text-heading: #0f172a;
    --text-body: #212529; /* Tối hơn, gần như đen để dễ đọc */
    --text-muted: #495057; /* Tối hơn */
    --text-light: #6c757d; /* Tối hơn */
    --border: #e2e8f0;
    --border-input: #d1d5db;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.06);
    --radius: 10px;
}

/* ============================================
   Base
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text-body);
    line-height: 1.75;
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text-heading);
    line-height: 1.3;
}

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

ul { list-style: none; }

p {
    text-align: justify;
    margin-bottom: 16px;
}

.service-detail-content li {
    text-align: justify;
}

.featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


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

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

.text-center { text-align: center; }
.text-center p, .section-header p { text-align: center; }

/* ============================================
   Buttons (ACC style)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(201, 168, 76, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 15px 36px;
    font-size: 15px;
}

/* ============================================
   Header (White style)
   ============================================ */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-weight: 700;
    color: var(--text-heading);
    font-size: 18px;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.5px;
}

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

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

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

.header-contact .btn-gold {
    background: linear-gradient(135deg, var(--primary) 0%, #d4af37 100%);
    color: var(--white);
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    box-shadow: 0 6px 15px rgba(181, 51, 51, 0.3), inset 0 -4px 0 rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 1px;
}

.header-contact .btn-gold:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #e5c158 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(181, 51, 51, 0.4), inset 0 -4px 0 rgba(0,0,0,0.2);
    color: var(--white);
}

.header-contact .btn-gold i {
    margin-right: 8px;
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-heading);
    font-size: 22px;
    cursor: pointer;
}

/* ============================================
   Dropdown Menu (WordPress)
   ============================================ */
.main-nav .has-dropdown {
    position: relative;
}

.main-nav .has-dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 6px;
    transition: var(--transition);
}

.main-nav .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 260px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 0 !important;
    z-index: 9999;
    border-top: 3px solid var(--primary);
    flex-direction: column;
    gap: 0 !important;
}

.main-nav .dropdown-menu li {
    display: block !important;
    margin: 0 !important;
}

.main-nav .dropdown-menu li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text-heading) !important;
    white-space: nowrap;
    transition: var(--transition);
}

.main-nav .dropdown-menu li a:hover {
    background-color: var(--bg-alt);
    color: var(--primary) !important;
    padding-left: 24px !important;
}

.main-nav .dropdown-menu li a i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    font-size: 14px;
}

.main-nav .has-dropdown:hover .dropdown-menu {
    display: flex !important;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   Hero Banner (Centered + Watermark Style)
   ============================================ */
.hero-banner {
    background: url('../images/hero_bg.png') center/cover no-repeat;
    position: relative;
    padding: 90px 0 80px;
    color: var(--white);
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(100, 20, 20, 0.85) 50%, rgba(181, 51, 51, 0.80) 100%);
}

/* Decorative watermark scales - subtle, elegant background element */
.hero-watermark {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 550px;
    height: 550px;
    z-index: 1;
    pointer-events: none;
}

.hero-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.15;
    filter: blur(0px);
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFD700;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 32px;
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-tagline i {
    font-size: 18px;
    color: #FFD700;
}

.hero-title {
    color: var(--white);
    font-size: 50px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: 'Times New Roman', Times, serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--gold-light);
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-top: 8px;
}

.hero-description {
    font-size: 17px;
    margin-bottom: 36px;
    opacity: 0.92;
    line-height: 1.8;
    max-width: 650px;
    color: var(--white);
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Remove the old separate image approach */
.hero-image { display: none; }

/* ---- Consultation Form (ACC style: trắng, border nhạt) ---- */
.hero-form-wrapper {
    flex: 0 0 380px;
}

.consultation-form {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.consultation-form h3 {
    font-size: 18px;
    color: var(--text-heading);
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    margin-bottom: 6px;
}

.consultation-form h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.consultation-form > p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background-color: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    color: var(--text-heading);
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group select { color: var(--text-light); }
.form-group select option { color: var(--text-heading); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(181, 51, 51, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 65px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Times New Roman', Times, serif;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(181, 51, 51, 0.2);
}

/* ============================================
   Stats Bar (ACC: nền trắng, border, shadow nhẹ)
   ============================================ */
.stats-bar {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?auto=format&fit=crop&q=80') center/cover fixed;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ============================================
   Section Header (shared)
   ============================================ */
.section-header { margin-bottom: 44px; }

.section-header h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

.divider {
    height: 3px;
    width: 50px;
    background: var(--primary);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.divider-left {
    margin-left: 0;
    margin-right: auto;
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   Services (ACC: card trắng, border nhạt, shadow nhẹ)
   ============================================ */
.services-section {
    padding: 70px 0;
    background-color: var(--bg-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--white) 0%, #fff5f5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(181, 51, 51, 0.15);
    border: 2px solid rgba(181, 51, 51, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border-radius: 50%;
    border: 1px dashed var(--gold);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--gold);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(181, 51, 51, 0.3);
    border-color: var(--primary);
}

.service-card:hover .service-icon::after {
    opacity: 1;
    transform: rotate(45deg);
}

.service-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    color: var(--text-heading);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.65;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover { color: var(--primary-dark); }

.read-more i {
    font-size: 12px;
    transition: var(--transition);
}

.read-more:hover i { transform: translateX(4px); }

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 70px 0;
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-content { flex: 1; }

.about-content h2 {
    font-size: 32px;
    margin-bottom: 14px;
}

.about-intro {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 26px;
    line-height: 1.8;
}

.features-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.features-list > li > i {
    font-size: 18px;
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.features-list h4 {
    font-size: 15px;
    margin-bottom: 3px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    color: var(--text-heading);
}

.features-list li p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.about-image { flex: 0 0 340px; }

.about-img-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    height: 380px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 70px;
    position: relative;
}

.floating-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 140px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

/* ============================================
   Knowledge Section
   ============================================ */
.knowledge-section {
    padding: 70px 0;
    background-color: var(--bg-section);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.knowledge-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.knowledge-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.knowledge-img {
    height: 150px;
    background: linear-gradient(rgba(181, 51, 51, 0.85), rgba(181, 51, 51, 0.85)), url('https://images.unsplash.com/photo-1589391886645-d51941baf7fb?auto=format&fit=crop&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.6);
}

.knowledge-body { padding: 22px; }

.knowledge-tag {
    display: inline-block;
    background-color: var(--bg-alt);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.knowledge-body h3 {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    color: var(--text-heading);
}

.knowledge-body h3 a:hover { color: var(--primary); }

.knowledge-body > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(rgba(148, 42, 42, 0.92), rgba(148, 42, 42, 0.92)), url('https://images.unsplash.com/photo-1453733190371-0a9bed180425?auto=format&fit=crop&q=80') center/cover fixed;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 12px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

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

/* ============================================
   Footer (ACC: nền xám đậm vừa)
   ============================================ */
.site-footer {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 32px;
}

.footer-logo {
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-col.about {
    text-align: center;
}

.footer-col.about h3::after {
    left: 50%;
    transform: translateX(-50%);
}

.footer-col.about p {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.8;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 16px;
    padding-bottom: 10px;
    position: relative;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.footer-logo {
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-bottom: 22px !important;
    margin-bottom: 20px !important;
    color: #ffd700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    position: relative;
}

.footer-logo::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: #ffd700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    z-index: 1;
}

.footer-logo::after {
    content: "\f005"; /* Ngôi sao */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #ffd700;
    font-size: 11px;
    background-color: var(--primary-dark);
    padding: 0 10px;
    z-index: 2;
}

.footer-col ul li {
    margin-bottom: 9px;
    font-size: 14px;
}

.footer-col.links ul li a {
    color: rgba(255, 255, 255, 0.95);
}

.footer-col.links ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col.contact ul li {
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.55;
}

.footer-col.contact i {
    color: var(--primary-light);
    width: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 13px;
}

.footer-col.contact a { color: rgba(255, 255, 255, 0.95); }
.footer-col.contact a:hover { color: var(--white); }

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 16px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    text-align: center !important;
    width: 100%;
    margin: 0 auto;
}

.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { text-decoration: underline; }

/* ============================================
   Sticky Contact Buttons
   ============================================ */
.sticky-contact {
    position: fixed;
    right: 20px;
    bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.phone-btn { background: #e53935; }

.zalo-btn {
    background: #0068ff;
    font-style: normal;
    font-weight: 700;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
}

.icon-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid;
    animation: pulse 1.5s infinite;
    pointer-events: none;
}

.phone-btn .icon-ring { border-color: #e53935; }
.zalo-btn .icon-ring { border-color: #0068ff; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.5); opacity: 0; }
}

.tooltip {
    position: absolute;
    right: 60px;
    background: var(--white);
    color: var(--text-heading);
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

.contact-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Scroll To Top
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 150px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-heading);
    border: 1px solid var(--border);
    font-size: 15px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-sm);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-container, .about-container { flex-direction: column; }
    .hero-banner { padding: 50px 0; min-height: auto; }
    .hero-content { text-align: center; }
    .hero-description { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-form-wrapper { flex: auto; width: 100%; max-width: 420px; }
    .services-grid, .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; }
    .about-image { flex: auto; width: 100%; max-width: 380px; margin: 0 auto; }
    .about-content .divider-left { margin: 0 auto 16px; }
    .about-content { text-align: center; }
    .features-list li { text-align: left; }
}





/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    flex: 0 0 calc(50% - 15px); /* Show 2 cards */
    position: relative;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%; /* Show 1 card on mobile */
    }
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 16px;
}

.testimonial-card .quote {
    font-size: 16px;
    color: var(--text-body);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.client-info h4 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 5px;
}

.client-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.quote-icon {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-size: 60px;
    color: rgba(181, 51, 51, 0.05); /* very light primary red */
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--text-body);
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.testimonials-carousel {
    padding-left: 60px;
    padding-right: 60px;
}

/* ============================================
   Sidebar Layout & Widgets
   ============================================ */
.page-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.widget-title {
    font-size: 16px;
    color: var(--text-heading);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.5px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--primary-dark);
}

.recent-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
    align-items: center;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: cover;
}

.recent-post-info a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.recent-post-info a:hover {
    color: var(--primary-dark);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.service-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-list a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.service-list a:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

.service-list a i {
    color: var(--primary-dark);
    font-size: 12px;
}

@media (max-width: 991px) {
    .page-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: static;
    }
}

/* ============================================
   Footer Logo with Image
   ============================================ */
.footer-logo-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    /* Translate Y to align visually with the text which has padding-bottom for the star */
    transform: translateY(-10px);
}

.footer-logo-link .footer-logo {
    margin-bottom: 0 !important; /* The wrapper handles the margin */
}






/* (Cleaned up - old overrides removed) */




/* ============================================
   Responsive: Original Hero & Header
   ============================================ */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; gap: 40px; text-align: center; }
    .hero-content { align-items: center; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-watermark { width: 350px; height: 350px; right: -10%; opacity: 0.8; }
    .services-grid, .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; }
    .about-image { flex: auto; width: 100%; max-width: 380px; margin: 0 auto; }
    .about-content .divider-left { margin: 0 auto 16px; }
    .about-content { text-align: center; }
    .features-list li { text-align: left; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; align-items: center; gap: 15px; }
    .mobile-menu-toggle { display: block; }
    .header-contact { display: none; }
    .hero-title { font-size: 32px; }
    .hero-title span { font-size: 22px; }
    .hero-tagline { font-size: 14px; padding: 8px 20px; letter-spacing: 1.5px; }
    .hero-watermark { width: 200px; height: 200px; right: 5%; }
    .hero-banner { padding: 60px 0 50px; min-height: 400px; }
    .services-grid, .knowledge-grid { grid-template-columns: 1fr; }
    .stats-container { grid-template-columns: 1fr 1fr; gap: 14px; }
    .stat-number { font-size: 20px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .section-header h2, .about-content h2, .cta-section h2 { font-size: 24px; }
    .logo-text { font-size: 16px; }
    .logo-img { height: 40px; }
    .about-img-wrapper { height: 260px; }
}
