/* ============================================

   ABOUT PAGES — Design System (Full Width)

   ============================================ */



.about-page section,

.team-page section {

    padding: 40px 0 !important;

    margin: 0;

    animation: none;

    width: 100%;

}



.about-page,

.team-page {

    width: 100%;

    overflow-x: clip;

}



.about-section-head {

    text-align: center;

    margin-bottom: 32px;

    padding: 0 clamp(16px, 4vw, 48px);

}



.about-section-head .bf-tagline {

    display: block;

    margin-bottom: 8px;

}



.about-section-head h2 {

    font-size: clamp(1.5rem, 3vw, 2rem);

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 12px;

}



.about-section-head p {

    color: var(--text-light);

    max-width: 560px;

    margin: 0 auto;

    font-size: 0.95rem;

}



.about-section-head .header-divider {

    width: 50px;

    height: 3px;

    background: var(--royal-blue);

    margin: 16px auto 0;

    border-radius: 2px;

}



/* ---- Intro strip ---- */

.about-intro {

    width: 100%;

    background: var(--light-gray);

    padding: 28px 0;

    border-bottom: 1px solid var(--medium-gray);

}



.about-intro-inner {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    width: 100%;

    padding: 0;

}



.about-intro-item {

    text-align: center;

    padding: 16px clamp(12px, 2vw, 24px);

    border-right: 1px solid var(--medium-gray);

}



.about-intro-item:last-child {

    border-right: none;

}



.about-intro-item i {

    font-size: 1.5rem;

    color: var(--royal-blue);

    margin-bottom: 10px;

}



.about-intro-item h6 {

    font-size: 0.85rem;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 4px;

}



.about-intro-item p {

    font-size: 0.78rem;

    color: var(--text-light);

    margin: 0;

}



/* ---- History ---- */

.about-history {

    width: 100%;

    padding: 40px 0 0;

}



.about-history-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0;

    width: 100%;

    align-items: stretch;

    border-top: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

}



.about-history-image {

    position: relative;

    min-height: 380px;

    overflow: hidden;

    background: var(--light-gray);

}



.about-history-image img {

    width: 100%;

    height: 100%;

    min-height: 380px;

    object-fit: cover;

    display: block;

}



.about-history-card {

    background: #fff;

    border: none;

    border-left: 1px solid var(--medium-gray);

    border-radius: 0;

    padding: clamp(28px, 4vw, 48px);

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: center;

}



.about-history-card p {

    color: var(--text-light);

    line-height: 1.8;

    margin: 0;

    font-size: 0.95rem;

}



/* ---- Mission & Vision ---- */

.about-mv-section {

    width: 100%;

    background: #fff;

    border-top: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

    padding-top: 40px !important;

}



.about-mv-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 0;

    width: 100%;

}



.about-mv-card {

    background: #fff;

    border: none;

    border-right: 1px solid var(--medium-gray);

    border-radius: 0;

    padding: clamp(28px, 4vw, 48px);

    text-align: center;

    transition: background 0.3s ease;

}



.about-mv-card:last-child {

    border-right: none;

}



.about-mv-card:hover {

    background: var(--light-gray);

}



.about-mv-icon {

    width: 64px;

    height: 64px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 20px;

    font-size: 1.5rem;

}



.about-mv-icon.mission {

    background: var(--royal-blue-light);

    color: var(--royal-blue);

}



.about-mv-icon.vision {

    background: var(--accent-green-bg);

    color: var(--accent-green);

}



.about-mv-card h3 {

    font-size: 1.25rem;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 14px;

}



.about-mv-card p {

    color: var(--text-light);

    line-height: 1.7;

    margin: 0;

    font-size: 0.92rem;

    max-width: 480px;

    margin-left: auto;

    margin-right: auto;

}



/* ---- Core Values ---- */

.about-values-section {

    width: 100%;

    padding: 40px 0 !important;

}



.about-values-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));

    gap: 0;

    width: 100%;

    border-top: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

}



.about-value-card {

    background: #fff;

    border: none;

    border-right: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

    border-radius: 0;

    padding: 28px 20px;

    text-align: center;

    transition: background 0.3s ease;

}



.about-value-card:hover {

    background: var(--light-gray);

}



.about-value-icon {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    background: var(--royal-blue-light);

    color: var(--royal-blue);

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 12px;

    font-size: 1rem;

}



.about-value-card h5 {

    font-size: 0.9rem;

    font-weight: 700;

    color: var(--navy);

    margin: 0;

}



/* ---- Team section ---- */

.about-team-section {

    width: 100%;

    background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);

    padding: 40px 0 !important;

}



.about-team-section .about-section-head h2,

.about-team-section .about-section-head p {

    color: #fff;

}



.about-team-section .about-section-head p {

    opacity: 0.8;

}



.about-team-section .header-divider {

    background: rgba(255, 255, 255, 0.6);

}



.about-team-carousel {

    width: 100%;

    max-width: 100%;

    margin: 0;

    padding: 0 clamp(16px, 4vw, 48px);

}



.about-team-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 12px;

    padding: 32px;

    gap: 20px;

    max-width: 900px;

    margin: 0 auto;

}



@media (min-width: 768px) {

    .about-team-card {

        flex-direction: row;

        text-align: left;

        align-items: flex-start;

    }

}



.about-team-photo {

    flex-shrink: 0;

    width: 160px;

    height: 160px;

    border-radius: 50%;

    overflow: hidden;

    border: 3px solid rgba(255, 255, 255, 0.3);

}



.about-team-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.about-team-photo-placeholder {

    width: 100%;

    height: 100%;

    background: rgba(255, 255, 255, 0.1);

    display: flex;

    align-items: center;

    justify-content: center;

    color: rgba(255, 255, 255, 0.5);

    font-size: 3rem;

}



.about-team-info h3 {

    color: #fff;

    font-size: 1.4rem;

    font-weight: 700;

    margin-bottom: 4px;

}



.about-team-role {

    color: #93c5fd;

    font-weight: 600;

    font-size: 0.95rem;

    margin-bottom: 12px;

}



.about-team-meta {

    color: rgba(255, 255, 255, 0.75);

    font-size: 0.88rem;

    margin-bottom: 6px;

}



.about-team-meta i {

    width: 18px;

    color: rgba(255, 255, 255, 0.5);

}



.about-team-bio {

    color: rgba(255, 255, 255, 0.8);

    font-size: 0.9rem;

    line-height: 1.6;

    margin-top: 12px;

}



.about-team-slide {

    display: none;

}



.about-team-slide.active {

    display: block;

    animation: aboutFadeIn 0.5s ease;

}



@keyframes aboutFadeIn {

    from { opacity: 0; transform: translateY(12px); }

    to { opacity: 1; transform: translateY(0); }

}



.about-team-controls {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    margin-top: 24px;

}



.about-team-btn {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.25);

    background: rgba(255, 255, 255, 0.1);

    color: #fff;

    cursor: pointer;

    transition: all 0.2s;

    display: flex;

    align-items: center;

    justify-content: center;

}



.about-team-btn:hover {

    background: rgba(255, 255, 255, 0.2);

}



.about-team-dots {

    display: flex;

    gap: 8px;

}



.about-team-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    border: none;

    background: rgba(255, 255, 255, 0.35);

    padding: 0;

    cursor: pointer;

    transition: all 0.2s;

}



.about-team-dot.active {

    background: #fff;

    width: 24px;

    border-radius: 4px;

}



.about-team-cta {

    text-align: center;

    margin-top: 28px;

}



.about-team-cta a {

    color: rgba(255, 255, 255, 0.9);

    font-weight: 600;

    font-size: 0.9rem;

    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.4);

    transition: color 0.2s;

}



.about-team-cta a:hover {

    color: #fff;

}



/* ---- Facilities ---- */

.about-facilities-section {

    width: 100%;

    background: var(--light-gray);

    padding-top: 40px !important;

}



.about-facility-grid {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 0;

    width: 100%;

    border-top: 1px solid var(--medium-gray);

}



.about-facility-card {

    background: #fff;

    border: none;

    border-right: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

    border-radius: 0;

    overflow: hidden;

    transition: background 0.3s ease;

}



.about-facility-card:hover {

    background: #fafbfc;

}



.about-facility-card:last-child {

    border-right: none;

}



.about-facility-img {

    height: 180px;

    overflow: hidden;

}



.about-facility-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}



.about-facility-card:hover .about-facility-img img {

    transform: scale(1.05);

}



.about-facility-img-placeholder {

    height: 180px;

    background: var(--royal-blue-light);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--royal-blue);

    font-size: 2.5rem;

}



.about-facility-body {

    padding: 20px;

}



.about-facility-body h5 {

    font-size: 1rem;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 8px;

}



.about-facility-body p {

    font-size: 0.88rem;

    color: var(--text-light);

    margin: 0;

    line-height: 1.5;

}



/* ---- Achievements ---- */

.about-achievements-section {

    width: 100%;

    padding: 40px 0 48px !important;

}



.about-achievements-card {

    width: 100%;

    margin: 0;

    background: #fff;

    border: none;

    border-top: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

    border-left: 4px solid var(--royal-blue);

    border-radius: 0;

    padding: clamp(28px, 4vw, 48px);

}



.about-achievements-card p,

.about-achievements-card {

    color: var(--text-light);

    line-height: 1.8;

    font-size: 0.95rem;

}



/* ============================================

   TEAM PAGE (Full Width)

   ============================================ */

.team-section {

    width: 100%;

    padding: 0 0 40px !important;

}



.team-section-title {

    font-size: 1.35rem;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 24px;

    padding: 0 clamp(16px, 4vw, 48px) 12px;

    border-bottom: 2px solid var(--royal-blue-light);

}



.team-leadership-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

    gap: 0;

    width: 100%;

    border-top: 1px solid var(--medium-gray);

}



.team-leader-card {

    background: #fff;

    border: none;

    border-right: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

    border-radius: 0;

    overflow: hidden;

    transition: background 0.3s ease;

}



.team-leader-card:hover {

    background: var(--light-gray);

}



.team-leader-img {

    height: 220px;

    overflow: hidden;

}



.team-leader-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.team-leader-img-placeholder {

    height: 220px;

    background: linear-gradient(135deg, var(--royal-blue-light), var(--accent-teal-bg));

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--royal-blue);

    font-size: 4rem;

}



.team-leader-body {

    padding: 24px;

}



.team-leader-body h3 {

    font-size: 1.15rem;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 4px;

}



.team-leader-role {

    color: var(--royal-blue);

    font-weight: 600;

    font-size: 0.9rem;

    margin-bottom: 12px;

}



.team-leader-body p {

    font-size: 0.88rem;

    color: var(--text-light);

    margin-bottom: 6px;

}



.team-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

    gap: 0;

    width: 100%;

    border-top: 1px solid var(--medium-gray);

}



.team-card {

    background: #fff;

    border: none;

    border-right: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

    border-radius: 0;

    overflow: hidden;

    text-align: center;

    transition: background 0.3s ease;

}



.team-card:hover {

    background: var(--light-gray);

}



.team-card-img {

    height: 200px;

    overflow: hidden;

}



.team-card-img img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.team-card-img-placeholder {

    height: 200px;

    background: var(--light-gray);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #94a3b8;

    font-size: 3rem;

}



.team-card-body {

    padding: 20px 16px;

}



.team-card-body h5 {

    font-size: 1rem;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 4px;

}



.team-card-role {

    color: var(--royal-blue);

    font-size: 0.85rem;

    font-weight: 600;

    margin-bottom: 8px;

}



.team-card-dept {

    font-size: 0.8rem;

    color: var(--text-light);

    margin-bottom: 12px;

}



.team-support-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));

    gap: 0;

    width: 100%;

    border-top: 1px solid var(--medium-gray);

}



.team-support-card {

    background: #fff;

    border: none;

    border-right: 1px solid var(--medium-gray);

    border-bottom: 1px solid var(--medium-gray);

    border-radius: 0;

    padding: 24px 16px;

    text-align: center;

    transition: background 0.2s;

}



.team-support-card:hover {

    background: var(--light-gray);

}



.team-support-avatar {

    width: 72px;

    height: 72px;

    border-radius: 50%;

    background: var(--royal-blue-light);

    color: var(--royal-blue);

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 12px;

    font-size: 1.8rem;

    overflow: hidden;

}



.team-support-avatar img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.team-support-card h6 {

    font-size: 0.88rem;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 4px;

}



.team-support-card p {

    font-size: 0.75rem;

    color: var(--text-light);

    margin: 0;

}



.team-empty {

    text-align: center;

    padding: 60px 20px;

    color: var(--text-light);

}



/* ---- Responsive ---- */

@media (max-width: 992px) {

    .about-intro-inner {

        grid-template-columns: repeat(2, 1fr);

    }



    .about-intro-item:nth-child(2) {

        border-right: none;

    }



    .about-intro-item {

        border-bottom: 1px solid var(--medium-gray);

    }



    .about-intro-item:nth-child(3),

    .about-intro-item:nth-child(4) {

        border-bottom: none;

    }



    .about-history-grid,

    .about-mv-grid {

        grid-template-columns: 1fr;

    }



    .about-history-card {

        border-left: none;

        border-top: 1px solid var(--medium-gray);

    }



    .about-mv-card {

        border-right: none;

        border-bottom: 1px solid var(--medium-gray);

    }



    .about-mv-card:last-child {

        border-bottom: none;

    }



    .about-history-image,
    .about-history-image img {

        min-height: 280px;

    }



    .about-facility-grid {

        grid-template-columns: repeat(3, 1fr);

    }



    .about-facility-card:last-child {

        border-right: 1px solid var(--medium-gray);

    }



    .about-facility-card:nth-child(3n) {

        border-right: none;

    }

}



@media (max-width: 576px) {

    .about-intro-inner {

        grid-template-columns: 1fr 1fr;

    }



    .about-intro-item {

        border-right: none;

    }



    .about-page section,

    .team-page section {

        padding: 32px 0 !important;

    }



    .about-facility-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .about-facility-card:nth-child(3n) {

        border-right: 1px solid var(--medium-gray);

    }



    .about-facility-card:nth-child(2n) {

        border-right: none;

    }

}


