/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* ========== PAGE HEADER ========== */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== MISSION & VISION ========== */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.mission-card,
.vision-card {
    padding: var(--spacing-lg);
    text-align: center;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.icon-wrapper svg {
    width: 50px;
    height: 50px;
}

.mission-card h2,
.vision-card h2 {
    color: var(--emerald-green);
    margin-bottom: var(--spacing-md);
}

/* ========== ISLAMIC DIVIDER ========== */
.islamic-divider {
    text-align: center;
    padding: var(--spacing-md) 0;
}

.islamic-divider svg {
    max-width: 200px;
    margin: 0 auto;
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: var(--spacing-lg);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: var(--spacing-lg);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    padding: var(--spacing-md);
}

.timeline-year {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.timeline-content h3 {
    margin-bottom: var(--spacing-sm);
}

/* ========== WHY CHOOSE US ========== */
.why-choose {
    background: var(--navy);
    color: var(--white);
    position: relative;
}

.why-choose .section-title h2 {
    color: var(--white);
}

.why-choose .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.why-item {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.why-item h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
}

.why-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* ========== TUTORS SECTION ========== */
.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.tutor-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.tutor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--emerald-green);
    box-shadow: var(--shadow-md);
}

.tutor-avatar svg {
    width: 100%;
    height: 100%;
}

.tutor-card h3 {
    color: var(--emerald-green);
    margin-bottom: var(--spacing-xs);
}

.tutor-title {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.tutor-qualification {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.tutor-expertise {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    justify-content: center;
}

.expertise-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--emerald-light);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding-left: var(--spacing-md);
        padding-right: 0;
    }

    .timeline-dot {
        left: 20px;
    }

    .why-grid,
    .tutors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: var(--spacing-lg) 0;
    }

    .icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .icon-wrapper svg {
        width: 40px;
        height: 40px;
    }
}