.about-us-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Bootstrap-style container (scoped to About Us) */
.about-us-page .container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .about-us-page .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .about-us-page .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .about-us-page .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .about-us-page .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .about-us-page .container {
        max-width: 1320px;
    }
}

/* Bootstrap-style row */
.about-us-page .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.about-us-page .g-5 {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
}

.about-us-page .align-items-center {
    align-items: center;
}

.about-us-page [class*="col-"] {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    width: 100%;
}

@media (min-width: 992px) {
    .about-us-page .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .about-us-page .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .about-us-page .order-lg-1 {
        order: 1;
    }

    .about-us-page .order-lg-2 {
        order: 2;
    }
}

/* Bootstrap-style spacing utilities */
.about-us-page .mb-3 {
    margin-bottom: 1rem;
}

.about-us-page .pb-lg-2 {
    padding-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .about-us-page .mt-lg-2 {
        margin-top: 0.5rem;
    }

    .about-us-page .pb-lg-2 {
        padding-bottom: 0.5rem;
    }
}

.about-us-page .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Hero ===== */
.about-us-page .heroSection {
    margin-bottom: 2.5rem;
}

.about-us-page .title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.5rem;
}

.about-us-page .subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    background: linear-gradient(90deg, #1DBBD1 0%, #B969DC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 2rem;
    line-height: 1.3;
}

/* ===== Intro ===== */
.about-us-page .introSection {
    margin-bottom: 3.5rem;
}

.about-us-page .introText {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
}

/* ===== Stats ===== */
.about-us-page .statsSection {
    margin-bottom: 6rem;
}

.about-us-page .statsCard {
    background: rgba(16, 22, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 3rem 2rem;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.about-us-page .statsCard::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 45%, rgba(29, 187, 209, 0.1) 0%, rgba(0, 0, 0, 0) 48%),
        radial-gradient(circle at 88% 45%, rgba(185, 105, 220, 0.1) 0%, rgba(0, 0, 0, 0) 48%);
    opacity: 0.8;
    pointer-events: none;
}

.about-us-page .statsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.about-us-page .statItem {
    padding: 1rem;
    position: relative;
}

.about-us-page .statItem:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.about-us-page .statValue {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    display: block;
}

.about-us-page .statLabel {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

/* ===== Info Cards ===== */
.about-us-page .cardSection {
    margin-bottom: 4rem;
}

.about-us-page .infoCard {
    background: rgba(16, 22, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-us-page .cardContent {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Inside the padded info cards the row's negative gutter-y top margin would
   pull the image flush to the card's top edge; neutralize it so the image
   sits with even top/bottom insets (matching the Next.js card). */
.about-us-page .infoCard .row {
    margin-top: 0;
}

.about-us-page .cardTitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 1.5rem;
}

.about-us-page .cardText {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.about-us-page .cardImage {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .about-us-page .statsGrid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-us-page .statItem:not(:last-child)::after {
        display: none;
    }

    .about-us-page .infoCard {
        padding: 2rem;
    }

    .about-us-page [class*="col-"] {
        width: 100%;
    }

    .about-us-page .order-lg-1,
    .about-us-page .order-lg-2 {
        order: 0;
    }
}
