/* 头部导航 */
.banner {
    background: url('../img/mall_bg.png') no-repeat center center;
    background-size: cover;
    padding: 50px 20px;
    color: #000;
    text-align: center;
}

.banner-content2 {
    max-width: 1200px;
    margin: 0 auto;
}

.banner-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.buy-button {
    background-color: #ff6f61;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}

.buy-button:hover {
    background-color: #ff4a3d;
}

.search-container {
    margin-top: 30px;
}

.search-container input[type="text"] {
    width: 80%;
    max-width: 500px;
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
}

.search-button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    background-color: #ff6f61;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}

.search-button:hover {
    background-color: #ff4a3d;
}

.hot-searches {
    margin-top: 20px;
}

.hot-searches span {
    color: #fff;
    font-weight: bold;
}

.hot-searches a {
    color: #ff6f61;
    margin-left: 10px;
    text-decoration: none;
}

.hot-searches a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 2em;
    }

    .search-container input[type="text"] {
        width: 100%;
    }
}

/* 定制项目 */

.main-business {
    text-align: center;
    padding: 20px;
}

.main-business h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.main-business p {
    font-size: 1em;
    margin-bottom: 20px;
}

.business-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.business-item {
    flex: 1 1 calc(25% - 40px);
    max-width: calc(25% - 40px);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
    transition: transform 0.3s ease;
}

.business-item:hover {
    transform: scale(1.05);
}

.business-item img {
    max-width: 50px;
    margin-bottom: 10px;
}

.business-item p {
    font-size: 1em;
    color: #333;
}

@media (max-width: 1200px) {
    .business-item {
        flex: 1 1 calc(33.333% - 40px);
        max-width: calc(33.333% - 40px);
    }
}

@media (max-width: 768px) {
    .business-item {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .business-item {
        flex: 1 1 calc(50%-20px);
        max-width: 100%;
    }
    .main-business h2{
        font-size:20px;
    }
}
/* 需求文档 */
.container12 {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.container12 .header22 {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    line-height: 30px;
}

.container12 .header22 b {
    font-size: 2em;
    margin-bottom: 10px;
}

.container12 .header22 nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.container12 .header22 nav ul li {
    display: inline-block;
}

.container12 .header22 nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.container12 .header22 nav ul li a.active,
.container12 .header22 nav ul li a:hover {
    background-color: #ff6f61;
    color: #fff;
}

.resource-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.resource-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: calc(20% - 20px);
    max-width: calc(20% - 20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-thumbnail img {
    width: 100%;
    height: auto;
}

.resource-info {
    padding: 15px;
    text-align: left;
}

.resource-info h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.resource-info p {
    font-size: 1em;
    color: #666;
}

.resource-info span {
    color: #ff6f61;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .resource-card {
        width: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .resource-card {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}