/* carousel.css */
.carousel-container {
    width: 100%;
    max-width: 2000px; /* 增大最大宽度 */
    height: 400px; /* 减小高度 */
    margin: 0 auto; /* 去掉与导航栏的间距 */
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 400%; /* 确保宽度足够容纳四张图片 */
    overflow: hidden;
}

.carousel-slide {
    min-width: 25%; /* 每个幻灯片占据四分之一的宽度 */
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 350px;
}

.carousel-buttons {
    position: relative;
    top: 0;
    transform: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.carousel-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* 新增的照片滚动栏样式 */
.photo-scroll-container {
    width: 70%; /* 减小宽度并保持居中 */
    margin: 0 auto; /* 确保居中对齐 */
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    box-sizing: border-box;
}

.photo-scroll-track {
    display: inline-block;
}

.photo-scroll-item {
    width: 150px; /* 确保每个图片项的宽度一致 */
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
}

.photo-scroll-item img {
    width: 150px;
    height: auto;
    display: block;
}

/* 可选：隐藏滚动条 */
.photo-scroll-container::-webkit-scrollbar {
    display: none;
}

.photo-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* carousel.css */

/* ... 其他现有样式 ... */

/* 企业名片样式 */
.business-card {
    width: 400px; /* 固定宽度 */
    margin: 0; /* 取消多余外边距 */
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    float: none; /* 取消浮动 */
    box-sizing: border-box;
}

/* 公司简介样式 */
.company-intro {
    max-width: 900px;
    margin: 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #d8ff3c;
    text-align: left;
    float: none; /* 取消浮动 */
    box-sizing: border-box;
}

.company-intro h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #6dc154; /* 将"公司简介"四个字的颜色改为绿色 */

}

/* 父容器样式 */
.company-info {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: flex-start; /* 顶部对齐 */
    gap: 40px; /* 两栏之间的间距 */
    padding: 20px;
    background-color: #e5e5e5;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
}

/* 按钮样式 */
#popup-image-btn {
    background-color: #6dc154;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    display: flex;
}

#popup-image {
    max-width: 80%;
    max-height: 80%;
}

