/* 自定义样式 */

html,
body {
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.hero-section {
    position: relative;
    min-height: 600px;
    background-image: url("/images/top.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 135deg, rgba(13, 110, 253, 0.5) 0%, rgba(102, 16, 242, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.min-vh-75 {
    min-height: 75vh;
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

.company-card {
    transition: all 0.3s ease;
    border-left: 4px solid #0d6efd;
}

.company-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

.badge-service {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

footer {
    position: relative;
    z-index: 100;
    clear: both;
    background-color: #1a1a2e !important;
    padding: 3rem 0;
}

footer h4,
footer h5 {
    color: #fff !important;
}

footer p,
footer li,
footer a {
    color: #e0e0e0 !important;
}

footer a:hover {
    color: #fff !important;
}

footer hr {
    opacity: 0.2;
    background-color: #444;
}


/* 响应式优化 */

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
}