/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: #fff;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}
/* 公司简介部分样式 */
.company-intro {
    padding: 40px 0;
}

.company-title {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
}

.company-title::after {
    content: '';
    display: block;
    width: 210px;
    height: 18px;
    background-color: #80f1ff;
    margin: 0 auto;
    position: relative;
    top: -14px;
    z-index: -1;
}

.about-us {
    text-align: center;
    font-size: 210px;
    font-weight: 300; /* 字体变细 */
    margin: 30px auto;
    width: 90%;
}

.tabs-container {
    margin: 40px auto;
    width: 90%;
    background-color: rgba(255,255,255,0.8);

    border-radius: 25px;
    padding-top: 50px;
    margin-top: -175px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 添加阴影边框线 */
    position: relative;
    z-index: 1;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tab {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 18px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab.active {
    background-color: #1cb8c7;
    color: #ffffff;
}

.tab-content {
    margin-top: 30px;
    min-height: 200px;
    border-radius: 35px;
    overflow: hidden; /* 确保子元素圆角显示正确 */
}

/* 科技创新内容样式 */
.innovation-content {
    background-image: url('../images/kj-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    display: flex;
    padding: 40px;
}

.innovation-left {
    flex: 0 0 70%; /* 占70%宽度 */
    display: flex;
    flex-direction: column;
}

.innovation-image {
    background-image: url('../images/kj-left.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-height: 400px;
}

.innovation-text-content {
    background-color: #ffffff;
    border-radius: 30px;
    display: flex;
}

.innovation-text-left {
    flex: 1;
    padding: 20px;
    display: flex;
}

.innovation-text-right {
    flex: 1;
    padding: 20px;
    display: flex;
}

.innovation-right {
    flex: 0 0 30%; /* 占30%宽度 */
    background-image: url('../images/kj-right.jpg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    border-radius: 30px;
}

.innovation-section {
    display: flex;
    width: 100%;
}

.innovation-title {
    background-color: #effafc;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 20px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.innovation-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    padding: 10px;
    flex: 1;
}
    
/* 关于我们内容样式 */
.about-content-container {
    background-image: url('../images/kj-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.about-left {
    flex: 0 0 30.5%; /* 占30%宽度 */
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 50px;
    margin:75px 5px 120px 20px;
    padding: 20px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.about-right {
    flex: 0 0 66%; /* 占70%宽度 */
    background-color: #ffffff; /* 添加白色背景 */
    border-radius: 50px;
    margin:75px 20px 120px 5px;
    display: flex; /* 添加flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    padding: 20px; /* 与边框间隔5px */
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.about-right img {
    width: 100%;
    object-fit: cover;
    border-radius: 36px; /* 图片圆角 */
}

.about-text-section {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.about-text-top {
    background-color: #eefafb;
    padding: 30px;
    border-radius: 36px 36px 0 36px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 2;
}

.about-text-bottom {
    font-size: 18px;
    line-height: 2;
    text-indent: 2em;
    padding: 0 20px;
}

/* 产品与服务样式 */
.products-section {
    background-image: url('../images/kj-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    background-color: #ffffff;
}

.products-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-header h2 {
    font-size: 32px;
    color: #333;
}

.products-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.product-item {
    flex: 0 0 30%;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-title {
    font-weight: bold;
    color: #000000;
    font-size: 18px;
    margin-bottom: 10px;
}

.product-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.view-all-btn {
    background-color: #007f8e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
}

.view-all-btn:hover {
    background-color: #00606e;
}

/* 品牌理念 */
.brand-philosophy {
    background-color: #effafc;
    padding: 50px 0 30px 0; /* 调整padding，顶部留出空间 */
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center; /* 确保内容居中 */
}

/* 品牌理念标题独立样式 */
.philosophy-header {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 50px; /* 与页面其他部分保持一致的间距 */
    padding-right: 4rem;
}

.philosophy-text {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: -10px;
    position: relative;
    margin-top: 30px;
    z-index: 2;
}
.philosophy-underline {
    width: 210px;
    height: 18px;
    background-color: #80f1ff;
    margin: 0 auto;
    position: relative;
    top: -5px;
    z-index: 1;
}

/* 调整 brand-philosophy 样式 */
.brand-philosophy {
    background-color: #effafc;
    padding: 0; /* 移除顶部padding，因为我们把标题独立出来了 */
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.brand-philosophy-container {
    display: flex;
    margin: 0 auto;
    align-items: flex-start; /* 确保子元素顶部对齐 */
}

/* 左侧部分样式 */
.brand-left {
    position: relative;
    height: 710px;
    padding-top: 0;
    margin-top: 0;
}

.rectangle-outer {
    width: 810px;
    height: 840px;
    background-color: #88e2ed;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 320px 0 0; /* 只有右上角圆角 */
    margin-top: 0;
}

.rectangle-inner {
    width: 670px;
    height: 730px;
    background-color: #5a97a5;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 220px 0 0; /* 只有右上角圆角 */
}

.concept-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 48px;
    font-weight: 100;
    position: absolute;
    bottom: 142px;
    left: 12px;
    color: white;
}

.brand-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 160px;
    position: absolute;
    left: 70px;
    color: white;
    line-height: 1;
    font-weight: 300;
    margin-top: -7.5rem;
}

/* 中间间隔部分 */
.brand-center {
    /* 仅用于间隔，无需额外样式 */
}

/* 右侧部分样式 */
.brand-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10rem;
}

.brand-right img {
    width: 100%;
    height: auto;
    margin-top: 2rem;
}

.brand-description {
    position: absolute;
    margin-top: 6.5rem;
    left: 250px;
    width: 330px;
    padding: 20px;
   
}

.brand-description p {
    font-size: 24px;
    color:white;
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: left;
    
}

/* 透明圆角框容器 */
.brand-cards-container {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* 增加圆角半径 */
    padding: 30px;
    margin: 30px auto;
    max-width: 1730px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3); /* 添加轻微边框增强视觉效果 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* 添加阴影增强层次感 */
    margin-top: -12rem;
}

.cards-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* 白色圆角框 */
.card {
    background: white;
    border-radius: 36px; /* 增加圆角半径 */
    padding: 40px 40px 60px 40px;
    text-align: center;
    width: 22%;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* 改为all使过渡更平滑 */
    margin-right: 20px;
}

/* 鼠标悬停放大效果 */
.card:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* 悬停时增加阴影 */
}

/* 卡片图标 */
.card-icon {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 130px;
    height:130px;
    object-fit: contain;
}

/* 卡片标题 */
.card-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 30px;
    line-height: 2;
}

/* 卡片详情 */
.card-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* 新闻中心部分样式 */
.news-section {
   background-color: #effafc;
    padding: 50px 50px; /* 左右间隔30px */
    text-align: center;
    border-radius: 35px; /* 设置圆角35px */
    margin: 0 auto; /* 居中显示 */
    margin-top: 5rem;
}

.news-header {
    position: relative;
    margin: 50px auto;
}

.news-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: -12px;
    position: relative;
    z-index: 2; /* 确保标题在上方 */
}

.news-text {
    font-size: 160px;
    font-weight: 300;
    color: rgba(150, 150, 150, 0.1); /* 更浅的颜色 */
    margin-top:-5rem;;
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-bg {
    position: relative;
    
}

.news-underline {
    width: 100px;
    height: 2px;
    background-color: #80f1ff;
    margin: 0 auto;
}

.news-content {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 新闻内容容器 */
.news-items-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: thin;
}

.news-items-container::-webkit-scrollbar {
    height: 8px;
}

.news-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.news-items-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.news-items-container::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.news-item {
    display: flex;
    flex-shrink: 0;
    width: 1220px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.news-item-image {
    width: 55%;
    height: 460px;
    object-fit: cover;
    border-radius: 50px;
}

.news-item-content {
    width: 45%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.news-item-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item-desc {
    font-size: 20px;
    color: #666;
    margin-bottom: 70px;
    line-height: 1.6;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.view-more-btn {
    color: #000;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: inline-block;
    border: 1px solid #ccc;
    padding: 14px 50px;
    border-radius: 16px;
    margin-right: 210px;
}

.view-more-btn:hover {
    color: #007f8e;
    border-color: #007f8e;
}

/* 联系我们部分样式 */
.contact-section {
    background-image: url('../images/contat.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*padding: 70px 20px;*/
    /*margin: 50px 0;*/
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    max-width: 400px;
    width: 100%;
    padding: 40px;
    text-align: left;
    transform: translateX(-100px); /* 向左移动50px */
    
}

.contact-title {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
}

.contact-row {
    margin-bottom: 25px;
    text-align: left;
    border: none; /* 移除边框 */
    border-bottom: 2px solid #ddd; /* 添加下划线 */
    padding-bottom: 10px; /* 添加底部内边距 */
}

.contact-row label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.contact-input {
    width: 100%;
    border: none; /* 移除输入框边框 */
    border-radius: 0; /* 移除圆角 */
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    background-color: transparent; /* 透明背景 */
}

.contact-input:focus {
    outline: none;
    border-color: #007f8e;
}

.submit-btn {
    background-color: #007f8e; /* 按钮颜色为#007f8e */
    color: white;
    border: none;
    padding: 10px 10px;
    border-radius: 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100px;
    display: block;
}

.submit-btn:hover {
    background-color: #00606e;
}

