/* =========================================================
   ARPIVA TECHNOLOGIES
   CSR PAGE
   PREMIUM UI + ANIMATION
========================================================= */

.csr-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #081b4b;
}

.csr-page .container {
    width: min(1180px, calc(100% - 80px));
    margin: auto;
}


/* =========================================================
   HERO
========================================================= */

.csr-hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #06163f 0%,
            #09275f 50%,
            #123c8d 100%
        );
}

.csr-hero-background {
    position: absolute;
    inset: 0;

    opacity: .28;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(47,128,237,.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(255,159,10,.12),
            transparent 25%
        );
}

.csr-hero-grid {
    position: absolute;
    inset: 0;

    opacity: .13;

    background-image:
        linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    animation: csrGridMove 22s linear infinite;
}

@keyframes csrGridMove {

    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(80px,80px);
    }
}

.csr-hero-content {
    position: relative;
    z-index: 5;

    width: 55%;
    padding: 120px 0;

    animation:
        csrHeroIn 1s
        cubic-bezier(.22,1,.36,1)
        both;
}

@keyframes csrHeroIn {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.csr-eyebrow {
    display: inline-flex;

    padding: 10px 20px;

    margin-bottom: 25px;

    border-radius: 50px;

    border: 1px solid rgba(255,255,255,.18);

    background: rgba(255,255,255,.07);

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.6px;

    backdrop-filter: blur(10px);
}

.csr-hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(52px,6vw,76px);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -3px;
}

.csr-hero h1 span {
    display: block;

    color: #ff9f0a;
}

.csr-hero p {
    max-width: 650px;

    margin: 30px 0 0;

    color: #d8e6ff;

    font-size: 18px;

    line-height: 1.8;
}

.csr-hero-line {
    width: 75px;
    height: 3px;

    margin-top: 35px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #1769ff,
            #ff9f0a
        );

    animation:
        csrLinePulse 3s ease-in-out infinite;
}

@keyframes csrLinePulse {

    0%,100% {
        width: 60px;
    }

    50% {
        width: 110px;
    }
}


/* =========================================================
   HERO NETWORK
========================================================= */

.csr-hero-network {
    position: absolute;

    z-index: 3;

    right: 5%;

    top: 50%;

    width: 440px;
    height: 440px;

    transform: translateY(-50%);
}

.csr-network-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    transform: translate(-50%,-50%);

    border: 1px solid rgba(141,187,255,.25);
}

.csr-network-ring.ring-one {
    width: 420px;
    height: 420px;

    animation: csrOrbit 24s linear infinite;
}

.csr-network-ring.ring-two {
    width: 300px;
    height: 300px;

    border-color: rgba(255,159,10,.22);

    animation: csrOrbitReverse 17s linear infinite;
}

.csr-network-ring.ring-three {
    width: 190px;
    height: 190px;

    animation: csrOrbit 12s linear infinite;
}

@keyframes csrOrbit {

    from {
        transform:
            translate(-50%,-50%)
            rotate(0);
    }

    to {
        transform:
            translate(-50%,-50%)
            rotate(360deg);
    }
}

@keyframes csrOrbitReverse {

    from {
        transform:
            translate(-50%,-50%)
            rotate(360deg);
    }

    to {
        transform:
            translate(-50%,-50%)
            rotate(0);
    }
}

.csr-network-core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 135px;
    height: 135px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    transform: translate(-50%,-50%);

    background:
        linear-gradient(
            135deg,
            #2f80ed,
            #123c8d
        );

    color: #fff;

    box-shadow:
        0 30px 90px rgba(47,128,237,.45);

    animation: csrCorePulse 4s ease-in-out infinite;
}

.csr-network-core span {
    font-size: 11px;

    letter-spacing: 2px;

    opacity: .75;
}

.csr-network-core strong {
    margin-top: 5px;

    font-size: 18px;
}

@keyframes csrCorePulse {

    0%,100% {
        transform:
            translate(-50%,-50%)
            scale(1);
    }

    50% {
        transform:
            translate(-50%,-50%)
            scale(1.06);
    }
}

.csr-network-node {
    position: absolute;

    z-index: 4;

    padding: 10px 15px;

    border-radius: 50px;

    background: rgba(255,255,255,.96);

    color: #174b9b;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .6px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.20);

    animation:
        csrNodeFloat 4s ease-in-out infinite;
}

.node-people {
    top: 25px;
    left: 170px;
}

.node-community {
    right: 0;
    top: 190px;

    animation-delay: .8s;
}

.node-technology {
    bottom: 25px;
    left: 160px;

    animation-delay: 1.6s;
}

.node-environment {
    left: -5px;
    top: 190px;

    animation-delay: 2.4s;
}

@keyframes csrNodeFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.csr-philosophy {
    padding: 110px 0 85px;
}

.csr-philosophy-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 100px;
}

.csr-section-label {
    display: inline-block;

    color: #1769ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.6px;
}

.csr-philosophy-heading h2 {
    margin: 18px 0 0;

    font-size: 47px;

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.csr-philosophy-heading h2 span {
    color: #1769ff;
}

.csr-philosophy-copy p {
    margin: 0 0 20px;

    color: #62748e;

    font-size: 17px;

    line-height: 1.85;
}


/* =========================================================
   FOCUS
========================================================= */

.csr-focus {
    padding: 75px 0 115px;

    background: #f6f9fd;
}

.csr-focus-heading {
    margin-bottom: 50px;
}

.csr-focus-heading h2 {
    margin: 16px 0 0;

    font-size: 46px;

    line-height: 1.1;
}

.csr-focus-heading h2 span {
    color: #1769ff;
}

.csr-focus-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 24px;
}

.csr-focus-card {
    position: relative;

    min-height: 310px;

    padding: 32px;

    overflow: hidden;

    border-radius: 23px;

    background: #fff;

    border: 1px solid #e2eaf4;

    box-shadow:
        0 12px 35px rgba(8,27,75,.05);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.csr-focus-card:hover {
    transform: translateY(-9px);

    box-shadow:
        0 28px 60px rgba(8,27,75,.12);
}

.csr-card-number {
    position: absolute;

    right: 25px;
    top: 22px;

    color: #dce6f3;

    font-size: 13px;

    font-weight: 800;
}

.csr-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 16px;

    background: #eaf2ff;

    color: #1769ff;
}

.csr-icon svg {
    width: 26px;
    height: 26px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.csr-focus-card h3 {
    margin: 0 0 15px;

    font-size: 21px;

    line-height: 1.3;
}

.csr-focus-card p {
    margin: 0;

    color: #697b95;

    font-size: 14px;

    line-height: 1.75;
}

.csr-card-line {
    position: absolute;

    bottom: 0;
    left: 32px;

    width: 40px;
    height: 3px;

    background: #ff9f0a;

    border-radius: 5px 5px 0 0;

    transition: width .4s ease;
}

.csr-focus-card:hover .csr-card-line {
    width: 90px;
}

.csr-focus-featured {
    background:
        linear-gradient(
            135deg,
            #071947,
            #123c8d
        );
}

.csr-focus-featured h3 {
    color: #fff;
}

.csr-focus-featured p {
    color: #d5e3ff;
}

.csr-focus-featured .csr-card-number {
    color: rgba(255,255,255,.25);
}

.csr-focus-featured .csr-icon {
    background: rgba(255,255,255,.10);

    color: #8ec0ff;
}


/* =========================================================
   RESPONSIBLE TECHNOLOGY
========================================================= */

.csr-responsible {
    padding: 115px 0;

    background: #fff;
}

.csr-responsible-box {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

    padding: 70px;

    border-radius: 30px;

    background: #f6f9fd;
}

.csr-responsible-content h2 {
    margin: 18px 0 20px;

    font-size: 46px;

    line-height: 1.1;
}

.csr-responsible-content h2 span {
    color: #1769ff;
}

.csr-responsible-content > p {
    margin: 0 0 30px;

    color: #647791;

    font-size: 16px;

    line-height: 1.8;
}

.csr-responsible-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.csr-responsible-points div {
    padding: 15px;

    border-radius: 13px;

    background: #fff;

    border: 1px solid #e4ebf5;
}

.csr-responsible-points span {
    display: block;

    margin-bottom: 5px;

    color: #ff9f0a;

    font-size: 10px;

    font-weight: 800;
}

.csr-responsible-points strong {
    color: #17345e;

    font-size: 12px;

    line-height: 1.4;
}

.csr-responsible-visual {
    position: relative;

    width: 390px;
    height: 390px;

    margin: auto;
}

.responsible-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    border: 1px solid #cdddf1;

    transform: translate(-50%,-50%);
}

.responsible-ring-one {
    width: 360px;
    height: 360px;

    animation: csrOrbit 20s linear infinite;
}

.responsible-ring-two {
    width: 230px;
    height: 230px;

    animation: csrOrbitReverse 15s linear infinite;
}

.responsible-core {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 125px;
    height: 125px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    transform: translate(-50%,-50%);

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #1769ff,
            #123c8d
        );

    color: #fff;

    box-shadow:
        0 25px 70px rgba(23,105,255,.35);

    animation:
        csrCorePulse 4s ease-in-out infinite;
}

.responsible-core span {
    font-size: 10px;

    letter-spacing: 2px;

    opacity: .8;
}

.responsible-core strong {
    margin-top: 5px;

    font-size: 20px;
}

.responsible-node {
    position: absolute;

    padding: 9px 14px;

    border-radius: 50px;

    background: #fff;

    color: #174b9b;

    font-size: 9px;

    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(8,27,75,.10);

    animation:
        csrNodeFloat 4s ease-in-out infinite;
}

.responsible-node-one {
    top: 25px;
    left: 155px;
}

.responsible-node-two {
    right: 0;
    top: 175px;

    animation-delay: .7s;
}

.responsible-node-three {
    bottom: 25px;
    left: 155px;

    animation-delay: 1.4s;
}

.responsible-node-four {
    left: -5px;
    top: 175px;

    animation-delay: 2.1s;
}


/* =========================================================
   COMMITMENT
========================================================= */

.csr-commitment {
    padding: 105px 0;

    background: #f6f9fd;
}

.csr-commitment-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.csr-commitment-image {
    position: relative;

    height: 500px;

    overflow: hidden;

    border-radius: 28px;

    box-shadow:
        0 25px 65px rgba(8,27,75,.15);
}

.csr-commitment-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .8s ease;
}

.csr-commitment-image:hover img {
    transform: scale(1.05);
}

.csr-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4,16,43,.55),
            transparent 55%
        );
}

.csr-image-badge {
    position: absolute;

    left: 25px;
    bottom: 25px;

    padding: 9px 15px;

    border-radius: 50px;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.2);

    backdrop-filter: blur(10px);

    color: #fff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}

.csr-commitment-content h2 {
    margin: 18px 0 22px;

    font-size: 46px;

    line-height: 1.1;
}

.csr-commitment-content h2 span {
    color: #1769ff;
}

.csr-commitment-content p {
    margin: 0 0 20px;

    color: #657791;

    font-size: 16px;

    line-height: 1.8;
}

.csr-commitment-line {
    width: 75px;
    height: 3px;

    margin-top: 30px;

    background:
        linear-gradient(
            90deg,
            #1769ff,
            #ff9f0a
        );

    border-radius: 5px;
}


/* =========================================================
   IMPACT
========================================================= */

.csr-impact {
    padding: 105px 0 115px;
}

.csr-impact-heading {
    margin-bottom: 70px;

    text-align: center;
}

.csr-impact-heading h2 {
    margin: 15px 0 0;

    font-size: 46px;
}

.csr-impact-heading h2 span {
    color: #1769ff;
}

.csr-impact-track {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 25px;
}

.csr-impact-line {
    position: absolute;

    left: 10%;
    right: 10%;

    top: 24px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #1769ff,
            #ff9f0a
        );

    transform-origin: left;

    animation:
        impactLine 2s ease-out both;
}

@keyframes impactLine {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.csr-impact-step {
    position: relative;

    text-align: center;
}

.impact-dot {
    position: relative;

    z-index: 2;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: #fff;

    border: 2px solid #1769ff;

    color: #1769ff;

    font-size: 11px;

    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(23,105,255,.12);
}

.csr-impact-step:nth-child(4) .impact-dot {
    border-color: #ff9f0a;

    color: #ff9f0a;
}

.csr-impact-step h3 {
    margin: 0 0 8px;

    font-size: 20px;
}

.csr-impact-step p {
    margin: 0;

    color: #718198;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FINAL
========================================================= */

.csr-final {
    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(47,128,237,.25),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #06163f,
            #123c8d
        );
}

.csr-final-orb {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.09);

    transform: translate(-50%,-50%);

    box-shadow:
        0 0 0 80px rgba(255,255,255,.02),
        0 0 0 160px rgba(255,255,255,.015);

    animation:
        finalCsrOrb 9s ease-in-out infinite alternate;
}

@keyframes finalCsrOrb {

    from {
        transform:
            translate(-50%,-50%)
            scale(1);
    }

    to {
        transform:
            translate(-50%,-50%)
            scale(1.12);
    }
}

.csr-final-content {
    position: relative;

    z-index: 3;

    max-width: 850px;

    margin: auto;

    animation:
        csrFinalReveal
        1s
        ease-out
        both;
}

@keyframes csrFinalReveal {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.csr-final h2 {
    margin: 0 0 25px;

    color: #fff;

    font-size: 53px;

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.csr-final h2 span {
    color: #ff9f0a;
}

.csr-final p {
    max-width: 720px;

    margin: auto;

    color: #d6e4ff;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:991px) {

    .csr-page .container {
        width: min(720px, calc(100% - 50px));
    }

    .csr-hero-content {
        width: 65%;
    }

    .csr-hero-network {
        right: -120px;

        opacity: .65;
    }

    .csr-focus-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .csr-responsible-box {
        grid-template-columns: 1fr;

        padding: 55px;
    }

    .csr-commitment-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width:700px) {

    .csr-page .container {
        width: calc(100% - 36px);
    }

    .csr-hero {
        min-height: 620px;
    }

    .csr-hero-content {
        width: 100%;

        padding: 90px 0;
    }

    .csr-hero h1 {
        font-size: 45px;
    }

    .csr-hero p {
        font-size: 16px;
    }

    .csr-hero-network {
        width: 300px;
        height: 300px;

        right: -60px;
        bottom: -100px;
        top: auto;

        transform: none;

        opacity: .45;
    }

    .csr-network-ring.ring-one {
        width: 285px;
        height: 285px;
    }

    .csr-network-ring.ring-two {
        width: 200px;
        height: 200px;
    }

    .csr-network-ring.ring-three {
        width: 130px;
        height: 130px;
    }

    .csr-network-core {
        width: 95px;
        height: 95px;
    }

    .csr-philosophy {
        padding: 75px 0 60px;
    }

    .csr-philosophy-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .csr-philosophy-heading h2 {
        font-size: 38px;
    }

    .csr-focus-grid {
        grid-template-columns: 1fr;
    }

    .csr-responsible-box {
        padding: 35px 25px;
    }

    .csr-responsible-content h2 {
        font-size: 37px;
    }

    .csr-responsible-points {
        grid-template-columns: 1fr;
    }

    .csr-responsible-visual {
        width: 310px;
        height: 310px;
    }

    .responsible-ring-one {
        width: 285px;
        height: 285px;
    }

    .responsible-ring-two {
        width: 200px;
        height: 200px;
    }

    .csr-commitment {
        padding: 75px 0;
    }

    .csr-commitment-image {
        height: 360px;
    }

    .csr-commitment-content h2 {
        font-size: 37px;
    }

    .csr-impact {
        padding: 75px 0;
    }

    .csr-impact-heading h2 {
        font-size: 37px;
    }

    .csr-impact-track {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .csr-impact-line {
        display: none;
    }

    .csr-final {
        min-height: 440px;
    }

    .csr-final h2 {
        font-size: 38px;
    }

}