:root {
    --titles: #171717;
    --subtitles: #525252;
    --border1: #4b5563;
    --accent1: #2563eb;
    --accent2: #102a43;
    --white1: #ffffff;
    --card-color: #1f2937;
    --tabs-color: #e2e8f0;
}

.about-hero-subtitle {
    text-align: justify;
}

/* about overview */
.about-overview {
    padding: 50px 160px;
    background:
        radial-gradient(
            circle at top left,
            rgba(37, 99, 235, 0.08),
            transparent 34%
        ),
        var(--white1);
}

.about-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: stretch;
}

.about-overview-content {
    position: relative;
    padding: 42px;
    background: var(--white1);
    border: 1px solid rgba(75, 85, 99, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.about-overview-content::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent1), var(--accent2));
}

.about-overview-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 14px;
    color: var(--accent1);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-overview-content .section-title {
    margin-bottom: 20px;
}

.about-overview-content p {
    margin: 0;
    color: var(--subtitles);
    line-height: 1.8;
    text-align: justify;
}

.about-overview-image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.about-overview-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(16, 42, 67, 0.34),
        rgba(37, 99, 235, 0.08)
    );
    pointer-events: none;
}

.about-overview-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.about-overview-image:hover img {
    transform: scale(1.05);
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .about-overview {
        padding: 50px 100px;
    }

    .about-overview-grid {
        gap: 26px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .about-overview {
        padding: 50px 60px;
    }

    .about-overview-grid {
        gap: 24px;
    }

    .about-overview-content {
        padding: 36px;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .about-overview {
        padding: 36px 40px;
    }

    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-overview-image {
        min-height: 320px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .about-overview {
        padding: 28px 20px;
    }

    .about-overview-grid {
        gap: 20px;
    }

    .about-overview-content {
        padding: 30px 24px;
    }

    .about-overview-image {
        min-height: 260px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .about-overview {
        padding: 28px 16px;
    }

    .about-overview-grid {
        gap: 16px;
    }

    .about-overview-content {
        padding: 28px 20px;
    }

    .about-overview-image {
        min-height: 220px;
    }
}

/* mission vision */
.mission-vision {
    padding: 50px 160px;
    background: var(--white1);
}

.mission-vision-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.mv-card {
    position: relative;
    min-height: 280px;
    padding-top: 82px;
    background: var(--white1);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(75, 85, 99, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
    border-color: rgba(37, 99, 235, 0.18);
}

.mv-icon-box {
    position: absolute;
    top: 0;
    left: 50%;
    width: 84px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    border-radius: 0 0 18px 18px;
    color: var(--white1);
    font-size: 36px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.mission-card .mv-icon-box {
    background: linear-gradient(135deg, var(--accent1), #3b82f6);
}

.vision-card .mv-icon-box {
    background: linear-gradient(135deg, var(--accent2), #1e3a5f);
}

.mv-card-body {
    padding: 42px 28px 30px;
    text-align: center;
    border-top: 1px solid rgba(75, 85, 99, 0.08);
}

.mv-card-body h3 {
    margin-bottom: 20px;
    font-family: "Oswald", sans-serif;
    font-size: var(--h3-size);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-card h3 {
    color: var(--accent1);
}

.vision-card h3 {
    color: var(--accent2);
}

.mv-card-body p {
    margin: 0;
    color: var(--subtitles);
    line-height: 1.7;
    text-align: center;
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .mission-vision {
        padding: 50px 100px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .mission-vision {
        padding: 50px 60px;
    }

    .mission-vision-cards {
        gap: 24px;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .mission-vision {
        padding: 36px 40px;
    }

    .mission-vision-cards {
        grid-template-columns: 1fr;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .mission-vision {
        padding: 28px 20px;
    }

    .mission-vision-cards {
        gap: 20px;
        margin-top: 24px;
    }

    .mv-card {
        min-height: 250px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .mission-vision {
        padding: 28px 16px;
    }

    .mv-card-body {
        padding: 36px 20px 24px;
    }

    .mv-icon-box {
        width: 76px;
        height: 84px;
        font-size: 32px;
    }
}

/* CORE VALUES */
.core-values {
    padding: 50px 160px;
    text-align: center;
    background: var(--tabs-color);
}

/* GRID */
.values-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 40px;
}

/* CARD */
.value-card {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 24px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* IMAGE DARKENING */
.value-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(16, 42, 67, 0.03) 0%,
        rgba(16, 42, 67, 0.1) 45%,
        rgba(10, 18, 28, 0.5) 100%
    );
    z-index: 0;
    transition: background 0.35s ease;
}

/* SUBTLE ACCENT GLOW */

/* LABEL PANEL */
.value-card span {
    position: relative;
    z-index: 2;
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    text-align: left;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

/* ACCENT LINE */
.value-card span::before {
    content: "";
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent1);
    display: block;
}

/* HOVER */
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 42, 67, 0.18);
}

.value-card:hover::before {
    background: linear-gradient(
        180deg,
        rgba(16, 42, 67, 0.05) 0%,
        rgba(16, 42, 67, 0.18) 42%,
        rgba(10, 18, 28, 0.66) 100%
    );
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-card:hover span {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .core-values {
        padding: 50px 100px;
    }

    .values-grid {
        margin-top: 36px;
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .core-values {
        padding: 50px 60px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 32px;
    }

    .value-card {
        height: 240px;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .core-values {
        padding: 36px 40px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 28px;
    }

    .value-card {
        height: 220px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .core-values {
        padding: 28px 20px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 24px;
    }

    .value-card {
        height: 200px;
    }

    .value-card span {
        margin-bottom: 16px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .core-values {
        padding: 28px 16px;
    }

    .values-grid {
        margin-top: 20px;
    }

    .value-card {
        height: 180px;
    }

    .value-card span {
        margin-bottom: 14px;
    }
}

/* TEAM */
.team {
    padding: 50px 160px;
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.06),
            transparent 35%
        ),
        linear-gradient(135deg, #0f2f4a 0%, var(--accent2) 55%, #153d5f 100%);
}

.team-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
}

.team-column h3 {
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--white1);
    position: relative;
    text-align: center;
}

/* =========================
   SAME SIZE PRINCIPALS
========================= */

.principals-grid {
    display: grid;
    grid-template-columns: repeat(2, 220px);
    gap: 16px;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

/* =========================
   SAME SIZE ASSOCIATES
========================= */

.associates-grid,
.support-staff-grid {
    display: grid;
    grid-template-columns: repeat(6, 220px);
    gap: 16px;
    justify-content: center;
    width: 100%;
}

/* =========================
   TEAM CARD
========================= */

.team-card,
.team-card.large {
    position: relative;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    padding: 10px 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    overflow: hidden;
    text-align: center;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.team-card::before,
.team-card.large::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
    pointer-events: none;
}

.team-card:hover,
.team-card.large:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

/* =========================
   SAME IMAGE SIZE
========================= */

.team-card img,
.team-card.large img {
    width: 100%;
    height: 220px;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    object-position: top center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.08);
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.team-card:hover img,
.team-card.large:hover img {
    transform: scale(1.03);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

/* =========================
   NAME TAG
========================= */

.name-tag {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent1) 0%, #3b82f6 100%);
    color: var(--white1);
    line-height: 1.2;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.team-card:hover .name-tag,
.team-card.large:hover .name-tag {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.25);
}

.name-tag::after {
    display: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1600px) {
    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(5, 220px);
    }
}

@media (max-width: 1400px) {
    .team {
        padding: 50px 100px;
    }

    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(4, 220px);
    }
}

@media (max-width: 1200px) {
    .team {
        padding: 50px 60px;
    }

    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(3, 220px);
    }
}

@media (max-width: 1024px) {
    .team {
        padding: 36px 40px;
    }

    .principals-grid {
        grid-template-columns: repeat(2, 220px);
    }

    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(3, 220px);
    }
}

@media (max-width: 768px) {
    .team {
        padding: 36px 20px;
    }

    .team-wrapper {
        gap: 30px;
    }

    .principals-grid,
    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card,
    .team-card.large {
        width: 100%;
        min-width: unset;
        max-width: unset;
    }

    .team-card img,
    .team-card.large img {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 480px) {
    .team {
        padding: 28px 16px;
    }

    .principals-grid,
    .associates-grid,
    .support-staff-grid {
        gap: 10px;
    }

    .name-tag {
        min-height: 28px;
        font-size: 10px;
        padding: 6px;
    }
}

/* MODAL */
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.team-modal.active {
    display: flex;
}

.team-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
}

.team-modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f2f4a 0%, var(--accent2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.team-modal-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    padding: 40px;
    align-items: start;
}

.team-modal-image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.team-modal-text {
    color: var(--white1);
}

.team-modal-eyebrow {
    margin-bottom: 14px;
    color: var(--accent1);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-modal-text h3 {
    margin-bottom: 20px;
    color: var(--white1);
}

.team-modal-text p {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
}

.team-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white1);
    font-size: 28px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.team-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* =========================
   1400
========================= */
@media (max-width: 1400px) {
    .team {
        padding: 50px 100px;
    }

    .principals-grid {
        max-width: 540px;
    }

    .team-card.large {
        max-width: 250px;
    }

    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =========================
   1200
========================= */
@media (max-width: 1200px) {
    .team {
        padding: 50px 60px;
    }

    .team-wrapper {
        gap: 36px;
    }

    .principals-grid {
        max-width: 520px;
    }

    .team-card.large {
        max-width: 240px;
    }

    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .team-modal-grid {
        grid-template-columns: 300px 1fr;
    }
}

/* =========================
   1024
========================= */
@media (max-width: 1024px) {
    .team {
        padding: 36px 40px;
    }

    .team-wrapper {
        gap: 34px;
    }

    .principals-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }

    .team-card.large {
        max-width: 230px;
    }

    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .team-modal-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .team-modal-image {
        max-width: 320px;
    }
}

/* =========================
   768
========================= */
@media (max-width: 768px) {
    .team {
        padding: 28px 20px;
    }

    .team-wrapper {
        gap: 28px;
    }

    .principals-grid {
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .team-card.large {
        max-width: 260px;
    }

    .associates-grid,
    .support-staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-modal {
        padding: 20px;
    }

    .team-modal-grid {
        padding: 24px;
    }
}

/* =========================
   480
========================= */
@media (max-width: 480px) {
    .team {
        padding: 28px 16px;
    }

    .principals-grid,
    .associates-grid,
    .support-staff-grid {
        grid-template-columns: 1fr;
    }

    .principals-grid {
        max-width: 240px;
    }

    .team-card.large {
        max-width: 240px;
    }

    .name-tag {
        font-size: 14px;
    }

    .team-modal-grid {
        padding: 20px;
    }
}
.principals-card {
    cursor: pointer;
}

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.team-modal.active {
    opacity: 1;
    visibility: visible;
}

.team-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.team-modal-content {
    position: relative;
    width: min(1000px, calc(100% - 80px));
    margin: 5vh auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.team-modal-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
}

.team-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-modal-text {
    padding: 40px;
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}
