/* === Banner Section === */
.home-banner { position: relative; overflow: hidden; }
.home-banner .swiper { width: 100%; height: 80vh; min-height: 500px; }
.home-banner .swiper-slide { position: relative; overflow: hidden; }
.home-banner .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.home-banner .slide-content {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; background: rgba(0,0,0,.25);
}
.home-banner .slide-text { max-width: 600px; color: #fff; }
.home-banner .slide-text[style*="text-align:right"],
.home-banner .slide-text[style*="text-align: right"] { margin-left: auto; }
.home-banner .slide-title { font-family: 'MontserratBold', sans-serif; font-size: 45px; font-weight: bold; line-height: 1.2; margin-bottom: 20px; color: #fff; }
.home-banner .slide-subtitle { font-size: 16px; line-height: 2; margin-bottom: 30px; }
.home-banner .slide-cta { display: inline-block; background: var(--site-color); color: #fff; padding: 14px 36px; border-radius: var(--radius-btn); font-size: 16px; transition: all .3s; }
.home-banner .slide-cta:hover { background: #fff; color: var(--site-color); }
.home-banner .swiper-pagination { bottom: 30px; }
.home-banner .swiper-pagination-bullet { width: 12px; height: 12px; background: rgba(255,255,255,.5); opacity: 1; }
.home-banner .swiper-pagination-bullet-active { background: var(--site-color); }
.home-banner .swiper-button-prev,
.home-banner .swiper-button-next { color: #fff; width: 44px; height: 44px; }
.home-banner .swiper-button-prev::after,
.home-banner .swiper-button-next::after { font-size: 22px; }
.home-banner .slide-center .slide-title { font-size: 50px; text-align: center; text-shadow: 2px 2px 5px rgba(0,0,0,.5); }
.home-banner .slide-center .slide-text { max-width: 800px; margin: 0 auto; text-align: center; }

/* === About Section === */
.home-about { padding: 80px 0 60px; }
.home-about .about-wrap { display: flex; flex-wrap: wrap; align-items: center; }
.home-about .about-text { flex: 0 0 58.3333%; max-width: 58.3333%; padding-right: 40px; }
.home-about .about-image { flex: 0 0 41.6667%; max-width: 41.6667%; }
.home-about .about-image img { border-radius: var(--radius-image); width: 100%; }
.home-about .about-subtitle { color: var(--site-color); font-size: 16px; margin-bottom: 10px; font-weight: 600; }
.home-about .about-title { font-family: 'MontserratBold', sans-serif; font-size: 32px; margin-bottom: 20px; }
.home-about .about-desc { line-height: 1.75; margin-bottom: 30px; }
.home-about .about-desc p:first-child { font-weight: bold; }
.home-about .about-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* === Video Section === */
.home-video {
    position: relative; max-width: 1440px; margin: 0 auto 60px;
    border-radius: var(--radius-image); overflow: hidden;
    background-size: cover; background-position: center; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
}
.home-video::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.3); }
.video-play-btn {
    position: relative; z-index: 2; width: 60px; height: 60px;
    background-color: #fff; border: 1px solid var(--site-color); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; cursor: pointer; transition: all .3s;
    text-decoration: none;
}
.video-play-btn i {
    font-size: 18px; color: var(--site-color); line-height: 1;
    margin-left: 4px;
}
.video-play-btn svg { display: none; }
.video-play-btn::before {
    content: ''; position: absolute; left: -30%; top: -30%; width: 160%; height: 160%;
    border: 2px solid rgba(0,0,0,.15); border-radius: 50%;
    animation: video_pulse 1.5s linear infinite alternate;
}
@keyframes video_pulse {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(.6); }
}
.video-play-btn:hover { transform: scale(1.1); }

/* Video Modal */
.video-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.9); z-index: 99999; display: none; align-items: center; justify-content: center; }
.video-modal.active { display: flex; }
.video-modal video, .video-modal iframe { max-width: 90%; max-height: 80vh; }
.video-modal-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; cursor: pointer; }

/* === Product Category Tabs === */
.home-products { padding: 60px 0 20px; }
.home-products .index_title { text-align: left; font-size: 40px; margin-bottom: 30px; }
.product-tabs { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.product-tab {
    width: 10%; flex: 0 0 auto; text-align: center; padding: 15px 10px;
    cursor: pointer; transition: all .3s; position: relative;
}
.product-tab .tab-icon {
    width: 75%; margin: 0 auto 8px; border-radius: 50%;
    border: 1px solid #fff; overflow: hidden; transition: all .3s;
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.product-tab .tab-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.product-tab .tab-name { font-size: 13px; color: var(--text-primary); line-height: 1.4; }
.product-tab.active .tab-icon { border: 2px solid var(--site-color); }
.product-tab.active::after {
    content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
    border: 15px solid transparent; border-top-color: var(--site-color);
}
.product-tab-content { background: #fff; border-radius: var(--radius-container); padding: 40px; display: none; }
.product-tab-content.active { display: flex; flex-wrap: wrap; align-items: center; }
.product-tab-content .tab-desc { flex: 0 0 50%; max-width: 50%; padding-right: 30px; }
.product-tab-content .tab-image { flex: 0 0 50%; max-width: 50%; }
.product-tab-content .tab-image img { border-radius: var(--radius-image); width: 100%; }
.product-tab-content h3 { font-size: 24px; margin-bottom: 15px; }
.product-tab-content p { margin-bottom: 20px; line-height: 1.75; }

/* === Hot Products === */
.home-hot-products { padding: 0 0 60px; }
.home-hot-products .index_title { margin-bottom: 30px; }
.product-card { position: relative; border-radius: var(--radius-card); overflow: hidden; margin-bottom: 20px; }
.product-card .card-image { position: relative; overflow: hidden; border-radius: var(--radius-card); }
.product-card .card-image img { width: 100%; height: 280px; object-fit: cover; transition: transform .5s; }
.product-card:hover .card-image img { transform: scale(1.05); }
.product-card .card-mask {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.6); border-radius: var(--radius-card);
    opacity: 0; transition: opacity .3s; display: flex; align-items: center;
    justify-content: center; padding: 20px; text-align: center;
}
.product-card:hover .card-mask { opacity: 1; }
.product-card .card-mask p { color: #fff; font-size: 14px; line-height: 1.6; }
.product-card .card-info { padding: 15px 5px; }
.product-card .card-title { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.product-card .card-title a { color: var(--text-primary); }
.product-card .card-title a:hover { color: var(--site-color); }
.product-card .card-cat { font-size: 13px; color: var(--text-muted); }

/* === Services (Why Choose Us) === */
.home-services { padding: 60px 0; }
.home-services .index_title { font-size: 40px; }
.service-cards { display: flex; flex-wrap: wrap; justify-content: space-around; width: 83%; margin: 30px auto 0; }
.service-card {
    flex: 0 0 30%; text-align: center; border-radius: 24px; padding: 30px 30px 22px;
    transition: all .5s; position: relative; z-index: 3;
}
.service-card::after {
    content: ''; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px; opacity: 0; transition: all .5s;
    box-shadow: 0 20px 40px 0 rgba(0,0,0,.06);
}
.service-card:hover::after { opacity: 1; }
.service-card:hover { box-shadow: 0 20px 40px 0 rgba(0,0,0,.06); }
.service-card .svc-icon { height: 100px; display: flex; align-items: center; justify-content: center; margin: 0 auto 2px; }
.service-card .svc-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.service-card h3 {
    font-family: 'MontserratBold', sans-serif; font-size: 20px; margin: 0 auto;
    padding: 22px 0; transition: all .5s;
}
.service-card:hover h3 { transform: scale(1.1); }
.service-card p { color: var(--text-primary); font-size: 14px; line-height: 1.75; }
.service-card .ser-more {
    font-size: 14px; font-weight: 600; text-decoration: underline;
    padding: 40px 0 25px; opacity: 0; transition: all .5s; display: block;
}
.service-card:hover .ser-more { opacity: 1; }

/* === News Section === */
.home-news { padding: 60px 0; background: #fff; }
.home-news .news-header { display: flex; flex-wrap: wrap; align-items: baseline; position: relative; margin-bottom: 40px; }
.home-news .news-header .index_title { font-size: 40px; font-weight: bold; line-height: 45px; margin-bottom: 0; text-align: left; }
.home-news .news-header .more-link {
    position: absolute; right: 0; top: 8px; z-index: 1;
}
.home-news .news-header .more-link a {
    color: #fff; background: var(--site-color); font-size: 16px;
    padding: 10px 30px; line-height: 25px; border-radius: var(--radius-btn);
    display: inline-block; transition: all .3s; white-space: nowrap;
}
.home-news .news-header .more-link a:hover { opacity: .85; }
.news-body { display: flex; gap: 2%; }
.news-left { flex: 0 0 34%; background: #fff; padding: 0; }
.news-video-wrap {
    position: relative; border-radius: 8px; overflow: visible; cursor: pointer; margin-bottom: 15px;
}
.news-video-wrap img { width: 100%; display: block; border-radius: 8px; }
.news-video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.news-video-wrap:hover .news-video-play { transform: translate(-50%,-50%) scale(1.1); }
.news-video-title { font-size: 18px; color: var(--site-color); margin-bottom: 10px; font-weight: 600; }
.news-video-desc { font-size: 14px; color: #666; line-height: 1.75; }
.news-middle { flex: 0 0 64%; padding: 0 0 0 30px; background: #fff; }
.news-featured { padding-bottom: 20px; border-bottom: 1px solid #e7e7e7; margin-bottom: 10px; }
.news-featured-cat { font-size: 16px; color: var(--site-color); font-weight: 600; display: block; margin-bottom: 10px; }
.news-featured-title { font-size: 22px; color: #333; line-height: 1.4; margin-bottom: 10px; font-weight: bold; }
.news-featured-title a { color: #333; }
.news-featured-title a:hover { color: var(--site-color); }
.news-featured-date { margin-bottom: 10px; }
.news-featured-date span { font-size: 14px; color: #bcbcbc; }
.news-featured-excerpt { font-size: 14px; color: #a9a9a9; line-height: 1.75; }
.news-middle .news-list-items { padding: 0; margin: 0; }
.news-middle .news-list-items li {
    display: flex; align-items: center; margin-top: 20px; list-style: none;
    padding-bottom: 20px; border-bottom: 1px solid #e7e7e7;
}
.news-middle .news-list-items li:last-child { border-bottom: none; padding-bottom: 0; }
.news-middle .news-list-items .news-item-date {
    min-height: 60px; min-width: 70px; text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin-right: 25px; padding-right: 25px; border-right: 1px solid #e7e7e7;
    flex-shrink: 0;
}
.news-middle .news-list-items .news-item-date em {
    font-style: normal; color: #333; font-size: 36px; font-weight: bold; display: block;
}
.news-middle .news-list-items .news-item-date i {
    font-style: normal; color: #999; font-size: 14px; display: block;
}
.news-middle .news-list-items .news-item-title a {
    color: #333; transition: all .5s; font-size: 16px; line-height: 24px;
}
.news-middle .news-list-items .news-item-title a:hover { color: var(--site-color); }

/* === Responsive === */
@media (max-width: 1440px) {
    .home-video { max-width: 1230px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 991px) {
    .product-tab { width: 20%; }
    .product-tab-content .tab-desc, .product-tab-content .tab-image { flex: 0 0 100%; max-width: 100%; padding: 0; }
    .product-tab-content .tab-desc { margin-bottom: 20px; }
    .home-about .about-text, .home-about .about-image { flex: 0 0 100%; max-width: 100%; padding-right: 0; }
    .home-about .about-text { margin-bottom: 30px; }
    .service-card { flex: 0 0 49%; }
    .service-cards { width: 100%; }
}
@media (max-width: 767px) {
    .home-banner .swiper { height: 60vh; min-height: 300px; }
    .home-banner .slide-content { display: none; }
    .home-banner .slide-title { font-size: 28px; }
    .home-about { padding: 40px 0 30px; }
    .home-video { margin-left: 15px; margin-right: 15px; min-height: 250px; }
    .product-tab { width: 33.333%; }
    .product-tab-content { padding: 20px; }
    .service-card { flex: 0 0 98%; }
    .news-body { flex-wrap: wrap; }
    .news-left, .news-middle { flex: 0 0 100%; }
    .news-middle { margin-top: 20px; }
    .home-products .index_title { font-size: 26px; }
    .home-services .index_title { font-size: 26px; }
    .home-news .news-header .index_title { font-size: 26px; }
}
