/* 重新设计的Youth Face Africa网站样式 - 具有非洲特色的现代设计 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E94D1C;    /* 非洲橙 */
    --secondary: #FFB347;  /* 温暖黄 */
    --dark: #502A2E;       /* 泥土红褐色 */
    --light: #F8F0E5;      /* 沙漠米色 */
    --accent: #4F7942;     /* 森林绿 */
    --text-dark: #333333;
    --text-light: #FFFFFF;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Arial', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.section-title {
    position: relative;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--dark);
}

.section-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: -15px;
    left: calc(50% - 40px);
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20 L20 0 L40 20 L20 40 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 1;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary);
    transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
    z-index: -1;
}

.btn:hover {
    color: var(--dark);
    border-color: var(--secondary);
}

.btn:hover:before {
    width: 100%;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary);
}

/* Header Navigation */
header {
    background-color: rgba(80, 42, 46, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.4s ease;
    padding: 15px 0;
}

header.scrolled {
    background-color: var(--dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-symbol {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-symbol::after {
    content: "YFA";
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.logo h1 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 移动菜单改进 */
.mobile-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001; /* 确保在导航菜单之上 */
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -6px);
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    color: var(--text-light);
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 77, 28, 0.9), rgba(80, 42, 46, 0.95)), url('https://images.pexels.com/photos/12873591/pexels-photo-12873591.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 40px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 1.1s;
    margin-top: 20px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--text-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* About Section */
#about {
    padding: 120px 0;
    position: relative;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    top: 20px;
    left: 20px;
    border-radius: 20px;
    z-index: 1;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.stat-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

/* Programs Section */
#programs {
    padding: 120px 0;
    background-color: var(--dark);
    position: relative;
    color: var(--text-light);
}

#programs .section-title {
    color: var(--text-light);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.program-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.program-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.program-card-content {
    padding: 30px;
}

.program-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.program-card p {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Impact Section */
#impact {
    padding: 120px 0;
    background-color: var(--light);
    text-align: center;
    position: relative;
}

.impact-map {
    margin: 60px auto;
    position: relative;
    max-width: 900px;
}

.impact-map img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonials {
    max-width: 900px;
    margin: 60px auto 0;
}

.testimonial-slider {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.testimonial {
    min-width: 100%;
    scroll-snap-align: start;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
}

.testimonial p::before {
    content: "\201C";
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    font-style: normal;
    opacity: 0.7;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(80, 42, 46, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Contact Section */
#contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--text-light);
    position: relative;
}

#contact .section-title {
    color: var(--text-light);
}

#contact .section-title::after {
    background: var(--text-light);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-info-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.contact-info-content p, .contact-info-content a {
    margin: 0;
    color: var(--text-light);
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--text-light);
    color: var(--primary);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 77, 28, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo h3 {
    margin-top: 0;
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: all 0.5s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
    }
    
    body.menu-active {
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-form, .contact-info {
        min-width: 100%;
    }
    
    #hero {
        padding-top: 100px;
    }
    
    .hero-content {
        padding-top: 60px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-top: 20px;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    #hero {
        padding-top: 70px;
    }
    
    .hero-content {
        padding-top: 30px;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* 添加与新增的HTML内容相匹配的CSS样式 */

/* 使命与愿景部分 */
.mission-section {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 120px 0;
    position: relative;
}

.mission-section .section-title {
    color: var(--text-light);
}

.mission-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mission-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mission-icon i {
    font-size: 30px;
    color: var(--text-light);
}

.mission-card h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.values-list span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.mission-quote {
    max-width: 800px;
    margin: 80px auto 0;
    text-align: center;
}

.mission-quote blockquote {
    font-size: 1.8rem;
    font-style: italic;
    position: relative;
    padding: 0 30px;
}

.mission-quote blockquote::before,
.mission-quote blockquote::after {
    content: "\201C";
    font-size: 4rem;
    position: absolute;
    color: var(--primary);
    opacity: 0.5;
}

.mission-quote blockquote::before {
    left: -20px;
    top: -20px;
}

.mission-quote blockquote::after {
    content: "\201D";
    right: -20px;
    bottom: -40px;
}

.quote-author {
    margin-top: 20px;
    font-weight: 500;
    opacity: 0.8;
}

/* 项目介绍部分 */
.program-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.program-features {
    margin: 20px 0;
}

.feature {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature i {
    color: var(--primary);
    margin-right: 10px;
}

.all-programs-link {
    text-align: center;
    margin-top: 50px;
}

.btn-text {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-text i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: var(--secondary);
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* 影响力详情部分 */
.impact-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.impact-stats-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.impact-stat-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.impact-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(233, 77, 28, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 30px;
}

.impact-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.impact-stat-card .stat-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.impact-stories {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.story-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-image {
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-content {
    padding: 25px;
}

.story-content h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.story-content p {
    margin-bottom: 20px;
}

/* 合作伙伴部分 */
#partners {
    padding: 120px 0;
    background-color: var(--light);
}

.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.partner-category h3 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark);
    font-size: 1.5rem;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partner-logo {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.partner-logo i {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.partner-logo span {
    font-weight: 600;
}

.partner-cta {
    background-color: var(--primary);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    color: var(--text-light);
}

.partner-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.partner-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.partner-cta .btn {
    background-color: var(--text-light);
    color: var(--primary);
    border-color: var(--text-light);
}

.partner-cta .btn:hover {
    background-color: transparent;
    color: var(--text-light);
}

/* 参与选项部分 */
.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.involvement-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.involvement-card:hover {
    transform: translateY(-15px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.involvement-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.involvement-icon i {
    font-size: 35px;
    color: var(--text-light);
}

.involvement-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.involvement-card p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.involvement-card:hover .involvement-icon {
    background-color: var(--primary);
}

.involvement-card:hover .involvement-icon i {
    color: white;
}

/* 页脚法律链接 */
.footer-legal {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-legal a {
    color: var(--text-light);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .mission-quote blockquote {
        font-size: 1.5rem;
    }
    
    .partner-cta {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .mission-wrapper, 
    .impact-stats-detailed, 
    .impact-stories, 
    .partners-grid,
    .involvement-options {
        grid-template-columns: 1fr;
    }
    
    .story-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .mission-quote blockquote {
        padding: 0 15px;
    }
    
    .mission-quote blockquote::before,
    .mission-quote blockquote::after {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .mission-quote blockquote {
        font-size: 1.2rem;
    }
    
    .partner-cta {
        padding: 30px 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* 添加动画和增强交互的CSS */

/* 滚动动画基础类 */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 当元素可见时应用的类 */
.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 地图悬停效果 */
.map-image-styled {
    transition: transform 0.4s ease;
}

.map-image-styled:hover {
    transform: scale(1.05);
}

/* 调整一些现有元素的过渡效果，使其更平滑 */
.mission-card:hover,
.program-card:hover,
.impact-stat-card:hover,
.story-card:hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image-main {
    transition: transform 0.4s ease;
}

.about-image:hover .about-image-main {
    transform: scale(1.03);
} 