/* About Page Specific Styles */
.about-hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.7)), url("image/banner3.jpg") no-repeat center center/cover;
    overflow: hidden;
}

.about-hero .hero-content {
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.about-hero .floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mission-vision {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 5rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-card,
.vision-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    border-radius: 20px;
}

.mission-card:hover::before,
.vision-card:hover::before {
    opacity: 1;
}

.team-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #667eea;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.history-timeline {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    justify-content: flex-end;
    left: 0;
}

.timeline-item.right {
    justify-content: flex-start;
    left: 50%;
}

.timeline-content {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 90%;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item.left .timeline-icon {
    right: -20px;
}

.timeline-item.right .timeline-icon {
    left: -20px;
}

.values-section {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.community-impact {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.achievements-section {
    background: linear-gradient(45deg, #fa709a 0%, #fee140 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.partnerships-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-logo {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.future-goals {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.goal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonials-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    text-align: center;
}

.testimonial-card.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.join-us {
    background: linear-gradient(45deg, #eeeef0 0%, #764ba2 100%);
    text-align: center;
}

.join-us h2 {
    color: white;
}

.join-us-content {
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.join-us .btn {
    margin-top: 2rem;
    font-size: 1.2rem;
}

@media (max-width: 768px) {

    .mission-vision-grid,
    .impact-grid,
    .goals-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
    }

    .timeline-item.right .timeline-icon,
    .timeline-item.left .timeline-icon {
        left: 0;
    }

    .timeline-content {
        width: 80%;
        margin-left: 60px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}