/* about-us.css - specific styles for the About Us page */

/* Banner Styles */
.about-banner {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 550px;
    overflow: hidden;
}

.about-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* About Introduction Section Styles */
.about-intro-section {
    padding: 4rem 0 0 0;
    background-color: #ffffff;
}

.about-text-container {
    max-width: 1000px;
    margin: 0 auto 1.5rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-text-expanded {
    display: none;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    animation: fadeIn 0.5s ease;
    margin-bottom: 1.5rem;
}

.about-text-expanded p {
    margin-bottom: 1rem;
}

.button-container {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.read-more-btn {
    padding: 0.6rem 1.5rem;
    background-color: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

.read-more-btn:hover {
    background-color: #d0d0d0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-intro-section {
        padding: 3rem 0;
    }
    
    .about-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .about-text-expanded {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .about-intro-section {
        padding: 2.5rem 0;
    }
    
    .about-text, 
    .about-text-expanded {
        font-size: 0.95rem;
    }
    
    .read-more-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* University at a Glance Section Styles */
.glance-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.glance-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.glance-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.glance-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.glance-divider {
    position: relative;
    width: 100px;
    height: 2px;
    margin: 0 auto 1.5rem;
}

.who-divider {
    background-color: #FFC107; /* Gold/Yellow */
}

.what-divider {
    background-color: #FF5252; /* Red */
}

.how-divider {
    background-color: #1E3C72; /* Primary Blue */
}

.divider-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border: 2px solid;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.who-divider .divider-dot {
    border-color: #FFC107;
}

.what-divider .divider-dot {
    border-color: #FF5252;
}

.how-divider .divider-dot {
    border-color: #1E3C72;
}

.glance-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

.glance-expanded {
    display: none;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    animation: fadeIn 0.5s ease;
}

.glance-expanded p {
    margin-bottom: 1rem;
}

.glance-expanded ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.glance-expanded li {
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .glance-columns {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .glance-columns {
        flex-direction: column;
        gap: 40px;
    }
    
    .glance-column {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .glance-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .glance-section {
        padding: 3rem 0;
    }
    
    .glance-title {
        font-size: 1.3rem;
    }
    
    .glance-text, .glance-expanded {
        font-size: 0.9rem;
    }
}

.glance-expanded-full {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    animation: fadeIn 0.5s ease;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.glance-expanded-full p {
    margin-bottom: 1rem;
}

.glance-expanded-full ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.glance-expanded-full li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .glance-expanded-full {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .glance-expanded-full {
        font-size: 0.9rem;
    }
}

/* Director's Message Section Styles */
.director-section {
    padding: 4rem 0;
    background-color: #f0f2f5;
}

.director-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.director-message {
    flex: 3; /* Larger proportion for the message */
}

.director-photo {
    flex: 2; /* Smaller proportion for the photo */
}

.director-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.director-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.director-info {
    margin-bottom: 1.5rem;
}

.director-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3C72;
    margin-bottom: 0.25rem;
}

.director-position {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.director-text, 
.director-text-expanded {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.director-text p, 
.director-text-expanded p {
    margin-bottom: 1rem;
}

.director-text-expanded {
    display: none;
    animation: fadeIn 0.5s ease;
}

.director-button {
    margin-top: 1.5rem;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .director-container {
        gap: 30px;
    }
    
    .director-title {
        font-size: 1.8rem;
    }
    
    .director-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .director-container {
        flex-direction: column-reverse; /* Photo first, then message on mobile */
    }
    
    .director-photo {
        margin-bottom: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .director-button {
        text-align: center;
    }
    
    .director-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .director-section {
        padding: 3rem 0;
    }
    
    .director-title {
        font-size: 1.5rem;
    }
    
    .director-text, 
    .director-text-expanded {
        font-size: 0.95rem;
    }
}

/* Rector's Message Section Styles */
.rector-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.rector-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.rector-message {
    flex: 3; /* Larger proportion for the message */
}

.rector-photo {
    flex: 2; /* Smaller proportion for the photo */
}

.rector-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.rector-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.rector-info {
    margin-bottom: 1.5rem;
}

.rector-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3C72;
    margin-bottom: 0.25rem;
}

.rector-position {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.rector-text, 
.rector-text-expanded {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.rector-text p, 
.rector-text-expanded p {
    margin-bottom: 1rem;
}

.rector-text-expanded {
    display: none;
    animation: fadeIn 0.5s ease;
}

.rector-button {
    margin-top: 1.5rem;
    text-align: left;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .rector-container {
        gap: 30px;
    }
    
    .rector-title {
        font-size: 1.8rem;
    }
    
    .rector-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .rector-container {
        flex-direction: column; /* Photo first, then message on mobile */
    }
    
    .rector-photo {
        margin-bottom: 2rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .rector-button {
        text-align: center;
    }
    
    .rector-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .rector-section {
        padding: 3rem 0;
    }
    
    .rector-title {
        font-size: 1.5rem;
    }
    
    .rector-text, 
    .rector-text-expanded {
        font-size: 0.95rem;
    }
}

/* Advisors to Chairman Section Styles */
.advisors-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.advisors-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
    padding: 0 5%; /* Add margin on both sides as shown in the image */
}

.advisor-box {
    flex: 1;
    max-width: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advisor-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.advisor-photo {
    padding: 10px;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.advisor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.advisor-info {
    padding: 1.5rem;
    text-align: center;
}

.advisor-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.advisor-position {
    font-size: 0.95rem;
    color: #1E3C72;
    margin-bottom: 0.5rem;
}

.advisor-credentials, 
.advisor-institution {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .advisors-container {
        padding: 0 2%;
    }
    
    .advisor-box {
        max-width: 280px;
    }
    
    .advisor-photo {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .advisors-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .advisor-box {
        max-width: 300px;
    }
}

@media (max-width: 580px) {
    .advisors-container {
        flex-direction: column;
        align-items: center;
    }
    
    .advisor-box {
        max-width: 320px;
        width: 100%;
    }
    
    .advisor-photo {
        height: 220px;
    }
}

/* Team SIP Section Styles - New dedicated styles for the team */
.team-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
    padding: 0 5%;
}

.team-box {
    flex: 1;
    max-width: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.team-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-position {
    font-size: 0.95rem;
    color: #1E3C72;
    margin-bottom: 0.5rem;
}

.team-credentials {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* Responsive adjustments for Team Section */
@media (max-width: 992px) {
    .team-container {
        padding: 0 2%;
    }
    
    .team-box {
        max-width: 280px;
    }
    
    .team-photo {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .team-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .team-box {
        max-width: 280px;
        width: 100%;
    }
    
    .team-photo {
        height: 200px;
    }
}

@media (max-width: 580px) {
    .team-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .team-box {
        max-width: 100%;
        width: 90%;
        margin: 0 auto;
    }
    
    .team-photo {
        height: 280px;
        width: 100%;
    }
    
    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .team-info {
        padding: 1.25rem;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
    
    .team-position {
        font-size: 0.9rem;
    }
    
    .team-credentials {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .team-box {
        width: 95%;
    }
    
    .team-photo {
        height: 250px;
    }
}

/* Board of Governors Members Section Styles */
.governors-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.governors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.governor-member {
    padding: 1.5rem 0.5rem;
    text-align: center;
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Remove the continuous borders */
    border: none;
}

/* Add borders only between cells */
.governor-member:not(:nth-child(5n)) {
    border-right: 1px solid #e0e0e0;
}

.governor-member:not(:nth-child(5n+1)) {
    border-left: 1px solid #e0e0e0;
}

/* Add row spacing */
.governor-member:nth-child(n+6) {
    margin-top: 15px;
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-position {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.member-institution {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .governors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Update border rules for 3-column layout */
    .governor-member:not(:nth-child(5n)) {
        border-right: none;
    }
    
    .governor-member:not(:nth-child(5n+1)) {
        border-left: none;
    }
    
    .governor-member:not(:nth-child(3n)) {
        border-right: 1px solid #e0e0e0;
    }
    
    .governor-member:not(:nth-child(3n+1)) {
        border-left: 1px solid #e0e0e0;
    }
    
    /* Reset row spacing */
    .governor-member:nth-child(n+6) {
        margin-top: 0;
    }
    
    /* Add new row spacing */
    .governor-member:nth-child(n+4) {
        margin-top: 15px;
    }
    
    .governor-member:nth-child(n+7) {
        margin-top: 15px;
    }
    
    .governor-member:nth-child(n+10) {
        margin-top: 15px;
    }
    
    .governor-member {
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .governors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Update border rules for 2-column layout */
    .governor-member:not(:nth-child(3n)),
    .governor-member:not(:nth-child(5n)) {
        border-right: none;
    }
    
    .governor-member:not(:nth-child(3n+1)),
    .governor-member:not(:nth-child(5n+1)) {
        border-left: none;
    }
    
    .governor-member:nth-child(odd) {
        border-right: 1px solid #e0e0e0;
    }
    
    .governor-member:nth-child(even) {
        border-left: 1px solid #e0e0e0;
    }
    
    /* Reset row spacing */
    .governor-member:nth-child(n+4),
    .governor-member:nth-child(n+7),
    .governor-member:nth-child(n+10) {
        margin-top: 0;
    }
    
    /* Add new row spacing */
    .governor-member:nth-child(n+3) {
        margin-top: 15px;
    }
    
    .member-name {
        font-size: 0.95rem;
    }
    
    .member-position, 
    .member-institution {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .governors-grid {
        grid-template-columns: 1fr;
    }
    
    /* Update border rules for 1-column layout */
    .governor-member {
        border: none !important;
    }
    
    /* Reset row spacing */
    .governor-member:nth-child(n+3) {
        margin-top: 0;
    }
    
    /* Add new row spacing */
    .governor-member:not(:first-child) {
        margin-top: 15px;
    }
    
    .governor-member {
        min-height: auto;
        padding: 1.25rem 0.5rem;
    }
}

/* Academic Council Members Section Styles - UPDATED */
.council-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.council-member {
    padding: 1.5rem 0.5rem;
    text-align: center;
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Remove the continuous borders */
    border: none;
}

/* Add borders only between cells */
.council-member:not(:nth-child(5n)) {
    border-right: 1px solid #e0e0e0;
}

.council-member:not(:nth-child(5n+1)) {
    border-left: 1px solid #e0e0e0;
}

/* Add row spacing */
.council-member:nth-child(n+6) {
    margin-top: 15px;
}

.council-member:nth-child(n+11) {
    margin-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .council-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Update border rules for 3-column layout */
    .council-member:not(:nth-child(5n)) {
        border-right: none;
    }
    
    .council-member:not(:nth-child(5n+1)) {
        border-left: none;
    }
    
    .council-member:not(:nth-child(3n)) {
        border-right: 1px solid #e0e0e0;
    }
    
    .council-member:not(:nth-child(3n+1)) {
        border-left: 1px solid #e0e0e0;
    }
    
    /* Reset row spacing */
    .council-member:nth-child(n+6),
    .council-member:nth-child(n+11) {
        margin-top: 0;
    }
    
    /* Add new row spacing */
    .council-member:nth-child(n+4) {
        margin-top: 15px;
    }
    
    .council-member:nth-child(n+7) {
        margin-top: 15px;
    }
    
    .council-member:nth-child(n+10) {
        margin-top: 15px;
    }
    
    .council-member:nth-child(n+13) {
        margin-top: 15px;
    }
    
    .council-member {
        min-height: 120px;
    }
}

@media (max-width: 768px) {
    .council-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Update border rules for 2-column layout */
    .council-member:not(:nth-child(3n)),
    .council-member:not(:nth-child(5n)) {
        border-right: none;
    }
    
    .council-member:not(:nth-child(3n+1)),
    .council-member:not(:nth-child(5n+1)) {
        border-left: none;
    }
    
    .council-member:nth-child(odd) {
        border-right: 1px solid #e0e0e0;
    }
    
    .council-member:nth-child(even) {
        border-left: 1px solid #e0e0e0;
    }
    
    /* Reset row spacing */
    .council-member:nth-child(n+4),
    .council-member:nth-child(n+7),
    .council-member:nth-child(n+10),
    .council-member:nth-child(n+13) {
        margin-top: 0;
    }
    
    /* Add new row spacing */
    .council-member:nth-child(n+3) {
        margin-top: 15px;
    }
    
    .member-name {
        font-size: 0.95rem;
    }
    
    .member-position, 
    .member-institution {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .council-grid {
        grid-template-columns: 1fr;
    }
    
    /* Update border rules for 1-column layout */
    .council-member {
        border: none !important;
    }
    
    /* Reset row spacing */
    .council-member:nth-child(n+3) {
        margin-top: 0;
    }
    
    /* Add new row spacing */
    .council-member:not(:first-child) {
        margin-top: 15px;
    }
    
    .council-member {
        min-height: auto;
        padding: 1.25rem 0.5rem;
    }
}

/* Vision & Mission Section Styles */
/* Welcome Section */
.welcome-section {
    padding: 4rem 0 0rem;
    background-color: #ffffff;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #1E3C72;
    text-align: center;
    margin-bottom: 2rem;
}

/* Vision & Mission Section Styles */
.vision-mission-container {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0 3rem;
}

.vision-column, .mission-column {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.vision-heading, .mission-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3C72;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.vision-heading::after, .mission-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background-color: #e0e0e0;
}

.vision-text, .mission-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.column-divider {
    width: 1px;
    background-color: #ddd;
    margin: 0 15px;
}

/* Core Values Section Styles */
.core-values-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.values-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #1E3C72;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.values-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 20%;
    height: 1px;
    background-color: #e0e0e0;
}

.values-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.value-column {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1E3C72;
    margin-bottom: 1rem;
}

.value-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.value-divider {
    width: 1px;
    background-color: #ddd;
    margin: 0 15px;
}

.value-single {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

/* Updated Button Styles to match the image exactly */
.values-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-light {
    background-color: #e0e0e0;
    color: #333333;
    border: none;
}

.btn-light:hover {
    background-color: #d0d0d0;
}

.btn-primary {
    background-color: #1E3C72;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #172e58;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .vision-mission-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .column-divider {
        display: none;
    }
    
    .vision-heading::after, .mission-heading::after {
        left: 30%;
        width: 40%;
    }
    
    .values-heading::after {
        left: 35%;
        width: 30%;
    }
}

@media (max-width: 768px) {
    .welcome-title {
        font-size: 2rem;
    }
    
    .values-heading {
        font-size: 1.8rem;
    }
    
    .values-row {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .value-divider {
        display: none;
    }
    
    .values-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .values-buttons .btn {
        width: 200px;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 1.75rem;
    }
    
    .vision-heading, .mission-heading {
        font-size: 1.3rem;
    }
    
    .values-heading {
        font-size: 1.6rem;
    }
    
    .values-heading::after {
        left: 30%;
        width: 40%;
    }
    
    .value-single {
        padding: 0 1rem;
    }
    
    .values-buttons .btn {
        width: 90%;
    }
}

/* Core Values Image Section Styles */
.core-values-section {
    padding: 0rem 0;
    background-color: #ffffff;
}

.core-values-image-container {
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* Desktop image is shown by default */
.core-values-desktop {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Mobile image is hidden by default */
.core-values-mobile {
    display: none;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Values buttons styles remain the same */
.values-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Media query for tablet and mobile devices */
@media (max-width: 768px) {
    .core-values-desktop {
        display: none; /* Hide desktop image */
    }
    
    .core-values-mobile {
        display: block; /* Show mobile image */
    }
    
    .values-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .values-buttons .btn {
        width: 200px;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 480px) {
    .core-values-section {
        padding: 3rem 0;
    }
    
    .values-buttons .btn {
        width: 90%;
    }
}



/* faculty-profile.css - Updated Faculty Profile Page Styles with Base-Aligned Columns */

/* Faculty Profile Section */
.faculty-profile-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

/* Container now uses flex-end alignment to align both columns to their base */
.faculty-profile-container {
    display: flex;
    align-items: flex-end; /* This aligns both columns to their bottom/base */
    gap: 4rem;
    margin-bottom: 2rem;
}

/* Faculty info column - now with dynamic height and proper hairline spacing */
.faculty-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* For positioning the hairline at the base */
    padding-bottom: 20px; /* Creates the 20px spacer above the hairline */
}

/* Hairline positioned at the very bottom of the left column with proper spacing */
.faculty-info::after {
    content: '';
    position: absolute;
    bottom: 0; /* Sits at the absolute bottom of the column */
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e5e7eb;
}

.faculty-name {
    font-size: 2rem;
    font-weight: 600;
    color: #1E3C72;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Credentials container grows naturally and respects the 20px bottom padding */
.faculty-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1; /* Allows content to expand while maintaining bottom alignment */
}

.credential-item {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

.credential-item.primary {
    color: #1E3C72;
    font-weight: 600;
}

.credential-item.contact {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Photo column - aligned to base and standardized at 270 x 180px */
.faculty-photo {
    flex: 0 0 270px; /* Fixed width, allows height to be natural */
    width: 270px;
    height: 180px;
    align-self: flex-end; /* Ensures photo sits at the bottom of its column */
}

.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hide the original separator since we're using the refined pseudo-element approach */
.profile-separator {
    display: none;
}

/* Biography Section - CENTER ALIGNED FROM HERE ONWARDS */
.biography-section {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center; /* Center align biography section */
}

.biography-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: #4b5563;
    font-size: 1.05rem;
}

.biography-text p {
    margin-bottom: 0;
    text-align: center; /* Center align biography paragraphs */
}

/* Teaching & Research Interests Sections - CENTER ALIGNED */
.teaching-interests-section,
.research-interests-section {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center; /* Center align interests sections */
}

.interests-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.interest-box {
    background-color: #fff;
    border: 1px solid #1E3C72;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    text-align: center;
    color: #1E3C72;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
}

.interest-box:hover {
    background-color: #1E3C72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 60, 114, 0.2);
}

/* Publications Section - CENTER ALIGNED */
.publications-section {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center; /* Center align publications section */
}

.publications-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.publication-item {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4b5563;
    font-size: 0.95rem;
    text-align: center;
}

.publication-separator {
    text-align: center;
    color: #ccc;
    margin: 1rem 0;
    font-size: 1rem;
    font-weight: 300;
}

/* Awards Section - CENTER ALIGNED */
.awards-section {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center; /* Center align awards section */
}

.awards-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.award-item {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4b5563;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.award-icon {
    font-size: 1.2rem;
}

.award-text {
    text-align: center;
}

/* Affiliations Section - CENTER ALIGNED */
.affiliations-section {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center; /* Center align affiliations section */
}

.affiliations-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.affiliation-item {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4b5563;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.affiliation-icon {
    font-size: 1.2rem;
}

.affiliation-text {
    text-align: center;
}

/* Back Navigation Section - CENTER ALIGNED */
.back-navigation-section {
    padding: 2rem 0;
    background-color: #ffffff;
    text-align: center; /* Center align back navigation */
}

.back-navigation {
    text-align: center;
}

/* Banner */
.faculty-banner {
    margin-bottom: 0;
}

.faculty-banner img {
    max-height: 400px;
}

/* Section Titles - CENTER ALIGNED FROM BIOGRAPHY ONWARDS */
.biography-section .section-title,
.teaching-interests-section .section-title,
.research-interests-section .section-title,
.publications-section .section-title,
.awards-section .section-title,
.affiliations-section .section-title,
.back-navigation-section .section-title {
    text-align: center;
}

/* Responsive Design - Tablet and larger screens maintain base alignment */
@media (max-width: 1024px) {
    .faculty-profile-container {
        gap: 3rem;
    }
    
    /* Maintain the base-aligned layout with proper spacing */
    .faculty-info {
        padding-bottom: 20px; /* Keep the 20px spacer */
    }
    
    /* Photo remains standardized */
    .faculty-photo {
        flex: 0 0 270px;
        width: 270px;
        height: 180px;
    }
    
    .faculty-name {
        font-size: 1.8rem;
    }
    
    .interests-container {
        gap: 0.8rem;
    }
    
    .interest-box {
        font-size: 0.9rem;
        padding: 0.7rem 1.3rem;
    }
    
    /* Maintain center alignment for all sections from biography onwards */
    .biography-section,
    .teaching-interests-section,
    .research-interests-section,
    .publications-section,
    .awards-section,
    .affiliations-section,
    .back-navigation-section {
        text-align: center;
    }
    
    .biography-text,
    .publications-content,
    .awards-content,
    .affiliations-content,
    .back-navigation {
        text-align: center;
    }
}

/* Mobile Layout - Stacked and centered approach */
@media (max-width: 768px) {
    .faculty-profile-section {
        padding: 3rem 0;
    }
    
    /* Switch to stacked mobile layout with centered alignment */
    .faculty-profile-container {
        flex-direction: column;
        align-items: center; /* Center both columns in mobile stack */
        gap: 2rem;
        text-align: center;
    }
    
    /* Left column adapted for mobile - centered content */
    .faculty-info {
        order: 2;
        text-align: center;
        align-items: center;
        padding-bottom: 0; /* Remove bottom padding in mobile layout */
    }
    
    /* Remove hairline in mobile since layout changes to stacked */
    .faculty-info::after {
        display: none;
    }
    
    /* Photo positioned above content in mobile */
    .faculty-photo {
        order: 1;
        flex: none;
        width: 270px;
        height: 180px;
        margin: 0 auto;
        align-self: center; /* Center the photo in mobile layout */
    }
    
    .faculty-name {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .faculty-credentials {
        align-items: center;
        text-align: center;
        flex-grow: 0; /* Reset flex-grow for mobile stacked layout */
    }
    
    .credential-item {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .biography-text {
        text-align: center; /* Keep center alignment for biography on mobile */
        padding: 0 1rem;
    }
    
    .interests-container {
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .interest-box {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
        min-height: 40px;
    }
    
    .publications-content {
        padding: 0 1rem;
        text-align: center;
    }
    
    .publication-item {
        font-size: 0.9rem;
        text-align: center; /* Keep center alignment for publications on mobile */
    }
    
    .teaching-interests-section,
    .research-interests-section,
    .publications-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    /* Maintain center alignment for all new sections */
    .awards-section,
    .affiliations-section,
    .back-navigation-section {
        text-align: center;
    }
    
    .awards-content,
    .affiliations-content,
    .back-navigation {
        text-align: center;
    }
}

/* Small mobile screens - optimized for narrow viewports */
@media (max-width: 576px) {
    .faculty-profile-section {
        padding: 2.5rem 0;
    }
    
    /* Maintain standardized photo size even on small screens */
    .faculty-photo {
        width: 270px;
        height: 180px;
    }
    
    .faculty-name {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .faculty-credentials {
        text-align: center;
    }
    
    .credential-item {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    /* Interest boxes stack vertically on very small screens */
    .interests-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .interest-box {
        width: 100%;
        max-width: 300px;
        white-space: normal;
        text-align: center;
        padding: 0.8rem 1rem;
        min-height: 50px;
    }
    
    .biography-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .publication-item {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .teaching-interests-section,
    .research-interests-section,
    .biography-section,
    .publications-section,
    .awards-section,
    .affiliations-section,
    .back-navigation-section {
        padding: 2.5rem 0;
        text-align: center;
    }
}

/* Extra small screens - final optimization for very narrow displays */
@media (max-width: 480px) {
    .faculty-profile-container {
        gap: 1.5rem;
    }
    
    /* Even on the smallest screens, maintain photo consistency */
    .faculty-photo {
        width: 270px;
        height: 180px;
    }
    
    .faculty-name {
        font-size: 1.35rem;
        text-align: center;
    }
    
    .credential-item {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.35rem;
        text-align: center;
    }
    
    .biography-text {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        text-align: center;
    }
    
    .interest-box {
        font-size: 0.8rem;
        padding: 0.7rem 0.8rem;
    }
    
    .publication-item {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .publications-content {
        padding: 0 0.5rem;
        text-align: center;
    }
    
    /* Ensure all sections from biography onwards remain center aligned */
    .awards-content,
    .affiliations-content,
    .back-navigation {
        text-align: center;
    }
}

