/* =====================================================
   NPCPL ABOUT PAGE
===================================================== */

/* ---------- PAGE VARIABLES ---------- */

:root {
    --about-primary: #2f6bff;
    --about-primary-dark: #1f52d6;
    --about-primary-light: #eaf0ff;

    --about-navy: #07152d;
    --about-navy-light: #10294a;

    --about-heading: #0c1729;
    --about-text: #5f6878;
    --about-muted: #8b93a1;

    --about-white: #ffffff;
    --about-light: #f6f8fc;
    --about-border: #e6ebf4;

    --about-shadow:
        0 18px 45px rgba(9, 30, 66, 0.08);

    --about-shadow-hover:
        0 24px 55px rgba(9, 30, 66, 0.14);

    --about-radius: 20px;
    --about-transition: all 0.3s ease;
}


/* =====================================================
   BASIC RESET
===================================================== */

.about-hero *,
.who-we-are *,
.features-row *,
.mvm-section *,
.stats-bar *,
.about-comit *,
.testimonials * {
    box-sizing: border-box;
}

.about-hero h1,
.about-hero h2,
.about-hero h3,
.who-we-are h1,
.who-we-are h2,
.who-we-are h3,
.features-row h1,
.features-row h2,
.features-row h3,
.mvm-section h1,
.mvm-section h2,
.mvm-section h3,
.stats-bar h1,
.stats-bar h2,
.stats-bar h3,
.about-comit h1,
.about-comit h2,
.about-comit h3,
.about-comit h4,
.about-comit h5,
.testimonials h1,
.testimonials h2,
.testimonials h3,
.testimonials h4 {
    margin-top: 0;
}

.about-hero p,
.who-we-are p,
.features-row p,
.mvm-section p,
.stats-bar p,
.about-comit p,
.testimonials p {
    margin-top: 0;
}

.about-hero img,
.who-we-are img,
.about-comit img {
    display: block;
    max-width: 100%;
}


/* =====================================================
   COMMON CONTAINER FIX
===================================================== */

.about-hero .container,
.who-we-are.container,
.features-row.container,
.mvm-section.container {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}


/* =====================================================
   HERO SECTION
===================================================== */

.about-hero {
    position: relative;
    isolation: isolate;
    min-height: 500px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 17, 39, 0.96) 0%,
            rgba(4, 17, 39, 0.88) 45%,
            rgba(4, 17, 39, 0.55) 100%
        ),
        url("../../images/about.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: var(--about-white);
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(47, 107, 255, 0.18),
            transparent 45%
        );
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    max-width: 900px;
    margin-bottom: 22px;

    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -1.5px;

    color: var(--about-white);
}

.about-hero .hero-subtext {
    max-width: 760px;
    margin-bottom: 0;

    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.82);
    text-align: left;
}


/* =====================================================
   WHO WE ARE SECTION
===================================================== */

.who-we-are {
    padding-top: 100px;
    padding-bottom: 100px;
}

.who-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 75px;
}

.who-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--about-radius);
}

.who-image::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -18px;

    width: 150px;
    height: 150px;

    border: 5px solid rgba(47, 107, 255, 0.15);
    border-radius: 28px;
    z-index: -1;
}

.who-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;

    border-radius: var(--about-radius);
    box-shadow: var(--about-shadow);

    transition: transform 0.5s ease;
}

.who-image:hover img {
    transform: scale(1.035);
}

.who-text {
    min-width: 0;
}

.who-text .section-tag {
    display: inline-block;
    position: relative;

    margin-bottom: 18px;
    padding-left: 42px;

    font-size: 14px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: 2px;

    color: var(--about-primary);
}

.who-text .section-tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;

    width: 30px;
    height: 3px;

    background: var(--about-primary);
    border-radius: 20px;
    transform: translateY(-50%);
}

.who-text h3 {
    max-width: 600px;
    margin-bottom: 24px;

    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -0.8px;

    color: var(--about-heading);
}

.who-text p {
    margin-bottom: 18px;

    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;

    color: var(--about-text);
    text-align: left;
}

.who-text p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   FEATURE CARDS
===================================================== */

.features-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;

    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 90px;
}

.f-item {
    min-width: 0;
    min-height: 125px;

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 25px 24px;

    background: var(--about-light);
    border: 1px solid transparent;
    border-radius: 16px;

    transition: var(--about-transition);
}

.f-item:hover {
    background: var(--about-white);
    border-color: rgba(47, 107, 255, 0.18);
    box-shadow: var(--about-shadow);
    transform: translateY(-6px);
}

.f-item > i {
    width: 48px;
    min-width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    color: var(--about-primary);
    background: var(--about-primary-light);
    border-radius: 13px;
}

.f-item > div {
    min-width: 0;
}

.f-item strong {
    display: block;
    margin-bottom: 5px;

    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;

    color: var(--about-heading);
}

.f-item p {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;

    color: var(--about-muted);
    text-align: left;
}


/* =====================================================
   MISSION, VISION AND VALUES
===================================================== */

.mvm-section {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;

    max-width: none !important;
    width: 100% !important;

    padding: 95px max(24px, calc((100% - 1180px) / 2)) !important;

    background: #f8faff;
}

.mvm-card {
    position: relative;
    min-width: 0;
    min-height: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 46px 38px 40px;

    background: var(--about-white);
    border: 1px solid var(--about-border);
    border-top: 4px solid var(--about-primary);
    border-radius: var(--about-radius);

    box-shadow: var(--about-shadow);
    overflow: hidden;

    transition: var(--about-transition);
}

.mvm-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;

    width: 180px;
    height: 180px;

    background: rgba(47, 107, 255, 0.045);
    border-radius: 50%;
}

.mvm-card:hover {
    border-color: rgba(47, 107, 255, 0.25);
    box-shadow: var(--about-shadow-hover);
    transform: translateY(-9px);
}

.mvm-icon {
    position: relative;
    z-index: 1;

    width: 78px;
    height: 78px;
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    font-size: 28px;

    color: var(--about-primary);
    background: var(--about-primary-light);
    border-radius: 50%;
}

.mvm-card h3 {
    position: relative;
    z-index: 1;

    margin-bottom: 16px;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 750;

    color: var(--about-heading);
    text-align: center;
}

.mvm-card > p {
    position: relative;
    z-index: 1;

    width: 100%;
    margin: 0;

    font-size: 15px;
    line-height: 1.8;

    color: var(--about-text);
    text-align: center;
}

/* Important: removes unwanted black bullets */
.mvm-card.values ul {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 280px;

    margin: 0 auto;
    padding: 0;

    list-style: none !important;
}

.mvm-card.values ul li {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin: 0;
    padding: 8px 0;

    list-style: none !important;

    font-size: 15px;
    line-height: 1.5;

    color: var(--about-text);
    text-align: left;
}

.mvm-card.values ul li::before,
.mvm-card.values ul li::marker {
    content: none !important;
    display: none !important;
}

.mvm-card.values ul li > i {
    flex: 0 0 auto;
    margin-top: 4px;

    font-size: 14px;
    color: var(--about-primary);
}


/* =====================================================
   STATISTICS BAR
===================================================== */

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;

    padding: 85px max(24px, calc((100% - 1180px) / 2));

    background:
        radial-gradient(
            circle at top left,
            rgba(47, 107, 255, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            var(--about-navy),
            var(--about-navy-light)
        );

    text-align: center;
}

.stat-box {
    min-width: 0;
    min-height: 210px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    backdrop-filter: blur(7px);

    transition: var(--about-transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-7px);
}

.stat-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    font-size: 25px;

    color: var(--about-white);
    background: rgba(47, 107, 255, 0.85);
    border-radius: 50%;
}

.stat-box h3 {
    margin-bottom: 8px;

    font-size: 38px;
    line-height: 1.1;
    font-weight: 750;

    color: var(--about-white);
}

.stat-box p {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;

    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}


/* =====================================================
   OUR COMMITMENT
===================================================== */

.about-comit {
    padding: 100px max(24px, calc((100% - 1180px) / 2));
    background: var(--about-white);
}

.comit-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 75px;
}

.comit-image {
    overflow: hidden;
    border-radius: var(--about-radius);
}

.comit-image img {
    width: 100%;
    height: 500px;

    object-fit: cover;
    object-position: center;

    border-radius: var(--about-radius);
    box-shadow: var(--about-shadow);

    transition: transform 0.5s ease;
}

.comit-image:hover img {
    transform: scale(1.035);
}

.comit-text {
    min-width: 0;
}

.comit-text h2 {
    position: relative;
    display: inline-block;

    margin-bottom: 18px;
    padding-left: 42px;

    font-size: 14px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: 2px;

    color: var(--about-primary);
}

.comit-text h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;

    width: 30px;
    height: 3px;

    background: var(--about-primary);
    border-radius: 20px;
    transform: translateY(-50%);
}

.comit-text h5 {
    margin-bottom: 22px;

    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.25;
    font-weight: 750;

    color: var(--about-heading);
}

.comit-text > p {
    margin-bottom: 25px !important;

    font-size: 15.5px;
    line-height: 1.8;

    color: var(--about-text) !important;
    text-align: left;
}

.comit-text ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.comit-text li {
    position: relative;

    margin-bottom: 16px;
    padding-left: 32px;

    font-size: 15px;
    line-height: 1.7;

    color: var(--about-text);
}

.comit-text li:last-child {
    margin-bottom: 0;
}

.comit-text li::before {
    content: "\f00c";

    position: absolute;
    left: 0;
    top: 3px;

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: 900;

    color: var(--about-white);
    background: var(--about-primary);
    border-radius: 50%;
}

.comit-text li b {
    margin-right: 5px;
    color: var(--about-heading);
}


/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonials {
    padding: 95px max(24px, calc((100% - 1180px) / 2));
    background: var(--about-light);
}

.testimonials > h2 {
    position: relative;

    margin-bottom: 55px;

    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.3;
    font-weight: 750;

    color: var(--about-heading);
    text-align: center;
}

.testimonials > h2::after {
    content: "";

    display: block;
    width: 70px;
    height: 4px;

    margin: 15px auto 0;

    background: var(--about-primary);
    border-radius: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 25px;
}

.testimonial-card {
    position: relative;
    min-width: 0;
    min-height: 260px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    background: var(--about-white);
    border: 1px solid var(--about-border);
    border-radius: 17px;
    box-shadow: 0 12px 35px rgba(9, 30, 66, 0.06);

    transition: var(--about-transition);
}

.testimonial-card::before {
    content: "\f10d";

    position: absolute;
    top: 25px;
    right: 26px;

    font-family: "Font Awesome 5 Free";
    font-size: 28px;
    font-weight: 900;

    color: rgba(47, 107, 255, 0.12);
}

.testimonial-card:hover {
    border-color: rgba(47, 107, 255, 0.22);
    box-shadow: var(--about-shadow-hover);
    transform: translateY(-7px);
}

.testimonial-card h4 {
    padding-right: 40px;
    margin-bottom: 5px;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    color: var(--about-heading);
}

.testimonial-card .company {
    margin-bottom: 20px;

    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;

    color: var(--about-primary);
    text-align: left;
}

.testimonial-card > p:not(.company) {
    flex-grow: 1;
    margin-bottom: 22px;

    font-size: 14.5px;
    line-height: 1.75;

    color: var(--about-text);
    text-align: left;
}

.testimonial-card span {
    display: inline-flex;
    align-items: center;

    font-size: 14px;
    font-weight: 650;

    color: #eaa800;
}


/* =====================================================
   LARGE TABLET
===================================================== */

@media screen and (max-width: 1100px) {

    .about-hero .container,
    .who-we-are.container,
    .features-row.container {
        width: min(100% - 40px, 960px);
    }

    .who-grid,
    .comit-grid {
        gap: 50px;
    }

    .features-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mvm-section {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .stats-bar,
    .about-comit,
    .testimonials {
        padding-left: 24px;
        padding-right: 24px;
    }

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


/* =====================================================
   TABLET
===================================================== */

@media screen and (max-width: 900px) {

    .about-hero {
        min-height: 440px;
        padding: 80px 0;
    }

    .who-we-are {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .who-grid,
    .comit-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .who-image {
        max-width: 680px;
        margin: 0 auto;
    }

    .who-image img {
        height: 400px;
    }

    .mvm-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 75px !important;
        padding-bottom: 75px !important;
    }

    .mvm-card {
        min-height: 340px;
    }

    .mvm-card.values {
        grid-column: 1 / -1;
        width: calc(50% - 14px);
        margin: 0 auto;
    }

    .stats-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .about-comit {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .comit-image {
        max-width: 680px;
        margin: 0 auto;
    }

    .comit-image img {
        height: 430px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width: 650px) {

    .about-hero .container,
    .who-we-are.container,
    .features-row.container {
        width: calc(100% - 32px);
    }

    .about-hero {
        min-height: 400px;
        padding: 65px 0;

        background-position: 65% center;
    }

    .about-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;

        background: rgba(4, 17, 39, 0.17);
    }

    .about-hero h1 {
        margin-bottom: 18px;

        font-size: 31px;
        line-height: 1.22;
        letter-spacing: -0.7px;
    }

    .about-hero h1 br {
        display: none;
    }

    .about-hero .hero-subtext {
        font-size: 15px;
        line-height: 1.7;
    }

    .who-we-are {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .who-grid {
        gap: 35px;
    }

    .who-image img {
        height: 290px;
        border-radius: 16px;
    }

    .who-text .section-tag {
        margin-bottom: 15px;
        padding-left: 35px;

        font-size: 12px;
    }

    .who-text .section-tag::before {
        width: 24px;
    }

    .who-text h3 {
        margin-bottom: 18px;

        font-size: 28px;
        line-height: 1.3;
    }

    .who-text p {
        font-size: 15px;
        line-height: 1.75;
    }

    .features-row {
        grid-template-columns: 1fr;
        gap: 15px;

        padding-bottom: 60px;
    }

    .f-item {
        min-height: 105px;
        padding: 20px;
    }

    .f-item > i {
        width: 45px;
        min-width: 45px;
        height: 45px;

        font-size: 22px;
    }

    .mvm-section {
        grid-template-columns: 1fr;
        gap: 20px;

        padding: 60px 16px !important;
    }

    .mvm-card,
    .mvm-card.values {
        grid-column: auto;
        width: 100%;
        min-height: auto;

        padding: 35px 24px;
    }

    .mvm-icon {
        width: 68px;
        height: 68px;
        min-height: 68px;

        margin-bottom: 18px;

        font-size: 24px;
    }

    .mvm-card h3 {
        margin-bottom: 13px;
        font-size: 22px;
    }

    .mvm-card > p {
        font-size: 14.5px;
        line-height: 1.75;
    }

    .mvm-card.values ul {
        max-width: 260px;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        gap: 16px;

        padding: 60px 16px;
    }

    .stat-box {
        min-height: 180px;
        padding: 25px 20px;
    }

    .stat-box h3 {
        font-size: 34px;
    }

    .about-comit {
        padding: 60px 16px;
    }

    .comit-grid {
        gap: 35px;
    }

    .comit-image img {
        height: 300px;
        border-radius: 16px;
    }

    .comit-text h2 {
        margin-bottom: 15px;
        padding-left: 35px;

        font-size: 12px;
    }

    .comit-text h2::before {
        width: 24px;
    }

    .comit-text h5 {
        margin-bottom: 18px;

        font-size: 28px;
        line-height: 1.3;
    }

    .comit-text > p {
        font-size: 14.5px;
        line-height: 1.75;
    }

    .comit-text li {
        padding-left: 29px;

        font-size: 14.5px;
        line-height: 1.65;
    }

    .testimonials {
        padding: 60px 16px;
    }

    .testimonials > h2 {
        margin-bottom: 38px;
        font-size: 29px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonial-card {
        min-height: auto;
        padding: 25px 22px;
    }
}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media screen and (max-width: 390px) {

    .about-hero h1 {
        font-size: 27px;
    }

    .who-text h3,
    .comit-text h5 {
        font-size: 25px;
    }

    .f-item {
        align-items: flex-start;
    }

    .mvm-card {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =====================================================
   REDUCED MOTION ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .who-image img,
    .comit-image img,
    .f-item,
    .mvm-card,
    .stat-box,
    .testimonial-card {
        transition: none;
    }

    .who-image:hover img,
    .comit-image:hover img,
    .f-item:hover,
    .mvm-card:hover,
    .stat-box:hover,
    .testimonial-card:hover {
        transform: none;
    }
}