/* Page Styles for About Section Pages */

/* Page Header */
.page-header {
    background: #f8f9fa;
    color: #003d24;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 3px solid #054451;
}

.page-header h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    color: #054451;
}

.page-header p {
    font-size: 1rem;
    margin: 0;
    color: #003d24;
}

/* About Content */
.about-content, .message-content, .staff-content {
    padding: 2rem 0;
    background: white;
}

.about-content .container,
.message-content .container,
.staff-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.message-top-section {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.principal-image-left {
    text-align: center;
}

.principal-image-center {
    text-align: center;
    margin-bottom: 2rem;
}

.message-text-full {
    width: 100%;
    margin: 0;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.content-grid, .message-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.content-text h2, .message-text h2 {
    color: #054451;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-text h3, .message-text h3 {
    color: #054451;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
}

.content-text p, .message-text p {
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: #003d24;
}

.content-text ul {
    list-style: none;
    padding: 0;
}

.content-text ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.content-image, .principal-image {
    text-align: center;
}

.school-img, .principal-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.principal-info {
    margin-top: 1rem;
    text-align: center;
}

.principal-info h3 {
    color: #054451;
    margin: 0.5rem 0;
}

.principal-info p {
    color: #003d24;
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

/* Achievements Section */
.achievements-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.achievements-section h3 {
    color: #054451;
    text-align: center;
    margin-bottom: 2rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 1.5rem;
    background: #054451;
    color: #dae4db;
    border-radius: 10px;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.achievement-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Staff Details */
.staff-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.staff-section h2 {
    color: #054451;
    margin-bottom: 2rem;
    text-align: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.staff-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.staff-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.staff-info h3 {
    color: #054451;
    margin: 0 0 0.5rem 0;
}

.staff-info .designation {
    color: #ef946c;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.staff-info .qualification,
.staff-info .experience {
    color: #003d24;
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

/* Staff Table */
.staff-table {
    overflow-x: auto;
}

.staff-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.staff-table th,
.staff-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.staff-table th {
    background: #054451;
    color: #dae4db;
    font-weight: 600;
}

.staff-table tr:hover {
    background: #f8f9fa;
}

/* Support Staff */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.support-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.support-item h4 {
    color: #054451;
    margin: 0 0 0.5rem 0;
}

.support-item p {
    color: #003d24;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-grid, .message-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .message-top-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .staff-card {
        flex-direction: column;
        text-align: center;
    }
    
    .staff-table {
        font-size: 0.8rem;
    }
    
    .staff-table th,
    .staff-table td {
        padding: 0.5rem;
    }
    
    .about-content .container,
    .message-content .container,
    .staff-content .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}