/* Teachers Page Styles */

/* Teachers Container */
.teachers-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Page Hero */
.teachers-hero {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.teachers-hero .hero-content {
    margin: 0 auto;
}

.teachers-hero .page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 15px 0;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.teachers-hero .page-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 0 0 20px 0;
    font-style: italic;
    opacity: 0.95;
    line-height: 1.4;
}

.teachers-hero .hero-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
}

/* Teachers Section */
.teachers-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Teacher Card - Compact */
.teacher-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.teacher-card.featured {
    border: 2px solid #FFD700;
    box-shadow: 0 3px 20px rgba(255, 215, 0, 0.3);
}

.teacher-card.featured:hover {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

/* Badge Corner - Compact */
.teacher-badge-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700, #DAA520);
    color: #2C3E50;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Teacher Image Container - Compact */
.teacher-image-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.teacher-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    object-fit: cover;
    border: 3px solid white;
}

/* Teacher Content - Compact */
.teacher-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.teacher-name {
    font-size: 1.3rem;
    color: #2C3E50;
    margin: 0;
    font-weight: bold;
    line-height: 1.2;
}

.teacher-title {
    font-size: 0.85rem;
    color: #4A90E2;
    margin: 0;
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;
}

/* Specialization Tags - Compact */
.specialization-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.specialization-tags .tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.75rem;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tag.abacus {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
}

.tag.vedic {
    background: linear-gradient(135deg, #C44569, #FF6B6B);
}

.tag.school {
    background: linear-gradient(135deg, #27AE60, #2ECC71);
}

/* Teacher Stats - Compact */
.teacher-stats-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(74,144,226,0.05), rgba(53,122,189,0.05));
    border-radius: 8px;
}

.stat-compact {
    font-size: 0.8rem;
    color: #4A90E2;
    font-weight: 600;
}

/* Qualifications - Compact */
.teacher-qualifications-compact {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.5;
    padding: 8px;
    background: rgba(255,215,0,0.05);
    border-radius: 8px;
    border-left: 3px solid #FFD700;
    text-align: left;
}

.teacher-qualifications-compact p {
    margin: 0;
}

/* CTA Button - Small */
.cta-button.small {
    padding: 10px 20px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Why Choose Section */
.why-choose-section {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(218,165,32,0.1));
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.why-choose-section .section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #2C3E50;
    margin: 0 0 40px 0;
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #2C3E50;
    margin: 0 0 12px 0;
    font-weight: bold;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 0 0 15px 0;
    font-weight: bold;
}

.cta-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin: 0 0 30px 0;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .teachers-section {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .teachers-hero {
        padding: 40px 20px;
        border-radius: 15px;
        margin-bottom: 40px;
    }
    
    .teachers-hero .page-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 12px;
    }
    
    .teachers-hero .page-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 15px;
    }
    
    .teachers-hero .hero-description {
        font-size: clamp(0.95rem, 3vw, 1.05rem);
        line-height: 1.6;
    }

    .teachers-section {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .teacher-image-container {
        padding: 20px;
        min-height: 120px;
    }

    .teacher-image {
        width: 90px;
        height: 90px;
    }

    .teacher-content {
        padding: 15px;
        gap: 10px;
    }

    .why-choose-section {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button.large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .teachers-hero {
        padding: 30px 15px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
    
    .teachers-hero .page-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .teachers-hero .page-subtitle {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .teachers-hero .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .teachers-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .teacher-badge-corner {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .teacher-image-container {
        min-height: 110px;
        padding: 15px;
    }

    .teacher-image {
        width: 80px;
        height: 80px;
    }

    .teacher-content {
        padding: 15px;
    }

    .teacher-name {
        font-size: 1.2rem;
    }

    .teacher-title {
        font-size: 0.8rem;
    }

    .specialization-tags .tag {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .stat-compact {
        font-size: 0.75rem;
    }

    .teacher-qualifications-compact {
        font-size: 0.7rem;
    }
}
