:root {
    --primary-red: #e60012;
}

html {
    scroll-behavior: smooth;
    overflow-y: overlay;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navbar styles */
.navbar {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 45px;
}

.navbar-nav {
    margin-left: 50px;
}

.nav-link {
    color: #000 !important;
    font-size: 16px;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    padding: 5px 0 !important;
}

/* Remove dropdown arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* Hover dropdown logic */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        margin-top: 0 !important;
    }
}

.nav-link.active {
    color: var(--primary-red) !important;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-red);
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

/* Dropdown styling */
.dropdown-menu {
    border: none;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top: 25px !important;
    overflow: visible;
    min-width: 150px;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px);
    background-color: #fff;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    z-index: 1001;
}

.dropdown-item {
    font-size: 15px;
    padding: 15px 20px;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f8f8;
    display: block;
}

.dropdown-item:first-child {
    border-radius: 4px 4px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--primary-red) !important;
    color: #fff !important;
}

/* Ensure the arrow turns red when the first item is hovered */
.dropdown-item:first-child:hover ~ .dropdown-menu::before,
.dropdown-menu:has(.dropdown-item:first-child:hover)::before {
    border-bottom-color: var(--primary-red);
}

/* CSS trick to change arrow color when first item is hovered/active */
.dropdown-menu:has(.dropdown-item:first-child:hover)::before,
.dropdown-menu:has(.dropdown-item:first-child.active)::before {
    border-bottom-color: var(--primary-red);
}

.lang-switch {
    font-size: 16px;
    font-weight: 500;
    margin-left: 30px;
    margin-right: 35px;
    color: #000;
}

.lang-switch a {
    text-decoration: none;
    color: inherit;
}

.lang-switch span {
    margin: 0 5px;
    color: #999;
}

.search-icon img {
    width: 22px;
    cursor: pointer;
    vertical-align: middle;
}

/* Hero Carousel */
.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    margin-top: -50px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtext-container {
    position: relative;
    display: inline-block;
    padding: 20px 0;
}

.hero-subtext-container::before,
.hero-subtext-container::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 500px;
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
}

.hero-subtext-container::before {
    top: 0;
}

.hero-subtext-container::after {
    bottom: 0;
}

.hero-content p {
    font-size: 1.35rem;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 2px;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

.scroll-down img {
    width: 20px;
    animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes bounce-soft {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(12px);
        opacity: 1;
    }
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Section Header */
.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.section-divider {
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: url("../imgs/about-bg.jpg") no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0;
}

.about-content p {
    font-size: 16px;
    line-height: 2;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.stat-number small {
    font-size: 18px;
    font-weight: normal;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

.section-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
}

/* Research Section */
.research-section {
    padding: 100px 0;
}

.research-card {
    position: relative;
    overflow: hidden;
    /* height: 450px; */
    display: inline-block;
}

.research-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.research-card:hover img {
    transform: scale(1.1);
}

.research-card-title {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.research-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.4); /* Default dark overlay */
    transition: all 0.3s ease;
}

.research-card:hover .research-card-overlay {
    background-color: var(--primary-red);
}

.icon-list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 0 10px;
}

.icon-item {
    display: flex;
    align-items: center;
    color: #fff;
}

.icon-item img {
    height: 24px !important;
    width: auto !important;
    margin-right: 8px;
}

.icon-item span {
    font-size: 14px;
    white-space: nowrap;
}

.research-stats .stat-item {
    padding: 20px 10px;
}

.research-stats .stat-number {
    font-size: 32px;
    margin-bottom: 5px;
}

.research-stats .stat-label {
    font-size: 14px;
}

/* Manufacture Section */
.manufacture-section {
    padding: 100px 0;
}

.manufacture-swiper {
    padding: 20px 0 50px;
    position: relative;
    width: 100%;
    margin: 0;
}

.manufacture-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    border-radius: 0;
    box-shadow: none;
    display: inline-block;
}

.manufacture-swiper .swiper-button-prev {
    left: 40px;
}

.manufacture-swiper .swiper-button-next {
    right: 40px;
}

.manufacture-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.manufacture-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 2;
}

.manufacture-card:hover .manufacture-overlay {
    background: var(--primary-red);
}

.manufacture-card:hover img {
    transform: scale(1.05);
}

/* Custom Navigation Arrows */
.manufacture-swiper .swiper-button-next,
.manufacture-swiper .swiper-button-prev {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.manufacture-swiper .swiper-button-next::after,
.manufacture-swiper .swiper-button-prev::after {
    font-size: 18px;
    color: var(--primary-red);
    font-weight: bold;
}

.manufacture-swiper .swiper-button-next:hover,
.manufacture-swiper .swiper-button-prev:hover {
    background-color: var(--primary-red);
}

.manufacture-swiper .swiper-button-next:hover::after,
.manufacture-swiper .swiper-button-prev:hover::after {
    color: #fff;
}

/* Quality Section */
.quality-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.quality-image {
    line-height: 0;
}

.quality-image img {
    height: 100%;
    object-fit: cover;
}

.quality-content-wrapper {
    /* background-image: radial-gradient(#ddd 1px, transparent 1px); */
    background-size: 20px 20px; /* Dot pattern */
}

/* QA Section */
.qa-section {
    padding: 100px 0;
}

.qa-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.qa-icon {
    border: 1px dashed #ccc;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    background-color: #fff;
}

.qa-icon img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.icon-active {
    position: absolute;
    opacity: 0;
}

.qa-label {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* QA Hover Effects */
.qa-item:hover .qa-icon {
    border: 1px solid var(--primary-red);
    background-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(230, 0, 18, 0.2);
}

.qa-item:hover .icon-default {
    opacity: 0;
}

.qa-item:hover .icon-active {
    opacity: 1;
}

.qa-item:hover .qa-label {
    color: var(--primary-red);
}

/* Remove divider for specific headers */
.no-divider + .section-divider {
    display: none;
}

/* Trending Products Section */
.products-section {
    padding: 100px 0;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Contact Bar Section */
.contact-bar {
    background-color: var(--primary-red);
    height: 60px;
    position: relative;
    z-index: 999;
}

.contact-icon {
    width: 24px;
    height: auto;
}

.contact-text {
    font-size: 18px;
    letter-spacing: 1px;
}

.btn-close-custom {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-close-custom:hover {
    opacity: 0.7;
}

.btn-close-custom img {
    width: 16px;
    height: auto;
}

/* ESG Section */
.esg-section {
    background: url("../imgs/esg/esg-bg.jpg") no-repeat center center;
    background-size: cover;
    padding: 120px 0;
    position: relative;
}

.esg-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
}

.esg-content-container {
    position: relative;
    z-index: 2;
}

.char-title {
    font-size: 28px;
    font-weight: bold;
}

.char-item {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.char-dot {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 15px;
    display: inline-block;
    border: 1px solid #fff;
    background-clip: content-box;
    padding: 3px;
}

.esg-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.esg-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esg-card-icon img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.esg-card-icon .icon-active {
    position: absolute;
    opacity: 0;
}

.esg-card-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* ESG Hover Effects */
.esg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.esg-card:hover .icon-default {
    opacity: 0;
}

.esg-card:hover .icon-active {
    opacity: 1;
}

.esg-card:hover .esg-card-label {
    color: var(--primary-red);
}

/* Footer Section */
.footer-section {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.footer-links li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--primary-red);
}

.footer-links .separator {
    color: #ccc;
    margin: 0 15px;
    font-size: 14px;
}

.footer-copyright {
    color: #999;
    line-height: 1.8;
}

.social-icons {
    height: 100%;
}

.social-item {
    position: relative;
    cursor: pointer;
}

.social-icon-box {
    width: 45px;
    height: 45px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon-box img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.social-icon-box .icon-active {
    position: absolute;
    opacity: 0;
}

.qr-popup {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.qr-popup::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

.qr-popup img {
    width: 120px;
    height: 120px;
}

/* Footer Hover Effects */
.social-item:hover .social-icon-box {
    background-color: var(--primary-red);
}

.social-item:hover .icon-default {
    opacity: 0;
}

.social-item:hover .icon-active {
    opacity: 1;
}

.social-item:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* About Page Specific Styles */
.about-hero {
    position: relative;
}

.about-hero-bg {
    width: 100%;
    z-index: 1;
}

.about-hero-bg svg,
.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-content {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    align-items: center;
}

.video-play-btn circle {
    transition: fill-opacity 0.3s;
}

.video-play-btn:hover circle {
    fill-opacity: 0.8;
}

.profile-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
}

.stat-item-simple .stat-number {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.history-card {
    transition: transform 0.3s ease;
}
.history-card img {
    width: 100%;
    aspect-ratio: 493/389;
    object-fit: cover;
}
.history-card:hover {
    transform: translateY(-10px);
}

.honor-img-box {
    transition: border-color 0.3s;
}

.honor-item:hover .honor-img-box {
    border-color: var(--primary-red) !important;
}

.values-grid {
    height: 650px;
}

.value-card {
    cursor: pointer;
}

.value-card svg,
.value-card img {
    transition: transform 0.5s ease;
}

.value-card:hover svg,
.value-card:hover img {
    transform: scale(1.1);
}

.value-label {
    position: absolute;
    top: 30px;
    left: 30px;
    font-weight: bold;
    font-size: 1.8rem;
    /* color: #fff; */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 3;
    pointer-events: none;
}

/* Manufacture Page Specific Styles */
.manufacture-hero {
    position: relative;
}

.manufacture-hero-bg {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.manufacture-hero-bg img,
.manufacture-hero-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manufacture-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.manufacture-hero-title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-down-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.automationSwiper {
    padding-bottom: 50px;
}

.automation-card {
    transition: all 0.3s ease;
}

.automation-title {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    transition: color 0.3s;
}

.automation-card:hover .automation-title {
    color: var(--primary-red);
}

.qc-section {
    background: url("../imgs/pages/manufacture_sectin2_bg.jpg") no-repeat center center;
    background-size: cover;
    padding: 100px 0;
}

.qc-card {
    height: 100%;
    padding: 120px 40px;
    border: none;
    border-radius: 0;
    background-color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.qc-card:hover {
    background-color: var(--primary-red);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.qc-card:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.qc-card-title {
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    transition: color 0.3s;
}

.qc-card-title::after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 30px;
    height: 2px;
    background-color: var(--primary-red);
    margin-top: 15px;
    transition: background-color 0.3s;
}

.qc-card:hover .qc-card-title::after {
    background-color: #fff;
}
.equipment-section {
    background: url("../imgs/pages/manufacture_sectin3_bg.jpg") no-repeat center center;
    background-size: cover;
    padding: 100px 0;
}

.equipment-title {
    font-size: 0.95rem;
    color: #333;
    transition: color 0.3s;
    margin-top: 10px;
}

.equipment-item:hover .equipment-title {
    color: var(--primary-red);
}
.equipment-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.process-item-box {
    border: 1px solid #eee;
    padding: 60px 20px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    cursor: pointer;
}

.process-item-box:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);

    transition: transform 0.5s ease;
}

.process-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
}

.process-icon svg {
    width: 100%;
    height: 100%;
    stroke: #333;
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.3s;
}

.process-item-box:hover .process-icon svg {
    stroke: var(--primary-red);
}

.equipment-item img {
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 20px;
    transition: transform 0.3s;
}

.equipment-item:hover img {
    transform: translateY(-5px);
}

.cert-item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    transition: all 0.3s;
}

.cert-item:hover img {
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .manufacture-hero-title {
        font-size: 2rem;
    }
}

/* News Page Specific Styles */

.news-hero {
    position: relative;
}

.news-hero-bg {
    width: 100%;
    z-index: 1;
}

.news-hero-bg svg,
.news-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero-content {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    align-items: center;
}
.news-card {
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    background-color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
}

.news-img-box {
    overflow: hidden;
}

.news-img-box svg,
.news-img-box img {
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-box svg,
.news-card:hover .news-img-box img {
    transform: scale(1.1);
}

.news-tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: normal;
}

.bg-red {
    background-color: var(--primary-red) !important;
}

.news-title {
    font-size: 1.1rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.news-card:hover .news-title {
    color: var(--primary-red);
}

.news-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.8;
}

.news-more-btn {
    transition: all 0.3s ease;
}

.news-card:hover .news-more-btn circle {
    fill: var(--primary-red);
    stroke: var(--primary-red);
}

.news-card:hover .news-more-btn path {
    stroke: white;
}

/* Pagination Styles */
.custom-pagination .page-link {
    color: #666;
    border: 1px solid #eee;
    margin: 0 5px;
    border-radius: 4px !important;
    padding: 8px 16px;
    transition: all 0.3s;
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

.custom-pagination .page-link:hover {
    background-color: #f8f8f8;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Products Page Specific Styles */
.products-hero {
    position: relative;
}

.products-hero-bg {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.products-hero-bg svg,
.products-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    align-items: center;
}

.product-item-card {
    transition: all 0.3s ease;
    padding: 20px;
}

.product-item-card:hover {
    transform: translateY(-5px);
}

.product-item-card:hover h6 {
    color: var(--primary-red);
}

.product-item-card:hover a {
    color: var(--primary-red) !important;
}

.product-img-box {
    background-color: #f8f8f8;
    overflow: hidden;
}

.product-hover-overlay {
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.product-item-card:hover .product-hover-overlay {
    opacity: 1;
}

.product-item-card:hover .product-img-box {
    border: 1px solid var(--primary-red);
}

.product-img-box svg,
.product-img-box img {
    transition: transform 0.5s ease;
    width: 100%;
}

.product-item-card:hover .product-img-box svg,
.product-item-card:hover .product-img-box img {
    transform: scale(1.05);
}

.extra-small {
    font-size: 10px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.series-card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0 !important;
}

.series-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.series-text-overlay {
    z-index: 3;
    pointer-events: none;
}

.series-img-box {
    overflow: hidden;
    width: 100%;
}

.series-img-box svg,
.series-img-box img {
    display: block;
    width: 100%;
}

.series-card:hover .series-img-box svg,
.series-card:hover .series-img-box img {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.text-red {
    color: var(--primary-red) !important;
}

/* Contact Page Specific Styles */
.contact-hero {
    position: relative;
}

.contact-hero-bg {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-bg svg,
.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    align-items: center;
}

.map-container {
    /* max-width: 1200px; */
    border: 1px solid #dedede;
    margin: 0 auto;
}

.map-info-box {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 320px;
    z-index: 5;
    border-radius: 4px;
}

.map-info-box h5 {
    font-size: 1rem;
    color: #333;
}

.map-info-box ul li {
    font-size: 0.85rem;
    line-height: 1.6;
}

.social-icon-circle {
    transition: transform 0.3s ease;
}
.social-card img:last-child {
    display: none;
}
.social-card:hover img:first-child {
    display: none;
}
.social-card:hover img:last-child {
    display: block;
}
.social-card:hover .social-icon-circle {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .map-info-box {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
}

/* Research Page Specific Styles */
.research-hero {
    position: relative;
}
.research-hero-bg {
    z-index: 1;
}

.research-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
}

.research-hero-stats .research-stat-item {
    padding: 20px;
}

.research-hero-stats .stat-number {
    color: var(--primary-red);
}
.research-hero-stats .stat-label {
    color: #fff;
}
.creation-center {
    background: url("../imgs/pages/research_section2_bg.jpg") center center no-repeat;
    background-size: cover;
}

.rd-details {
    background: url("../imgs/pages/rd-details_bg.png") center center no-repeat;
    background-size: cover;
}
.rd-swiper {
    padding-bottom: 50px;
}
.rd-swiper .swiper-slide .text-center{
    display: none; 
}
.rd-swiper .swiper-slide-active .text-center{
    display: block; 
}
.rd-swiper .swiper-control{
    margin: 0 auto;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
}
  /* 导航按钮 */
.rd-swiper .nav-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.rd-swiper .nav-btn:hover {
    background: #e53935;
}

.rd-swiper  .nav-btn:hover svg {
    stroke: #fff;
}

.rd-swiper .nav-btn.prev {
    left: 28%;
}

.rd-swiper .nav-btn.next {
    right: 28%;
}

.rd-swiper .nav-btn svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
    transition: stroke 0.3s ease;
}

.rd-swiper .swiper-slide img {
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}
.rd-slide-card {
    max-width: 900px;
    margin: 0 auto;
}
.application-center {
    background: url("../imgs/pages/application-center_bg.png") center center no-repeat;
    background-size: cover;
}
.ip-section {
    background: url("../imgs/pages/ip-section_bg.png") center center no-repeat;
    background-size: cover;
}
.creation-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.creation-card img {
    width: 100%;
}

.creation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.creation-card:hover h6 {
    color: var(--primary-red);
}

.rd-icon-box {
    /* width: 80px;
    height: 80px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.rd-detail-item:hover .rd-icon-box {
    transform: scale(1.1);
}

.rd-detail-item:hover circle {
    stroke: var(--primary-red) !important;
}

.rd-detail-item:hover text {
    fill: var(--primary-red) !important;
}

.rd-detail-item:hover h6 {
    color: var(--primary-red);
}

.app-detail-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-detail-item:hover h6 {
    color: var(--primary-red);
}

.app-detail-item:hover rect,
.app-detail-item:hover circle {
    stroke: var(--primary-red) !important;
}

.app-detail-item:hover text {
    fill: var(--primary-red) !important;
}

.ip-stat-unit .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
}

.certificate-grid .cert-card {
    text-align: center;
    /* background-color: #fff; */
    padding: 10px;
    /* border: 1px solid #eee; */
    transition: transform 0.3s ease;
    box-shadow: none !important;
}

.certificate-grid .cert-card:hover {
    transform: scale(1.05);
    z-index: 5;
}

/* Category Card Styles */
.products-section {
    padding: 100px 0;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #000;
    text-decoration: none;
    background-color: #fff;
    padding: 15px;
}

.category-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: #e60012;
}

.category-card:hover img {
    transform: scale(1.05);
}
.category-card a {
}
/* Product Detail Page Styles */
.product-detail-page .product-info {
    padding: 30px 0;
}

.product-detail-page .product-images {
    margin-bottom: 30px;
}

.product-detail-page .product-description {
    line-height: 1.8;
}

.product-detail-page .product-specs {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

/* Category Page Styles */
.category-page .category-sidebar {
    position: sticky;
    top: 20px;
}

.category-page .category-list .list-group-item {
    border: none;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.category-page .category-list .list-group-item.active {
    background-color: var(--primary-red);
    border-radius: 4px;
}

.category-page .category-list .list-group-item:not(.active):hover {
    background-color: #f8f9fa;
}

.category-page .category-list .list-group-item a {
    color: #333;
    font-weight: 500;
}

.category-page .category-list .list-group-item.active a {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    .navbar {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 15px 0;
        position: fixed;
    }
    .nav-link {
        margin: 5px 0;
        color: #000 !important;
    }
    .nav-link.active::after {
        left: 0;
        transform: none;
        bottom: 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-subtext-container::before,
    .hero-subtext-container::after {
        width: 200px;
    }
    .dropdown-menu {
        margin-top: 0 !important;
        box-shadow: none;
        background-color: #f8f9fa;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
}
.category-products .product-img-box img {
    aspect-ratio: 1/1;
    object-fit: contain;
    background-color: #fff;
}
#productTabs button {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Products Page Specific Styles */
.category-hero {
    position: relative;
}

.category-hero-bg {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.category-hero-bg svg,
.category-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    align-items: center;
}

img {
    max-width: 100%;
}
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
}

.section-fullscreen {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-pagination-bullet-active {
    background-color: #e60012 !important;
}
