:root {
    --theme-color: #ff0000;
    --section-space: 80px;
}
.hero-style5.hero-style1 .sub-title::before, .hero-style5.hero-style1 .sub-title::after {
    background: #fff;
}
.header-top {
    background: #fff;
}
.header-layout3 .menu-area {
    backdrop-filter: none;
    background: transparent;
}
.header-logo img {
    max-height: 60px;
    max-width: 200px;
}
.header-layout3 .header-button {
    position: unset;
}
.header-layout3 .header-logo {
    padding-left: 0;
}
.header-layout3 .sticky-wrapper.sticky {
    background-color: #ff0000;
}
.hero-style5 .hero-title {
    font-size: 38px;
    line-height: 1.6;
}
.overlay-5::before, .overlay-5::after {
    background: rgb(242 169 56 / 50%);
}
.overlay-5::after {
    background: linear-gradient(270deg, rgb(255 13 0 / 100%) 0%, rgba(6, 48, 117, 0) 100%);
}
.marquee-top {
    padding: 5px 0;
    font-size: 24px;
}
.header-layout1 .logo-bg {
    width: 35%;
}
.blog-box .blog-img img {
    height: 270px;
}
.img-box4 .img2 img {
    max-width: 300px;
}
/* .project-card3 .box-img:after {
    opacity: .5;
}
.project-slider3 .swiper-slide.swiper-slide-active .project-card3 .box-img:after {
    opacity: .2;
} */
.bg-title {
    background-color: #000000 !important;
}
.faq-area4-bg-gradient {
    position: absolute;
    inset: 0;    
    background: linear-gradient(180deg, #dc3545 41.64%, rgb(220 53 69) 46.39%, rgba(220, 53, 69, 0.976897) 47.25%, rgba(220, 53, 69, 0.95837) 48.44%, rgba(220, 53, 69, 0.945502) 50.26%, rgba(220, 53, 69, 0.92888) 51.67%, rgba(220, 53, 69, 0.916716) 53.42%, rgba(220, 53, 69, 0.905828) 54.83%, rgba(220, 53, 69, 0.894487) 56.13%, rgba(220, 53, 69, 0.879662) 57.62%, rgba(220, 53, 69, 0.862471) 59.67%, rgba(220, 53, 69, 0.83) 61.56%, rgba(220, 53, 69, 0.73) 65.61%, rgba(220, 53, 69, 0.68) 68.7%, rgba(220, 53, 69, 0.32) 82.08%, rgba(255, 255, 255, 0) 91.86%);
    z-index: -1;
}
.brand-box {
    -webkit-filter: none;
    filter: none;
}
.brand-box.style2 {
    border: 5px solid hsl(36deg 88% 58% / 10%);
    border-right: 5px solid hsl(36deg 88% 58% / 10%);
}
.about-item {
    max-width: 444px;
}
.title-area .sec-title {
    line-height: 1.4;
    font-size: 35px;
}
.project-slider3 {
    margin-right: 0;
    border-radius: 8px;
}
.project-slider3 .swiper-slide.swiper-slide-active {
    width: 720px !important;
}
.widget-area {
    padding-bottom: 40px;
}
.footer-wrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(255 0 0 / 65%);
    z-index: -1;
}
.footer-widget.widget_nav_menu a {
    color: #fefefe!important;
}
.footer-widget .th-widget-contact .info-box_text a {
    color: #fefefe!important;
}
.footer-widget.widget_nav_menu a:hover:before {
    color: #fefefe!important;
}
.th-widget-about .about-text {
    color: #fefefe;
    text-align: justify;
}
.info-box_text {
    align-items: center;
}
.copyright-wrap {
    background-color: #f2a938;
}
.hero-9-marquee {
    padding: 7px 0;
}
.th-menu-wrapper .mobile-logo {
    padding-left: 30px;
    padding-right: 30px;
}
.marquee-card .marquee-icon img {
    width: 24px;
}
.case-box.active .case-img::before {
    -webkit-transform: scale(1);
    transform: scale(1);
}
.case-box.style2.active .case-img:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.case-box.style2.active .case-content {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.case-box.style2.active .case-action {
    opacity: 1;
    visibility: visible;
}

.case-box {
    height: 100%;
    border-radius: 16px;
}

.project-card3 .icon-btn {
    margin-top: 0!important;
}

.breadcumb-title {
    font-size: 36px;
    line-height: 1.4;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 24px;
}

.product-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.product-item-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-item-desc {
    font-size: 13px;
    opacity: 0.9;
}

/* Pattern ngẫu nhiên giống hình mẫu */
.product-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.product-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
}

.product-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.product-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
}

.product-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.product-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
}

.product-item:nth-child(7) {
    grid-column: span 2;
    grid-row: span 2;
}

.product-item:nth-child(8) {
    grid-column: span 1;
    grid-row: span 1;
}

.product-item:nth-child(9) {
    grid-column: span 1;
    grid-row: span 2;
}

.product-item:nth-child(10) {
    grid-column: span 1;
    grid-row: span 1;
}

.product-item:nth-child(11) {
    grid-column: span 1;
    grid-row: span 1;
}

.product-item:nth-child(12) {
    grid-column: span 1;
    grid-row: span 1;
}

/* Responsive - 3 cột trên tablet */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }
}

/* Responsive - 2 cột trên mobile */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    /* Đơn giản hóa layout trên mobile */
    .product-item:nth-child(1),
    .product-item:nth-child(4),
    .product-item:nth-child(5),
    .product-item:nth-child(7),
    .product-item:nth-child(9) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Responsive - 1 cột trên mobile nhỏ */
@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .project-slider3 .swiper-slide.swiper-slide-active {
        width: 100% !important;
    }
    .sub-title {
        font-size: 14px;
    }
}

.breadcumb-wrapper {
    padding: 252px 0 152px;
}

.recent-post .media-img img {
    height: 100%;
    object-fit: cover;
}
.th-product .product-img img {
    height: 250px;
    object-fit: cover;
}
.th-product:hover .actions {
    padding: 15px;
}
@media (max-width: 575px) {
    .hero-style5 .hero-title {
        font-size: 18px;
    }
    .hero-5 .th-hero-image {
        padding: 10px;
    }
    .ab5-imgbox .img2 {
        position: absolute!important;
    }
    .marquee-hero-slider {
        padding: 0;
    }
    .marquee-hero-slider .marquee-card a {
        font-size: 15px;
    }
    .hero-style5 .th-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    .ab5-wrapp {
        margin-top: 20px !important;
    }
    .title-area .sec-title {
        font-size: 24px;
    }
    .brand-box.style2 {
        width: 150px;
        height: 150px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
        gap: 0px;
    }
    .footer-links ul li {
        font-size: 14px;
    }
    .breadcumb-wrapper {
        padding: 252px 0 152px;
    }
}


