:root {
    --primary-color: #0056b3;
    --secondary-color: #00a8cc;
    --text-color: #333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #004494;
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span {
    color: var(--text-color);
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: var(--transition);
}

.hero {
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about-text .subtitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #666;
    font-style: italic;
}

.features-list {
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.features-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.about-img img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.card .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Vision Section */
.vision-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch; 
}

.vision-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.vision-container {
    max-width: 900px;
}

.vision-content h2 {
    font-size: 36px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}


.vision-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 0; 
    flex: 1;
    transition: var(--transition);
}

.vision-card:last-child {
    margin-bottom: 0;
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.vision-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vision-card p {
    font-size: 18px;
    opacity: 0.9;
}

.stats {
    background: #2c3e50;
    color: var(--white);
    padding: 60px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.stat-item {
    margin: 20px;
}

.stat-item h3 {
    font-size: 42px;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--secondary-color);
}

footer {
    background: #1a1a1a;
    color: #bbb;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 25px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright {
    background: #111;
    text-align: center;
    padding: 25px;
    font-size: 14px;
    border-top: 1px solid #333;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        top: 70px;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -2px 5px 15px rgba(0,0,0,0.1);
        height: calc(100vh - 70px);
        padding-top: 50px;
    }

    .vision-grid {
        flex-direction: column;
    }

    .nav-links li {
        margin: 25px 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero h1 {
        font-size: 36px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1; 
        margin-bottom: 30px;
    }

    .vision-card {
        padding: 30px;
    }

    .stats-container {
        flex-direction: column;
    }
}