/* About Page Styles */

body {
    background: linear-gradient(135deg, #7E0809 0%, #C41E3A 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Remove overlay from page-content */
.page-content::before {
    display: none !important;
}

/* Override header position to ensure it's visible */
.header {
    position: relative;
    z-index: 1000;
    background: #8B1014;
}

/* Page content */
.page-content {
    padding-top: 0;
    position: relative;
}

.team-page {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-subtitle {
    color: #f0f0f0;
    font-size: 20px;
    line-height: 1.6;
}

.teacher-section {
    background: rgba(255,255,255,1);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.section-title {
    text-align: center;
    color: #7E0809;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 600;
}

.teacher-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.teacher-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7E0809, #C41E3A);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(126,8,9,0.4);
}

.teacher-avatar span {
    color: white;
    font-size: 56px;
    font-weight: 700;
}

.teacher-details h3 {
    font-size: 32px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.teacher-code {
    color: #7E0809;
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0;
}

.teacher-role {
    color: #666;
    font-size: 18px;
    margin-top: 8px;
}

.members-section {
    background: rgba(255,255,255,1);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.member-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: #7E0809;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.member-avatar span {
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.member-name {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.member-id {
    font-weight: 600;
    margin: 8px 0;
    font-size: 16px;
}

.member-role {
    color: #666;
    font-size: 15px;
    margin-top: 8px;
}

.back-button {
    display: inline-block;
    margin-bottom: 30px;
    padding: 12px 30px;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.3);
}

.back-button:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(-5px);
}
