/* ===================================
   TEACHERS.CSS - Tajweed Academy Teachers Page
   =================================== */
.logo-arabic{
    color: #01534d;
}
/* Header */
.teachers-header {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
}

/* Teachers Main Section */
.teachers-main-section {
    padding: 4rem 0;
    background: var(--beige);
}

.teachers-category {
    margin-bottom: 4rem;
}

.category-badge {
    display: inline-block;
    background: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.category-badge i {
    margin-right: 0.5rem;
}

/* Teachers Grid */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.featured-grid {
    margin-bottom: 1rem;
}

/* Teacher Card */
.teacher-card {
    background: var(--white);
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.featured-teacher {
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, white 0%, #fef9e6 100%);
}

.teacher-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.teacher-avatar.large {
    width: 140px;
    height: 140px;
    font-size: 3.5rem;
}

.teacher-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.teacher-card h3 {
    font-size: 1.5rem;
    margin: 1.2rem 0 0.3rem;
}

.teacher-title {
    color: var(--emerald);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.teacher-stats {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--beige);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.stat i {
    color: var(--emerald);
}

.teacher-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--black-light);
    margin: 1rem 0;
}

.teacher-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 1rem 0 1.5rem;
}

.teacher-specialties span {
    background: rgba(13, 148, 136, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--emerald);
}

.teacher-contact-btn {
    display: inline-block;
    background: transparent;
    border: 1.5px solid var(--emerald);
    color: var(--emerald);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.9rem;
}

.teacher-contact-btn:hover {
    background: var(--emerald);
    color: white;
}

/* Why Choose Section */
.teachers-why {
    padding: 4rem 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: var(--beige);
    border-radius: 24px;
    transition: 0.3s;
}

.why-item i {
    font-size: 2.5rem;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--black-light);
}

/* Animation Classes */
.teacher-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s forwards;
}

.featured-teacher:nth-child(1) { animation-delay: 0.1s; }
.featured-teacher:nth-child(2) { animation-delay: 0.2s; }
#allTeachersGrid .teacher-card:nth-child(1) { animation-delay: 0.15s; }
#allTeachersGrid .teacher-card:nth-child(2) { animation-delay: 0.25s; }
#allTeachersGrid .teacher-card:nth-child(3) { animation-delay: 0.35s; }
#allTeachersGrid .teacher-card:nth-child(4) { animation-delay: 0.45s; }
#allTeachersGrid .teacher-card:nth-child(5) { animation-delay: 0.55s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    .teacher-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    .teacher-avatar.large {
        width: 120px;
        height: 120px;
    }
    .teacher-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}