

:root {
    --primary-color: #0A2540;
    --secondary-color: #FF7A00;
    --text-color: #333;
    --background-color: #F8F9FA;
    --card-background: #FFFFFF;
    --font-family: 'Source Han Sans', '思源黑体', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--card-background);
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

main {
    padding: 40px 0;
}

footer {
    background: var(--primary-color);
    color: #FFF;
    padding: 40px 0;
    margin-top: 40px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

footer h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    text-decoration: none;
    color: #FFF;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--secondary-color);
}

footer .social-icons img {
    height: 24px;
    margin-right: 10px;
}

/* --- Components --- */

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #FFF;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #E66A00;
    transform: translateY(-2px);
}

.card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card img {
    width: 100%;
    display: block;
}

.card-content {
    padding: 25px;
}

.card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* --- Hero Section --- */

.hero {
    background-image: url('../images/hero-banner.webp');
    background-size: cover;
    background-position: center;
    color: #FFF;
    text-align: center;
    padding: 100px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* --- Sections --- */

.section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- Testimonials & FAQ --- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.testimonial-card .rating {
    color: #FFC107;
    margin-bottom: 15px;
}

.testimonial-card .author {
    margin-top: auto;
    font-weight: bold;
    color: var(--primary-color);
}

.faq-item {
    background: var(--card-background);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: var(--secondary-color);
}

.faq-answer {
    padding: 0 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

/* --- Responsive Design --- */

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
