/* ================================================================
   About Us page  —  page-templates/about.php
   ================================================================ */

/* ── Shared utilities ─────────────────────────────────────────── */
#page-about .color-light-blue { color: #1A4C8B; }
#page-about .color-dark-blue  { color: #0C1D3D; }
#page-about .color-gray       { color: #6D6969; }

.ab-section-title {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.4;
    color: #0C1D3D;
    margin-bottom: 20px;
}
@media (max-width: 991px) { .ab-section-title { font-size: 32px; } }
@media (max-width: 767px) { .ab-section-title { font-size: 28px; } }
@media (max-width: 568px) { .ab-section-title { font-size: 22px; } }

/* ── 1. Hero ──────────────────────────────────────────────────── */
.ab-hero {
    padding: 120px 0 80px;
    background: #FFFFFF;
}
@media (max-width: 991px) { .ab-hero { padding: 90px 0 60px; } }
@media (max-width: 767px) { .ab-hero { padding: 80px 0 48px; } }
@media (max-width: 568px) { .ab-hero { padding: 72px 0 40px; } }

.ab-hero__inner {
    display: flex;
    align-items: center;
    gap: 64px;
}
@media (max-width: 991px) { .ab-hero__inner { gap: 40px; } }
@media (max-width: 767px) { .ab-hero__inner { flex-direction: column; gap: 32px; } }

.ab-hero__text { flex: 1; min-width: 0; }
.ab-hero__title {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 54px;
    line-height: 1.3;
    color: #0C1D3D;
    margin-bottom: 24px;
}
.ab-hero__title .color-light-blue { color: #1A4C8B; }
@media (max-width: 1100px) { .ab-hero__title { font-size: 46px; } }
@media (max-width: 991px)  { .ab-hero__title { font-size: 38px; } }
@media (max-width: 767px)  { .ab-hero__title { font-size: 32px; text-align: center; } }
@media (max-width: 568px)  { .ab-hero__title { font-size: 26px; margin-bottom: 16px; } }

.ab-hero__desc {
    font-family: 'SFProText', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #6D6969;
    max-width: 560px;
}
@media (max-width: 767px) { .ab-hero__desc { font-size: 16px; text-align: center; max-width: 100%; } }
@media (max-width: 568px) { .ab-hero__desc { font-size: 15px; } }

.ab-hero__image-col {
    flex-shrink: 0;
    width: 46%;
    max-width: 540px;
}
@media (max-width: 991px) { .ab-hero__image-col { width: 42%; } }
@media (max-width: 767px) { .ab-hero__image-col { width: 100%; max-width: 480px; margin: 0 auto; } }

.ab-hero__image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.ab-hero__image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: #0C1D3D;
    border-radius: 0 12px 0 0;
}
.ab-hero__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.ab-hero__image-deco {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 80px;
    height: 80px;
    background: #1A4C8B;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ── 2. Meet The Team ─────────────────────────────────────────── */
.ab-meet {
    padding: 80px 0 100px;
    background: #FFFFFF;
}
@media (max-width: 991px) { .ab-meet { padding: 60px 0 80px; } }
@media (max-width: 767px) { .ab-meet { padding: 48px 0 60px; } }
@media (max-width: 568px) { .ab-meet { padding: 40px 0 48px; } }

.ab-meet__title { margin-bottom: 40px; }
@media (max-width: 767px) { .ab-meet__title { margin-bottom: 28px; } }

.ab-meet__video-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(12, 29, 61, 0.12);
    cursor: pointer;
}
@media (max-width: 568px) { .ab-meet__video-wrap { border-radius: 8px; } }
.ab-meet__video-wrap:hover .ab-meet__thumbnail { transform: scale(1.015); }
.ab-meet__video-wrap:hover .ab-meet__circular  { animation-play-state: paused; }
.ab-meet__video-wrap:hover .ab-meet__play-icon { transform: scale(1.1); }

.ab-meet__thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 400ms ease;
}

.ab-meet__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ab-meet__circular {
    position: absolute;
    width: 130px;
    height: 130px;
    animation: ab-spin 12s linear infinite;
}
@media (max-width: 991px) { .ab-meet__circular { width: 110px; height: 110px; } }
@media (max-width: 767px) { .ab-meet__circular { width: 90px;  height: 90px; } }
@media (max-width: 480px) { .ab-meet__circular { width: 70px;  height: 70px; } }

.ab-meet__circular-text {
    font-size: 14px;
    font-family: 'SFProText', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    fill: #FFFFFF;
    text-transform: uppercase;
}
@media (max-width: 767px) { .ab-meet__circular-text { font-size: 10px; } }
@media (max-width: 480px) { .ab-meet__circular-text { font-size: 8px; } }

.ab-meet__play-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(12, 29, 61, 0.25);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
@media (max-width: 767px) { .ab-meet__play-icon { width: 48px; height: 48px; } }
@media (max-width: 480px) { .ab-meet__play-icon { width: 38px; height: 38px; } }

@keyframes ab-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── 3. Founders ──────────────────────────────────────────────── */
.ab-founders {
    padding: 100px 0;
    background: #EBF6FF;
}
@media (max-width: 991px) { .ab-founders { padding: 72px 0; } }
@media (max-width: 767px) { .ab-founders { padding: 52px 0; } }
@media (max-width: 568px) { .ab-founders { padding: 40px 0; } }

.ab-founders__title { margin-bottom: 48px; }
@media (max-width: 767px) { .ab-founders__title { margin-bottom: 32px; } }

.ab-founders__illustration {
    max-width: 520px;
    margin: 0 auto 56px;
}
@media (max-width: 767px) { .ab-founders__illustration { max-width: 360px; margin-bottom: 36px; } }
@media (max-width: 568px) { .ab-founders__illustration { max-width: 100%; margin-bottom: 28px; } }
.ab-founders__illustration img { width: 100%; height: auto; display: block; }

.ab-founders__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
}
@media (max-width: 991px) { .ab-founders__cols { gap: 36px 40px; } }
@media (max-width: 767px) { .ab-founders__cols { grid-template-columns: 1fr; gap: 28px; } }

.ab-founders__col { display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 767px) { .ab-founders__col { gap: 28px; } }

.ab-founders__block { position: relative; padding-left: 32px; }
.ab-founders__block-bullet { position: absolute; left: 0; top: 3px; }

.ab-founders__block-title {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #0C1D3D;
    margin-bottom: 10px;
}
@media (max-width: 568px) { .ab-founders__block-title { font-size: 16px; } }

.ab-founders__block-text { font-family: 'SFProText', sans-serif; font-size: 15px; line-height: 1.7; color: #6D6969; }
.ab-founders__block-text p { margin: 0; font-size: 15px; line-height: 1.7; color: #6D6969; }

/* ── 4. Team Grid ─────────────────────────────────────────────── */
.ab-team {
    padding: 100px 0;
    background: #FFFFFF;
}
@media (max-width: 991px) { .ab-team { padding: 72px 0; } }
@media (max-width: 767px) { .ab-team { padding: 52px 0; } }
@media (max-width: 568px) { .ab-team { padding: 40px 0; } }

.ab-team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 991px) { .ab-team__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 568px) { .ab-team__grid { grid-template-columns: 1fr; gap: 20px; } }

.ab-team__card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EBE9E6;
    display: flex;
    flex-direction: column;
    transition: box-shadow 300ms ease;
}
.ab-team__card:hover { box-shadow: 0 8px 32px rgba(12, 29, 61, 0.1); }

.ab-team__illustration {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 220px;
    padding: 0;
    overflow: hidden;
}
@media (max-width: 991px) { .ab-team__illustration { min-height: 180px; } }
@media (max-width: 568px) { .ab-team__illustration { min-height: 200px; } }
.ab-team__illustration img {
    display: block;
    max-height: 260px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
}
@media (max-width: 991px) { .ab-team__illustration img { max-height: 200px; } }

.ab-team__info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #FFFFFF;
}

.ab-team__name {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 20px;
    color: #0C1D3D;
    margin: 0;
}

.ab-team__role {
    font-family: 'SFProText', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1A4C8B;
    margin: 0 0 4px;
}

.ab-team__bio {
    font-family: 'SFProText', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #6D6969;
    margin: 0 0 12px;
    flex: 1;
}

.ab-team__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'SFProText', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A4C8B;
    text-decoration: none;
    margin-top: auto;
    transition: color 200ms ease;
}
.ab-team__link:hover { color: #0e3260; }
.ab-team__link svg { flex-shrink: 0; }

/* ── 5. How We Work ──────────────────────────────────────────── */
.ab-hww {
    padding: 100px 0;
    background: #0C1D3D;
}
@media (max-width: 991px) { .ab-hww { padding: 72px 0; } }
@media (max-width: 767px) { .ab-hww { padding: 52px 0; } }
@media (max-width: 568px) { .ab-hww { padding: 40px 0; } }

.ab-hww__title { color: #FFFFFF; margin-bottom: 16px; }

.ab-hww__desc {
    font-family: 'SFProText', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    margin: 0 auto 56px;
}
@media (max-width: 767px) { .ab-hww__desc { font-size: 15px; margin-bottom: 36px; } }
@media (max-width: 568px) { .ab-hww__desc { margin-bottom: 28px; } }

.ab-hww__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
@media (max-width: 991px) { .ab-hww__grid { gap: 28px; } }
@media (max-width: 767px) { .ab-hww__grid { grid-template-columns: 1fr; gap: 36px; max-width: 480px; margin: 0 auto; } }
@media (max-width: 568px) { .ab-hww__grid { gap: 28px; } }

.ab-hww__pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}
@media (max-width: 767px) { .ab-hww__pillar { flex-direction: row; text-align: left; gap: 20px; align-items: flex-start; } }

.ab-hww__icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) { .ab-hww__icon { width: 56px; height: 56px; } }
.ab-hww__icon img { width: 40px; height: 40px; object-fit: contain; }
.ab-hww__icon svg { display: block; }
.ab-hww__icon--placeholder svg { opacity: 0.85; }

.ab-hww__pillar-title {
    font-family: 'PT Serif', serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0;
}
@media (max-width: 568px) { .ab-hww__pillar-title { font-size: 16px; } }

.ab-hww__pillar-text {
    font-family: 'SFProText', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ── Video Modal ─────────────────────────────────────────────── */
.ab-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}
.ab-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ab-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 29, 61, 0.85);
    cursor: pointer;
}

.ab-modal__dialog {
    position: relative;
    z-index: 1;
    width: 90vw;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
@media (max-width: 568px) { .ab-modal__dialog { width: 96vw; border-radius: 4px; } }

.ab-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    font-size: 22px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease;
}
.ab-modal__close:hover { background: rgba(255, 255, 255, 0.3); }

.ab-modal__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.ab-modal__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

body.ab-modal-open { overflow: hidden; }
