/* Main Page Styles */

/* Hero Section */
.hero-section {
    width: 100%;
    min-width: 1300px;
    height: 800px;
    background:
        linear-gradient(90deg, rgba(39, 78, 121, 1) 0%, rgba(39, 78, 121, 0) 100%),
        url("../images/index/banner.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 257px 0 0 0;
    box-sizing: border-box;
}

.hero-content {
    width: 1120px;
    margin: 0 auto;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 65.99px;
    color: rgba(255, 195, 0, 1);
}

.hero-title span {
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 65.99px;
    color: rgba(255, 255, 255, 1);
}

.hero-subtitle {
    height: 80px;
    opacity: 1;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    display: inline-block;
    margin-top: 38px;
    line-height: 80px;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 1);
    padding: 0 45px;
}

/* Section Common Styles */
.section-title {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 47.51px;
    color: rgba(56, 56, 56, 1);
    text-align: center;
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 21.12px;
    color: rgba(56, 56, 56, 0.25);
    text-align: center;
}

/* Product Center */
.product-center {
    padding: 60px 0 47px 0;
    background: rgba(245, 248, 251, 1);
    min-width: 1300px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Fixed 4 columns to fit 1300px nicely */
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 43px;
}

.product-card {
    background-color: #fff;
    overflow: hidden;
    padding: 30px 45px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.product-card-bg {
    width: 315px;
    height: 315px;
    top: 0;
    left: 0;
    position: absolute;
    pointer-events: none;
    background-image: url('../images/index/project-bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1;
    display: none;
}

.product-card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 6px 16px rgba(23, 93, 173, 0.2);
}

.product-card:hover .product-card-bg {
    display: block;
}

.product-image {
    width: 220px;
    height: 220px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    position: relative;
    z-index: 2;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 26.4px;
    color: rgba(56, 56, 56, 1);
    text-align: center;
    white-space: nowrap;
    /* 禁止换行 */
    overflow: hidden;
    /* 超出隐藏 */
    text-overflow: ellipsis;
    /* 显示省略号 */
}

.product-btn {
    display: inline-block;
    width: 120px;
    height: 35px;
    opacity: 1;
    background: rgba(166, 166, 166, 0.1);
    margin-top: 45px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 35px;
    color: rgba(56, 56, 56, 0.5);
}

.product-btn:hover {
    background-color: #1e3a8a;
    color: rgba(255, 255, 255, 1);
}

.product-btn i {
    margin-left: 5px;
}

.view-more {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.view-more-link {
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    display: inline-block;
    width: 150px;
    height: 50px;
    border: 0.5px solid rgba(0, 0, 0, 0.31);
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 19.8px;
    color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-more-link:hover {
    color: #1e3a8a;
    border-color: #1e3a8a;
}

.view-more-link span {
    margin-left: 5px;
}

/* About Section */
.about-section {
    padding: 62px 0 81px 0;
    background-color: #fff;
    min-width: 1300px;
    background-image: url('../images/index/jj-bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.about-content {
    width: 1300px;
    margin-top: 43px;
}

.about-content-top {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(166, 166, 166, 0.3);
}

.about-company-name {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 42px;
    color: rgba(23, 93, 173, 1);
}

.about-subtitle {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 42px;
    color: rgba(56, 56, 56, 0.5);
}

.about-text {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 41px;
}

.about-description {
    width: 770px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(0, 0, 0, 0.8);
}

.about-description p {
    text-indent: 2em;
}

.about-image {
    width: 501px;
    height: 308px;
}

.about-image img {
    width: 100%;
    height: 100%;
}

.about-description .product-btn {
    width: 150px;
    height: 50px;
    border: 0.5px solid rgba(0, 0, 0, 0.3);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 50px;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    background-color: transparent;
    margin-top: 43px;
}

.about-description .product-btn:hover {
    color: #1e3a8a;
    border-color: #1e3a8a;
    background-color: transparent;
}

/* Statistics Section */
.statistics-section {
    background-color: rgba(44, 111, 185, 1);
    padding: 33px 0;
    min-width: 1300px;
    margin-top: 48px;
}

.statistics-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    /* gap: 40px; */
}

.stat-item {
    text-align: center;
    color: #fff;
    flex: 1;
    min-width: 150px;
    border: 0.5px solid;
    box-sizing: border-box;
    border-image: linear-gradient(180deg, rgba(46, 107, 177, 0) 0%, rgba(255, 255, 255, 1) 43.06%, rgba(46, 107, 177, 0) 100%) 0.5;
}

.stat-value {
    display: block;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 7px;
}

.stat-label {
    display: block;
    font-size: 16px;
    opacity: 0.9;
}

/* Facility Section */
.facility-section {
    padding: 58px 0 107px 0;
    background-color: rgba(44, 111, 185, 1);
    /* min-width: 1300px; */
    min-width: 1410px;
}

.facility-section .container {
    width: 1410px;
}

.facility-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.carousel-btn {
    width: 31.98px;
    height: 32px;
    opacity: 1;
    cursor: pointer;
    background: transparent;
    border: none;
}

.carousel-btn img {
    width: 100%;
    height: 100%;
}

.carousel-btn-active {
    display: none;
}

.carousel-btn:hover img {
    display: none;
}

.carousel-btn:hover .carousel-btn-active {
    display: block;
}

.facility-images {
    width: calc(100% - 50px - 64px);
    height: calc(242px + 13px + 36px);
}

.facility-images .swiper-slide {
    width: calc(100% / 4);
    cursor: pointer;
    text-decoration: none;
}

.facility-images .swiper-slide img {
    width: 100%;
    height: 242px;
}

.facility-images-text {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 36px;
    color: rgba(255, 255, 255, 1);
    margin-top: 13px;
    text-align: center;
    white-space: nowrap;
    /* 禁止换行 */
    overflow: hidden;
    /* 超出隐藏 */
    text-overflow: ellipsis;
    /* 显示省略号 */
}

.facility-images::-webkit-scrollbar {
    display: none;
}

.facility-item {
    flex: 0 0 calc(25% - 15px);
    position: relative;
    min-width: 300px;
}

.facility-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.facility-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    border-radius: 0 0 8px 8px;
}

/* Process Section */
.process-section {
    padding: 60px 0;
    background-color: #f6f6f7;
    min-width: 1300px;
}

.process-section-icons{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 43px;
}
.process-section-icon{
    width: 100px;
    height: 100px;
    opacity: 1;
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.process-section-icon img{
    width: 40px;
    height: 40px;
}
.process-section-dos{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 9px;
    margin-top: 27px;
    position: relative;
}
.process-section-do{
    width: 100px;
    height: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-section-do-d{
    width: 9px;
    height: 9px;
    opacity: 1;
    background: rgba(204, 204, 204, 1);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}
.process-section-do:first-child .process-section-do-d{
    background: rgba(23, 93, 173, 1);
}
.process-section-dos-line{
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    top:50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.2);
}
.process-section-texts{
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.process-section-text{
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 25px;
    color: rgba(56, 56, 56, 0.8);
    width: 100%;
    text-align: center;
}
.process-section .product-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;  border: 0.5px solid rgba(0, 0, 0, 0.3);
}
/* Partners Section */
.partners-section {
    padding: 48px 0 68px 0;
    /* background-color: #f8f9fa;
     */
     background-image: url("../images//index/hz-bg.png");
     background-repeat: no-repeat;
     background-size: 100% 100%;
    min-width: 1300px;
}

.partners-grid {
    width: 1300px;
    margin: 0 auto;
    margin-top: 43px;
}

.partner-logo {
    width: 300px;
    height: 90px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 2px 15px  rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    width: 199px;
    height: 66px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}
.partners-grid-row{
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 30px;
   margin-bottom: 30px;
}
.partners-grid-row:last-child{
    margin-bottom: 0;
}