#footer-content a {
    color: #666; /* 跟文字颜色一致 */
    text-decoration: none; /* 去掉下划线 */
    border-bottom: 1px dotted #999; /* 添加虚线下划线，更有质感 */
}

#footer-content a:hover {
    color: #333; /* 悬停时变深 */
    border-bottom: 1px solid #333;
}


/* 1. 初始状态：让轮播图文字透明并稍微下移，增加动感 */
.carousel-caption h4,
.carousel-caption p {
    opacity: 0;
    transform: translateY(10px); /* 文字默认稍微下移 10px */
    transition: all 0.5s ease;   /* 设置 0.5 秒的平滑过渡 */
}

/* 2. 悬停状态：当鼠标移动到轮播图容器时，文字显现并回到原位 */
.carousel-item:hover .carousel-caption h4,
.carousel-item:hover .carousel-caption p,
/* 针对 Bootstrap 2.3.2 的类名兼容 */
.item:hover .carousel-caption h4,
.item:hover .carousel-caption p {
    opacity: 1;
    transform: translateY(0);    /* 回到标准位置 */
}

/* 3. 可选：让背景遮罩也随悬停淡入（更有高级感） */
.carousel-caption {
    background: rgba(0, 0, 0, 0); /* 初始背景透明 */
    transition: background 0.5s ease;
}

.item:hover .carousel-caption {
    background: rgba(0, 0, 0, 0.5); /* 悬停时背景变黑半透明 */
}

/* 调整轮播图标题与下方文字的间距 */
.carousel-caption h4 {
    margin-bottom: 15px !important; /* 增加底部间距，15px-20px 通常比较美观 */
    font-size: 20px;                /* 如果觉得标题偏大或偏小，也可以顺便在这里微调 */
    line-height: 1.4;
}

/* 如果想进一步优化描述文字的行高，让阅读感更疏朗 */
.carousel-caption p {
    margin-top: 0;
    line-height: 1.6;
    font-size: 14px;                /* 对应之前调小列表文字的风格，保持统一 */
}


.product-link:hover {
    color: #0088cc;
    text-decoration: none;
}

.product-link:hover::after {
    width: 100%;
}

/* 如果不使用图标库，也可以简单的用这个样式 */
.product-link {
    border-bottom: 1px solid #eee;
    padding-bottom: 2px;
}



/* 1. 调小产品列表（li）的文字大小 */
.product-info ul li {
    font-size: 14px;      /* 原本可能是 16px 或 18px */
    color: #777;          /* 颜色稍微调淡一点，显得更精致 */
    line-height: 1.6;
    margin-bottom: 5px;   /* 列表项之间的间距 */
}

/* 2. 增加内容区域的整体宽度 */
/* Elegant 默认容器较窄，我们将其最大宽度调大 */
.container-fluid {
    max-width: 1400px;    /* 原本可能是 940px 或 1170px */
    margin: 0 auto;
}

/* 产品中心整体间距 */
.product-center {
    padding: 20px 0;
}

/* 每一个产品条目的样式 */
.product-item {
    margin-bottom: 60px;
    display: flex;
    align-items: center; /* 垂直居中 */
}

/* 图片样式：增加圆角和阴影 */
.product-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.02); /* 悬停微动效果 */
}

/* 文字介绍区域间距 */
.product-info {
    padding: 20px 20px;
}

.product-info h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.product-info .description {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin: 20px 0;
}

/* 分割线样式 */
.product-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* 移动端适配：手机上恢复垂直排列 */
@media (max-width: 767px) {
    .product-item {
        flex-direction: column !important;
        text-align: center;
    }
    .product-info {
        padding: 20px 0;
    }
}


.navbar .brand {
    display: flex;
    align-items: center;
    padding: 10px 20px; /* 根据 Logo 大小调整边距 */
}

.brand img {
    max-height: 40px; /* 强制限制 Logo 最大高度 */
    display: inline-block;
}


/* =========================================
   1. 修复图片显示：完整显示不裁剪 + 固定高度
========================================= */

/* 图片容器：保持高度固定，防止页面抖动 */
.banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    /* 根据您的图片比例调整这里！
       如果是 1200x400 的图，就是 33.33%
       如果是 16:9 的图，就是 56.25%
       这里预设 35%，适合比较扁的长条形 Banner
    */
    padding-bottom: 40%; 
    background-color: #fff; /* 空白区域的背景色，建议设为白色或跟图片背景一致的颜色 */
    overflow: hidden;
    text-align: center; /* 让图片水平居中 */
}

/* 图片本体：缩放以完整显示 (Contain) */
.img-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0; 
    bottom: 0;
    margin: auto; /* 配合上面的定位，确保图片垂直水平都居中 */
    
    max-width: 100%;
    max-height: 100%;
    
    /* 关键属性：Contain 表示“包含”，即完整显示图片，绝不裁剪 */
    object-fit: contain; 
    
    border: none !important;
    box-shadow: none !important;
}

/* =========================================
   2. 丝滑切换动画 (Fade 效果保持不变)
========================================= */
.company-carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 1s; /* 切换速度：1秒 */
    transition-timing-function: ease-in-out;
}

.company-carousel-fade .carousel-inner .active {
    opacity: 1;
}

.company-carousel-fade .carousel-inner .item,
.company-carousel-fade .carousel-inner .active.left,
.company-carousel-fade .carousel-inner .active.right {
    left: 0;
    transform: translate3d(0, 0, 0);
    top: 0;
    position: absolute;
    display: block;
    width: 100%;
}

.company-carousel-fade .carousel-inner {
    overflow: hidden;
    position: relative; 
}

.company-carousel-fade .carousel-inner .active {
    z-index: 2;
    position: relative; 
}