/* 品牌展示部分样式 */

.brands-section {
    background-color: #eeeeee;
    padding: 2rem 0;
    min-height: 100vh;
}
.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 50px;
    text-align: left;
}
/* 品牌卡片样式 */

.brand-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}
.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.brand-content {
    flex: 1;
    padding: 30px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.brandpro-logo {
    flex: 1;
    text-align: center;
    width: 100%;
    height: 100%;
}
.logo-img {
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}
.brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
}
.brand-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: #007bff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.arrow-icon {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.brand-footer {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}
.brand-category {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 500;
}
/* 特殊品牌样式 */

.brand-card:nth-child(1) .brand-name {
    color: #333;
}
.brand-card:nth-child(2) .brand-name {
    color: #0066cc;
}
.brand-card:nth-child(3) .brand-name {
    color: #0066cc;
}
.brand-card:nth-child(4) .brand-name {
    color: #cc0000;
}
.brand-card:nth-child(5) .brand-name {
    color: #cc0000;
}
/* 响应式设计 */

@media (max-width: 1199.98px) {
    .section-title {
        font-size: 28px;
    }
    .logo-img {
        max-width: 100px;
        max-height: 50px;
    }
    .brand-name {
        font-size: 16px;
    }
}
@media (max-width: 991.98px) {
    .brands-section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .brand-content {
        padding: 25px 15px 15px;
    }
    .brand-card {
        min-height: 180px;
    }
    .col-lg-4.offset-lg-2 {
        margin-left: 0;
    }
}
@media (max-width: 767.98px) {
    .brands-section {
        padding: 30px 0;
    }
    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
        text-align: center;
    }
    .brand-content {
        padding: 20px 15px 15px;
    }
    .brand-card {
        min-height: 160px;
    }
    .logo-img {
        max-width: 80px;
        max-height: 40px;
        margin-bottom: 10px;
    }
    .brand-name {
        font-size: 14px;
    }
    .brand-category {
        font-size: 13px;
    }
    .brand-arrow {
        width: 25px;
        height: 25px;
        bottom: 15px;
        right: 15px;
    }
    .arrow-icon {
        font-size: 14px;
    }
}
@media (max-width: 575.98px) {
    .mb-5 {
        margin-bottom: 1rem !important;
    }
    .brands-section {
        padding: 20px 0;
    }
    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    .brand-content {
        padding: 15px 10px 10px;
    }
    .brand-card {
        min-height: 140px;
    }
    .logo-img {
        max-width: 100%;
        max-height: 100%;
    }
    .brand-name {
        font-size: 13px;
    }
    .brand-footer {
        padding: 10px 15px;
    }
    .brand-category {
        font-size: 14px;
        color: #333;
    }
    .brand-arrow {
        width: 22px;
        height: 22px;
        bottom: 12px;
        right: 12px;
    }
    .arrow-icon {
        font-size: 12px;
    }
}
/* 超小屏幕优化 */

@media (max-width: 480px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
}