:root {
    --primary-color: #111111;
    --secondary-color: #333333;
    --accent-color: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F7F7F7;
    --bg-gray: #EEEEEE;
    --text-primary: #111111;
    --text-secondary: #666666;
    --text-muted: #999999;
    --text-white: #FFFFFF;
    --border-color: #E5E5E5;
    --border-dark: #333333;
    --font-primary: 'Inter', Arial, sans-serif;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}
ul, ol {
    list-style: none;
}
button, input, textarea, select {
    font: inherit;
}
button {
    cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}
h1 {
    font-size: var(--heading-h1);
}
h2 {
    font-size: var(--heading-h2);
}
h3 {
    font-size: var(--heading-h3);
}
p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding:0 10px;
}
/*Header-------------------------*/
.site-header {
    width: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;

}
.header-top {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border-color);
}
.header-top-inner {
    min-height: 75px;
    display: grid;
    grid-template-columns: 35% 30% 35%;
    align-items: center;
    gap: 0;
}
.header-top-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}
.header-top-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 25px;
    transition: var(--transition);
}
.header-top-social a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}
.header-top-social a>i{
    font-size: 25px !important;
}
.header-top-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.header-top-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.header-top-logo img {
    width: 100%;
    max-width: 150px;
    max-height:75px;
    object-fit: contain;
}
.header-top-search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-top-search form {
    width: 100%;
    max-width: 350px;
    height: 42px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-color);
    overflow: hidden;
    transition: var(--transition);
}
.header-top-search form:focus-within {
    border-color: var(--secondary-color);
}
.header-top-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
}
.header-top-search input::placeholder {
    color: var(--text-muted);
}
.header-top-search button {
    height: 100%;
    padding: 0 16px;
    border: none;
    background: var(--primary-color);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}
.header-top-search button:hover {
    background: var(--secondary-color);
}
.header-top-menu-mobile{
    display: none;
}
.header-menu {
    width: 100%;
    position: relative;
    z-index: 1000;
    background: var(--primary-color);
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    gap: 5px;
    padding: 0 10px;
}
.main-nav > a,
.menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 50px;
    padding: 0 10px;
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.main-nav > a:hover,
.menu-item:hover > .menu-link {
    color: var(--text-white);
    background: var(--secondary-color);
}
.menu-home {
    padding: 0 18px !important;
    font-size: 18px !important;
}
.menu-item {
    position: relative;
    height: 50px;
}
.menu-link i {
    font-size: 10px;
    transition: var(--transition);
}
.menu-item:hover > .menu-link i {
    transform: rotate(180deg);
}
.submenu {
    position: absolute;
    top: 100%;
    left: -10%;
    min-width :250px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.menu-item:hover > .submenu,
.menu-item:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.submenu li {
    width: 100%;
}
.submenu li a {
    display: block;
    padding: 10px 16px;
    color: var(--border-dark);
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: var(--transition);
}
.submenu li a:hover {
    padding-left: 21px;
    color: var(--text-primary);
    background: var(--bg-light);
}
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.header-top-menu-mobile {
    display: none;
    cursor: pointer;
    color: var(--text-primary);
}
/*  PHẦN THÂN SECTIONS */

.hero-section {
    position: relative;
    background: url('/lapcameraquan2giare1/image/background-lap-camera-quan-2-gia-re.webp') center/cover no-repeat;
    color: var(--text-white);
    padding: 100px 0;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 17, 17, 0.85);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}
.hero-content h1 {
    font-size: 38px;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--bg-light);
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-primary {
    background: var(--text-primary);
    color: var(--text-white);
    border: 1px solid var(--border-dark);
}
.btn-primary:hover {
    background: var(--accent-color);
}
.btn-secondary {
    background: var(--accent-color);
    color: var(--text-white);
}
.btn-secondary:hover {
    background: var(--secondary-color);
}
.features-section {
    background: var(--bg-color);
    margin-top: -30px;
    position: relative;
    z-index: 2;
    padding-bottom: 30px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 10px; ;
}
.feature-card {
    text-align: center;
    padding: 10px;
}
.feature-icon {
    font-size: 30px;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.feature-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}
.feature-card p {
    font-size: 13px;
    margin-bottom: 0;
}
.section {
    padding: 20px 0;
}
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
}
.section-title.text-left {
    text-align: left;
    position: relative;
    display: inline-block; 
    margin-bottom: 10px;
}
.section-title.text-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;            
    height: 3px;           
    background-color:var(--text-primary);
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 15px;
}
.product-highlight-box {
    background: var(--bg-color); 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    padding: 20px 24px;
    margin: 0 0 25px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}
.section-product-title {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 0;
}
.categories-grid-icon {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Mặc định màn hình lớn: 6 cột */
    gap: 20px 15px;
    margin-top: 30px;
}
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}
.cat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--border-dark);
}
.cat-icon-wrap {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.cat-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.cat-item:hover .cat-icon-wrap img {
    transform: scale(1.08);
}
.cat-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
.products-section {
    background: var(--bg-light);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}
.view-all {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}
.view-all:hover {
    color: var(--accent-color);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.product-card {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}
.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.badge-discount {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--text-primary);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 2;
}
.product-img {
    overflow: hidden;
    aspect-ratio: 11 / 9; 
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info {
    padding: 15px;
}
.product-cat {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}
.product-name {
    font-size: 14px;
    color: #333 var(--border-dark) !important;
    font-weight: 600;
    margin: 5px 0 8px 0;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-rating {
    color: #f59e0b;
    font-size: 11px;
    margin-bottom: 10px;
}
.product-rating span {
    color: var(--text-muted);
    margin-left: 4px;
}
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}
.current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.old-price {
    font-size: 13px;
    text-decoration: line-through;
    color: var(--text-muted);
}
.btn-buy {
    width: 100%;
    padding: 9px;
    background: var(--secondary-color);
    color: var(--text-white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-buy:hover {
    background: var(--text-primary);
}
.load-more-wrapper {
    text-align: center;
    margin-top: 30px;
}
.btn-toggle-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background-color: var(--bg-color);
    color: var(--text-primary);
    border: 1px solid var(--border-dark);
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-toggle-products:hover {
    background-color: var(--text-primary);
    color: var(--text-white);
}
.btn-toggle-products i {
    font-size: 12px;
    transition: transform 0.3s ease;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.package-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
}
.package-card.featured {
    border: 2px solid var(--border-dark);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.package-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: var(--text-white);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 15px;
    border-radius: 12px;
}
.package-header h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 15px;
}
.package-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.package-price span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 400;
}
.package-features {
    text-align: left;
    margin-bottom: 25px;
}
.package-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}
.package-features i {
    color: #10b981;
    margin-right: 8px;
}
.btn-package {
    width: 100%;
    background: var(--text-primary);
    color: var(--text-white);
    padding: 11px;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    text-align: center;
    display: block;
}
.btn-package:hover {
    background: var(--accent-color);
}
.btn-package-outline {
    width: 100%;
    border: 2px solid var(--border-dark);
    color: var(--text-primary);
    padding: 10px;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    display: block;
}
.btn-package-outline:hover {
    background: var(--text-primary);
    color: var(--text-white);
}
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}
.float-btn {
    display: flex;
    align-items: center;
    background: var(--text-primary);
    color: var(--text-white);
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-weight: 700;
    font-size: 14px;
    gap: 8px;
}
.float-btn i {
    font-size: 18px;
}
.zalo-btn {
    background: #0284c7;
}
.phone-btn {
    background: #dc2626;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* BANNER SLIDER */
.banner-slider-section {
    padding: 40px 0;
    background-color: var(--bg-color);
}
.banner-slider-container {
    position: relative;
    display: flex;
    align-items: center;
}
.banner-slider-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
}
.banner-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 20px; 
}
.banner-slide {
    flex: 0 0 calc(50% - 10px); 
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: var(--bg-color);
}
.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 6; 
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 17, 17, 0.7);
    color: var(--text-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--text-primary);
}
.prev-btn {
    left: -20px;
}
.next-btn {
    right: -20px;
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active {
    background: var(--text-primary);
    width: 25px;
    border-radius: 5px;
}
/* css footer */
.footer {
    background-color: #000000;
    color: var(--text-white);
    padding-top: 60px;
    border-top: 1px solid var(--border-dark);
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h4 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--text-white);
}
.footer-col p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}
.footer-info li,
.footer-links li {
    margin-bottom: 12px;
    font-size: 14px;
}
.footer-info i {
    color: var(--text-white);
    margin-right: 10px;
    width: 16px;
    text-align: center;
}
.footer-info li,
.footer-links a {
    color:var(--bg-gray);
}
.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}
.footer-bottom {
    background-color: var(--primary-color);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid var(--text-primary);
}
.footer-bottom p {
    color: #999999;
    margin-bottom: 0;
}
.solutions-section {
    background-color: var(--bg-color);
    padding: 80px 0;
    overflow: hidden;
}
.solutions-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.solution-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.solution-row.reverse {
    direction: rtl; 
}
.solution-row.reverse > * {
    direction: ltr; 
}
.solution-img-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}
.solution-img-box img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.solution-img-box:hover img {
    transform: scale(1.03);
}
.solution-content-box {
    padding: 20px 0;
}
.solution-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    text-transform: uppercase;
}
.solution-content-box h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}
.solution-content-box p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.solution-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}
.solution-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}
.solution-btn:hover {
    color: var(--accent-color);
}
.solution-btn:hover i {
    transform: translateX(5px);
}
.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-left.active,
.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}
/*css tin mới */
.news-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-top: 20px;
}
.news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: var(--border-dark);
}
.news-img-box {
    width: 100%; 
    flex-shrink: 0;
    aspect-ratio: 5 / 3; 
    overflow: hidden;
    background-color: var(--bg-gray);
}
.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-card:hover .news-img-box img {
    transform: scale(1.06);
}
.news-content {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}
.news-tag {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}
.news-date {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-title a {
    color: var(--text-primary);
}
.news-title a:hover {
    color: var(--accent-color);
}
.news-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
}
.news-views {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-readmore {
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.news-readmore:hover {
    color: var(--accent-color);
}
.news-readmore i {
    font-size: 10px;
    transition: transform 0.2s ease;
}
.news-readmore:hover i {
    transform: translateX(3px);
}
/* =========================================
   6. RESPONSIVE - MAX WIDTH 1024PX
========================================= */
@media (max-width: 1024px) {
    .header-top-social {
        gap: 12px;
    }
    .header-top-social a {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    .main-nav > a,
    .menu-link {
        padding: 0 8px;
        font-size: 13px;
        gap: 4px;
    }
    .submenu {
        min-width: 230px;
    }
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .solution-row {
        gap: 30px;
    }
    .solution-img-box img {
        height: 280px;
    }
    .solution-content-box h3 {
        font-size: 22px;
    }
    .news-title {
        font-size: 14px;
    }
}
/* =========================================
   7. RESPONSIVE - MAX WIDTH 991PX
========================================= */
@media (max-width: 991px) {
    .header-top-social {
        gap: 8px;
    }
    .header-top-social a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .header-top-logo img {
        max-width: 145px;
    }
    .header-top-search form {
        max-width: 280px;
        height: 38px;
    }
    .header-top-search input {
        font-size: 12px;
        padding: 0 8px;
    }
    .header-top-search button {
        padding: 0 10px;
        font-size: 12px;
    }
    .main-nav > a,
    .menu-link {
        padding: 0 2px;
        font-size: 10px;
        gap: 2px;
    }
    .submenu {
        min-width: 180px !important;
        left: -65%;
    }
    .hero-content h1 {
        font-size: 30px;
    }
    .categories-grid-icon {
        grid-template-columns: repeat(4, 1fr); 
        gap: 15px 10px;
    }
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-col:first-child {
        grid-column: span 2;
    }
    .solution-row, 
    .solution-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr; /* Đưa về mặc định trên màn hình dọc */
        gap: 20px;
    }
    .solution-img-box img {
        height: 260px;
    }
    .news-grid {
        grid-template-columns: 1fr; 
    }
}
@media (max-width: 767px) {
    .header-top-inner {
        
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .header-top-logo img {
        max-width: 140px;
        max-height:55px;
    }
    .header-top-social {
        gap: 1px;
    }
    .header-top-social a {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    .header-top-search{
        display: none !important;
    }
    .header-top-menu-mobile{
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .header-top-social a>i{
    font-size: 15px !important;
    }
    .header-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85%;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 10000;
        overflow: hidden;

        transform: translateX(-100%);
        transition: transform 0.35s ease;
    }
    .header-menu.mobile-active {
        transform: translateX(0);
    }
    .header-menu > .container {
        width: 100%;
        max-width: 100%;
        height: 100%;
        padding: 0;
        overflow: hidden;
    }
    .main-nav {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100%;
        overflow: hidden;
        background: #ffffff;
    }
    .main-nav > .menu-home,
    .main-nav > .menu-news,
    .main-nav > .menu-item {
        display: block;
        width: 100%;
        height: auto;
    }
    .main-nav .menu-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: 48px;
        height: auto;
        padding: 12px 18px;
        color: #222222;
        background: #ffffff;
        border-bottom: 1px solid #eeeeee;
        font-size: 14px;
        font-weight: 600;
        white-space: normal;
    }
    .main-nav > a:hover,
    .main-nav .menu-link:hover {
        color: #111111;
        background: #f7f7f7;
    }
    .main-nav .menu-home {
        justify-content: flex-start;
        font-size: 18px !important;
    }
    .main-nav a{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-height: 48px;
        height: auto;
        padding: 12px 18px;
        color: #222222;
        background: #ffffff;
        border-bottom: 1px solid #eeeeee;
        font-size: 14px;
        font-weight: 600;
        white-space: normal;
    }
    .main-nav .menu-link i {
        font-size: 14px;
        transform: none !important;
    }
    .main-nav .submenu {
        display: none;
    }
    .mobile-menu-panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        background: #ffffff;
        transform: translateX(100%);
        visibility: hidden;
        transition:
            transform 0.35s ease,
            visibility 0.35s ease;
    }
    .mobile-menu-panel.mobile-panel-main {
        transform: translateX(0);
        visibility: visible;
    }
    .mobile-menu-panel.mobile-panel-active {
        transform: translateX(0);
        visibility: visible;
    }
    .mobile-menu-panel.mobile-panel-hidden {
        transform: translateX(-100%);
        visibility: hidden;
    }
    .mobile-menu-back {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        color: #ffffff;
        background: #111111;
        border: none;
        border-bottom: 1px solid #333333;
        font-size: 14px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
    }
    .mobile-menu-back i {
        margin-right: 8px;
        font-size: 14px;
    }
    .mobile-menu-panel .mobile-submenu-list {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .mobile-menu-panel .mobile-submenu-list a {
        display: block;
        width: 100%;
        padding: 13px 18px;
        color: #333333;
        background: #ffffff;
        border-bottom: 1px solid #eeeeee;
        font-size: 14px;
        line-height: 1.5;
    }
    .mobile-menu-panel .mobile-submenu-list a:hover {
        background: #f7f7f7;
        color: #111111;
    }
    .header-top-menu-mobile {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        font-size: 23px;
        cursor: pointer;
        z-index: 10001;
        padding-right:5px;
    }
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    body.mobile-menu-open {
        overflow: hidden;
    }
    .hero-section {
        padding: 70px 0;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 14px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .categories-grid-icon {
        grid-template-columns: repeat(3, 1fr); 
        gap: 12px 8px;
    }
    .cat-icon-wrap {
        width: 55px;
        height: 55px;
    }
    .cat-item span {
        font-size: 13px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid,
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 22px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .banner-slide {
        flex: 0 0 100%; /* Hiển thị 1 banner duy nhất trên mobile */
    }
    .prev-btn {
        left: 5px;
    }
    .next-btn {
        right: 5px;
    }
    .slider-btn {
        width: 32px;
        height: 32px;
        background: rgba(17, 17, 17, 0.5);
    }.footer {
        padding-top: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }
    .footer-col:first-child {
        grid-column: span 1;
    }
    .solutions-section {
        padding: 50px 0;
    }
    .solutions-container {
        gap: 40px;
    }
    .solution-content-box h3 {
        font-size: 20px;
    }
    .solution-content-box p {
        font-size: 14px;
    }
    .solution-img-box img {
        height: 220px;
    }
    .news-card {
        border-radius: 8px;
    }
    .news-img-box {
        width: 100%;
        aspect-ratio: 5 / 3;
    }
    .news-content {
        padding: 10px 12px;
    }
    .news-title {
        font-size: 13.5px;
        margin: 4px 0;
    }
}
@media (max-width: 400px) {
    .header-top-inner {
        padding-left: 8px;
        padding-right: 8px;
        row-gap: 10px;
        grid-template-columns: 50% 50%;
    }
    .header-top-logo img {
        max-width: 150px;
        max-height: 55px;
    }
    .header-top-social{
        display: none;
    }
    .hero-content h1 {
        font-size: 20px;
    }
    .package-card {
        padding: 20px 15px;
    }
    .float-btn {
        padding: 10px;
    }
    .float-btn .btn-text {
        display: none; 
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid-icon {
        grid-template-columns: repeat(2, 1fr); 
    }
    .solution-img-box img {
        height: 190px;
    }.news-card {
        flex-direction: column;
    }
    .news-img-box {
        width: 100%;
        aspect-ratio: 5 / 3;
    }
    .news-meta-bottom {
        margin-top: 8px;
    }
}
