:root {
    --primary-color: #0A2463;
    --secondary-color: #FF7F11;
    --light-bg: #F5F5F5;
    --dark-bg: #1A1A2E;
    --text-light: #FFFFFF;
    --text-dark: #333333;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .service-icon {
    transform: scale(1.1);
}

.btn-primary {
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 127, 17, 0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #081d4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(10, 36, 99, 0.3);
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.marquee-container {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.marquee-content {
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container:hover {
    animation-play-state: paused;
}



/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #081d4a;
}