/*
Theme Name: ICS Company
Theme URI: https://ics.com.vn/
Author: ICS
Author URI: https://ics.com.vn/
Description: Clean, minimal theme for company presentation. Responsive front page and simple page templates.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, responsive-layout, accessibility-ready
Text Domain: ics-company
*/

/* ==================================================================
   1. CƠ BẢN - TYPOGRAPHY & RESET
   ================================================================== */
body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0;
    color: #111;
    background: #fff;
    line-height: 1.6;
}

a {
    color: #0066cc;
    text-decoration: none;
}

/* ==================================================================
   2. HEADER - SITE HEADER (Sticky navigation)
   ================================================================== */
.site-header {
    background: linear-gradient(90deg, #29555faf 0%, #9bf1e0 45%, #938140dc 100%);
    color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    /* Giữ header ở layer cao, nhưng menu sẽ cao hơn */
    box-shadow: 0 4px 18px rgba(2, 6, 23, 0.12);
    /* Cho phép menu dropdown hiển thị không bị cắt */
    overflow: visible;
}

/* Nền overlay nhẹ với hình tam giác SVG ở bên trái header */
.site-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='xMinYMid meet'><g fill='%23ffffff' opacity='0.08'><polygon points='60,300 140,60 220,300'/><polygon points='180,320 260,80 340,320'/><polygon points='0,320 80,80 160,320'/></g></svg>");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Layout bên trong header */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================================================================
   3. SITE BRANDING - Logo & Title
   ================================================================== */
.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo hình ảnh - ép thành màu trắng */
.site-logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
}

.site-logo a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.site-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.site-description {
    margin: 0;
    font-size: 12px;
    opacity: .9;
}

/* ==================================================================
   4. NAVIGATION MENU
   ================================================================== */
.site-nav {
    margin-top: 0;
}

.site-nav .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 22px;
    z-index: 1000;
    /* Tăng z-index để menu luôn ở trên cùng */
}

.site-nav .menu li {
    display: inline-flex;
}

.site-nav .menu li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.12s ease, transform 0.12s ease;
    display: inline-block;
}

.site-nav .menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ==================================================================
   5. MOBILE MENU TOGGLE (Hamburger)
   ================================================================== */
.menu-toggle {
    display: none;
    /* Ẩn mặc định trên desktop */
    background: transparent;
    border: 0;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    cursor: pointer;
    z-index: 1002;
    /* Z-index cao để toggle luôn ở trên */
}

.menu-toggle .hamburger {
    display: inline-block;
    width: 22px;
    height: 16px;
    position: relative;
}

.menu-toggle .hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle .hamburger span:nth-child(1) {
    top: 0;
}

.menu-toggle .hamburger span:nth-child(2) {
    top: 7px;
}

.menu-toggle .hamburger span:nth-child(3) {
    top: 14px;
}

/* ==================================================================
   6. RESPONSIVE HEADER & MOBILE MENU
   ================================================================== */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        /* Chỉ hiển thị toggle trên mobile */
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .site-nav .menu {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        background: linear-gradient(180deg, rgba(11, 70, 166, 0.12), rgba(2, 6, 23, 0.28));
        color: #fff;
        padding: 14px;
        border-radius: 8px;
        flex-direction: column;
        gap: 8px;
        min-width: 220px;
        box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
        z-index: 1200;
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .site-header.menu-open .site-nav .menu {
        background: linear-gradient(90deg, #0c780ca0 0%, #995201 100%);
        display: flex;
        animation: slideDown .18s ease both;
    }

    .site-nav .menu li a {
        padding: 8px 10px;
    }
}

@media (max-width: 600px) {
    .site-nav .menu {
        gap: 10px;
    }

    .site-nav .menu li a {
        padding: 8px 8px;
        font-size: 14px;
    }
}

/* ==================================================================
   7. WORDPRESS ADMIN BAR FIX (khi đăng nhập)
   ================================================================== */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

body.admin-bar .container {
    transition: padding-top .12s ease;
}

/* ==================================================================
   8. CONTAINER CHUNG
   ================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* ==================================================================
   9. HERO SECTION - FRONT PAGE
   ================================================================== */
.hero {
    padding: 40px 20px 120px 20px;
    color: #fff;
    background-image: url('assets/images/section-1/background.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Overlay gradient tối nhẹ để chữ dễ đọc */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 70, 166, 0.28) 0%, rgba(11, 70, 166, 0.12) 50%, rgba(11, 70, 166, 0.18) 100%);
    pointer-events: none;
}

/* Hiệu ứng ánh sáng nhẹ góc phải */
.hero::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06), transparent 30%);
    pointer-events: none;
}

/* Tiêu đề hero - full width và căn giữa */
.hero-title {
    margin: 0 0 32px 0;
    font-size: 36px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.8px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    text-align: center;
    width: 100%;
}

/* Grid 2 cột cho nội dung hero (left: slider, right: text) */
.hero .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ==================================================================
   10. HERO LEFT - SLIDER HÌNH ẢNH
   ================================================================== */
.hero .hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 480px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 480px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide img {
    max-width: 80%;
    max-height: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(11, 70, 166, 0.18));
    animation: floatHero 7s ease-in-out infinite;
}

/* Nút prev/next slider */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.22);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.2s ease;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.36);
}

.slider-nav.prev {
    left: 12px;
}

.slider-nav.next {
    right: 12px;
}

/* ==================================================================
   11. HERO RIGHT - NỘI DUNG TEXT
   ================================================================== */
.hero .hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-lead {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 28px 0;
    text-align: center;
    opacity: 0.98;
}

/* Danh sách tính năng - mỗi item một hàng, full width */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 28px 0 0 0;
    display: block;
}

.hero-features li {
    background: rgba(116, 232, 216, 0.385);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(4px);
}

.hero-features li::before {
    content: "✓";
    margin-right: 12px;
    font-weight: 900;
    color: #ffebee;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-features li:last-child {
    margin-bottom: 0;
}

/* Đối tác */
.hero-partners {
    margin-top: 32px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-partners .partners-label {
    font-size: 14px;
    opacity: 0.9;
    margin-right: 8px;
}

.hero-partners img {
    height: 36px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

/* Nút CTA */
.hero .cta {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero {
    padding: 14px 28px;
    border-radius: 32px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-hero.primary {
    background: #ff7b7b;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 123, 123, 0.18);
}

.btn-hero.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255, 123, 123, 0.24);
}

.btn-hero.secondary {
    background:rgba(116, 232, 216, 0.385);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.44);
}

/* ==================================================================
   12. ANIMATION - FLOAT CHO HÌNH SLIDER
   ================================================================== */
@keyframes floatHero {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-16px) scale(1.04);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/* ==================================================================
   13. RESPONSIVE HERO SECTION
   ================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .hero .content-wrapper {
        gap: 32px;
    }

    .hero-slider .slide img {
        max-width: 90%;
    }
}

@media (max-width: 900px) {
  .hero {
        padding-bottom: 100px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 28px;
    }

    .hero .content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero .hero-left {
        height: 360px;
        order: 2;
        /* Slider xuống dưới text */
    }

    .hero .hero-right {
        order: 1;
    }

    .hero-lead {
        font-size: 18px;
    }

    .hero .cta {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: -0.4px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero .hero-left {
        height: 300px;
    }

    .hero-slider .slide img {
        max-width: 100%;
        max-height: 280px;
    }

    .slider-nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .hero-features li {
        font-size: 14px;
        padding: 8px 14px;
    }

    .btn-hero {
        padding: 12px 24px;
        font-size: 15px;
    }

    .hero-partners img {
        height: 32px;
    }
}

/* ==================================================================
   ABOUT SECTION - CẬP NHẬT MỚI
   ================================================================== */
.about-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 80px;
    margin-top: -60px;
    text-align: center;
    border-radius: 16px;
    background-image: url('assets/images/hero-background.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    overflow: visible;
}

/* Dark overlay to ensure text is readable on top of the background */
.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(2,6,23,0.62) 0%, rgba(2,6,23,0.34) 45%, rgba(2,6,23,0.66) 100%);
    pointer-events: none;
    z-index: 0;
}

.section-title-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
}

.section-title-card {
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 50px;
    box-shadow: 0 12px 32px rgba(169, 111, 224, 0.3);
    text-align: center;
    margin: 0;
    white-space: nowrap;
    border: 3px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.about-intro {
    margin-top: 0;
    margin-bottom: 60px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.about-lead {
    font-size: 20px;
    line-height: 1.7;
    color: #fff;
    max-width: 900px;
    margin: 0;
    padding: 32px 40px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 59, 143, 0.15) 0%, rgba(169, 111, 224, 0.12) 50%, rgba(34, 232, 217, 0.15) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* backdrop-filter: blur(16px); */
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Grid chỉ chứa phần đối tác (có thể mở rộng sau) */
.about-partners-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    justify-content: center;
}

.about-section .card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
    border: 1px solid rgba(11, 70, 166, 0.06);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-section .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
}

.about-section .card h3 {
    margin-top: 0;
    font-size: 22px;
    color: #111;
    margin-bottom: 16px;
}

.partner-list {
    padding-left: 20px;
    margin: 0;
}

.partner-list li {
    margin-bottom: 14px;
    line-height: 1.6;
    color: #444;
    font-size: 16px;
}

.partner-list li:last-child {
    margin-bottom: 0;
}

/* Partner image cards - styled to match site accent (pink → purple → cyan) */
.intro-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card--partners-gallery {
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,59,143,0.03), rgba(169,111,224,0.02));
    border: 1px solid rgba(255,255,255,0.04);
}

.intro-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    /* subtle glass + lifted card */
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(11,70,166,0.02));
    box-shadow: 0 14px 36px rgba(10,20,40,0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* Accent stripe on top for brand color */
.intro-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg,#ff3b8f 0%, #a96fe0 50%, #22e8d9 100%);
    opacity: 0.95;
}

.intro-card:focus {
    outline: 3px solid rgba(42, 25, 58, 0.332);
    outline-offset: 4px;
}

.card-media {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,252,0.98));
}

.card-media img {
    max-width: 70%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.46s cubic-bezier(.2,.9,.2,1), filter 0.46s;
    filter: drop-shadow(0 10px 30px rgba(169,111,224,0.12));
}

.card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    /* color-tinted overlay: purple → teal → dark for readability */
    background: linear-gradient(180deg, rgba(169,111,224,0.20) 0%, rgba(27, 28, 28, 0.6) 40%, rgba(0,0,0,0.82) 100%);
    color: #fff;
    padding: 20px;
    transition: transform 0.34s cubic-bezier(.2,.9,.2,1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.intro-card:hover .card-media img,
.intro-card:focus-within .card-media img {
    transform: scale(1.07);
}

.intro-card:hover .card-overlay,
.intro-card:focus-within .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.2px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.card-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.96;
    line-height: 1.5;
}

.card-cta {
    display: inline-block;
    margin-top: 10px;
    background: linear-gradient(90deg,#3d9c4eae 0%, #f6853499 70%);
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 22px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    box-shadow: 0 10px 30px rgba(169,111,224,0.12);
}

.card-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(169,111,224,0.18); }

/* ==================================================================
   PRODUCTS SECTION - Sản phẩm phân phối chính
   ================================================================== */
.products-section {
    position: relative;
    margin-top: 60px;
    padding: 80px 20px 60px 20px;
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.04);
}

.products-section .section-title-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
}

.products-section .section-title-card {
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 12px 32px rgba(169, 111, 224, 0.3);
    text-align: center;
    margin: 0;
    white-space: nowrap;
    border: 3px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card--partners-gallery {
    padding: 24px;
    margin-bottom: 24px;
}

.product-gallery {
    padding: 32px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(249,249,249,0.8) 100%);
    border: 1px solid rgba(169, 111, 224, 0.1);
    border-radius: 16px;
}

/* ==================================================================
   HORIZONTAL CONVEYORS (continuous loops)
   ================================================================== */
.conveyor-row {
    margin-top: 28px;
    padding: 20px 0;
}

.conveyor-row:first-child {
    margin-top: 0;
}

.conveyor-horizontal .gallery-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    position: relative;
    padding-bottom: 12px;
}

.conveyor-horizontal .gallery-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff3b8f 0%, #a96fe0 50%, #22e8d9 100%);
    border-radius: 2px;
}

.conveyor {
    overflow: hidden;
    position: relative;
    padding: 16px 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    border-radius: 12px;
}

.conveyor-track {
    display: flex;
    gap: 20px;
    align-items: center;
    width: max-content;
}

/* left-moving conveyor (continuous) */
.track-left { animation: conveyor-left 30s linear infinite; }
/* right-moving conveyor (continuous reverse) */
.track-right { animation: conveyor-left 35s linear infinite reverse; }

.conveyor-item {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(169, 111, 224, 0.12);
    transition: all 0.3s ease;
    border: 2px solid rgba(169, 111, 224, 0.1);
}

.conveyor-item:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 16px 40px rgba(169, 111, 224, 0.25);
    border-color: rgba(169, 111, 224, 0.3);
}

.conveyor-item img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* pause on hover/focus for accessibility */
.conveyor:hover .conveyor-track, .conveyor:focus-within .conveyor-track {
    animation-play-state: paused;
}

@keyframes conveyor-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
    .products-section {
        margin-top: 40px;
        padding: 70px 16px 50px 16px;
    }

    .products-section .section-title-card {
        font-size: 16px;
        padding: 14px 32px;
    }

    .conveyor-item {
        width: 100px;
        height: 100px;
    }

    .track-left, .track-right {
        animation-duration: 24s;
    }
}

@media (max-width: 600px) {
    .products-section {
        padding: 60px 12px 40px 12px;
    }

    .products-section .section-title-card {
        font-size: 14px;
        padding: 12px 24px;
        max-width: 90vw;
    }

    .conveyor-horizontal .gallery-title {
        font-size: 18px;
    }

    .conveyor-item {
        width: 80px;
        height: 80px;
        padding: 8px;
    }

    .track-left, .track-right {
        animation-duration: 18s;
    }
}

/* Marquee galleries (continuous horizontal scroll for logos) */
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 20px; align-items: center; width: max-content; }
.marquee-track { animation: marquee-move var(--marquee-duration, 22s) linear infinite; }
.marquee-track.pause-on-hover { animation-play-state: paused; }

/* Allow right-hand marquees to run in reverse via style or class */
.marquee-track.reverse { animation-direction: reverse; }

.marquee-item { flex: 0 0 auto; width: 220px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.marquee-item img { max-width: 100%; max-height: 120px; object-fit: contain; display: block; filter: drop-shadow(0 12px 28px rgba(0,0,0,0.12)); border-radius: 8px; background: rgba(255,255,255,0.96); padding: 12px; }

.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }

@keyframes marquee-move {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

@media (max-width: 900px) {
  .marquee-item { width: 160px; }
  .marquee-item img { max-height: 96px; padding: 8px; }

  .intro-cards { grid-template-columns: 1fr; }
  .card-media { height: 200px; }
  .card-media img { max-width: 64%; }
}

@media (max-width: 600px) {
  .marquee-item { width: 140px; }
  .marquee-item img { max-height: 84px; }
}

/* ==================================================================
   RESPONSIVE ABOUT SECTION
   ================================================================== */
@media (max-width: 900px) {
  .about-section {
        padding-top: 80px;
        margin-top: -40px;
    }

    .section-title-card {
        font-size: 16px;
        padding: 14px 36px;
    }

    .about-intro {
        padding: 0 16px;
    }

    .about-lead {
        font-size: 18px;
        padding: 28px 32px;
    }

    .about-partners-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-section .card {
        padding: 28px;
    }
}

@media (max-width: 600px) {
   .about-section {
        padding-top: 70px;
        margin-top: -30px;
    }

    .section-title-card {
        font-size: 14px;
        padding: 12px 28px;
        max-width: 90vw;
    }

    .about-intro {
        padding: 0 12px;
    }

    .about-lead {
        font-size: 16px;
        padding: 24px 24px;
        border-radius: 16px;
    }

    .about-section .card {
        padding: 24px;
    }

    .about-section .card h3 {
        font-size: 20px;
    }

    .partner-list li {
        font-size: 15px;
    }
}

/* ==================================================================
   SECTION WITH BACKGROUND (xen kẽ)
   ================================================================== */
.section-with-bg {
    position: relative;
    margin-top: 60px;
    padding: 80px 20px 60px 20px;
    background-image: url('assets/images/background-section.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 16px;
    overflow: visible;
}

.section-with-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 59, 143, 0.08) 0%, rgba(169, 111, 224, 0.06) 50%, rgba(34, 232, 217, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
}

.section-with-bg .section-title-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
}

.section-with-bg .section-title-card {
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 12px 32px rgba(169, 111, 224, 0.3);
    text-align: center;
    margin: 0;
    white-space: nowrap;
    border: 3px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.section-with-bg .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(169, 111, 224, 0.15);
    position: relative;
    z-index: 2;
}

.section-with-bg .card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-with-bg .card ul li {
    padding: 14px 20px 14px 50px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, rgba(255, 59, 143, 0.05) 0%, rgba(169, 111, 224, 0.03) 100%);
    border-radius: 12px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    transition: all 0.3s ease;
}

.section-with-bg .card ul li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    font-size: 18px;
    color: #a96fe0;
}

.section-with-bg .card ul li:hover {
    transform: translateX(8px);
    background: linear-gradient(90deg, rgba(255, 59, 143, 0.1) 0%, rgba(169, 111, 224, 0.08) 100%);
}

.section-with-bg .card ul li:last-child {
    margin-bottom: 0;
}

/* ==================================================================
   SECTION SIMPLE (không background image)
   ================================================================== */
.section-simple {
    position: relative;
    margin-top: 60px;
    padding: 80px 20px 60px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 16px;
    overflow: visible;
}

.section-simple .section-title-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
}

.section-simple .section-title-card {
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 12px 32px rgba(169, 111, 224, 0.3);
    text-align: center;
    margin: 0;
    white-space: nowrap;
    border: 3px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.section-simple .card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.08);
    border: 1px solid rgba(169, 111, 224, 0.1);
}

.section-simple .card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-simple .card ul li {
    padding: 14px 20px 14px 50px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, rgba(255, 59, 143, 0.03) 0%, rgba(169, 111, 224, 0.02) 100%);
    border-radius: 12px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    transition: all 0.3s ease;
}

.section-simple .card ul li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    font-size: 18px;
    color: #ff3b8f;
}

.section-simple .card ul li:hover {
    transform: translateX(8px);
    background: linear-gradient(90deg, rgba(255, 59, 143, 0.08) 0%, rgba(169, 111, 224, 0.05) 100%);
}

.section-simple .card ul li:last-child {
    margin-bottom: 0;
}

/* ==================================================================
   CARD SECTIONS - Advantages, Customers, Commitment
   ================================================================== */

/* Advantage Cards */
.advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 20px;
}

.advantage-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border: 1px solid rgba(169, 111, 224, 0.2);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(169, 111, 224, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 59, 143, 0.05) 0%, rgba(169, 111, 224, 0.08) 50%, rgba(34, 232, 217, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(169, 111, 224, 0.25),
                0 8px 16px rgba(255, 59, 143, 0.1);
    border-color: rgba(255, 59, 143, 0.3);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 59, 143, 0.3);
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(255, 59, 143, 0.4);
}

.advantage-icon svg {
    width: 40px;
    height: 40px;
    stroke: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d1b4e;
    margin: 0 0 12px 0;
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Customer Cards */
.customer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.customer-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(34, 232, 217, 0.25);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(34, 232, 217, 0.12),
                0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.customer-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22e8d9 0%, #a96fe0 50%, #ff3b8f 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.customer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(34, 232, 217, 0.2),
                0 6px 12px rgba(169, 111, 224, 0.1);
    border-color: rgba(169, 111, 224, 0.4);
}

.customer-card:hover::after {
    transform: scaleX(1);
}

.customer-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(34, 232, 217, 0.25);
    transition: all 0.3s ease;
}

.customer-card:hover .customer-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(34, 232, 217, 0.35);
}

.customer-icon svg {
    width: 36px;
    height: 36px;
    stroke: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.customer-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #2d1b4e;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.customer-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Commitment Cards */
.commitment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    padding: 0 20px;
}

.commitment-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(169, 111, 224, 0.25);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(169, 111, 224, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.commitment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 59, 143, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.commitment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 56px rgba(169, 111, 224, 0.3),
                0 10px 20px rgba(255, 59, 143, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(255, 59, 143, 0.4);
}

.commitment-card:hover::before {
    opacity: 1;
}

.commitment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(169, 111, 224, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.commitment-card:hover .commitment-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(169, 111, 224, 0.5);
}

.commitment-icon svg {
    width: 44px;
    height: 44px;
    stroke: #ffffff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.commitment-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #2d1b4e;
    margin: 0 0 14px 0;
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.commitment-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ==================================================================
   CONTACT SECTION - Info Cards & Form
   ================================================================== */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    background: linear-gradient(135deg, rgba(255, 59, 143, 0.05) 0%, rgba(169, 111, 224, 0.03) 100%);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(169, 111, 224, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(169, 111, 224, 0.15);
    border-color: rgba(169, 111, 224, 0.3);
}

.info-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(169, 111, 224, 0.25);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(169, 111, 224, 0.35);
}

.info-icon svg {
    width: 40px;
    height: 40px;
    stroke: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.info-card a {
    color: #a96fe0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

.info-card a:hover {
    color: #ff3b8f;
}

.info-card p {
    color: #666;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.08);
    border: 1px solid rgba(169, 111, 224, 0.1);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 32px 0;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.form-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff3b8f 0%, #a96fe0 50%, #22e8d9 100%);
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid rgba(169, 111, 224, 0.2);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a96fe0;
    box-shadow: 0 0 0 4px rgba(169, 111, 224, 0.1);
}

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

.btn-submit {
    background: linear-gradient(90deg, #768f89 0%, #36622b 50%, #978d3f 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 32px rgba(169, 111, 224, 0.3);
    align-self: center;
    min-width: 200px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(169, 111, 224, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* ==================================================================
   FOOTER
   ================================================================== */
.footer {
    margin-top: 60px;
    padding: 60px 20px 20px 20px;
    background-image: url('assets/images/background-footer.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    color: #fff;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(105, 151, 140, 0.953) 0%, rgba(146, 129, 76, 0.8) 50%, rgba(118, 105, 40, 0.707) 100%);
    pointer-events: none;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 2;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.2s ease;
    display: inline-block;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(4px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.9;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    opacity: 0.95;
    transition: opacity 0.2s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-contact span {
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.footer-bottom-links a:hover {
    opacity: 1;
}

.footer-bottom-links span {
    opacity: 0.6;
}

/* ==================================================================
   RESPONSIVE - SECTIONS & FOOTER
   ================================================================== */
@media (max-width: 900px) {
    .section-with-bg,
    .section-simple {
        margin-top: 40px;
        padding: 70px 16px 50px 16px;
    }

    .section-with-bg .section-title-card,
    .section-simple .section-title-card {
        font-size: 24px;
        padding: 14px 32px;
    }

    .section-with-bg .card,
    .section-simple .card {
        padding: 28px 32px;
    }

    .section-with-bg .card ul li,
    .section-simple .card ul li {
        font-size: 15px;
        padding: 12px 18px 12px 45px;
    }

    /* Contact Info Cards */
    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer {
        margin-top: 40px;
        padding: 50px 16px 20px 16px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .section-with-bg,
    .section-simple {
        margin-top: 30px;
        padding: 60px 12px 40px 12px;
    }

    .section-with-bg .section-title-card,
    .section-simple .section-title-card {
        font-size: 20px;
        padding: 12px 24px;
        max-width: 90vw;
    }

    .section-with-bg .card,
    .section-simple .card {
        padding: 24px;
    }

    .section-with-bg .card ul li,
    .section-simple .card ul li {
        font-size: 14px;
        padding: 10px 16px 10px 40px;
    }

    .section-with-bg .card ul li::before,
    .section-simple .card ul li::before {
        left: 14px;
        font-size: 16px;
    }

    /* Card Sections - Responsive */
    .advantage-cards,
    .customer-cards,
    .commitment-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }

    .advantage-card {
        padding: 28px 20px;
    }

    .advantage-icon {
        width: 64px;
        height: 64px;
    }

    .advantage-icon svg {
        width: 36px;
        height: 36px;
    }

    .advantage-card h3 {
        font-size: 17px;
    }

    .advantage-card p {
        font-size: 13px;
    }

    .customer-card {
        padding: 24px 18px;
    }

    .customer-icon {
        width: 56px;
        height: 56px;
    }

    .customer-icon svg {
        width: 32px;
        height: 32px;
    }

    .customer-card h3 {
        font-size: 16px;
    }

    .customer-card p {
        font-size: 12px;
    }

    .commitment-card {
        padding: 32px 24px;
    }

    .commitment-icon {
        width: 72px;
        height: 72px;
    }

    .commitment-icon svg {
        width: 40px;
        height: 40px;
    }

    .commitment-card h3 {
        font-size: 18px;
    }

    .commitment-card p {
        font-size: 13px;
    }

    /* Contact Section */
    .info-card {
        padding: 24px 20px;
    }

    .info-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 12px;
    }

    .info-icon svg {
        width: 36px;
        height: 36px;
    }

    .info-card h3 {
        font-size: 18px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .btn-submit {
        width: 100%;
        min-width: auto;
    }

    /* Footer */
    .footer {
        margin-top: 30px;
        padding: 40px 12px 16px 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-desc {
        font-size: 13px;
    }

    .footer-bottom p,
    .footer-bottom-links a {
        font-size: 13px;
    }
}

/* ==================================================================
   14. PAGE 404 - NOT FOUND
   ================================================================== */
.page-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    background-color: #0b1220;
    background-image: url('assets/images/page-404/404.gif');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 60px 20px;
}

.page-404::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.65));
    mix-blend-mode: multiply;
}

.page-404 .box {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 36px;
    border-radius: 12px;
}

.page-404 h1 {
    font-size: 44px;
    margin-bottom: 8px;
    animation: fadeInUp .9s ease both;
}

.page-404 p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    animation: fadeInUp 1.1s ease both;
}

/* Form tìm kiếm trên trang 404 */
.page-404 .search-form {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.page-404 .search-form .search-field,
.page-404 .search-form input[type="search"] {
    padding: 12px 16px;
    border-radius: 999px 0 0 999px;
    border: 0;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.96);
    color: #04263a;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
    transition: box-shadow .18s ease, transform .18s ease;
}

.page-404 .search-form .search-field::placeholder {
    color: #6d7580;
    opacity: 1;
}

.page-404 .search-form .search-field:focus {
    box-shadow: 0 18px 40px rgba(11, 70, 166, 0.12);
    outline: none;
}

.page-404 .search-form .search-submit,
.page-404 .search-form button {
    padding: 11px 14px;
    border-radius: 0 999px 999px 0;
    border: 0;
    background: linear-gradient(90deg, #ffd166, #ff7b7b);
    color: #04263a;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 123, 123, 0.10);
    transition: transform .12s ease, box-shadow .12s ease;
}

.page-404 .search-form .search-submit:hover,
.page-404 .search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 123, 123, 0.14);
}

.page-404 .search-form .search-submit svg,
.page-404 .search-form button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive form tìm kiếm trên mobile */
@media (max-width: 480px) {
    .page-404 .search-form {
        flex-direction: column;
        gap: 12px;
    }

    .page-404 .search-form input[type="search"],
    .page-404 .search-form button {
        border-radius: 12px;
        width: 100%;
        min-width: 0;
    }
}

/* Nút quay về trang chủ / các trang khác */
.page-404 .buttons {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-404 .button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
}

.page-404 .btn-primary {
    background: #ffd166;
    color: #04263a;
}

.page-404 .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ==================================================================
   15. ANIMATIONS CHUNG
   ================================================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .page-404 h1 {
        font-size: 28px;
    }

    .page-404 {
        padding: 36px 12px;
    }
}