#pcherobox{
    display: block;
}
#mobileherobox{
    display: none;
}
/* ===== Hero Section ===== */
.hero-section {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    height: clamp(350px, 55vh, 700px);
}

.hero-carousel .swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-carousel .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%); */
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: clamp(280px, 50vw, 700px);
    padding-left: 20px;
}

.slide-content h1 {
    color: #fff;
    font-size: clamp(24px, 3.5vw, 52px);
    font-weight: bold;
    margin-bottom: clamp(10px, 1.5vh, 25px);
    line-height: 1.3;
}

.slide-content h1 .highlight {
    color: var(--primary-red-light);
}

.slide-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(14px, 1.3vw, 18px);
    letter-spacing: 2px;
    margin-bottom: clamp(16px, 2.5vh, 32px);
}

.slide-btn {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    padding: clamp(10px, 1.2vh, 16px) clamp(24px, 3vw, 45px);
    border-radius: 30px;
    text-decoration: none;
    font-size: clamp(14px, 1.1vw, 16px);
    transition: all 0.3s;
}

.slide-btn:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

.hero-pagination {
    position: absolute;
    bottom: clamp(15px, 2.5vh, 35px);
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex;
    justify-content: center;
    gap: 12px;
    width: auto !important;
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: clamp(14px, 1.2vw, 22px);
    height: clamp(14px, 1.2vw, 22px);
    background: #000;
    border: clamp(2px, 0.3vw, 3px) solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--primary-red);
    border-color: #ffffff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(35px, 3vw, 55px);
    height: clamp(35px, 3vw, 55px);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: clamp(14px, 1.2vw, 20px);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hero-arrow::after {
    display: none;
}

.hero-arrow:hover {
    background: var(--primary-red);
}

.hero-arrow.swiper-button-prev {
    left: clamp(15px, 2vw, 35px);
}

.hero-arrow.swiper-button-next {
    right: clamp(15px, 2vw, 35px);
}

/* ===== Product Series ===== */
.product-section {
    padding: clamp(40px, 5vh, 90px) 0;
    background: #fff;
}
.product-section .container{
    max-width: 1800px;
    margin: 0 auto;
}
.product-carousel {
    position: relative;
    padding: 0;
    margin-bottom: 60px;
    overflow: hidden;
}

.product-carousel-wrapper {
    position: relative;
    padding: 0 clamp(50px, 6vw, 90px);
}

.product-carousel .swiper-wrapper {
    align-items: stretch;
}

.product-carousel .swiper-slide {
    height: auto;
}

.product-carousel .swiper-slide .product-card {
    transform: none;
    opacity: 1;
    filter: none;
}

.product-carousel .swiper-slide-active .product-card {
    box-shadow: none;
}

.product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: clamp(220px, 28vw, 340px);
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
}

.product-card .card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.product-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: clamp(60px, 8vw, 90px);
    background: rgba(231, 31, 33, 0.75);
    color: #fff;
    transition: height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.5s ease;
    overflow: hidden;
}

.product-card .card-overlay .overlay-title {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1;
}

.product-card .card-overlay h4 {
    color: #fff;
    font-size: clamp(14px, 1.3vw, 20px);
    line-height: 1.3;
    margin-bottom: 4px;
    font-weight: 600;
}

.product-card .card-overlay .en-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(10px, 0.8vw, 13px);
    font-style: italic;
    letter-spacing: 0.3px;
    line-height: 1.1;
}

.product-card .card-overlay .desc {
    position: absolute;
    left: clamp(12px, 1.2vw, 20px);
    right: clamp(12px, 1.2vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(11px, 0.9vw, 14px);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
}

.product-card .card-overlay .view-btn {
    position: absolute;
    bottom: clamp(6px, 0.8vw, 12px);
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    padding: clamp(4px, 0.5vw, 8px) clamp(12px, 1.5vw, 24px);
    text-decoration: none;
    font-size: clamp(11px, 0.9vw, 14px);
    font-weight: 500;
    transition: all 0.3s;
    opacity: 0;
}


.product-card:hover .card-overlay {
    height: 100%;
    background: rgba(231, 31, 33, 0.75);
}

.product-card:hover .card-overlay .overlay-title {
    top: 25%;
    transform: translateY(-50%);
}

.product-card:hover .card-overlay .desc {
    opacity: 1;
}

.product-card:hover .card-overlay .view-btn {
    opacity: 1;
    bottom: 40px;
}

.product-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(36px, 3.5vw, 50px);
    height: clamp(36px, 3.5vw, 50px);
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background: transparent;
    padding: 0;
}

.product-arrow:hover {
    background: rgba(231, 31, 33, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.product-arrow::before,
.product-arrow::after {
    display: none !important;
}

.product-arrow .arrow-icon {
    width: 50%;
    height: 50%;
    color: #333;
    transition: all 0.3s;
}

.product-arrow:hover .arrow-icon {
    color: var(--primary-red);
}

.swiper-button-prev.product-arrow,
.swiper-button-next.product-arrow {
    width: clamp(36px, 3.5vw, 50px) !important;
    height: clamp(36px, 3.5vw, 50px) !important;
    border: 2px solid #333 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #333 !important;
    display: flex;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999 !important;
}

.swiper-button-prev.product-arrow::after,
.swiper-button-next.product-arrow::after {
    display: none !important;
    content: none !important;
}

.swiper-button-prev.product-arrow {
    left: -10px !important;
}

.swiper-button-next.product-arrow {
    right: -10px !important;
}

.product-pagination {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    justify-content: center;
    gap: 10px;
}

.product-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
}

.product-pagination .swiper-pagination-bullet-active {
    background: var(--primary-red);
    transform: scale(1.2);
}

.product-card.featured {
    height: clamp(220px, 28vw, 340px);
}

.product-card.featured .card-image {
    height: 100%;
    position: relative;
}

/* ===== Company Intro ===== */
.company-section {
    padding: clamp(40px, 5vh, 90px) 0;
    background: url('../image/about/about_bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
}


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

.company-section .section-title h2,
.company-section .stat-label {
    color: #000;
}

.company-text p {
    color: #000;
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.stats-row {
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: clamp(15px, 2vh, 35px) clamp(10px, 1.5vw, 25px);
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: #ddd;
}

.stat-item:last-child::after {
    display: none;
}

.stat-item .stat-number {
    font-size: clamp(28px, 2.8vw, 45px);
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: clamp(13px, 1vw, 16px);
    color: var(--text-dark);
}

/* ===== Workshop Section ===== */
.workshop-section {
    padding: clamp(40px, 5vh, 90px) 0;
    background: #fff;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 22px);
}

.workshop-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s;
}

.workshop-item:hover {
    transform: scale(1.03);
}

.workshop-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, transparent 60%);
}

.workshop-item .workshop-label {
    position: absolute;
    bottom: clamp(12px, 1.5vw, 22px);
    left: clamp(12px, 1.5vw, 22px);
    z-index: 2;
    color: #fff;
}

.workshop-item .workshop-label h5 {
    font-size: clamp(13px, 1.1vw, 17px);
    margin-bottom: 3px;
}

.workshop-item .workshop-label span {
    font-size: clamp(11px, 0.9vw, 13px);
    opacity: 0.8;
}

/* ===== News Section ===== */
.news-section {
    padding: clamp(40px, 5vh, 90px) 0;
    background: var(--gray-bg);
}
.news-section .container{
    max-width: 1500px;
    margin: 0 auto;
}
.news-carousel {
    position: relative;
    margin: 0 clamp(30px, 4vw, 60px);
}

.news-card {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    height: clamp(200px, 22vw, 280px);
    transition: all 0.3s;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.news-card .news-image {
    width: clamp(180px, 20vw, 280px);
    min-width: clamp(180px, 20vw, 280px);
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card .news-body {
    padding: clamp(16px, 2vw, 28px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card .news-body h4 {
    font-size: clamp(15px, 1.2vw, 20px);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 600;
}

.news-card .news-body p {
    font-size: clamp(12px, 0.9vw, 15px);
    color: var(--text-gray);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.news-card .news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.news-card .news-date {
    font-size: clamp(12px, 0.9vw, 15px);
    color: #F59805;
}

.news-card .news-icon {
    width: clamp(32px, 2.8vw, 42px);
    height: clamp(32px, 2.8vw, 42px);
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(13px, 1.1vw, 17px);
    transition: all 0.3s;
}

.news-icon img {
    width: clamp(16px, 1.4vw, 22px);
    height: clamp(16px, 1.4vw, 22px);
}

.news-card:hover .news-icon {
    transform: scale(1.1);
}

.news-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(32px, 3vw, 48px);
    height: clamp(32px, 3vw, 48px);
    border: 3px solid #000;
    border-radius: 50%;
    color: #000;
    font-size: clamp(14px, 1.3vw, 20px);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}


.news-arrow.prev {
    left: clamp(-80px, -6vw, -30px);
}

.news-arrow.next {
    right: clamp(-80px, -6vw, -30px);
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.news-more a {
    display: inline-block;
    color: #000;
    text-decoration: none;
    transition: all 0.3s;
}

/* ===== Responsive - Home Page ===== */
@media (max-width: 991.98px) {
    #pcherobox{
        display: none;
    }
    #mobileherobox{
        display: block;
    }
    .hero-section {
        margin-top: 80px;
    }

    .hero-carousel {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 15px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-arrow.swiper-button-prev {
        left: 15px;
    }

    .hero-arrow.swiper-button-next {
        right: 15px;
    }

    .hero-pagination {
        display: none !important;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .workshop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item::after {
        display: none;
    }

    .product-carousel {
        padding: 0;
        margin-bottom: 50px;
    }

    .product-carousel-wrapper {
        padding: 0 12px;
    }

    .product-carousel .swiper-slide {
        height: auto;
        width: 75%;
    }

    .product-carousel .swiper-slide-active .product-card {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }

    .product-carousel .swiper-slide:not(.swiper-slide-active) .card-overlay {
        opacity: 0;
    }

    .product-carousel .swiper-slide {
        overflow: visible;
    }

    .product-card {
        width: 100%;
        height: auto !important;
        aspect-ratio: 4/3 !important;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.4s ease;
    }

    .product-card .card-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .product-card .card-overlay {
        height: auto;
        min-height: 40%;
        background: rgba(231, 31, 33, 0.75);
    }

    .product-card.active .card-overlay {
        height: 100%;
        background: rgba(231, 31, 33, 0.85);
    }

    .product-card .card-overlay .overlay-title {
        top: 50%;
    }

    .product-card.active .card-overlay .overlay-title {
        top: 25%;
        transform: translateY(-50%);
    }

    .product-card .card-overlay h4 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 4px;
        font-weight: 700;
    }

    .product-card .card-overlay .en-name {
        font-size: 14px;
        line-height: 1.2;
        font-style: italic;
        letter-spacing: 0.5px;
    }

    .product-card .card-overlay .desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .product-card .card-overlay .view-btn {
        font-size: 13px;
        padding: 6px 18px;
    }

    .product-arrow {
        display: none !important;
    }

    .news-arrow {
        display: none;
    }

    .news-arrow {
        display: none;
    }

    /* News mobile layout handled in news.css */
}

@media (max-width: 767.98px) {
    .hero-carousel {
        height: 320px;
    }

    .slide-content {
        padding: 0 20px;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .slide-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .product-section,
    .company-section,
    .workshop-section,
    .news-section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .company-section .container {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .stats-row {
        margin-top: 30px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stats-row .col-sm-6 {
        padding: 0;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .workshop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-item .stat-number {
        font-size: 32px;
    }

    .news-section {
        padding: 50px 0;
    }

    .news-section .container {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .news-carousel {
        margin: 0;
    }

    .news-carousel .row {
        --bs-gutter-y: 0;
    }
}
