/* =====================================================
   GSS BAM - ABOUT PAGE
===================================================== */


/* =====================================================
   HERO
===================================================== */

.about-hero {

    position: relative;

    min-height: 390px;

    display: flex;

    align-items: center;

    background:
        url("../images/school_front.jpeg")
        center 48% / cover no-repeat;

    color: white;

}


.about-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 31, 49, 0.92),
            rgba(8, 31, 49, 0.60),
            rgba(8, 31, 49, 0.25)
        );

}


.about-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

}


.hero-label {

    display: inline-block;

    color: #f0c65b;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 14px;

}


.about-hero h2 {

    color: white;

    font-size: clamp(38px, 5vw, 62px);

    line-height: 1.08;

    margin: 0 0 18px;

}


.about-hero p {

    color: #edf4f8;

    font-size: 19px;

    max-width: 650px;

    margin: 0;

}


/* =====================================================
   MAIN INTRODUCTION
===================================================== */

.about-main-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 65px;

    align-items: center;

}


.about-main-image {

    height: 500px;

    overflow: hidden;

    border-radius: 12px;

    box-shadow:
        0 18px 45px
        rgba(13, 42, 64, 0.14);

}


.about-main-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.about-main-content h2 {

    color: var(--navy);

    font-size: 43px;

    line-height: 1.15;

    margin: 8px 0 25px;

}


.about-main-content p {

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 17px;

}


.about-main-content strong {

    color: var(--navy);

}


.about-info-line {

    display: grid;

    grid-template-columns: 1fr 1fr;

    margin-top: 30px;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}


.about-info-line div {

    padding: 18px 20px;

}


.about-info-line div + div {

    border-left: 1px solid var(--border);

}


.about-info-line strong {

    display: block;

    color: var(--navy);

    font-size: 13px;

    margin-bottom: 5px;

}


.about-info-line span {

    color: var(--muted);

    font-size: 14px;

}


/* =====================================================
   HISTORY
===================================================== */

.history-section {

    background: #f6f8fa;

}


.history-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}


.history-timeline {

    position: relative;

}


.history-item {

    display: grid;

    grid-template-columns: 90px 25px 1fr;

    gap: 15px;

    min-height: 145px;

}


.history-year {

    color: var(--blue);

    font-size: 20px;

    font-weight: 800;

    padding-top: 2px;

}


.history-dot {

    width: 13px;

    height: 13px;

    margin-top: 5px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 0 5px rgba(221, 174, 55, 0.14);

    position: relative;

}


.history-dot::after {

    content: "";

    position: absolute;

    top: 13px;

    left: 5px;

    width: 2px;

    height: 135px;

    background: #d7dfe4;

}


.history-item:last-child
.history-dot::after {

    display: none;

}


.history-text h3 {

    color: var(--navy);

    font-size: 21px;

    margin: 0 0 8px;

}


.history-text p {

    color: var(--muted);

    line-height: 1.7;

    margin: 0;

}


.history-image {

    position: relative;

    height: 430px;

    border-radius: 12px;

    overflow: hidden;

}


.history-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.history-caption {

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 25px;

    display: flex;

    flex-direction: column;

    gap: 5px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(5, 25, 40, 0.9)
        );

}


.history-caption strong {

    font-size: 18px;

}


.history-caption span {

    font-size: 13px;

    color: #dce7ed;

}


/* =====================================================
   SCHOOL AT A GLANCE
===================================================== */

.glance-section {

    background: white;

}


.glance-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);

    border-left: 1px solid var(--border);

}


.glance-card {

    min-height: 145px;

    padding: 25px;

    border-right: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.glance-label {

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 8px;

}


.glance-card strong {

    color: var(--navy);

    font-size: 19px;

}


/* =====================================================
   LEARNING ENVIRONMENT
===================================================== */

.learning-grid {

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 22px;

}


.learning-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;

}


.learning-card.large {

    grid-row: span 2;

}


.learning-image {

    width: 100%;

    height: 260px;

    overflow: hidden;

}


.learning-card.large
.learning-image {

    height: 390px;

}


.learning-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;

}


.learning-card:hover
.learning-image img {

    transform: scale(1.04);

}


.learning-content {

    padding: 22px;

}


.learning-content > span {

    color: var(--blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.3px;

}


.learning-content h3 {

    color: var(--navy);

    font-size: 21px;

    margin: 7px 0;

}


.learning-content p {

    color: var(--muted);

    font-size: 14px;

    line-height: 1.65;

    margin: 0;

}


/* =====================================================
   FACILITIES
===================================================== */

.facilities-section {

    background: #f6f8fa;

}


.facilities-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;

}


.facility-card {

    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    overflow: hidden;

}


.facility-card img {

    width: 100%;

    height: 320px;

    object-fit: cover;

}


.facility-card div {

    padding: 22px;

}


.facility-card h3 {

    color: var(--navy);

    font-size: 21px;

    margin: 0 0 7px;

}


.facility-card p {

    color: var(--muted);

    font-size: 14px;

    margin: 0;

}


/* =====================================================
   LEADERSHIP
===================================================== */

.leadership-section {

    background: white;

}


.leadership-grid {

    display: grid;

    grid-template-columns: 350px 1fr;

    gap: 70px;

    align-items: center;

}


.leadership-photo {

    height: 430px;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 18px 40px
        rgba(13, 42, 64, 0.14);

}


.leadership-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center top;

}


.leadership-content h2 {

    color: var(--navy);

    font-size: 43px;

    margin: 8px 0 5px;

}


.leadership-content h3 {

    color: var(--blue);

    font-size: 24px;

    margin: 0 0 5px;

}


.qualification {

    color: var(--muted);

    font-weight: 600;

    margin-bottom: 22px;

}


.leadership-content p {

    color: var(--muted);

    line-height: 1.8;

    max-width: 700px;

}


.text-link {

    display: inline-block;

    margin-top: 15px;

    color: var(--blue);

    font-weight: 800;

    text-decoration: none;

}


.text-link:hover {

    text-decoration: underline;

}


/* =====================================================
   ADDRESS
===================================================== */

.about-address {

    background: #12304a;

    padding: 55px 0;

}


.about-address-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.about-address .section-label {

    color: #f0c65b;

}


.about-address h2 {

    color: white;

    font-size: 30px;

    margin: 8px 0;

}


.about-address p {

    color: #d6e3ea;

    margin: 0;

}


.address-details {

    display: flex;

    gap: 45px;

}


.address-details div {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.address-details span {

    color: #9fb5c3;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

}


.address-details strong {

    color: white;

    font-size: 15px;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 950px) {


    .about-main-grid,
    .history-layout,
    .leadership-grid {

        grid-template-columns: 1fr;

    }


    .about-main-image {

        height: 400px;

    }


    .history-image {

        height: 380px;

    }


    .learning-grid {

        grid-template-columns: 1fr 1fr;

    }


    .learning-card.large {

        grid-row: auto;

        grid-column: span 2;

    }


    .glance-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .leadership-photo {

        max-width: 350px;

    }


    .about-address-inner {

        align-items: flex-start;

        flex-direction: column;

    }

}


@media (max-width: 650px) {


    .about-hero {

        min-height: 320px;

    }


    .about-hero h2 {

        font-size: 38px;

    }


    .about-hero p {

        font-size: 16px;

    }


    .about-main-content h2,
    .leadership-content h2 {

        font-size: 34px;

    }


    .about-main-image {

        height: 320px;

    }


    .about-info-line {

        grid-template-columns: 1fr;

    }


    .about-info-line div + div {

        border-left: none;

        border-top: 1px solid var(--border);

    }


    .history-item {

        grid-template-columns:
            65px 20px 1fr;

    }


    .glance-grid {

        grid-template-columns: 1fr;

    }


    .learning-grid {

        grid-template-columns: 1fr;

    }


    .learning-card.large {

        grid-column: auto;

    }


    .learning-card.large
    .learning-image {

        height: 280px;

    }


    .facilities-grid {

        grid-template-columns: 1fr;

    }


    .facility-card img {

        height: 260px;

    }


    .leadership-photo {

        height: 380px;

        width: 100%;

    }


    .address-details {

        flex-direction: column;

        gap: 20px;

    }

}