/* ═══ About Us page — layout matched to design mockup ═══ */

/* ─── Solid navy banner ─── */
.about-banner {
    position: relative;
    min-height: clamp(280px, 38vh, 420px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-banner--solid {
    background: linear-gradient(180deg, var(--navy-dark, #0f1d45) 0%, var(--navy, #1a2f6b) 100%);
    min-height: clamp(300px, 40vh, 440px);
}
.about-banner--solid .about-banner__title {
    animation: aboutTitleIn 0.9s ease forwards;
}
@keyframes aboutTitleIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
.about-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-banner__title {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6.5vw, 4.25rem);
    font-weight: 700;
    color: #fff !important;
    margin: 0;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ─── Brief history ─── */
.about-history {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: #fff;
}
.about-history__frame {
    position: relative;
}
.about-history__frame-outer {
    background: var(--navy-dark, #0f1d45);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 24px 48px rgba(15, 29, 69, 0.18);
}
.about-history__frame-inner {
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, #7a8fa8 0%, #5c6f8a 50%, #4a5d78 100%);
    min-height: clamp(280px, 36vw, 400px);
    position: relative;
}
.about-history__frame-inner img {
    width: 100%;
    height: 100%;
    min-height: clamp(280px, 36vw, 400px);
    object-fit: cover;
    display: block;
}
.about-history__placeholder {
    min-height: clamp(280px, 36vw, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #7a8fa8 0%, #5c6f8a 50%, #4a5d78 100%);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.35);
}
.about-history__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.about-history__heading-main,
.about-history__heading-accent {
    display: inline;
    font-size: inherit;
    line-height: inherit;
}
.about-history__heading-main {
    font-weight: 700;
    color: var(--brown, #4a3728);
}
.about-history__heading-accent {
    font-weight: 500;
    color: #6b5b4f;
    margin-left: 0.35em;
}
.about-history__card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow: 0 12px 40px rgba(15, 29, 69, 0.08);
    border: 1px solid rgba(26, 47, 107, 0.06);
}
.about-history__content {
    font-size: 1rem;
    line-height: 1.85;
    color: #4a5568;
}
.about-history__content p {
    margin-bottom: 1rem;
}
.about-history__content p:last-child {
    margin-bottom: 0;
}

/* ─── School activities carousel (4-up on desktop) ─── */
.about-activities {
    padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(4rem, 6vw, 5rem);
    background: var(--beige, #f0ebe3);
}
.about-activities__title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    margin-bottom: 2.5rem;
    line-height: 1.15;
}
.about-activities__title-muted {
    font-weight: 500;
    color: #6b5b4f;
    margin-right: 0.35rem;
}
.about-activities__title-accent {
    font-weight: 700;
    color: var(--brown, #4a3728);
}
.about-activities__wrap {
    position: relative;
}
.about-activities-swiper {
    padding: 0.5rem 3.5rem 1rem;
    overflow: hidden;
}
.about-activity-card {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    background: linear-gradient(145deg, #7a8fa8 0%, #5c6f8a 100%);
    box-shadow: 0 8px 24px rgba(15, 29, 69, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.about-activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 29, 69, 0.18);
}
.about-activity-card img {
    width: 100%;
    height: clamp(200px, 22vw, 260px);
    object-fit: cover;
    display: block;
}
.about-activity-card__zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.about-activity-card:hover .about-activity-card__zoom {
    opacity: 1;
}
.about-act-prev,
.about-act-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--navy, #1a2f6b);
    box-shadow: 0 6px 20px rgba(15, 29, 69, 0.12);
    transition: background 0.3s, color 0.3s, transform 0.3s;
    top: 50%;
    margin-top: -24px;
}
.about-act-prev { left: 0; }
.about-act-next { right: 0; }
.about-act-prev::after,
.about-act-next::after {
    font-size: 1rem;
    font-weight: 700;
}
.about-act-prev:hover,
.about-act-next:hover {
    background: var(--navy, #1a2f6b);
    color: #fff;
    transform: scale(1.06);
}
.btn-about-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 2.25rem;
    background: #5c5348;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(61, 41, 31, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s;
}
.btn-about-more:hover {
    transform: translateY(-3px);
    background: var(--brown-dark, #3d291f);
    box-shadow: 0 12px 28px rgba(61, 41, 31, 0.3);
    color: #fff !important;
}

@media (max-width: 991px) {
    .about-activities-swiper {
        padding: 0.5rem 2.75rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-banner--solid .about-banner__title {
        animation: none;
    }
}
