/* About Page Styles */

.about-main {
    padding: 40px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    min-height: calc(100vh - 300px);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 28px;
    color: #5a4a4a;
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4a574;
    letter-spacing: 0.5px;
}

/* Details Content */
.details-content {
    display: grid;
    grid-template-columns: 1fr;
}

.detail-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #5a4a4a;
    font-size: 14px;
}

.detail-value {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* Colleges Grid */
.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.college-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #d4a574;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.college-card h3 {
    color: #5a4a4a;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.college-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.7;
}

.college-info strong {
    color: #5a4a4a;
    font-weight: 600;
}

/* Table Styles */
.table-wrapper {
    overflow-x: auto;
}

.directors-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.directors-table thead {
    background: linear-gradient(135deg, #5a4a4a 0%, #3d3633 100%);
    color: white;
}

.directors-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.directors-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.directors-table tbody tr {
    transition: background 0.3s ease;
}

.directors-table tbody tr:hover {
    background: #f9f7f3;
}

.directors-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.directors-table tbody tr:nth-child(even):hover {
    background: #f9f7f3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-main {
        padding: 25px 15px;
    }
    
    .about-section {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .details-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .detail-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .detail-label {
        font-weight: 600;
    }
    
    .colleges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .directors-table {
        font-size: 12px;
    }
    
    .directors-table th,
    .directors-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .detail-label {
        font-size: 13px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    .directors-table {
        font-size: 11px;
    }
    
    .directors-table th,
    .directors-table td {
        padding: 8px;
    }
}
