/* === ABOUT PAGE STYLES === */
/* (Add these styles to the bottom of your existing style.css) */

/* --- 2. Hero Section for About Page --- */
#hero-about {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url('image/banner2.jpg') center/cover no-repeat;
}

/* --- 3. Mission Section --- */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.mission-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.mission-item h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* --- 4. Interactive Timeline --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: -30px auto 40px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.timeline-item.is-visible .timeline-content {
    opacity: 1;
    transform: translateY(0);
}
.timeline-date {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 10px;
    display: inline-block;
}
.loc1 {top:35%; left: 52%;}
.loc2 {top:40%; left: 20%;}
.loc3 {top:65%; left: 30%;}
.loc4 {top:45%; left: 82%;}
/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        left: 0 !important;
    }
    .timeline-item::after {
        left: 10px;
    }
}


/* --- 5. Core Values Section --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.value-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
}
.value-card i {
    color: var(--accent-color);
    margin-right: 10px;
}
.value-card h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* --- 6. Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.team-card img {
    width: 100%;
    display: block;
}
.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    text-align: center;
    transform: translateY(calc(100% - 60px)); /* Hide all but name/title */
    transition: transform 0.4s ease-in-out;
}
.team-card:hover .team-info {
    transform: translateY(0);
}
.team-info h3 { margin: 0; font-size: 1.2rem; }
.team-info p { margin: 5px 0 15px; }
.team-social a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
}

/* --- 7. Image Slider --- */
.slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.slider .slide {
    display: none;
}
.slider .slide.active {
    display: block;
    animation: fadeIn 0.8s;
}
.slider .slide img {
    width: 100%;
    display: block;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
.slider-btn.prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}
.slider-btn.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

/* --- 8. Global Community Map --- */
.map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.map-container img {
    width: 100%;
    opacity: 0.8;
}
.pulse {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 118, 117, 1);
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 118, 117, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 15px rgba(255, 118, 117, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 118, 117, 0); }
}

/* --- 9. Tech Logos --- */
.tech-logos {
    text-align: center;
    font-size: 4rem;
    color: #ccc;
}
.tech-logos i {
    margin: 0 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.tech-logos i:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}