/* =========================================
   1. CORE LAYOUT & UTILITIES (Cấu trúc chung)
   ========================================= */
.container {
    max-width: 1440px;
    /* Độ rộng phủ đều, hiện đại */
    margin: 0 auto;
    padding: 80px 40px;
}

/* --- Typography Toàn Cục --- */
h2.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #00205b;
    margin-bottom: 25px;
    line-height: 1.2;
}

p.section-desc {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

p.section-desc strong {
    color: #00205b;
}

/* --- Buttons Toàn Cục --- */
.btn-pill {
    background-color: var(--primary-color, #00205b);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-pill:hover {
    transform: scale(1.05);
    background-color: #3d3863;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #00205b;
    font-size: 1.05rem;
    margin-top: 15px;
    color: #fff;
}

.btn-icon:hover {
    background-color: #001640;
    transform: none;
    /* Giữ nguyên không scale để mượt hơn */
}

.btn-icon span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #AA8772;
}

/* --- Tags Toàn Cục --- */
.tag-pill {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.tag-pill::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    /* border: 1px solid rgba(220, 191, 162, 0.5); */
    border-radius: 50px;
    z-index: -1;
}

/* =========================================
   2. HERO SECTION (Banner Video đầu trang)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 48, 87, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* =========================================
   3. ABOUT BRIEF SECTION (From Research...)
   ========================================= */
.about-brief-section {
    background-color: #fff;
}

.about-brief-section .layout-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.image-side-rounded {
    width: 100%;
}

.image-side-rounded img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.text-side-content {
    padding-right: 20px;
}

/* =========================================
   4. OUR BRANDS SECTION (Danh mục 3 cột)
   ========================================= */
.our-brands-section {
    padding: 0px 0;
    background-color: #fafafa;
}

.our-brands-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.brands-intro {
    max-width: 800px;
    margin-bottom: 50px;
}

.brands-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.brand-category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.brand-category-card h3 {
    color: #00205b;
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.brand-category-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5%;
    height: 90%;
    width: 3px;
    background-color: #00205b;
}

.brand-category-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   5. BRAND CAROUSEL (Slider Logo Đối Tác)
   ========================================= */
.brand-section {
    background-color: #ffffff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.brand-list {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.brand-list::-webkit-scrollbar {
    display: none;
}

.brand-card {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.card-inner {
    background: #ffffff;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: grayscale(100%) opacity(50%);
    transition: filter 0.3s ease;
}

.card-inner:hover img {
    filter: grayscale(0%) opacity(100%);
}

.nav-btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #eaeaea;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #f8f9fa;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    color: #000000;
}

.prev-btn {
    left: -22px;
}

.next-btn {
    right: -22px;
}

.blog-section {
    background-color: #fff;
    /* Trắng tinh giống mẫu */
    /* padding: 80px 0; */
}

/* --- Layout Header Blog (Trái/Phải) --- */
.blog-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 40px;
}

.blog-header-left {
    flex: 1;
    position: relative;
    padding-left: 20px;
    /* Thụt vào để nhường chỗ cho vạch dọc */
}

/* Vạch dọc màu vàng cam */
.blog-header-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 90%;
    width: 3px;
    background-color: #AA8772;
}

.blog-header-left h2 {
    color: #00205b;
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-header-left p {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
}

/* --- Blog Grid (3 Cột) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Cấu trúc Card Bài Viết --- */
.blog-card-new {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.blog-card-new:hover {
    transform: translateY(-5px);
}

/* Vùng chứa ảnh */
.blog-img-new {
    width: 100%;
    height: 250px;
    /* Chiều cao cố định */
    border-radius: 20px;
    /* Bo góc mềm mại */
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.blog-img-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card-new:hover .blog-img-new img {
    transform: scale(1.05);
    /* Zoom nhẹ khi hover */
}

/* Nút tròn mũi tên ở góc trên bên phải */
.blog-arrow-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #00205b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    z-index: 2;
    transition: background-color 0.3s;
}

.blog-card-new:hover .blog-arrow-icon {
    background-color: #AA8772;
    /* Đổi màu khi hover toàn khối */
}

/* Tag Meta (News • Ngày tháng) */
.blog-meta-new {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Căn giữa như mẫu */
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #4a5568;
}

.blog-category {
    border: 1px solid #e2e8f0;
    padding: 4px 15px;
    border-radius: 50px;
    font-weight: 600;
    color: #00205b;
}

.blog-dot {
    color: #AA8772;
    /* Chấm màu vàng */
    font-size: 1.5rem;
    line-height: 0;
}

/* Tiêu đề bài viết */
.blog-title-new {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #00205b;
    line-height: 1.5;
    padding: 0 10px;
}

/* =========================================
   7. RESPONSIVE DESIGN (Gộp chung để dễ kiểm soát)
   ========================================= */

/* --- Dành cho màn hình Laptop nhỏ --- */
@media (max-width: 1250px) {
    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 1024px) {
    .about-brief-section .layout-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

/* --- Dành cho màn hình Tablet --- */
@media (max-width: 991px) {

    h2.section-title,
    .text-side-content h2.section-title {
        font-size: 2.8rem;
    }

    .about-brief-section .layout-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brands-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .blog-header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Dành cho màn hình Mobile --- */
@media (max-width: 768px) {

    /* Khoảng cách chung */
    .container {
        padding: 50px 20px;
    }

    h2.section-title,
    .text-side-content h2.section-title,
    .brands-intro h2.section-title,
    .blog-header-left h2 {
        font-size: 2.2rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
        margin: 15px 0;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* About Brief */
    .about-brief-section .container {
        padding: 50px 20px;
    }

    .image-side-rounded img {
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    /* Our Brands */
    .our-brands-section {
        padding: 20px 0;
    }

    .brands-categories-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .brand-category-card img {
        height: auto;
        max-height: 300px;
        border-radius: 15px;
    }

    .blog-section

    /* Brand Carousel */
    .brand-section {
        padding: 0px 10px;
    }

    .brand-card {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 10px;
        height: 120px;
    }

    .nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Blog */
    .blog-section {
        padding: 10px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}