/* ==========================================================
   SPECTRA ASSET MANAGEMENT
   ABOUT US PAGE
========================================================== */


/* ==========================================================
   ABOUT PAGE VARIABLES
========================================================== */

.about-page {
    --about-navy: #123058;
    --about-navy-dark: #001b3c;

    --about-green: #15803d;
    --about-green-dark: #166534;

    --about-green-light: #f0fdf4;

    --about-text: #1e293b;
    --about-muted: #64748b;

    --about-border: #e2e8f0;

    background: #ffffff;
}


/* Keep navbar above banner */
.about-page .site-header {
    position: absolute;
    top: 16px;
    left: 0;

    width: 100%;

    z-index: 1000;
}


/* Sticky behaviour from homepage */
.about-page .site-header.header-sticky {
    position: fixed;
    top: 10px;
}



/* ==========================================================
   ABOUT BANNER
========================================================== */

.about-banner {
    position: relative;

    width: 100%;
    height: 420px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: var(--about-navy-dark);

    box-shadow:
        0 12px 35px rgba(0, 27, 60, 0.18);
}


.about-banner-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 35%;

    display: block;
}


.about-banner-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 27, 60, 0.22),
            rgba(18, 48, 88, 0.16),
            rgba(0, 27, 60, 0.20)
        );
}


.about-banner-content {
    position: relative;

    z-index: 5;

    width: min(90%, 900px);

    margin: 55px auto 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


.about-breadcrumb {
    margin-bottom: 15px;

    padding: 6px 12px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(7px);

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


.about-breadcrumb a {
    color: #86efac;
}


.about-breadcrumb a:hover {
    color: #ffffff;
}


.about-breadcrumb > span:first-of-type {
    color: rgba(255,255,255,0.45);
}


.about-banner h1 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -0.035em;
}


.about-banner-content > p {
    margin: 0;

    color: #e2e8f0;

    font-size: 15px;

    font-weight: 500;
}



/* ==========================================================
   SHARED ABOUT PILL
========================================================== */

.about-pill {
    width: fit-content;

    padding: 5px 11px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border: 1px solid #bbf7d0;

    border-radius: 50px;

    background: #f0fdf4;

    color: var(--about-green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.about-pill > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--about-green);
}



/* ==========================================================
   WHO WE ARE
========================================================== */

.about-who {
    padding: 95px 0 105px;

    background: #ffffff;
}


.about-who-grid {
    display: grid;

    grid-template-columns: repeat(12, 1fr);

    gap: 65px;

    align-items: center;
}


.about-who-content {
    grid-column: span 6;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 24px;
}


.about-copy {
    display: flex;
    flex-direction: column;

    gap: 16px;
}


.about-copy p {
    margin: 0;

    color: var(--about-muted);

    font-size: 15px;

    line-height: 1.8;
}


.about-copy strong {
    color: var(--about-navy);

    font-weight: 700;
}



/* ==========================================================
   COMPANY DETAILS
========================================================== */

.about-company-details {
    width: 100%;

    padding-top: 22px;

    display: flex;
    flex-wrap: wrap;

    gap: 28px;

    border-top: 1px solid #f1f5f9;
}


.company-detail {
    display: flex;

    align-items: center;

    gap: 12px;
}


.company-detail-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border: 1px solid #d1fae5;

    border-radius: 10px;

    background: #f0fdf4;

    color: var(--about-green);
}


.company-detail-icon.navy {
    border-color: #e2e8f0;

    background: #f8fafc;

    color: var(--about-navy);
}


.company-detail-icon .material-symbols-outlined {
    font-size: 19px;
}


.company-detail-title {
    display: block;

    margin-bottom: 2px;

    color: var(--about-navy);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.04em;
}


.company-detail p {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    font-weight: 600;
}



/* ==========================================================
   WHO WE ARE IMAGES
========================================================== */

.about-photo-composition {
    position: relative;

    grid-column: span 6;

    padding-bottom: 45px;
}


.about-photo-main {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    border: 1px solid #f1f5f9;

    border-radius: 14px;

    background: #f8fafc;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.13);
}


.about-photo-main > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.about-photo-main::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(0,27,60,0.32),
            transparent 42%
        );

    pointer-events: none;
}


.about-photo-caption {
    position: absolute;

    left: 15px;
    bottom: 15px;

    z-index: 3;

    padding: 7px 11px;

    border: 1px solid rgba(255,255,255,0.8);

    border-radius: 7px;

    background: rgba(255,255,255,0.90);

    backdrop-filter: blur(8px);

    color: var(--about-navy);

    font-size: 10px;

    font-weight: 700;
}


.about-photo-small {
    position: absolute;

    left: -35px;
    bottom: 0;

    z-index: 5;

    width: 50%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    border: 5px solid #ffffff;

    border-radius: 11px;

    background: #f1f5f9;

    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.18);
}


.about-photo-small img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}



/* ==========================================================
   DIRECTION
========================================================== */

.direction-section {
    padding: 82px 0;

    background: #f8fafc;

    border-top: 1px solid #e2e8f0;

    border-bottom: 1px solid #e2e8f0;
}


.direction-heading {
    margin-bottom: 45px;

    display: flex;

    justify-content: center;
}


.direction-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}



/* ==========================================================
   VISION / MISSION CARDS
========================================================== */

.direction-card {
    position: relative;

    min-height: 330px;

    padding: 36px;

    display: flex;
    flex-direction: column;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #ffffff,
            #eff6ff
        );

    box-shadow:
        0 4px 20px rgba(18, 48, 88, 0.04);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


.vision-card {
    border-color: #bbf7d0;

    background:
        linear-gradient(
            135deg,
            rgba(240,253,244,0.85),
            #ffffff,
            rgba(236,253,245,0.55)
        );
}


.direction-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 32px rgba(18,48,88,0.07);
}


.direction-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 22px;

    display: grid;

    place-items: center;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    background: #ffffff;

    color: var(--about-navy);

    box-shadow:
        0 2px 7px rgba(15,23,42,0.04);
}


.direction-icon.green {
    border-color: #bbf7d0;

    color: var(--about-green);
}


.direction-icon .material-symbols-outlined {
    font-size: 23px;
}


.direction-label {
    margin-bottom: 14px;

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--about-green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.09em;
}


.direction-label > span {
    width: 24px;
    height: 2px;

    background: var(--about-green);

    border-radius: 10px;
}


.direction-label.navy-text {
    color: var(--about-navy);
}


.direction-label.navy-text > span {
    background: var(--about-navy);
}


.direction-card h3 {
    margin: 0 0 14px;

    color: var(--about-navy);

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;
}


.direction-card p {
    margin: 0;

    color: #334155;

    font-size: 15px;

    line-height: 1.75;
}


.direction-card-line {
    height: 1px;

    margin-top: auto;

    padding-top: 28px;

    border-bottom: 1px solid #e2e8f0;
}


.direction-card-line.green-line {
    border-color: #dcfce7;
}



/* ==========================================================
   VALUES
========================================================== */

.values-section {
    padding: 95px 0;

    background: #ffffff;
}


.values-heading {
    max-width: 650px;

    margin-bottom: 58px;
}


.values-heading p {
    margin: 16px 0 0;

    color: var(--about-muted);

    font-size: 14px;

    line-height: 1.7;
}


.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
}


.value-item {
    padding: 0 28px;

    border-right: 1px solid #e2e8f0;
}


.value-item:first-child {
    padding-left: 0;
}


.value-item:last-child {
    padding-right: 0;

    border-right: 0;
}


.value-top {
    margin-bottom: 18px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}


.value-number {
    color: #e2e8f0;

    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 27px;

    font-weight: 800;
}


.value-icon {
    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 7px;

    background: #eff6ff;

    color: var(--about-navy);
}


.value-icon.green {
    background: #ecfdf5;

    color: var(--about-green);
}


.value-icon .material-symbols-outlined {
    font-size: 17px;
}


.value-item h3 {
    margin: 0 0 9px;

    color: var(--about-navy);

    font-size: 17px;

    font-weight: 700;
}


.value-item p {
    margin: 0;

    color: var(--about-muted);

    font-size: 12px;

    line-height: 1.7;
}



/* ==========================================================
   WHAT WE DO
========================================================== */

.about-services {
    padding: 90px 0 100px;

    background: #f8fafc;

    border-top: 1px solid #e2e8f0;

    border-bottom: 1px solid #e2e8f0;
}


.about-services-heading {
    margin-bottom: 48px;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}


.about-services-heading > div {
    max-width: 650px;
}


.about-services-heading p {
    margin: 16px 0 0;

    color: var(--about-muted);

    font-size: 14px;

    line-height: 1.7;
}


.services-top-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    flex-shrink: 0;

    color: var(--about-green);

    font-size: 13px;

    font-weight: 700;
}


.services-top-link:hover {
    color: var(--about-green-dark);
}


.services-top-link .material-symbols-outlined {
    font-size: 17px;
}



/* ==========================================================
   SERVICE GRID
========================================================== */

.about-services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.about-service-card {
    min-height: 120px;

    padding: 20px;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    border: 1px solid #e2e8f0;

    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 2px 8px rgba(15,23,42,0.025);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


.about-service-card:hover {
    transform: translateY(-3px);

    border-color: rgba(18,48,88,0.30);

    box-shadow:
        0 9px 24px rgba(18,48,88,0.07);
}


.about-service-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border: 1px solid #e2e8f0;

    border-radius: 9px;

    background: #f8fafc;

    color: var(--about-navy);

    transition:
        background 0.22s ease,
        color 0.22s ease;
}


.about-service-card:hover .about-service-icon {
    color: #ffffff;

    background: var(--about-navy);
}


.about-service-icon .material-symbols-outlined {
    font-size: 20px;
}


.about-service-number {
    display: block;

    margin-bottom: 2px;

    color: #94a3b8;

    font-size: 9px;

    font-weight: 700;
}


.about-service-card h3 {
    margin: 0 0 4px;

    color: var(--about-navy);

    font-size: 13px;

    line-height: 1.4;

    font-weight: 700;

    transition: color 0.2s ease;
}


.about-service-card:hover h3 {
    color: var(--about-green);
}


.about-service-card p {
    margin: 0;

    color: #64748b;

    font-size: 10px;

    line-height: 1.6;
}



/* ==========================================================
   EXPLORE SERVICES BUTTON
========================================================== */

.about-services-button {
    margin-top: 40px;

    display: flex;

    justify-content: center;
}


.about-services-button a {
    min-height: 46px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 7px;

    background: var(--about-navy);

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.about-services-button a:hover {
    background: var(--about-navy-dark);

    transform: translateY(-2px);
}


.about-services-button .material-symbols-outlined {
    font-size: 17px;
}



/* ==========================================================
   FINAL CTA
========================================================== */

.about-cta-section {
    padding: 90px 0;

    background: #ffffff;
}


.about-cta {
    position: relative;

    min-height: 340px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 14px;

    background: var(--about-navy-dark);

    box-shadow:
        0 18px 42px rgba(0,27,60,0.18);
}


.about-cta > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    opacity: 0.20;
}


.about-cta-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,27,60,0.98),
            rgba(18,48,88,0.94),
            rgba(0,27,60,0.92)
        );
}


.about-cta-content {
    position: relative;

    z-index: 3;

    width: min(90%, 850px);

    margin: auto;

    text-align: center;
}


.cta-label {
    width: fit-content;

    margin: 0 auto 18px;

    padding: 5px 11px;

    display: flex;

    align-items: center;

    gap: 7px;

    border: 1px solid rgba(255,255,255,0.20);

    border-radius: 50px;

    background: rgba(255,255,255,0.08);

    color: #86efac;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.06em;
}


.cta-label > span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--about-green);
}


.about-cta h2 {
    max-width: 750px;

    margin: 0 auto 14px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.12;

    letter-spacing: -0.035em;
}


.about-cta-content > p {
    margin: 0 auto 26px;

    color: #cbd5e1;

    font-size: 14px;
}


.about-cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


.about-cta-primary,
.about-cta-secondary {
    min-height: 48px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.about-cta-primary {
    color: #ffffff;

    background: var(--about-green);
}


.about-cta-primary:hover {
    background: var(--about-green-dark);

    transform: translateY(-2px);
}


.about-cta-secondary {
    border: 1px solid rgba(255,255,255,0.30);

    background: rgba(255,255,255,0.10);

    color: #ffffff;

    backdrop-filter: blur(6px);
}


.about-cta-secondary:hover {
    background: rgba(255,255,255,0.18);

    transform: translateY(-2px);
}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .about-who-grid {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .about-who-content,
    .about-photo-composition {
        grid-column: auto;
    }


    .about-photo-composition {
        max-width: 700px;

        width: 100%;

        margin: 0 auto;
    }


    .values-grid {
        grid-template-columns: repeat(2, 1fr);

        row-gap: 45px;
    }


    .value-item {
        border-right: 0;

        padding: 0 24px;
    }


    .value-item:nth-child(odd) {
        border-right: 1px solid #e2e8f0;
    }


    .value-item:first-child {
        padding-left: 0;
    }


    .about-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}



/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .about-banner {
        height: 360px;
    }


    .about-banner-content {
        margin-top: 55px;
    }


    .about-banner h1 {
        font-size: 34px;
    }


    .about-banner-content > p {
        font-size: 13px;
    }



    .about-who {
        padding: 70px 0 85px;
    }


    .about-copy p {
        font-size: 14px;
    }


    .about-company-details {
        flex-direction: column;

        gap: 18px;
    }


    .about-photo-small {
        left: 15px;

        width: 55%;
    }



    .direction-section {
        padding: 65px 0;
    }


    .direction-grid {
        grid-template-columns: 1fr;
    }


    .direction-card {
        min-height: auto;

        padding: 28px;
    }



    .values-section {
        padding: 70px 0;
    }


    .values-grid {
        grid-template-columns: 1fr;
    }


    .value-item,
    .value-item:first-child {
        padding: 25px 0;

        border-right: 0 !important;

        border-bottom: 1px solid #e2e8f0;
    }


    .value-item:last-child {
        border-bottom: 0;
    }



    .about-services {
        padding: 70px 0;
    }


    .about-services-heading {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 35px;
    }


    .about-services-grid {
        grid-template-columns: 1fr;
    }



    .about-cta-section {
        padding: 70px 0;
    }


    .about-cta {
        min-height: 380px;

        border-radius: 12px;
    }


    .about-cta h2 {
        font-size: 32px;
    }


    .about-cta-buttons {
        width: 100%;

        flex-direction: column;

        align-items: center;
    }


    .about-cta-primary,
    .about-cta-secondary {
        width: min(100%, 310px);
    }

}



/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 450px) {

    .about-banner {
        height: 330px;
    }


    .about-banner h1 {
        font-size: 30px;
    }


    .about-breadcrumb {
        font-size: 8px;
    }


    .about-photo-main {
        aspect-ratio: 1 / 1;
    }


    .about-photo-small {
        width: 62%;

        left: 10px;
    }


    .direction-card h3 {
        font-size: 19px;
    }


    .direction-card p {
        font-size: 14px;
    }


    .about-service-card {
        padding: 17px;
    }


    .about-cta h2 {
        font-size: 28px;
    }

}

a.company-detail { color: inherit; text-decoration: none; }
a.company-detail:focus-visible { outline: 3px solid #15803d; outline-offset: 4px; }
