/* About Us Page Styles */
.aboutus-page {
    padding: 100px 0 80px;
    background-color: var(--light-gray);
    min-height: 80vh;
}

.page-title {
    text-align: center;
    color: var(--dark-green);
    font-size: 3rem;
    margin-bottom: 40px;
}

/* Container Tabs */
.container-tabs {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    background: var(--white);
    border-bottom: 2px solid var(--light-gray);
    gap: 0;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    text-align: center;
    position: relative;
}

.tab-btn:hover {
    background: var(--light-gray);
    color: var(--dark-green);
}

.tab-btn.active {
    color: var(--dark-green);
    font-weight: 600;
    border-bottom-color: var(--accent-green);
    background: var(--white);
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.tab-content > h2 {
    padding: 30px 40px 20px;
    margin-bottom: 0;
}

.tab-content h2 {
    color: var(--dark-green);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.tab-content h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

/* Board of Trustees */
.trustees-section {
    margin-bottom: 50px;
    padding: 0 40px 40px;
}

.trustees-section h3 {
    text-align: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 30px;
    margin-top: 0;
}

.trustees-block {
    background: linear-gradient(135deg, var(--dark-green) 0%, #1a5d3a 100%);
    border-radius: 15px 15px 0 0;
    padding: 40px 30px;
    text-align: center;
}

.trustees-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.trustee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    max-width: 600px;
}

.trustee-item strong {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

.trustee-item strong.members-heading {
    color: #ffd700;
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.trustee-item span {
    color: var(--white);
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.95;
}

/* MANCOM Grid - 4 per row */
.mancom-section {
    padding: 0 40px 40px;
}

.mancom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.mancom-item {
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mancom-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mancom-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mancom-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mancom-info {
    padding: 15px;
    background: var(--white);
}

.mancom-name {
    font-weight: 600;
    color: var(--dark-green);
    font-size: 1rem;
    margin-bottom: 5px;
}

.mancom-position {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Academic Heads Section - centered text layout */
.academic-text-section {
    padding: 40px 40px 50px;
    background: linear-gradient(135deg, var(--dark-green) 0%, #1a5d3a 100%);
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.academic-text-section h2 {
    font-size: 1.8rem;
    margin: 0 0 20px;
    color: var(--white);
}

.academic-text-list,
.program-text-list {
    max-width: 700px;
    margin: 0 auto 30px;
}

.academic-name-line,
.program-name-line {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.academic-role-line,
.program-role-line {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 2px;
}

.program-dept-line {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.program-heads-subtitle {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

/* Program Heads Section */
.program-heads-section {
    padding: 0 40px 40px;
}

.program-heads-title-bar {
    background: var(--accent-green);
    padding: 20px;
    text-align: center;
    border-radius: 0;
}

.program-heads-title-bar h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin: 0;
    padding: 0;
    border: none;
}

.program-heads-block {
    background: linear-gradient(135deg, var(--dark-green) 0%, #1a5d3a 100%);
    padding: 40px 30px;
    border-radius: 0 0 15px 15px;
}

.program-head-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 0;
    padding: 0;
}

.program-head-grid-centered {
    grid-template-columns: repeat(auto-fit, minmax(200px, 220px));
    justify-content: center;
    justify-items: center;
}

.academic-heads-photo-section {
    margin-top: 40px;
}

.academic-heads-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    padding: 20px 0 30px;
}

.academic-heads-stack .program-head-item {
    width: 100%;
    max-width: 220px;
}

.program-head-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-photo-frame {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.program-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.program-name {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.program-position {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 3px;
    opacity: 0.95;
}

.program-department {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.3;
}

/* Vision Mission Grid - 2 columns */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    padding: 0 40px 40px;
}

.vision-mission-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mission-section,
.vision-section {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-green);
}

.mission-section h3,
.vision-section h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.mission-content,
.vision-content {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.mission-content p,
.vision-content p {
    margin-bottom: 10px;
}

.mission-content:focus,
.vision-content:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 4px;
    border-radius: 4px;
}

.vision-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.core-values-section {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-green);
    height: 100%;
}

.core-values-section h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.core-values-section .vision-image {
    min-height: auto;
    margin-bottom: 18px;
}

.core-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.core-values-list li {
    background: var(--white);
    color: var(--dark-green);
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.core-values-note {
    color: var(--dark-gray);
    line-height: 1.75;
    font-size: 1rem;
    margin: 0;
}

/* History Video */
.history-video-container {
    margin-top: 30px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: var(--dark-gray);
    padding: 0 40px 40px;
}

.history-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 968px) {
    .mancom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-head-grid-centered {
        grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .tab-content > h2 {
        padding: 25px 20px 15px;
    }
    
    .trustees-section,
    .mancom-section,
    .program-heads-section,
    .vision-mission-grid,
    .history-video-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
    }
    
    .program-head-grid-centered {
        grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: var(--accent-green);
        border-bottom-color: var(--light-gray);
    }
    
    .mancom-grid {
        grid-template-columns: 1fr;
    }
    
    .program-head-grid-centered {
        grid-template-columns: minmax(160px, 220px);
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .tab-content h2 {
        font-size: 1.5rem;
    }
    
    .tab-content h3 {
        font-size: 1.25rem;
    }
}
