/* ==========================================================================
   ABOUT US PAGE — AVANT-GARDE REDESIGN
   ========================================================================== */

.ab-page { background: #f5f7f9; overflow-x: hidden; }

/* --- SHARED --- */
.ab-pill {
    display: inline-block; padding: 8px 20px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.1em; background: rgba(57,89,138,0.06);
    color: var(--primary-blue); border: 1px solid rgba(57,89,138,0.1);
}
.ab-pill--gold { background: rgba(243,176,98,0.15); color: #c4842a; border-color: rgba(243,176,98,0.3); }
.ab-pill--dark { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.1); }

.ab-accent { color: var(--highlight); }
.ab-section-header { text-align: center; margin-bottom: 70px; }
.ab-section-title {
    font-family: 'Outfit', sans-serif; font-size: clamp(2.8rem, 5vw, 4rem);
    color: var(--primary-blue); letter-spacing: -0.04em; font-weight: 800;
    line-height: 1; margin-top: 20px;
}
.ab-section-desc { color: var(--text-muted); font-size: 1.15rem; margin-top: 18px; max-width: 550px; margin-left: auto; margin-right: auto; }

.ab-btn {
    display: inline-block; padding: 20px 42px; border-radius: 16px;
    font-weight: 800; font-size: 1rem; text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1); border: none; cursor: pointer;
}
.ab-btn--primary { background: var(--primary-blue); color: white; box-shadow: 0 15px 40px rgba(57,89,138,0.25); }
.ab-btn--primary:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(57,89,138,0.35); }
.ab-btn--white { background: white; color: var(--primary-blue); }
.ab-btn--white:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(255,255,255,0.2); }
.ab-btn--ghost { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }
.ab-btn--ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

/* ═══ SECTION 01: HERO ═══ */
.ab-hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden;
}
.ab-hero__bg { position: absolute; inset: 0; z-index: 1; }
.ab-hero__bg-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.3); transform: scale(1.05);
}
.ab-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(57,89,138,0.92) 0%, rgba(10,22,40,0.88) 100%);
}

.ab-hero__inner { position: relative; z-index: 3; text-align: center; padding-top: 120px; }
.ab-hero__title {
    font-family: 'Outfit', sans-serif; font-size: clamp(3rem, 7vw, 5rem);
    color: white; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
    margin: 25px 0; max-width: 900px; margin-left: auto; margin-right: auto;
}
.ab-hero__title--accent { color: var(--highlight); }
.ab-hero__subtitle {
    font-size: 1.25rem; color: rgba(255,255,255,0.75); line-height: 1.65;
    max-width: 750px; margin: 0 auto;
}

.ab-hero__scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ab-hero__scroll span { font-size: 0.7rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; }
.ab-hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); animation: ab-pulse 2s ease-in-out infinite; }
@keyframes ab-pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ═══ SECTION 02: LEGACY ═══ */
.ab-legacy { padding: 140px 0; background: #fbfbfd; }
.ab-legacy__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}

.ab-legacy__gallery-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
    transform: rotate(-2deg);
}
.ab-legacy__img {
    width: 100%; height: 260px; object-fit: cover; border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.ab-legacy__img:hover { transform: scale(1.04) rotate(2deg); z-index: 5; box-shadow: 0 25px 60px rgba(0,0,0,0.15); }
.ab-legacy__img--1 { margin-top: 30px; }
.ab-legacy__img--3 { margin-top: -15px; }
.ab-legacy__img--4 { margin-top: 15px; }

.ab-legacy__desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin: 25px 0 35px; }

.ab-legacy__stats { display: flex; gap: 18px; }
.ab-legacy__stat-card {
    flex: 1; padding: 25px; border-radius: 22px; background: white;
    border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
}
.ab-legacy__stat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(57,89,138,0.1); }
.ab-legacy__stat-card strong {
    display: block; font-family: 'Outfit', sans-serif; font-size: 1.6rem;
    color: var(--primary-blue); font-weight: 800; margin-bottom: 4px;
}
.ab-legacy__stat-card span { font-size: 0.8rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ═══ SECTION 03: STATS ═══ */
.ab-stats { padding: 80px 0; }
.ab-stats__grid {
    display: flex; align-items: center; justify-content: center; gap: 50px;
    padding: 50px 60px; border-radius: 40px;
    background: rgba(255,255,255,0.6); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}
.ab-stats__item { text-align: center; flex: 1; }
.ab-stats__value { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 800; color: var(--primary-blue); display: block; line-height: 1; }
.ab-stats__label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; margin-top: 8px; display: block; }
.ab-stats__divider { width: 1px; height: 60px; background: rgba(57,89,138,0.1); flex-shrink: 0; }

/* ═══ SECTION 04: TEAM ═══ */
.ab-team { padding: 120px 0; }
.ab-team__grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 25px;
}
.ab-team__card {
    position: relative; border-radius: 35px; overflow: hidden; height: 480px;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.ab-team__card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(0,0,0,0.15); }
.ab-team__card--main { height: 520px; }
.ab-team__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.ab-team__card:hover img { transform: scale(1.05); }

.ab-team__overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 35px;
    background: linear-gradient(to top, rgba(5,14,33,0.88), transparent 100%);
    color: white;
}
.ab-team__role {
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--highlight); display: block; margin-bottom: 8px;
}
.ab-team__overlay h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 8px; }
.ab-team__card--main .ab-team__overlay h3 { font-size: 2rem; }
.ab-team__overlay p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

.ab-team__badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 100px;
    color: white;
    font-size: 0.95rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: none;
    white-space: nowrap;
    animation: ab-badge-float 6s ease-in-out infinite;
}

.ab-team__badge--left {
    top: 220px;
    left: 120px;
}

.ab-team__badge--right {
    top: 220px;
    left: 120px;
    animation-delay: 1s;
}

@keyframes ab-badge-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

/* ═══ SECTION 05: VALUES ═══ */
.ab-values {
    padding: 140px 0; background: #0a1628; color: white;
    border-radius: 60px; margin: 0 20px;
}
.ab-values__header { margin-bottom: 80px; }
.ab-values__title {
    font-family: 'Outfit', sans-serif; font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-top: 20px;
}
.ab-values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

.ab-values__card {
    padding: 45px; border-radius: 30px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.ab-values__card:hover { background: rgba(255,255,255,0.08); transform: translateY(-6px); border-color: rgba(243,176,98,0.2); }
.ab-values__num {
    font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 900;
    color: var(--highlight); opacity: 0.2; line-height: 1; display: block; margin-bottom: 20px;
}
.ab-values__card h3 { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; color: white; }
.ab-values__card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ═══ SECTION 06: FACILITY ═══ */
.ab-facility { padding: 120px 0; }
.ab-facility__card {
    position: relative; border-radius: 45px; overflow: hidden; height: 600px;
}
.ab-facility__parallax-wrapper {
    position: absolute; inset: 0; overflow: hidden;
}
.ab-facility__img {
    width: 100%; height: 140%; object-fit: cover;
    position: absolute; top: 0; left: 0;
    will-change: transform;
}
.ab-facility__glass {
    position: absolute; bottom: 35px; left: 35px; right: 35px; padding: 40px;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border-radius: 30px; border: 1px solid rgba(255,255,255,0.95);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: flex; align-items: center; gap: 30px;
    z-index: 5;
}
.ab-facility__glass h3 { font-family: 'Outfit', sans-serif; font-size: 1.6rem; color: var(--primary-blue); font-weight: 800; white-space: nowrap; }
.ab-facility__glass p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; flex: 1; }

/* ═══ SECTION 07: CTA ═══ */
.ab-cta { padding: 0 0 120px; }
.ab-cta__card {
    background: var(--primary-blue); border-radius: 60px; padding: 120px 80px;
    text-align: center; position: relative; overflow: hidden;
}
.ab-cta__glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(243,176,98,0.2) 0%, transparent 65%);
    pointer-events: none;
}
.ab-cta__content { position: relative; z-index: 2; }
.ab-cta__title {
    font-family: 'Outfit', sans-serif; font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: white; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 25px;
}
.ab-cta__desc { color: rgba(255,255,255,0.7); font-size: 1.2rem; margin-bottom: 45px; max-width: 650px; margin-left: auto; margin-right: auto; }
.ab-cta__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
    .ab-legacy__grid { grid-template-columns: 1fr; gap: 60px; }
    .ab-team__grid { grid-template-columns: 1fr !important; gap: 40px; }
    .ab-team__card--main { grid-column: span 1; }
    .ab-values__grid { grid-template-columns: 1fr 1fr; }
    .ab-values { border-radius: 40px; margin: 0 10px; }
    .ab-facility__glass { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .ab-stats__grid { flex-direction: column; gap: 30px; padding: 40px 30px; }
    .ab-stats__divider { width: 60px; height: 1px; }
    .ab-team__grid { grid-template-columns: 1fr; gap: 40px; }
    .ab-team__card { height: 400px !important; }
    .ab-team__card--main { height: 420px !important; }
    .ab-team__badge { 
        top: auto !important;
        bottom: 180px !important; 
        left: 25px !important; 
        animation: ab-badge-float-mobile 6s ease-in-out infinite !important;
    }
    .ab-team__card img {
        object-position: 85% center !important;
    }
    .ab-team__card--main img {
        object-position: 65% center !important;
    }
    .ab-values__grid { grid-template-columns: 1fr !important; gap: 20px; }
    .ab-cta__card { padding: 80px 30px; border-radius: 40px; }
    .ab-legacy__gallery-inner { transform: none; }
    .ab-legacy__stats { flex-direction: column; }
    .ab-facility__card { height: 650px; }
    .ab-facility__glass { bottom: 20px; left: 20px; right: 20px; padding: 25px; }
    .ab-facility__glass h3 { font-size: 1.4rem; white-space: normal; }
    .ab-facility__glass p { font-size: 0.85rem; }
}

@media (max-width: 640px) {
    .ab-hero__inner { padding-top: 100px; }
    .ab-hero__title { font-size: 2.8rem !important; }
    .ab-hero__subtitle { font-size: 1rem; }
    
    .ab-section-title { font-size: 2.4rem !important; }
    
    .ab-stats__value { font-size: 2.2rem; }
    
    .ab-legacy { padding: 80px 0; }
    .ab-team { padding: 80px 0; }
    .ab-values { padding: 80px 0; border-radius: 30px; }
    
    .ab-cta__title { font-size: 2.2rem !important; }
}

@keyframes ab-badge-float-mobile {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}
