/* =============================================
   TRANG GIỚI THIỆU - ABOUT PAGE
   ============================================= */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="aboutPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23aboutPattern)"/></svg>');
    pointer-events: none;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

/* About Sections */
.about-section {
    padding: 4rem 0;
}

/* Mission & Vision Cards */
.mission-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.mission-card h3 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mission-card .text-primary {
    color: #3498db !important;
}

.mission-card .text-success {
    color: #27ae60 !important;
}

/* Core Values */
.value-item {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.value-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.value-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    opacity: 0;
    animation: slideInTimeline 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-content {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 45%;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 2rem;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Timeline items on the right */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Timeline items on the left */
.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Timeline dots */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: #3498db;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: 0 0 0 4px #3498db;
    z-index: 2;
}

.timeline-content h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Team Section */
.team-member {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .team-avatar::after {
    opacity: 1;
}

.team-member h5 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member .text-muted {
    margin-bottom: 1rem;
    font-weight: 500;
    color: #3498db !important;
}

.team-member .small {
    color: #6c757d;
    line-height: 1.5;
}

/* Animations */
@keyframes slideInTimeline {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-scale {
    animation: fadeInScale 0.8s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero {
        padding: 3rem 0;
    }
    
    .about-section {
        padding: 3rem 0;
    }
    
    .mission-card {
        padding: 2rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 2rem 0;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-section {
        padding: 2rem 0;
    }
    
    /* Timeline mobile adjustments */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-item::before {
        left: 20px;
        width: 12px;
        height: 12px;
        border: 3px solid white;
        box-shadow: 0 0 0 3px #3498db;
    }
    
    .mission-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .value-item {
        margin-bottom: 1.5rem;
    }
    
    .team-avatar {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .team-member {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .about-hero .lead {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .mission-card {
        padding: 1.25rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}