:root {
    /* Đổi tone xanh gốc sang các sắc thái Đỏ chuyên nghiệp */
    --primary-red: #D32F2F;      /* Đỏ chủ đạo (thay cho xanh lá) */
    --primary-hover: #B71C1C;    /* Đỏ đậm khi hover */
    --light-red-bg: #FFEBEE;     /* Nền đỏ nhạt (thay cho nền vàng/xanh nhạt) */
    --text-dark: #333333;
    --text-light: #777777;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #FAFAFA; /* Màu nền tệp với ảnh gốc */
    color: var(--text-dark);
    /* Custom trỏ chuột bằng hình ảnh */
h     cursor: url("../images/tro-chuot.png"), auto;
    /* Thêm đường dẫn tuyệt đối làm phương án dự phòng (fallback) trên localhost */
    cursor: url("/agency-website/assets/images/tro-chuot.png"), url("../images/tro-chuot.png"), auto;
}

/* Trỏ chuột khi hover vào các liên kết, nút bấm */
a, button, .btn, .main-nav__link, .filter-btn, .scroll-top-btn, select {
    cursor: url("../images/tro-chuot.png"), pointer !important;
    cursor: url("/agency-website/assets/images/tro-chuot.png"), url("../images/tro-chuot.png"), pointer !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Wrapper --- */
.site-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* --- Top Bar màu đỏ --- */
.site-header__top-bar {
    width: 100%;
    height: 72px; /* Đặt chiều cao thanh đỏ 50px */
    background-color: var(--primary-red);
}

.site-header__container {
    position: relative;
    margin: -40px auto 0; /* Kéo lên -35px để cắt vắt ngang ranh giới Top-bar 50px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1120px;
    height: 79px; /* Đặt chiều cao thanh Menu thành 70px (một nửa của nó là 35px) */
    background-color: rgba(255, 255, 255, 0.85); /* Nền kính mờ trong suốt */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px; /* Khung hình viên thuốc (pill) */
    padding: 0 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Đổ bóng sâu hơn để nổi bật */
    transition: all 0.3s ease;
}

/* -- Khu vực Logo -- */
.site-header__logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--primary-red); /* Viền đỏ cho Logo theo yêu cầu */
    object-fit: cover;
}

/* -- Khu vực Center Navigation -- */
.main-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    text-decoration: none;
    color: #3F4338;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold; /* Làm đậm chữ danh mục menu */
    font-size: 16px;
    padding: 10px;
    border-radius: 30px; /* Nút hình pill khi active */
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap; /* Bắt buộc các chữ như "Trang Chủ", "Tuyển Dụng" không được rớt xuống dòng */
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.main-nav__link:hover {
    color: var(--primary-red);
    background-color: var(--light-red-bg); /* Thêm nền đỏ nhạt bao quanh chữ */
    transform: translateY(-2px); /* Hiệu ứng nảy lên */
}

/* Trạng thái Active */
.main-nav__link--active,
.main-nav__link--active:hover {
    background-color: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(190, 30, 45, 0.4); /* Glow sáng màu đỏ */
    transform: translateY(0); /* Giữ cố định */
    border: none; /* Xóa viền đen/outline không mong muốn */
    outline: none;
}

/* Hiệu ứng gạch chân mỏng màu đỏ khi Hover vào thẻ có dropdown */
.main-nav__item--has-dropdown > .main-nav__link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}
.main-nav__item--has-dropdown:hover > .main-nav__link::after {
    width: calc(100% - 30px); /* Thanh gạch dài theo chữ */
}

.icon-dropdown {
    transition: transform 0.3s ease;
}

.main-nav__item:hover .icon-dropdown {
    transform: rotate(180deg);
}

/* -- Dropdown Menu (Sub-nav) -- */
.sub-nav__list {
    position: absolute;
    top: calc(100% + 15px); /* Cách header một đoạn */
    left: 0;
    width: 240px; /* Rộng hơn chút xíu */
    background-color: rgba(255, 255, 255, 0.95); /* Kính mờ */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px; /* Bo góc mềm hơn */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 12px 10px; /* Padding trong bao bọc các item */
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95); /* Thêm scale để bung ra */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1050;
    transform-origin: top center;
}

/* Cầu nối tàng hình để không bị mất Dropdown khi trỏ chuột qua khe hở */
.sub-nav__list::before {
    content: '';
    position: absolute;
    top: -15px; left: 0;
    width: 100%; height: 15px;
}

.main-nav__item--has-dropdown:hover .sub-nav__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sub-nav__link {
    display: block;
    padding: 10px 16px;
    margin: 2px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: 500;
    border-radius: 8px; /* Bo góc từng mục bên trong dropdown */
    transition: all 0.2s ease;
}

.sub-nav__link:hover {
    color: var(--primary-red);
    background-color: var(--light-red-bg); /* Đỏ nhạt thay vì xám */
    transform: translateX(5px); /* Dịch nguyên khối chữ sang phải thay vì padding */
}

/* -- Khu vực Right Actions (Lang & CTA) -- */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Thu hẹp khoảng cách giữa icon địa cầu và nút Hotline để nhường chỗ cho Menu */
}

.site-header__lang {
    color: var(--primary-red); /* Icon quả địa cầu màu Đỏ */
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.site-header__lang:hover {
    color: var(--primary-hover);
}

.btn-cta {
    background-color: #BE1E2D;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: bold;
    padding: 3px 10px;
    margin: 0 0 0 10px;
    border-radius: 50px;
    width: 224px;
    height: 47px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #FFFFFF; /* Thêm viền màu trắng 2px */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Thêm đổ bóng màu đen */
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px); /* Nhô lên nhẹ khi hover */
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4); /* Đổ bóng nhấn mạnh 3D */
}

/* -- Hamburger Menu -- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hoạt ảnh biến thành dấu X */
.mobile-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* -- Responsive Mobile -- */
@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 130%; /* Tránh vướng nút bấm Menu Mobile khi hiện Menu ra */
        left: 20px;
        right: 20px;
        background-color: var(--white);
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .main-nav__item {
        width: 100%;
    }

    .main-nav__link {
        width: 100%;
        border-radius: 12px;
    }
    
    /* Responsive Dropdown Menu trên Mobile */
    .sub-nav__list {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        width: 100%;
        display: none;
        padding-left: 20px;
    }
    .main-nav__item--has-dropdown:hover .sub-nav__list {
        display: block;
    }
}

@media (max-width: 576px) {
    .site-header__lang {
        display: none;
    }
    
    .btn-cta {
        padding: 10px 12px;
        width: auto;
        height: auto;
    }

    .btn-cta span {
        display: none; /* Ẩn chữ trên mobile bé, chỉ giữ icon điện thoại */
    }
}

/* --- Buttons --- */
.btn {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--light-red-bg);
}

/* --- Main Hero Section --- */
.main-hero {
    background-color: var(--white); /* Nền trắng sạch sẽ theo yêu cầu */
    position: relative;
    overflow: hidden;
    margin-top: 72px; /* Đẩy xuống đúng bằng chiều cao của Top bar màu đỏ */
}

.hero-swiper {
    width: 100%;
    padding: 0; /* Xóa khoảng trống, cho ảnh dính sát vào mép thanh Top bar */
}

.full-width-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Hero Swiper Custom UI --- */
.hero-swiper .hero-next,
.hero-swiper .hero-prev {
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.7);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.hero-swiper .hero-next:hover,
.hero-swiper .hero-prev:hover {
    background: var(--white);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.hero-swiper .hero-next:after,
.hero-swiper .hero-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.hero-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-red);
    width: 25px;
    border-radius: 5px;
}

/* --- Hero Wave Shape Divider --- */
.hero-wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    z-index: 10; /* Nằm trên ảnh banner nhưng dưới các nội dung khác nếu có */
}

.hero-wave-divider svg {
    display: block;
    width: 100%;
    height: 100px; /* Độ cao mặc định của sóng trên Desktop */
}

.wave-text {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 6px;
    text-transform: uppercase;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 15px;
}

.wave-text::before,
.wave-text::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--primary-red);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .hero-wave-divider svg {
        height: 50px; /* Thu nhỏ sóng lại trên màn hình di động */
    }
    .wave-text {
        bottom: 12px;
        font-size: 12px;
        letter-spacing: 4px;
    }
    .wave-text::before,
    .wave-text::after {
        width: 30px;
    }
}

/* --- Partner Logo Slider --- */
.partner-slider-section {
    padding: 40px 0;
    background-color: #FDF0F0; /* Nền hồng nhạt khớp với màu sóng */
    border-bottom: 1px solid #EEEEEE;
}

.partner-swiper .swiper-wrapper {
    transition-timing-function: linear !important; /* Chìa khóa để Swiper trượt liên tục không bị giật/đứt quãng */
}

.partner-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-swiper img {
    max-width: 140px;
    height: auto;
    mix-blend-mode: screen; /* Xóa nền đen của ảnh logo */
    transition: all 0.3s ease;
}


/* Responsive Main Hero & Slider */
@media (max-width: 576px) {
    .partner-swiper img { max-width: 100px; }
}

/* --- Global Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-top: 10px;
}

/* =========================================
   --- Global Floating Buttons --- 
========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-red);
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background-color: var(--primary-hover);
}

/* =========================================
   --- Partners & Stats Section --- 
========================================= */
.partners-stats {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #FAFAFA;
}

.stats-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 150px); /* Chừa khoảng trống phía dưới để Khối trắng đè lên */
    z-index: 1;
    overflow: hidden;
}

.stats-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stats-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary-red);
    opacity: 0.9;
    mix-blend-mode: multiply; /* RÀNG BUỘC: Blend mode giúp nhuộm Đỏ ảnh gốc nhưng giữ nguyên vẹn chi tiết người/bàn tay */
    z-index: 2;
}

#particles-js {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3; /* Nằm trên overlay và dưới text */
}

.relative-z {
    position: relative;
    z-index: 10;
}

/* Text Header */
.text-white { color: var(--white) !important; }
.bg-white { background-color: var(--white) !important; }

.stats-top {
    text-align: center;
    margin-bottom: 50px;
}

.stats-title {
    font-size: 36px;
    margin-top: 10px;
}

/* 4 Cột Thống Kê */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 3px solid var(--primary-red); /* Viền màu đỏ */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.stat-num {
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 600;
}

/* Khối Trắng đè lên (Partner Card) */
.partners-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    text-align: center;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Cột Desktop */
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    mix-blend-mode: screen; /* Xóa nền đen của ảnh logo */
    transition: all 0.3s ease;
}


.partners-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.partners-pagination .dot {
    width: 10px;
    height: 10px;
    background-color: #E0E0E0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.partners-pagination .dot.active {
    background-color: var(--primary-red); /* Chấm active màu Đỏ */
    width: 30px;
    border-radius: 5px;
}

.partners-extra-text {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

/* Responsive Mobile/Tablet */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr; }
    .logos-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .partners-card { padding: 35px 20px; }
    .stats-title { font-size: 28px; }
}

/* =========================================
   --- Projects Section --- 
========================================= */
.projects {
    padding: 80px 0;
    background-color: var(--white);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.projects-subtitle { color: var(--primary-red); }
.projects-dot { background-color: var(--primary-red); }

.projects-link {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.projects-link:hover { color: var(--primary-red); }

/* Filter Tabs */
.projects-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 20px;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid transparent;
    background-color: #F5F5F5;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.filter-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #DDD;
    background-color: var(--white);
    color: var(--text-dark);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Grid Layout Dự án */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Thẻ lớn chiếm khoảng 45%, 4 thẻ nhỏ chiếm 55% */
    gap: 30px;
}

.right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2x2 */
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.project-card:hover img {
    transform: scale(1.08); /* Hiệu ứng scale mượt mà */
}

/* Thẻ lớn */
.card-large {
    background-color: #FAFAFA;
    border: 1px solid #EEEEEE;
    display: flex;
    flex-direction: column;
}

.card-large .img-wrapper {
    height: 60%;
    overflow: hidden;
}

.card-large-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.card-large-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.btn-detail {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-detail:hover { background-color: var(--primary-hover); }

/* Thẻ nhỏ */
.card-small {
    position: relative;
    height: 250px;
}

.card-small-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    pointer-events: none; /* Tránh cản trở chuột khi hover */
}

.card-small-title {
    color: var(--white);
    font-size: 18px;
    margin: 0;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .projects-grid { grid-template-columns: 1fr; } /* Đưa về 1 cột dọc trên màn nhỏ */
    .projects-header, .projects-filter { flex-direction: column; align-items: flex-start; gap: 15px; }
}
@media (max-width: 576px) {
    .right-grid { grid-template-columns: 1fr; } /* Thẻ nhỏ về 1 cột trên mobile */
}

/* =========================================
   --- Testimonials Section --- 
========================================= */
.testimonials {
    padding: 100px 0;
    background-color: #FAFAFA;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.testimonials-content {
    flex: 1;
    max-width: 550px;
}

.testimonials-subtitle { color: var(--primary-red); }
.testimonials-dot { background-color: var(--primary-red) !important; }

.testimonials-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
    line-height: 1.3;
}

.testimonial-slider-wrapper {
    position: relative;
    min-height: 220px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -25px;
    left: 40px;
}

.quote-icon svg {
    fill: var(--primary-red);
    opacity: 0.15;
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--light-red-bg); }
.author-name { font-size: 18px; margin-bottom: 5px; }
.author-role { font-size: 14px; color: var(--text-light); }

.testimonial-controls { display: flex; gap: 15px; margin-top: 30px; }

/* JS Fade Transition */
.fade-element { transition: opacity 0.4s ease, transform 0.4s ease; opacity: 1; transform: translateY(0); }
.fade-element.hide { opacity: 0; transform: translateY(15px); }

/* Cột phải: Hình ảnh */
.testimonials-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 550px;
}

.bg-circle-red {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--light-red-bg) 0%, transparent 75%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.mockup-img { position: relative; z-index: 2; max-width: 100%; height: auto; object-fit: contain; }

/* Responsive */
@media (max-width: 992px) {
    .testimonials-container { flex-direction: column; }
    .testimonials-content { max-width: 100%; text-align: center; }
    .testimonial-controls { justify-content: center; }
    .quote-icon { left: 50%; transform: translateX(-50%); }
}

/* =========================================
   --- News & Blog Section --- 
========================================= */
.news-blog {
    padding: 80px 0;
    background-color: var(--white);
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-subtitle { color: var(--primary-red); }
.news-dot { background-color: var(--primary-red) !important; }

.news-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.news-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Bao bọc Slider và Nút bấm */
.news-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 50px; /* Nhường chỗ cho nút mũi tên 2 bên */
}

/* Nút điều hướng */
.news-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
    transition: background-color 0.3s;
}

.news-nav-btn:hover { background-color: var(--primary-hover); }
.prev-news { left: 0; }
.next-news { right: 0; }

/* Thẻ Bài viết */
.news-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img {
    height: 220px;
    width: 100%;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge "ĐỌC GÌ HÔM NAY" nối bằng đường kẻ */
.news-badge-container {
    position: relative;
    text-align: center;
    margin-top: -14px; /* Đè lên giữa ranh giới ảnh và nội dung */
    z-index: 5;
}

.news-badge-container::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 1px;
    background-color: var(--primary-red);
    z-index: -1;
}

.news-badge {
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    display: inline-block;
}

.news-content { padding: 25px 25px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.news-title { font-size: 18px; color: var(--primary-red); margin-bottom: 15px; line-height: 1.4; }
.news-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.news-action { text-align: right; }
.news-link { color: var(--primary-red); font-weight: 600; font-size: 14px; text-decoration: none; transition: color 0.3s; }
.news-link:hover { color: var(--primary-hover); }

/* Responsive */
@media (max-width: 768px) {
    .news-slider-wrapper { padding: 0 10px; }
    .news-nav-btn { display: none; /* Ẩn mũi tên trên mobile để dùng vuốt */ }
}

/* =========================================
   --- Footer Section --- 
========================================= */
.main-footer {
    background-color: var(--primary-red);
    /* Họa tiết lượn sóng mạng lưới in mờ */
    background-image: url('https://via.placeholder.com/1920x500/D32F2F/C62828?text=Network+Wave+Pattern');
    background-blend-mode: multiply;
    background-position: bottom right;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 80px 0 50px;
}

.footer-logo h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-logo h2 span {
    font-weight: 800;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

/* Gạch chân ngắn dưới các Title của Footer */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

/* Icon mũi tên trước mỗi link */
.footer-links a::before {
    content: '\276F';
    font-size: 11px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.footer-links a:hover { opacity: 1; transform: translateX(5px); }

.footer-contact { list-style: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; font-size: 14px; line-height: 1.5; opacity: 0.9; }
.footer-contact svg { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 50px; }
}
@media (max-width: 576px) {
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================
   --- Inner Pages Header (Banner trang con) --- 
========================================= */
.inner-page-header {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    /* Dùng chung pattern lưới mờ giống footer để tạo sự đồng bộ */
    background-image: url('https://via.placeholder.com/1920x300/D32F2F/C62828?text=Pattern');
    background-blend-mode: multiply;
}

.inner-page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.inner-page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* =========================================
   --- Custom Animations & Scroll Reveals --- 
========================================= */

/* 1. Hiệu ứng trôi nổi liên tục cho các thẻ lơ lửng */
@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: floatAnim 4s ease-in-out infinite;
}
.float-delay {
    animation-delay: 2s; /* Trễ nhịp để lơ lửng so le nhau */
}

/* 2. Các class hiệu ứng xuất hiện khi cuộn trang (Scroll Reveal) */
.reveal-up { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-scale { opacity: 0; transform: scale(0.85); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.reveal-up.active, 
.reveal-left.active, 
.reveal-right.active, 
.reveal-scale.active {
    opacity: 1; 
    transform: translate(0) scale(1);
}

/* Thời gian trễ (stagger) cho các ô Grid đứng cạnh nhau */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* =========================================
   --- Open Letter Section (Thư Ngỏ) --- 
========================================= */
.open-letter-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.open-letter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Cột Trái: Văn bản chiếm 60% */
.open-letter-content {
    flex: 0 0 58%;
    max-width: 58%;
}

.open-letter-title {
    color: #BE1E2D; /* Màu đỏ chủ đạo */
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Playfair Display', 'Times New Roman', serif; /* Tạo cảm giác thư pháp sang trọng */
}

.open-letter-content .greeting {
    color: #000000;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, Arial, Lucida, sans-serif;
}

.letter-body p,
.letter-body span {
    color: #0E3746;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;    
    font-family: Arial, Helvetica, Arial, Lucida, sans-serif;
}

/* Cột Phải: Hình ảnh chiếm 40% */
.open-letter-image {
    flex: 0 0 38%;
    max-width: 38%;
}

.open-letter-image .image-wrapper {
    padding: 15px;
    background-color: var(--white);
    border: 3px solid #BE1E2D; /* Viền đỏ bo góc ngoài */
    border-radius: 40px; /* Bo góc lớn */
    box-shadow: 0 15px 35px rgba(190, 30, 45, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.open-letter-image img {
    width: 100%;
    height: auto;
    border-radius: 28px; /* Bo góc trong cho sát với viền */
    object-fit: cover;
    display: block;
}

/* Đảm bảo Responsive: Chồng nhau trên mobile */
@media (max-width: 992px) {
    .open-letter-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .open-letter-content, 
    .open-letter-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .open-letter-image .image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
}

.section-header .df-heading {
    font-size: 36px;
    color: var(--text-dark);
    margin-top: 0; /* Gỡ bỏ margin mặc định của thẻ h1 */
}

.section-header .df-heading .infix {
    color: var(--primary-red);
}

/* =========================================
   --- Pricing Section (Bảng giá) --- 
========================================= */
.pricing-section {
    background-color: #F8FAFC; /* Chuẩn bg-slate-50 */
    padding: 50px 0; /* Thu bớt khoảng trống trên/dưới từ 80px xuống 50px */
}

.pricing-title {
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 30px; /* text-3xl */
    color: #1E293B; /* text-slate-800 */
    margin-bottom: 35px; /* Thu bớt khoảng cách tới các thẻ giá từ 50px xuống 35px */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* md:grid-cols-3 */
    gap: 32px; /* gap-8 */
    max-width: 1152px; /* max-w-6xl */
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 16px; /* rounded-2xl */
    box-shadow: 0 10px 25px rgba(0,0,0,0.06); /* shadow-lg nhẹ nhàng */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(190, 30, 45, 0.12); /* Đổ bóng ánh đỏ khi hover */
}

.pricing-header {
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    font-size: 20px; /* text-lg/xl */
    text-align: center;
    padding: 16px 24px; /* py-4 px-6 */
}

.pricing-price-box {
    padding: 32px 0; /* py-8 */
    text-align: center;
    border-bottom: 1px solid #F3F4F6; /* border-gray-100 */
    margin: 0 24px;
}

.pricing-price {
    font-size: 36px; /* text-4xl */
    font-weight: 700;
    color: var(--primary-red);
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
}

.pricing-price .currency {
    font-size: 18px; /* superscript nhỏ hơn */
    font-weight: 600;
    margin-right: 4px;
    margin-top: 4px;
    text-decoration: underline;
}

.pricing-features {
    list-style: none;
    padding: 24px;
    margin: 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 12px 0; /* py-3 */
    color: #475569; /* text-slate-600 */
    font-size: 14.5px; /* text-sm/base */
    display: flex;
    align-items: flex-start;
    border-bottom: 1px dashed #F1F5F9; /* Vạch kẻ ngang ngắt các dòng tính năng */
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Nút tròn nhỏ màu đỏ (Red Dot) */
.pricing-features li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-red); 
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 6px;
    flex-shrink: 0;
}

/* Nút Đăng Ký Ngay */
.pricing-action {
    padding: 0 24px 32px;
}

.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 8px; /* Bo góc vừa phải */
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 15px rgba(190, 30, 45, 0.25);
}

/* =========================================
   --- Animation cho Tabs --- 
========================================= */
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-tab {
    animation: fadeInTab 0.4s ease forwards;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    
    .features-layout {
        flex-direction: column;
    }
    
    .features-tabs-box, .features-image {
        flex: 1 1 100%;
    }
    
    /* Mobile Tabs nằm ngang */
    .features-tabs-box {
        flex-direction: column;
    }
    .tabs-menu {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }
    .tab-btn { flex: 1; border-bottom: none; border-right: 1px solid #E2E8F0; padding: 15px; }
    .tab-btn:last-child { border-right: none; }
    
}

/* Responsive Grid */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    
    .features-layout {
        flex-direction: column;
    }
    
    .features-tabs-box, .features-image {
        flex: 1 1 100%;
    }
    
    /* Mobile Tabs nằm ngang */
    .features-tabs-box {
        flex-direction: column;
    }
    .tabs-menu {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }
    .tab-btn { flex: 1; border-bottom: none; border-right: 1px solid #E2E8F0; padding: 15px; }
    .tab-btn:last-child { border-right: none; }
    
}