/* =============================================
   ABOUT US — HERO
   ============================================= */
.au-hero {
    position: relative;
    min-height: 560px;
    padding: 80px 0;
    background-color: #f0f3fa;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Left-to-right white wash so the LEFT side reads as a clean panel
   while the right side (building + sign) stays visible. */
.au-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.95) 28%,
        rgba(255, 255, 255, 0.65) 46%,
        rgba(255, 255, 255, 0.20) 60%,
        rgba(255, 255, 255, 0)    72%
    );
}

.au-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.au-hero-content {
    max-width: 540px;
}

.au-hero-crumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 26px;
}
.au-hero-crumbs a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}
.au-hero-crumbs a:hover {
    color: var(--color-primary);
}
.au-hero-crumbs i {
    font-size: 10px;
    opacity: 0.6;
}
.au-hero-crumbs span[aria-current] {
    color: var(--color-primary);
    font-weight: 600;
}

.au-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.6vw, 3.8rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--color-primary);
    margin: 0 0 18px;
    letter-spacing: -0.5px;
}

.au-hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-primary);
    margin: 0 0 22px;
}

.au-hero-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: #5a6478;
    max-width: 460px;
    margin: 0;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .au-hero {
        min-height: 480px;
        padding: 60px 0;
        background-position: 75% center;
    }

    .au-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.92) 40%,
            rgba(255, 255, 255, 0.55) 60%,
            rgba(255, 255, 255, 0.10) 78%,
            rgba(255, 255, 255, 0)    90%
        );
    }

    .au-hero-content {
        max-width: 460px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .au-hero {
        min-height: 440px;
        padding: 56px 0;
        background-size: cover;
        background-position: 70% center;
    }

    /* On phones, swap horizontal wash for a top-down fade so the text
       always sits on a near-opaque white area while the building peeks
       through the lower portion. */
    .au-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.92) 50%,
            rgba(255, 255, 255, 0.55) 78%,
            rgba(255, 255, 255, 0.15) 100%
        );
    }

    .au-hero-content {
        max-width: 100%;
    }

    .au-hero-subtitle br {
        display: none;
    }
}


/* =============================================
   ABOUT US — WHO WE ARE / LEGACY
   ============================================= */
.au-legacy {
    background-color: #fff;
    padding: 80px 0 60px;
}

.au-legacy-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: stretch;
    margin-bottom: 44px;
}

.au-legacy-content {
    max-width: 560px;
}

.au-legacy-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 18px;
}

.au-legacy-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--color-primary);
    margin: 0 0 28px;
    letter-spacing: -0.4px;
}

.au-legacy-text {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.75;
    color: #5a6478;
    margin: 0 0 18px;
}
.au-legacy-text:last-child { margin-bottom: 0; }

/* Media (doctor portrait carousel) — fills the row height set by the
   text column, so there's no empty space below the paragraphs */
.au-legacy-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f4f6fc;
    box-shadow: 0 18px 44px rgba(26, 42, 108, 0.10);
    min-height: 540px;
    width: 100%;
    align-self: stretch;
}

.au-legacy-swiper,
.au-legacy-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.au-legacy-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.au-legacy-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Doctor name caption (bottom-left, soft gradient backdrop) */
.au-legacy-slide-caption {
    position: absolute;
    left: 18px;
    bottom: 56px;
    z-index: 2;
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(26, 42, 108, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 0.2px;
}

/* Nav arrows — appear on hover, sit on the image edges */
.au-legacy-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 6px 16px rgba(26, 42, 108, 0.18);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.au-legacy-nav:hover {
    background: var(--color-primary);
    color: #fff;
}
.au-legacy-nav-prev { left: 14px; }
.au-legacy-nav-next { right: 14px; }

.au-legacy-media:hover .au-legacy-nav {
    opacity: 1;
}

/* Pagination dots */
.au-legacy-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.au-legacy-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: width 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(26, 42, 108, 0.15);
}
.au-legacy-pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Stats card */
.au-legacy-stats {
    background-color: #fff;
    border: 1px solid #eef0f7;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(26, 42, 108, 0.06);
    padding: 22px 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.au-stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.au-stat-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(26, 42, 108, 0.08);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.au-stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.au-stat-number {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.4px;
}

.au-stat-label {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-top: 4px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .au-legacy {
        padding: 64px 0 56px;
    }
    .au-legacy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .au-legacy-content {
        max-width: 100%;
    }
    .au-legacy-media {
        aspect-ratio: 16 / 11;
        min-height: 0;
        max-width: 560px;
        margin: 0 auto;
    }
    .au-legacy-swiper img {
        object-position: center 25%;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .au-legacy {
        padding: 48px 0 40px;
    }
    .au-legacy-grid {
        gap: 24px;
        margin-bottom: 28px;
    }
    .au-legacy-media {
        aspect-ratio: 4 / 5;
        min-height: 0;
        max-width: 100%;
    }

    .au-legacy-stats {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px 18px;
    }
    .au-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }
    .au-stat-number { font-size: 22px; }
    .au-stat-label { font-size: 12.5px; }
}


/* =============================================
   ABOUT US — MISSION & VISION
   ============================================= */
.au-mv {
    background-color: #fff;
    padding: 24px 0 60px;
}

.au-mv-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 56px 56px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(201, 169, 97, 0.10), transparent 50%),
        linear-gradient(135deg, #1a2a6c 0%, #131f52 100%);
    color: #fff;
    box-shadow: 0 22px 50px rgba(19, 31, 82, 0.20);
}

/* Subtle radial dot pattern as a decorative overlay */
.au-mv-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.au-mv-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.au-mv-col {
    display: flex;
    flex-direction: column;
}

.au-mv-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}

.au-mv-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.au-mv-text {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 14px;
}
.au-mv-text:last-child { margin-bottom: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .au-mv-card {
        padding: 44px 36px;
        border-radius: 20px;
    }
    .au-mv-grid {
        gap: 40px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .au-mv {
        padding: 16px 0 48px;
    }
    .au-mv-card {
        padding: 32px 22px;
        border-radius: 18px;
    }
    .au-mv-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .au-mv-icon {
        width: 54px;
        height: 54px;
        font-size: 20px;
        margin-bottom: 18px;
    }
    .au-mv-title {
        font-size: 16px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }
    .au-mv-text {
        font-size: 14.5px;
        line-height: 1.7;
    }
}


/* =============================================
   ABOUT US — DEPARTMENTS (centered header override)
   ============================================= */
.au-departments-header {
    text-align: center;
    margin-bottom: 36px;
}
.au-departments-header .section-title {
    margin: 0;
}
