﻿/* ===== Teachers Page Styles ===== */

/* Hero Section */
.teachers-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-dark) 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.teachers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23DAA520' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.teachers-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    text-align: center;
}

.teachers-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.5rem;
    background: rgba(43, 92, 255, 0.15);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.teachers-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.teachers-title span {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(43, 92, 255, 0.5);
}

.teachers-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.teachers-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.teachers-stat {
    text-align: center;
}

.teachers-stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.teachers-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 1.5rem;
    background: var(--bg-alt);
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 500;
}

/* Section Intro */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-intro h2 span {
    color: var(--accent-warm);
}

.section-intro p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Leadership Section */
.leadership-section {
    padding: 5rem 1.5rem;
    background: var(--bg-deep);
}

.leadership-grid {
    display: grid;
    grid-template-columns: minmax(300px, 420px);
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.leadership-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(43, 92, 255, 0.12);
}

.leadership-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.leadership-card.featured {
    background: var(--bg-card);
    border-color: rgba(43, 92, 255, 0.18);
}

.leadership-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    border-radius: 18px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(43, 92, 255, 0.18);
    background: var(--bg-dark);
    box-shadow: 0 16px 36px rgba(43, 92, 255, 0.22);
    position: relative;
}

.leadership-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
}

.leadership-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.leadership-card:hover .leadership-avatar img {
    transform: scale(1.08);
}

.leadership-card h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.leadership-role {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.leadership-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Department Section */
.department-section {
    padding: 5rem 1.5rem;
    background: var(--bg-deep);
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.department-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(43, 92, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.department-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(43, 92, 255, 0.3);
}

.department-card h3 {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.department-card .dept-en {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.department-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.dept-teachers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dept-teacher-tag {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.dept-teacher-tag i {
    color: var(--accent);
    font-size: 0.7rem;
}

/* Teachers Detail Section */
.teachers-detail-section {
    padding: 5rem 1.5rem;
    background: var(--bg-dark);
}

.teachers-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.teacher-detail-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: 1rem;
    border: 1px solid rgba(43, 92, 255, 0.12);
}

.teacher-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-hover);
}

.teacher-detail-header {
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-warm));
    position: relative;
}

.teacher-detail-avatar {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    border-radius: 0;
    border: 0;
    overflow: hidden;
    position: relative;
    background: var(--bg-dark);
    box-shadow: none;
}

.teacher-detail-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
}

.teacher-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.teacher-detail-card:hover .teacher-detail-avatar img {
    transform: scale(1.1);
}

.teacher-detail-body {
    padding: 1.25rem;
    text-align: center;
}

.teacher-detail-body h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.teacher-detail-role {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    min-height: 2.8em;
}

.teacher-detail-subject {
    display: inline-flex;
    align-items: center;
    color: var(--text);
    background: rgba(43, 92, 255, 0.12);
    border: 1px solid rgba(43, 92, 255, 0.18);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.teacher-detail-info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--shadow);
}

.teacher-detail-info-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(43, 92, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
}

.teacher-detail-info-item i {
    color: var(--accent);
    width: 16px;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.teacher-detail-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.teacher-detail-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.teacher-detail-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(43, 92, 255, 0.4);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .teachers-title {
        font-size: 2.2rem;
    }

    .teachers-stats {
        gap: 1.5rem;
    }

    .department-grid {
        grid-template-columns: 1fr;
    }

    .teachers-detail-grid {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }
}
