/* About page styles (extends assets/styles.css) */

.about-hero {
    position: relative;
    background: var(--neutral-white);
    color: var(--neutral-dark);
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
    padding-bottom: 48px;
}

@media (max-width: 768px) {
    .about-hero {
        margin-top: -70px;
        padding-top: 70px;
        padding-bottom: 36px;
    }
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(13, 44, 84, 0.10);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.about-hero-media {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.about-hero-media img {
    display: block;
}

.about-hero-media {
    margin-top: 18px;
}

.about-hero-media::after {
    /* subtle blend into page background without darkening the photo */
    content: '';
    display: block;
    height: 22px;
    margin-top: -14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 2.2rem 0 0.5rem;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 183, 0, 0.18);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 183, 0, 0.28);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.about-hero-lead {
    color: var(--secondary-slate);
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    max-width: 720px;
    margin: 1rem auto 0;
}

.about-section {
    padding: var(--section-padding);
}

.about-positioning {
    background: var(--neutral-off-white);
}

.about-h2 {
    margin-bottom: 1rem;
}

.about-h2-left {
    text-align: left;
}

.text-center {
    text-align: center !important;
}

.about-two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.about-two-col-reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 960px) {

    .about-two-col,
    .about-two-col-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-h2-left {
        text-align: center;
    }
}

.about-copy p {
    color: var(--secondary-slate);
}

.about-proof-card {
    background: var(--neutral-white);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(13, 44, 84, 0.08);
}

.about-proof-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 183, 0, 0.14);
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.about-proof-icon svg {
    width: 28px;
    height: 28px;
}

.about-proof-card h3 {
    color: var(--primary-navy);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.about-proof-card p {
    color: var(--secondary-slate);
    margin-bottom: 1.25rem;
    font-size: 1.02rem;
}

.about-proof-list {
    display: grid;
    gap: 0.75rem;
}

.about-proof-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.98rem;
}

.about-proof-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(255, 183, 0, 0.18);
}

.about-proof-note {
    margin-top: 1rem;
    color: var(--secondary-slate);
    font-size: 0.98rem;
    text-align: center;
}

/* Team */
.about-team {
    background: var(--neutral-white);
}

.team-grid-row {
    display: grid;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.team-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.8rem;
}

@media (max-width: 1000px) {
    .team-grid-3 {
        grid-template-columns: 1fr;
    }

    .team-grid-2 {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

.team-card {
    position: relative;
    background: var(--neutral-off-white);
    border: 1px solid rgba(13, 44, 84, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.team-card-hit {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: inherit;
}

.team-card-hit:focus {
    outline: 2px solid rgba(255, 183, 0, 0.65);
    outline-offset: 2px;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.10);
    border-color: rgba(255, 183, 0, 0.35);
}

.team-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ddd;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.25s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.07);
}

.team-card-body {
    padding: 1.2rem 1.2rem 1.3rem;
    position: relative;
}

.team-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.team-name {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin: 0;
}

.team-role {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(13, 44, 84, 0.08);
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-heading);
    transition: background 0.15s ease, transform 0.15s ease;
    flex: 0 0 auto;
    z-index: 4;
    position: relative;
}

.team-linkedin:hover {
    background: rgba(255, 183, 0, 0.22);
    transform: translateY(-1px);
}

.team-bio {
    color: var(--secondary-slate);
    font-size: 1.02rem;
    margin-bottom: 0.85rem;
}

.team-bio-short {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-more {
    color: var(--primary-navy);
    font-weight: 700;
    text-decoration: none;
}

.team-more:hover {
    color: var(--accent-gold);
}

/* Story */
.about-story {
    background: var(--neutral-off-white);
}

.story-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin: 2rem 0 2rem;
}

@media (max-width: 820px) {
    .story-media {
        grid-template-columns: 1fr;
    }
}

.story-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(13, 44, 84, 0.10);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.story-copy p {
    color: var(--secondary-slate);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* Vision */
.about-vision {
    background: var(--neutral-white);
}

.vision-media {
    display: flex;
    justify-content: center;
}

.vision-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(13, 44, 84, 0.10);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Logos */
.about-logos {
    background: var(--neutral-off-white);
}

.logo-item {
    height: 88px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.05);
    opacity: 0.82;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(13, 44, 84, 0.08);
    border-radius: 12px;
}

.logo-item:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

@media (max-width: 820px) {
    .logo-item {
        height: 64px;
        padding: 10px 12px;
    }
}

/* Continuous logos marquee (low resource: transform-only animation) */
.logo-marquee {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    padding: 10px 0;
    /* soft edge fade */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: marquee-scroll var(--marquee-duration, 28s) linear infinite;
}

@media (hover: hover) and (pointer: fine) {
    .logo-marquee:hover .logo-track {
        animation-play-state: paused;
    }
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--marquee-shift, -50%));
    }
}

/* Note: we intentionally keep the marquee running even if reduced-motion
   is enabled, because this page uses it as a core trust signal. */

/* CTA */
.about-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a365d 100%);
    color: var(--neutral-white);
    text-align: center;
}

.about-cta h2 {
    color: var(--neutral-white);
    margin-bottom: 0.75rem;
}

.about-cta p {
    color: var(--neutral-off-white);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
}

.about-cta-buttons {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 820px) {
    .about-cta-buttons {
        grid-template-columns: 1fr;
    }
}

.about-cta .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.05rem 1.2rem;
}

.about-cta-sub {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.92;
}

.about-btn-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: var(--neutral-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.about-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* Team modal */
.about-team-modal {
    max-width: 980px;
}

.team-modal-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.6rem;
    align-items: start;
    margin-top: 0.75rem;
}

@media (max-width: 820px) {
    .team-modal-layout {
        grid-template-columns: 1fr;
    }
}

.team-modal-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(13, 44, 84, 0.10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    background: #fff;
}

.team-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.team-modal-name {
    text-align: left;
    margin-bottom: 0.25rem;
}

.team-modal-role {
    color: var(--accent-gold);
    font-weight: 800;
    font-family: var(--font-heading);
}

.team-modal-linkedin {
    display: none;
    white-space: nowrap;
    color: var(--primary-navy);
    background: rgba(255, 183, 0, 0.18);
    border: 1px solid rgba(255, 183, 0, 0.30);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.team-modal-linkedin:hover {
    background: rgba(255, 183, 0, 0.26);
}

.team-modal-bio p {
    color: var(--secondary-slate);
    font-size: 1.02rem;
    margin-bottom: 0.9rem;
}