/* ================================================================
   About Page: Hero Banner + Vision & Mission Sections
   ================================================================
   Designed to match the BBL theme (Brooks Business Law).
   Add to your theme's main.css or enqueue separately.
   All BEM-named classes are scoped to avoid conflicts.
   ================================================================ */

/* ── SECTION 1: Hero Banner ── */
.about-hero-banner {
    position: relative;
    background: #f9f9f9;
    padding: 0;
}

.about-hero-banner__inner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 160px 0 80px;
}

/* Dark overlay for text readability */
.about-hero-banner__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
}

.about-hero-banner__inner .container {
    position: relative;
    z-index: 2;
}

.about-hero-banner__content {
    max-width: 720px;
}

.about-hero-banner__eyebrow {
    font-family: var(--font-mono, monospace);
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.about-hero-banner__title {
    font-family: var(--font-heading, 'Arial', sans-serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
}

/* ── SECTION 2: Introduction ── */
.about-intro-section {
    padding: 120px 0;
    background: #0a0a0a;
    color: #fff;
}

.about-intro-center {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.about-intro-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
}

.about-intro-heading {
    font-family: var(--font-heading, 'Arial', sans-serif);
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
}
/* Scroll-in animation */
.about-intro-section .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.about-intro-section.in-view .fade-up {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger: subtitle first, heading slightly delayed */
.about-intro-section.in-view .about-intro-heading.fade-up {
    transition-delay: 0.15s;
}
/* GSAP SplitText animation lines */
.about-intro-heading .line {
    overflow: hidden;
}

@media (max-width: 768px) {
    .about-intro-section {
        padding: 80px 0;
    }
}

/* ── SECTION 3: Vision & Mission Cards ── */
.about-vision-mission {
    padding: 100px 0;
    background: #f9f9f9;
}

.about-vision-mission__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.about-vm-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-vm-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.about-vm-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-vm-card:hover .about-vm-card__image img {
    transform: scale(1.04);
}

.about-vm-card__body {
    padding: 32px;
}

.about-vm-card__label {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.about-vm-card__text {
    font-size: 18px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.75);
    max-width: 480px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-vision-mission__grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .about-hero-banner__inner {
        min-height: 380px;
        padding: 120px 0 60px;
    }

    .about-vision-mission__grid {
        grid-template-columns: 1fr;
    }

    .about-vm-card__body {
        padding: 24px;
    }
}
