/* 产品与技术区域样式 */
.Project-area {
    margin-top: 50px;
}

/* 产品卡片样式 */
.single-project img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.poroject-content h5 {
    white-space: nowrap;
}

.poroject-content p {
	color: #ffffff !important;
}

.product-desc {
    color: #ffffff;
    margin-top: 1rem;
}

.product-desc p {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.product-desc i {
    color: #ffffff;
    margin-right: 0.5rem;
}


/* 标题样式 */
.section-head h3 {
    white-space: nowrap;
    padding-bottom: 24px;
    font-size: 32px;
}

/* 产品服务内容区域 */
.products {
    display: flex;
}

.services {
    display: flex;
}

/*解决方案内容区域*/
:root {
    --primary: #2f9ab1;
    --secondary: #a3bec4;
    --light: #f8f9ff;
    --dark: #2c3e50;
}

.header-section {
text-align: center;
margin-bottom: 50px;
padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    font-family: "Source Han Sans CN", sans-serif;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}
/* 解决方案卡片样式 */
.service-card1 {
    height: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    z-index: 1;
}

.service-card1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(71, 118, 230, 0.2);
}

.card-icon1 {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    color: var(--primary);
    font-size: 1.8rem;
}

.service-card1:hover .card-icon1 {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.card-img-container1 {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #e0f0ff 0%, #f8fbff 100%);
}

.card-img1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card1:hover .card-img {
    transform: scale(1.05);
}

.card-body1 {
    padding: 25px;
}

.card-title1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
    font-family: "Source Han Sans CN", sans-serif;
}

.card-title1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.card-text1 {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-top: 15px;
    font-family: "Source Han Sans CN", sans-serif;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .banner-background,
    .banner-background-services,
    .banner-background-product,
    .banner-background-about {
        padding: 12vh 0;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .card-img-container {
        height: 180px;
    }
    
    .banner-background,
    .banner-background-services,
    .banner-background-product,
    .banner-background-about {
        padding: 10vh 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .banner-background,
    .banner-background-services,
    .banner-background-product,
    .banner-background-about {
        padding: 10vh 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .card-img-container {
        height: 160px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .banner-background,
    .banner-background-services,
    .banner-background-product,
    .banner-background-about {
        padding: 10vh 0;
    }
}

/* =============== 主Banner区域样式 =============== */
/* 主页背景 */
.banner-background {
    background-image: url('https://portals-1327998950.cos.ap-chengdu.myqcloud.com/img/portals/index.png');
}

.main-banner {
    padding: 70px 0 0 0;
}

.banner-background {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 25vh 0;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(10, 26, 53, 0.6); */
    z-index: 0;
}

/* 解决方案背景 */
.banner-background-services {
    background-image: url('https://portals-1327998950.cos.ap-chengdu.myqcloud.com/img/portals/services.png');
}

.banner-background-services {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 28vh 0;
    background-repeat: no-repeat;
}

.banner-overlay-services {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(10, 26, 53, 0.6); */
    z-index: 0;
}

/* 产品与技术背景 */
.banner-background-product {
    background-image: url('https://portals-1327998950.cos.ap-chengdu.myqcloud.com/img/portals/product.png');
}

.banner-background-product {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 28vh 0;
    background-repeat: no-repeat;
}

.banner-overlay-product {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(10, 26, 53, 0.6); */
    z-index: 0;
}

/* 关于我们背景 */
.banner-background-about {
    background-image: url('https://portals-1327998950.cos.ap-chengdu.myqcloud.com/img/portals/about.png');
}

.banner-background-about {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 32vh 0;
    background-repeat: no-repeat;
}

.banner-overlay-about {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(10, 26, 53, 0.6); */
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

.banner-content-wrapper {
    display: flex;
    justify-content: center;
}

.col-lg-7 {
    width: 58.3333%;
}

.main-banner-content {
    padding: 20px;
}

.banner-title {
    position: relative;
    font-size: 4rem !important;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 2rem !important;
    padding-left: 0;
    padding-top: 15px;
    font-family: "Source Han Sans CN", sans-serif;
}

.title-decoration {
    position: absolute;
    left: 0;
    top: 0; /* 移动到标题上方 */
    width: 65px; /* 适当加长横杠 */
    height: 5px;
    background-color: white;
    display: inline-block;
}

.banner-desc {
    font-size: 1.5rem !important;
    color: #ffffff;
    line-height: 1.8;
    font-family: "Source Han Sans CN", sans-serif;
}

.banner-text-img {
    width: 190.65px;
    height: 142.1px;
    max-width: 100%;
}

/* 轮播导航按钮 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.nav-arrow {
    width: 40px;
    cursor: pointer;
}

/* 轮播指示点容器 */
.slider-dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    cursor: pointer;
}

/* =============== 关于我们区域样式 =============== */
.about-area {
    background-image: url('https://portals-1327998950.cos.ap-chengdu.myqcloud.com/img/portals/about-bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    margin-top: 0px;
}

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

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content-box {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(248, 253, 255, 0.5)) !important;
    padding: 40px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    margin: 0 auto !important;
    width: 90% !important;
    max-width: 1000px !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.about-title {
    color: #1DA29C;
    font-weight: bolder;
    font-size: 36px;
    margin-bottom: 20px;
    font-family: "Source Han Sans CN", sans-serif;
}

.about-image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.about-image {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-content {
    padding: 0 20px;
}

.about-content p {
    font-size: 20px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 25px;
    font-family: "Source Han Sans CN", sans-serif;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .about-content-box {
        width: 95% !important;
        padding: 30px !important;
    }
    
    .about-image {
        width: 140px !important;
        height: 105px !important;
    }
}

@media (max-width: 992px) {
    .about-content-box {
        padding: 25px !important;
    }
    
    .about-title {
        font-size: 28px !important;
    }
    
    .about-content p {
        font-size: 17px !important;
    }
    
    .about-image {
        width: 120px !important;
        height: 90px !important;
    }
}

@media (max-width: 768px) {
    .about-area {
        padding: 50px 0 !important;
    }
    
    .about-content-box {
        padding: 20px !important;
        width: 100% !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .about-title {
        font-size: 24px !important;
    }
    
    .about-content p {
        font-size: 16px !important;
        padding: 0 10px !important;
    }
    
    .about-image {
        width: 100px !important;
        height: 75px !important;
    }
}

@media (max-width: 576px) {
    .about-area {
        padding: 40px 15px !important;
    }
    
    .about-content-box {
        padding: 15px !important;
        border-radius: 6px !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .about-title {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .about-content p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }
    
    .about-image {
        width: 80px !important;
        height: 60px !important;
        margin: 0 5px !important;
    }
}

/* 产品服务按钮样式 */
.product-service-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}
.product-service-buttons button {
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #128BA6;
}
.product-service-buttons .btn-primary {
    background-color: #128BA6;
    color: white;
}
.product-service-buttons .btn-outline-primary {
    background-color: white;
    color: #666;
    border-color: #ddd;
}
.product-service-buttons .btn-primary:hover,
.product-service-buttons .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 轮播容器样式 */
.product-carousel {
    max-width: 700px;          /* 最大宽度限制 */
    margin: 0 auto;             /* 水平居中 */
    position: relative;         /* 相对定位 */
    padding: 20px;              /* 内边距 */
}

/* 单个产品容器 */
.product-container {
    position: relative;         /* 相对定位 */
    height: 600px;              /* 固定高度 */
    width: 550px;              /* 固定宽度 */
    overflow: hidden;          /* 隐藏溢出内容 */
    display: flex;             /* 使用flex布局 */
    flex-direction: column;    /* 垂直排列 */
    margin: 0 auto;           /* 水平居中 */
}

/* 产品图片区域 */
.product-image-container {
    height: 320px;             /* 高度设置为总高度的1/3 (600px/3) */
    position:absolute;        /* 相对定位 */
    overflow: hidden;         /* 隐藏溢出内容 */
    left:50px; top:240px;
}

/* 产品图片样式 */
.product-image {
    width: 100%;              /* 宽度100% */
    height: 100%;             /* 高度100% */
    object-fit: cover;        /* 填充容器 */
    transition: transform 0.3s ease; /* 缩放动画 */
}

/* 产品描述区域 */
.product-info {
    position:relative;        /* 相对定位 */
    height: 600px;            /* 高度设置为总高度的2/3 (600px*2/3) */
    width: 440px;
    background: white;        /* 白色背景 */
    padding: 30px;           /* 内边距 */
}

/* 产品标题样式 */
.product-title {
    color: var(--dark-color); /* 使用深色变量 */
    font-weight: 700;        /* 加粗 */
    margin-bottom: 20px;    /* 底部外边距 */
    font-size: 16px;      /* 字体大小 */
    padding-left: 20px;     /* 居中 */
}

/* 产品描述项样式 */
.product-desc p {
    display: flex;          /* flex布局 */
    align-items: flex-start; /* 顶部对齐 */
    color: #495057;       /* 文字颜色 */
    font-size: 12px;   /* 字体大小 */
    padding-left: 20px;  /* 左内边距与标题对齐 */
}
/* 轮播控制按钮样式 */
.carousel-control-prev, 
.carousel-control-next {
    width: 30px;             /* 宽度 */
    height: 30px;            /* 高度 */
    background: transparent; /* 透明背景 */
    border: none;         /* 无边框 */
    display: flex;        /* flex布局 */
    align-items: center;  /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    transition: all 0.3s ease; /* 过渡动画 */
    top: 50%;             /* 顶部定位50% */
    transform: translateY(-50%); /* 垂直居中 */
    opacity: 1;         /* 不透明 */
}

/* 按钮悬停效果 */
.carousel-control-prev:hover, 
.carousel-control-next:hover {
    transform: translateY(-50%) scale(1.2); /* 放大效果 */
}

/* 上一个按钮位置 */
.carousel-control-prev {
    left: -25px; /* 向左偏移 */
}

/* 下一个按钮位置 */
.carousel-control-next {
    right: -25px; /* 向右偏移 */
}

/* 轮播指示器容器 */
.carousel-indicators {
    position: relative; /* 相对定位 */
    margin-top: 30px;  /* 顶部外边距 */
}

/* 完全覆盖Bootstrap指示器样式 */
#productCarousel .carousel-indicators {
    position: relative;
    margin: 30px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
}

#productCarousel .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 0 5px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #024795;
    background-clip: padding-box;
    border: 0;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

#productCarousel .carousel-indicators .active {
    background-color: white !important;
    transform: scale(1.2);
}

/* 产品标签样式 */
.tag {
    position: absolute; /* 绝对定位 */
    top: 15px;        /* 顶部距离 */
    right: 15px;      /* 右侧距离 */
    background: var(--accent-color); /* 强调色背景 */
    color: var(--dark-color); /* 深色文字 */
    padding: 8px 20px; /* 内边距 */
    border-radius: 20px; /* 圆角 */
    font-weight: 600; /* 字体粗细 */
    font-size: 1rem; /* 字体大小 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* 阴影 */
    z-index: 3;      /* 堆叠顺序 */
}

/* 响应式设计 - 平板及以下设备 */
@media (max-width: 768px) {
    .product-container {
        height: 500px; /* 调整高度 */
    }
    
    .product-image-container {
        height: 150px; /* 图片区域高度减小 */
    }
    
    .product-info {
        height: 350px; /* 描述区域高度减小 */
        padding: 20px; /* 内边距减小 */
    }
    
    .product-title {
        font-size: 1.5rem; /* 标题字体减小 */
        margin-bottom: 15px; /* 底部外边距减小 */
    }
    
    /* 控制按钮尺寸减小 */
    .carousel-control-prev, 
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    /* 按钮位置调整 */
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 576px) {
    .product-container {
        height: 450px; /* 进一步减小高度 */
    }
    
    .product-image-container {
        height: 120px; /* 图片区域更小 */
    }
    
    .product-info {
        height: 330px; /* 描述区域调整 */
        padding: 15px; /* 内边距更小 */
    }
    
    .product-title {
        font-size: 1.3rem; /* 标题更小 */
    }
    
    .product-desc p {
        font-size: 0.95rem; /* 描述文字更小 */
    }
}