
/* 面包屑导航 */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    margin-right: 10px;
}

.breadcrumb li:after {
    content: '/';
    margin-left: 10px;
    color: #6c757d;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

/* 子栏目导航 */
.sub-nav {
    background-color: #0052a3;
    padding: 15px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sub-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: nowrap;
}

.sub-nav li {
    margin: 0 8px;
    white-space: nowrap;
}

.sub-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    position: relative;
    display: inline-block;
    transition: all 0.3s;
    border-radius: 4px;
    font-size: 14px;
}

.sub-nav li.active a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.sub-nav li.active a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: #ffc107;
    border-radius: 2px;
}

.sub-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .sub-nav {
        padding: 10px 0;
    }
    
    .sub-nav ul {
        padding: 0 10px;
    }
    
    .sub-nav li {
        margin: 0 5px;
    }
    
    .sub-nav a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* 公司详情介绍 */
.company-detail {
    padding: 60px 0;
}

.detail-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.detail-video {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.detail-video video {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-text {
    flex: 1;
    min-width: 300px;
}

.detail-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #343a40;
}

.detail-text p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #6c757d;
}

/* 企业文化 */
.company-culture {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.culture-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-10px);
}

.culture-icon {
    width: 70px;
    height: 70px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.culture-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #343a40;
}

.culture-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* 主营产品展示样式 */
.main-products {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.main-products .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 28px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-item a {
    display: block;
    text-decoration: none;
    color: #333;
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
}

.product-item h3 {
    padding: 15px 20px;
    font-size: 18px;
    text-align: center;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
    margin: 0;
}

.product-item:hover h3 {
    background-color: #007bff;
    color: #fff;
}

.product-item p {
    padding: 10px 0px;
    color: #666;
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
    transition: color 0.3s ease;
    margin: 0;
}

.product-item:hover p {
    color: #444;
}



/* 响应式设计 */
@media (max-width: 992px) {
    .detail-container {
        flex-direction: column;
    }
    
    .detail-video {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .sub-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap;
    }
    
    .sub-nav li {
        margin: 0 10px;
    }

   
}

@media (max-width: 768px) {
     .company-culture, .company-detail, .tab-gallery {
        padding: 40px 0;
    }

    .contact-wrapper {
        flex-direction: column;
    }
    
  
}

@media (max-width: 576px) {
      
    .tab-item {
        padding: 8px 15px;
        margin: 0 5px;
        font-size: 0.9rem;
    }

  
    .contact-container {
        padding: 40px 0;
    }
    
   
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 办公环境展示 */
.office-showcase {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* 办公环境项目动画 */
.office-item {
    opacity: 0;
    animation: fadeInUp 0.6s forwards;
}

.office-item:nth-child(1) {
    animation-delay: 0.2s;
}

.office-item:nth-child(2) {
    animation-delay: 0.4s;
}

.office-item:nth-child(3) {
    animation-delay: 0.6s;
}

.office-item:nth-child(4) {
    animation-delay: 0.8s;
}

.office-item:nth-child(5) {
    animation-delay: 1.0s;
}

.office-item:nth-child(6) {
    animation-delay: 1.2s;
}
.office-item:nth-child(7) {
    animation-delay: 1.4s;
}
.office-item:nth-child(8) {
    animation-delay: 1.6s;
}
.office-item:nth-child(9) {
    animation-delay: 1.8s;
}

.showcase-intro {
    text-align: center;
    margin-bottom: 60px;
}

.showcase-intro h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.showcase-intro h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0077b6, #00b4d8);
}

.showcase-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 办公环境网格布局 */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.office-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.office-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);
}

.office-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.office-item:hover .office-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.office-item:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.office-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.overlay-content p {
    font-size: 1rem;
}

.office-info {
    padding: 25px;
}

.office-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
}

.office-info p {
    color: #666;
    line-height: 1.6;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
	border-radius: 4px;
}


.pagination > li {
    display: inline; }
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default; }



/* 响应式设计 */
@media (max-width: 1200px) {
    .office-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
  
    
    .showcase-intro h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
   
    
    .office-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .office-image {
        height: 200px;
    }
    
    .showcase-intro h2 {
        font-size: 2rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination a {
        margin: 5px;
    }
}

@media (max-width: 576px) {
  
    .office-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-intro h2 {
        font-size: 1.8rem;
    }
    
    .pagination a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* 滚动动画效果 */
.company-detail {
    opacity: 0;
    animation: fadeInLeft 1s 0.5s forwards;
}

.company-culture {
    opacity: 0;
    animation: fadeInUp 1s 0.5s forwards;
}

.main-products {
    opacity: 0;
    animation: fadeInRight 2s 0.5s forwards;
}

.service-hotline-top {
    width: 60%;
    margin: 0 auto 30px;
    background: #006ABB;
    color: #FFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInTopLeft 1s both;
}
/* 24小时服务热线样式 */
.service-hotline {
    width: 60%;
    margin: 0 auto 30px;
    background: #006ABB;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hotline-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
}

.hotline-content i {
    font-size: 1.5rem;
}



.contact-cards {
    padding: 60px 0;
    background: #f9f9f9;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
	width:80%;
}

@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
	 .cards-container {
        grid-template-columns: 1fr;
    }
	
	  .service-hotline {
        width: 90%;
        padding: 15px;
    }

    .hotline-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        font-size: 1rem;
    }
	   .service-hotline-top,
    {
        width: 90%;
        padding: 15px;
    }
	
	
}

.contact-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
    opacity: 0;
    animation: fadeInLeft 0.6s forwards;
}

.contact-card:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.6s;
}

.contact-card:nth-child(4) {
    animation-delay: 0.8s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: #006ABB;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #006ABB;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info i {
    color: #006ABB;
    margin-right: 10px;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    display: block;
    border: 1px solid #eee;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #006ABB;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #004d99;
}



/* 确保动画只触发一次 */
.company-detail,
.company-culture,
.main-products,
 {
    animation-iteration-count: 1;
}
