/* Page-specific styles for auxiliary pages */

.page-main {
    min-height: calc(100vh - 200px);
    padding: 80px 0;
    background-color: var(--bg-white);
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.content-section {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-section ul,
.content-section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Legal page specific styling */
.legal-section {
    margin-bottom: 3rem;
}

.legal-section h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.legal-section h4 {
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

/* About page specific styling */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, var(--bg-light) 0%, #e0f2fe 100%);
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Responsive design for pages */
@media (max-width: 768px) {
    .page-main {
        padding: 60px 0;
    }
    
    .content-section {
        padding: 0 16px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
}

/* About page specific enhancements */
.about-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.feature-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.highlight-icon {
    flex-shrink: 0;
}

.highlight-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.instructor-section {
    text-align: center;
}

.instructor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(145deg, var(--bg-light) 0%, #e0f2fe 100%);
    border-radius: 12px;
}

.stat-content {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.values-section {
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.value-icon {
    margin-bottom: 1.5rem;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-img,
.feature-img,
.course-img,
.critiques-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Responsive design for about page */
@media (max-width: 768px) {
    .about-hero,
    .about-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .instructor-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}