
.index-header {
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.slogan {
    font-size: 14px;
    opacity: 0.9;
}


nav {
    background: white;
    margin: 15px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: space-around;
    padding: 20px 0;
}

.nav-item {
    text-align: center;
    flex: 1;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    margin-bottom: 10px;
}
.nav-icon .service-img{
    display: block;
    height: 100%;
    width: 100%;
}


.search-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.search-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.search-input {
    display: flex;
    margin-bottom: 15px;
}

.search-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background: #1e88e5;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    cursor: pointer;
}

.hot-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-tag {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    color: #666;
}


.service-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    margin-bottom: 10px;
}
.service-icon .service-img{
    display: block;
    height: 100%;
    width: 100%;
}

.service-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.hot-scroll {
    position: relative;
    height: 25px;
    overflow: hidden;
    margin: 15px 0;
}
.hot-scroll .pic{
    background: url("/static/img/notice.svg") no-repeat 0 0 / 100% 100%;
    height: 25px;
    width: 25px;
    position: absolute;
    top: 0;
    left: 0;
}
.hot-scroll .box {
    position: absolute;
    width: 100%;
}

.hot-scroll .item {
    height: 25px;
    line-height: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left:35px;
    color: #f75444;
}