/* =================================
   CSS CHO PHẦN HEADER VÀ LOGO
   ================================= */

/* Container chính của logo (thẻ a) */
.navbar-brand {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

/* Hình ảnh logo */
.brand-logo-img {
    height: 45px; /* Điều chỉnh chiều cao logo cho phù hợp */
    margin-right: 15px; /* Khoảng cách giữa logo và chữ */
}

/* Container chứa 2 dòng chữ */
.brand-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2; /* Giảm khoảng cách giữa 2 dòng */
}

/* Dòng chữ trên: CÔNG TY CỔ PHẦN... */
.brand-line-1 {
    font-size: 0.75rem; /* Cỡ chữ nhỏ */
    color: #e0e0e0; /* Màu trắng xám */
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Dòng chữ dưới: THẮNG LỢI TOÀN CẦU */
.brand-line-2 {
    font-size: 1.1rem; /* Cỡ chữ to hơn */
    font-weight: 700; /* In đậm */
    color: #ffd700; /* Màu vàng gold */
    text-transform: uppercase;
    /* Hiệu ứng tỏa sáng nhẹ */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

/* CSS cho thanh menu tối màu để giống với mẫu */
.navbar {
    background-color: #1a202c !important; /* Màu nền tối */
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important; /* Màu chữ menu */
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff !important; /* Màu chữ khi hover hoặc active */
}

/* =================================
   CSS CHUNG CHO TRANG WEB (đã di chuyển từ file HTML)
   ================================= */
/* Thêm vào file style.css */

/* === HEADER UPDATE === */
.top-bar-info { color: #fff; }
.hotline-box { display: flex; align-items: center; }
.hotline-text a { color: #fff; text-decoration: none; font-weight: bold; }
.hotline-box i { color: #ffd700; margin-right: 8px; }
.lang-flag { height: 16px; margin-left: 5px; opacity: 0.8; transition: opacity 0.3s; }
.lang-flag:hover { opacity: 1; }
.navbar-nav { gap: 1rem; } /* Khoảng cách giữa các mục menu */

/* === HERO CAROUSEL === */
#hero-carousel .carousel-item {
    height: 85vh; /* Chiều cao của banner */
    min-height: 650px;
    background-color: #1a202c;
}
.carousel-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6); /* Làm tối ảnh nền đi một chút */
    transition: transform 1s ease-in-out; /* Hiệu ứng zoom nhẹ khi chuyển slide */
}
.carousel-item.active .carousel-bg-image {
    transform: scale(1.05);
}
#hero-carousel .carousel-item img {
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh nền lấp đầy, không bị méo */
    filter: brightness(0.8); /* Làm ảnh nền tối đi một chút */
}
#hero-carousel .carousel-caption {
    position: absolute;
    top: 0;
    left: auto;
    right: 5%;
    bottom: 0;
    width: 45%;
    max-width: 550px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 2rem;
}
.hero-content-box {
    background: rgba(26, 32, 44, 0.65);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-logo {
    height: 60px;
    margin-bottom: 1rem;
    margin-left: 4rem;
}
.hero-content-box h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffc107;
    text-transform: uppercase;
}
.hero-content-box .subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.hero-benefits-list {
    list-style: none;
    font-size: 2.5rem;
    color: #ffc107;
    padding-left: 0;
    font-weight: 500;
    /*text-transform: uppercase;*/
}
.hero-benefits-list li {
    margin-bottom: 12px;
    font-size: 1rem;
}
.hero-benefits-list i {
    color: #ffd700;
    margin-right: 12px;
    margin-top: 4px;
}
.hero-cta {
    text-align: center;
    font-weight: bold;
}
.hero-cta span { display: block; }
.hero-cta .hotline {
    font-size: 2.2rem;
    color: red;
    letter-spacing: 1px;
}

/* === STATS SECTION === */
.stats-section {
    background-color: #1a202c !important;
    color: #fff;
    padding: 80px 0;
    position: relative;
}
.floating-call-btn {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffd700;
    color: #1a1a1a;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s;
}
.floating-call-btn:hover {
    transform: translateY(-50%) scale(1.05);
    color: #000;
}
.floating-call-btn i {
    margin-right: 10px;
}
.stat-item {
    text-align: center;
}
.stat-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
}
.stat-description {
    color: #a0a0a0;
}
/* ==================================
   === STICKY CALL-TO-ACTION (CTA) BUTTON ===
   ================================== */
.sticky-cta {
    position: fixed; /* Luôn cố định trên màn hình */
    bottom: 30px;
    right: 30px;
    background: linear-gradient(90deg, #ffd700, #ffb700); /* Màu vàng gradient đẹp mắt */
    color: #1a202c; /* Màu chữ tối */
    border-radius: 20px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    z-index: 1050; /* Phải nằm trên các thành phần khác */

    /* Hiển thị luôn, không cần transform */
    opacity: 1;
    transform: none;

    /* Hiệu ứng khi hover */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.sticky-cta:hover {
    transform: scale(1.05); /* Phóng to nhẹ khi hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.sticky-cta .cta-text {
    margin-right: 20px;
    text-align: right;
}

.sticky-cta .cta-text span {
    display: block;
    line-height: 1.3;
}

.sticky-cta .cta-text .cta-hotline {
    font-size: 1.2rem;
    font-weight: 700;
}

.sticky-cta .cta-icon {
    font-size: 2rem;
}
/* ==================================
   === ABOUT US SECTION ===
   ================================== */
.about-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Màu nền xám rất nhạt để tách biệt khỏi các section khác */
}

.about-image-container img {
    border: 10px solid #ffffff; /* Tạo đường viền trắng cho ảnh */
}

.about-content .eyebrow {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffd700; /* Màu xanh dương chủ đạo */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529; /* Màu chữ chính (đen đậm) */
    margin-bottom: 20px;
}

.about-content .intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d; /* Màu chữ phụ (xám) */
    margin-bottom: 30px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Chia 2 cột bằng nhau */
    gap: 30px; /* Khoảng cách giữa 2 cột */
    border-top: 1px solid #dee2e6; /* Đường kẻ ngang phân cách */
    padding-top: 30px;
}

.mv-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
}

.mv-item h4 i {
    color: #ffd700;
    margin-right: 10px;
}

.mv-item p {
    font-size: 1rem;
    color: #6c757d;
}

/* Tùy chỉnh nút primary của Bootstrap cho phù hợp hơn */
.btn-primary {
    background-color: #ffd700;
    border-color: #ffd700;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffca00;
    border-color: #fca311;
    transform: translateY(-2px); /* Hiệu ứng nhấc lên khi hover */
}
/* ==================================
   === SERVICES SECTION (DARK THEME) ===
   ================================== */
.services-section {
    padding: 80px 0;
    background-color: #1a202c !important; /* MÀU NỀN TỐI MỚI */
    color: #fff; /* Chuyển màu chữ mặc định sang trắng */
}

/* Cập nhật tiêu đề để nổi bật trên nền tối */
.section-header h2 {
    color: #fff; /* Chữ tiêu đề màu trắng */
}
.section-header .subtitle {
    color: #adb5bd; /* Chữ phụ màu xám nhạt */
}

/* Cập nhật bộ lọc cho nền tối */
.service-filter-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
    gap: 15px;
}
.service-filter-list li {
    padding: 10px 25px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #495057; /* Viền màu xám đậm hơn */
    color: #dee2e6; /* Chữ màu xám nhạt */
    border-radius: 50px;
    transition: all 0.3s ease;
}
.service-filter-list li:hover {
    background-color: #343a40; /* Nền tối hơn khi hover */
    border-color: #495057;
}
.service-filter-list li.active {
    background-color: #ffd700; /* Màu vàng active giữ nguyên */
    color: #1a202c; /* Chữ màu đen khi active */
    border-color: #ffd700;
}

/* Các phần còn lại của service-grid giữ nguyên, chúng đã phù hợp với nền tối */
.service-grid {
    position: relative;
}
.service-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.service-item.hidden {
    transform: scale(0.8);
    opacity: 0;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}
.service-card-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Giảm độ gắt của shadow */
}
.service-card-image {
    height: 400px;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card-link:hover .service-card-image img {
    transform: scale(1.1);
}
.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}
.service-card-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
/* ==================================
   === STRENGTHS SECTION ===
   ================================== */
.strengths-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Nền xám nhạt */
}

.strengths-section h2{
    color: #1a202c;
}
.strength-card {
    display: flex;
    align-items: flex-start; /* Canh lề trên cho icon và text */
    gap: 25px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.strength-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.strength-icon {
    flex-shrink: 0; /* Không bị co lại */
    width: 70px;
    height: 70px;
    background-color: #e7f1ff; /* Nền xanh dương nhạt */
    color: #0d6efd; /* Màu icon xanh dương */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
}

.strength-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
}
.strength-content p {
    color: #000000;
    line-height: 1.6;
}

/* ==================================
   === CONTACT FORM SECTION (UPDATED) ===
   ================================== */
.contact-form-section {
    position: relative;
    padding: 100px 0;
    background-color: #1a202c !important;
}


.contact-form-section .container {
    z-index: 2;
}
.contact-form-section .section-header .subtitle {
    color: #ced4da;
}

/* Tùy chỉnh form */
.contact-form .form-control, .contact-form .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
}
.contact-form .form-control::placeholder {
    color: #adb5bd;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffd700;
    box-shadow: none;
    color: #fff;
}

/* CSS cho thẻ select */
.contact-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* THAY ĐỔI QUAN TRỌNG: CSS cho các thẻ option bên trong select */
.contact-form .form-select option {
    background-color: #343a40; /* Nền tối cho từng lựa chọn */
    color: #fff; /* Chữ trắng */
}

/* Nút Gửi Yêu Cầu */
.contact-form .btn-primary {
    background-color: #ffd700;
    border-color: #ffd700;
    color: #1a202c;
    padding: 15px 40px;
    font-weight: bold;
}
.contact-form .btn-primary:hover {
    background-color: #ffca00;
    border-color: #ffca00;
}
/* ==================================
   === PARTNERS SECTION ===
   ================================== */
.partners-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.partners-section .section-header h2 {
    color: #212529;
}
.partners-section .section-header .subtitle {
    color: #6c757d;
}

/* Tùy chỉnh slider */
.partner-slider {
    padding: 20px 0 50px 0; /* Thêm padding dưới để chứa pagination */
}

.partner-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Chiều cao cố định cho mỗi slide */
}

.partner-slider .swiper-slide img {
    max-height: 80px; /* Chiều cao tối đa của logo */
    width: auto;
    max-width: 100%;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Tùy chỉnh pagination (dấu chấm tròn) của Swiper */
.partner-slider .swiper-pagination-bullet {
    background-color: #adb5bd;
}
.partner-slider .swiper-pagination-bullet-active {
    background-color: #ffd700;
}
/* ==================================
   === FOOTER SECTION ===
   ================================== */
.footer-section {
    background-color: #1a202c; /* Nền tối giống header */
    color: #adb5bd; /* Màu chữ phụ mặc định */
    padding-top: 80px;
}

.footer-widget .widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
/* Tạo đường gạch chân nhỏ dưới tiêu đề widget */
.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ffd700; /* Màu vàng */
}

.footer-logo img {
    max-height: none;
}

.footer-about-text {
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}
.footer-social-links a:hover {
    background-color: #ffd700;
    color: #1a202c;
}

/* Danh sách liên kết */
.footer-links-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
}
.footer-links-list li,
.footer-contact-list li {
    margin-bottom: 12px;
}
.footer-links-list a,
.footer-contact-list a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-links-list a:hover {
    color: #fff;
    padding-left: 5px; /* Hiệu ứng thụt vào khi hover */
}

/* Danh sách liên hệ với icon */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
}
.footer-contact-list i {
    color: #ffd700;
    margin-right: 15px;
    font-size: 1rem;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

/* Bản đồ */
.footer-map iframe {
    border-radius: 8px;
}

/* Dòng bản quyền */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}
.navbar-brand, .footer-logo-link {
    display: flex; /* BẮT BUỘC: Sử dụng Flexbox để xếp các item cạnh nhau */
    align-items: center; /* Căn giữa các item theo chiều dọc */
    text-decoration: none; /* Bỏ gạch chân của thẻ link */
}
/* Định dạng cho ảnh logo */
.navbar-brand .logo-img {
    height:  45px;
    margin-right: 15px;
}

.footer-logo-link .logo-img {
    height: 55px; /* Chiều cao của logo */
    margin-right: 15px; /* Khoảng cách giữa logo và chữ */
}

/* Khối bao bọc 2 dòng chữ */
.logo-text-wrapper {
    display: flex;
    flex-direction: column; /* Xếp 2 dòng chữ theo chiều dọc */
}

/* Dòng chữ 1: "Công ty dịch vụ bảo vệ" */
.logo-text-wrapper .logo-text-line1 {
    color: #ffffff; /* Màu trắng */
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Dòng chữ 2: "Đại Sơn Long" */
.logo-text-wrapper .logo-text-line2 {
    color: #ffd700; /* Màu vàng */
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
}
/* ==================================
   === GENERIC PAGE HEADER (BANNER) ===
   ================================== */
.page-header {
    position: relative;
    padding: 120px 0;
    background-image: url('../img/about-banner.png'); /* Ảnh nền cho trang giới thiệu */
    background-size: cover;
    background-position: center;
    color: #fff;
}
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Lớp phủ làm tối ảnh nền */
    z-index: 1;
}
.page-header .container {
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* Breadcrumb styling */
.breadcrumb {
    font-size: 1rem;
}
.breadcrumb-item a {
    color: #ffd700; /* Màu vàng cho link */
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #fff; /* Màu trắng cho trang hiện tại */
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #fff; /* Màu của dấu / */
}


/* ==================================
   === MAIN CONTENT AREA (FOR SUBPAGES) ===
   ================================== */
.main-content {
    padding: 80px 0;
    background-color: #f8f9fa; /* Nền xám nhạt */
}
.content-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    margin-top: -120px; /* Hiệu ứng kéo content lên trên banner */
    position: relative;
    z-index: 3;
}
.content-title {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}
.content-title h3 {
    display: inline-block;
    padding: 8px 20px;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1px solid #dee2e6;
    border-left: 5px solid #1a202c !important; /* Điểm nhấn màu đỏ */
}
.content-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}
.content-body .highlight {
    color: #1a202c !important;
    font-weight: bold;
}
.content-body .sub-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: red;
    margin-top: 30px;
    margin-bottom: 20px;
}

.achievements-list {
    list-style: none;
    padding-left: 0;
}
.achievements-list li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.achievements-list li i {
    color: #ffd700; /* Màu icon vàng */
    margin-right: 15px;
    margin-top: 5px;
}
/* ==================================
   === SERVICES PAGE STYLING ===
   ================================== */

/* Ảnh nền riêng cho banner trang dịch vụ */
.services-page-header {
    background-image: url('../img/services-banner.jpg');
}

/* Thẻ dịch vụ trên trang dịch vụ */
.service-card-full {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    text-align: center;
    height: 100%; /* Giúp các card trong cùng 1 hàng cao bằng nhau */
    display: flex;
    flex-direction: column; /* Căn các phần tử theo chiều dọc */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-full:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card-icon {
    font-size: 3rem;
    color: #ffd700; /* Màu vàng */
    margin-bottom: 20px;
}

.service-card-titles {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.service-card-text {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
}
/* ==================================
   === PARTNERS PAGE STYLING ===
   ================================== */

/* Ảnh nền riêng cho banner trang khách hàng */
.partners-page-header {
    background-image: url('../img/partners-banner.jpg');
}
.section-header h3{
    color: #1a202c;
}
/* Hộp chứa logo đối tác */
.partner-logo-box {
    background-color: #fff;
    border: 1px solid #e9ecef;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Hình ảnh logo bên trong */
.partner-logo-box img {
    max-width: 100%;
    max-height: 70px; /* Điều chỉnh chiều cao tối đa của logo */
    filter: grayscale(100%); /* Mặc định là màu xám */
    opacity: 0.7;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.partner-logo-box:hover img {
    filter: grayscale(0%); /* Hiện lại màu gốc khi hover */
    opacity: 1;
}
/* ==================================
   === RECRUITMENT PAGE STYLING ===
   ================================== */

/* Ảnh nền riêng cho banner trang tuyển dụng */
.recruitment-page-header {
    background-image: url('../img/recruitment-banner.jpg');
}

.recruitment-content .recruitment-main-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #212529;
}
.recruitment-content .company-name-highlight {
    text-align: center;
    font-weight: 600;
    color: #555;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}
.recruitment-content .intro-paragraph {
    font-size: 1.1rem;
    font-style: italic;
    color: #6c757d;
    text-align: center;
    margin-bottom: 40px;
}

.recruitment-section {
    margin-bottom: 40px;
}
.recruitment-section .section-sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d6efd; /* Màu xanh dương */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e7f1ff;
}
.recruitment-section .section-sub-title i {
    margin-right: 10px;
}
.recruitment-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.recruitment-section h5 {
    font-weight: 600;
    margin-top: 20px;
}

/* Định dạng các danh sách */
.position-list, .training-list {
    font-size: 1.1rem;
    list-style-type: '✓ '; /* Dùng dấu tick làm bullet point */
    padding-left: 20px;
}
.position-list li, .training-list li {
    padding-left: 10px;
    margin-bottom: 10px;
}

.commitment-box {
    background-color: #f8f9fa;
    border-left: 5px solid #ffd700; /* Viền vàng */
    padding: 20px 25px;
    margin-top: 20px;
    border-radius: 5px;
}
.commitment-box strong {
    font-size: 1.2rem;
    color: #212529;
}
.commitment-box ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    margin-bottom: 0;
}
.commitment-box ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.commitment-box ul li i {
    color: #198754; /* Màu xanh lá cây */
    margin-right: 10px;
}
/* ==================================
   === NEWS PAGE STYLING ===
   ================================== */

.news-page-header { background-image: url('../img/news-banner.jpg'); }

.news-list-wrapper { margin-bottom: 80px; }

.news-item {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}
.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.news-date {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}
.news-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}
.news-description {
    font-size: 1.1rem;
    line-height: 1.7;
}
.news-image {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Partner Spotlight */
.partner-spotlight-wrapper { margin-bottom: 80px; }
.partner-spotlight-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
}
.partner-spotlight-logo {
    display: block; /* Đảm bảo logo là một khối */
    margin-left: auto; /* Tự động căn lề trái */
    margin-right: auto; /* Tự động căn lề phải */
    margin-bottom: 25px; /* Tăng khoảng cách dưới một chút */

    /* --- PHẦN SỬA LỖI QUAN TRỌNG --- */
    max-height: 55px; /* Giảm chiều cao tối đa một chút */
    max-width: 100%;  /* BẮT BUỘC: Đảm bảo logo không bao giờ rộng hơn hộp chứa */
    width: auto;      /* Để trình duyệt tự tính toán chiều rộng dựa trên chiều cao */
    object-fit: contain; /* Đảm bảo toàn bộ logo luôn nằm trong khung, không bị cắt xén */
}
.partner-spotlight-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Commitment Quote */
.commitment-quote {
    background-color: #f8f9fa;
    border-left: 5px solid #ffd700;
    padding: 30px;
    font-size: 1.2rem;
    font-style: italic;
    color: #343a40;
    position: relative;
}
.commitment-quote i {
    position: absolute;
    top: 20px;
    left: -15px;
    font-size: 2rem;
    color: #ffd700;
    opacity: 0.2;
}
/* ==================================
   === CONTACT PAGE STYLING ===
   ================================== */

.contact-page-header { background-image: url('../img/contact-banner.jpg'); }

.contact-page-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}
.contact-page-form-wrapper .form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-page-form-wrapper .form-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
}
.contact-page-form-wrapper .form-label {
    font-weight: 500;
    margin-bottom: 5px;
}
.contact-page-form-wrapper .form-control,
.contact-page-form-wrapper .form-select {
    padding: 12px;
}

.contact-info-panel {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    height: 100%;
}
.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}
.contact-info-list li i {
    font-size: 1.2rem;
    color: #0d6efd;
    width: 30px;
    margin-right: 15px;
    text-align: center;
}
.contact-info-list a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info-list a:hover {
    color: #0d6efd;
}

.contact-page-map {
    margin-top: 30px;
}
.contact-page-map iframe {
    border-radius: 8px;
}
/* ==================================
   === RESPONSIVE DESIGN (TABLET & MOBILE) ===
   ================================== */

@media (max-width: 991px) {

    .main-content .contact-page-form-wrapper {
        margin-bottom: 100px;
    }
    /* --- 1. SỬA HEADER --- */
    .navbar-brand .logo-img {
        height: 40px; /* Thu nhỏ logo trên header */
    }
    .logo-text-wrapper .logo-text-line1 {
        font-size: 0.7rem;
    }
    .logo-text-wrapper .logo-text-line2 {
        font-size: 1.1rem;
    }
    /* Ẩn hotline và cờ trên thanh menu để tiết kiệm không gian */
    .top-bar-info {
        display: none !important;
    }
    /* Căn giữa menu khi xổ xuống */
    .navbar-collapse {
        text-align: center;
        margin-top: 15px;
    }
    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    /* --- 2. SỬA FONT CHỮ & PADDING CHUNG --- */
    .section-header h2, .page-header h1, .content-title h3, .recruitment-main-title {
        font-size: 1.8rem !important; /* Thu nhỏ các tiêu đề lớn */
    }
    .section-header .subtitle, .intro-paragraph, .content-body p, .achievements-list li {
        font-size: 1rem !important; /* Thu nhỏ các đoạn văn bản */
    }
    section, main {
        background: #1a202c;
        padding: 10px 0 !important; /* Giảm padding của các section */
    }

    /* --- 3. SỬA BANNER VÀ TRANG CON --- */
    #hero-carousel .carousel-caption {
        position: static; /* Bỏ position absolute */
        width: 100%;
        display: block !important;
        background-color: #212529; /* Nền tối cho nội dung */
        padding: 20px;
    }
    #hero-carousel .carousel-item {
       height: auto;
    }
    .content-wrapper {
        margin-top: 0;
        padding: 20px;
    }

    /* --- 4. SỬA BỘ LỌC DỊCH VỤ --- */
    .service-filter-list {
        /* Cho phép cuộn ngang các nút lọc */
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start; /* Bắt đầu từ bên trái */
        padding-bottom: 15px; /* Thêm khoảng trống cho thanh cuộn */
        -ms-overflow-style: none;  /* Ẩn thanh cuộn trên IE, Edge */
        scrollbar-width: none;  /* Ẩn thanh cuộn trên Firefox */
    }
    .service-filter-list::-webkit-scrollbar {
        display: none; /* Ẩn thanh cuộn trên Chrome, Safari, Opera */
    }
    .service-filter-list li {
        flex-shrink: 0; /* Ngăn các nút bị co lại */
    }

    /* --- 5. SỬA CÁC LƯỚI CARD --- */
    /* Hiển thị 2 cột trên màn hình tablet */
    .service-item, .partner-logo-box, .service-card-full {
        width: 50% !important;
    }

    /* --- 6. SỬA FOOTER --- */
    .footer-col {
        text-align: center; /* Căn giữa nội dung footer */
    }
    .footer-widget .widget-title::after {
        left: 50%;
        transform: translateX(-50%); /* Căn giữa gạch chân tiêu đề */
    }
    .footer-contact-list li {
        justify-content: center;
    }
    .footer-logo-link {
        justify-content: center;
    }

    /* --- 7. SỬA NÚT CTA CỐ ĐỊNH --- */
    #sticky-cta-button {
        bottom: 15px;
        right: 15px;
        padding: 8px 15px;
        z-index: 9999;
    }
    #sticky-cta-button .cta-text span:first-child {
        display: none; /* Ẩn chữ "LIÊN HỆ NGAY" */
    }
    #sticky-cta-button .cta-text .cta-hotline {
        font-size: 1rem;
    }
    #sticky-cta-button .cta-icon {
        font-size: 1.5rem;
        margin-left: 10px;
    }
}


/* Tối ưu riêng cho màn hình điện thoại nhỏ */
@media (max-width: 576px) {
    /* Hiển thị 1 cột trên điện thoại nhỏ */
    .service-item, .partner-logo-box, .service-card-full {
        width: 100% !important;
    }

    .mission-vision {
        grid-template-columns: 1fr; /* Chuyển sứ mệnh, tầm nhìn thành 1 cột */
    }
}
