﻿/* =========================================
   CSR PAGE
========================================= */

.csr-page {
    background: #f7fbff;
}


/* =========================================
   CSR HERO
========================================= */

.csr-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #eef8ff;
}


/* Background Image */

.csr-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/responsibility/csr-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


    /* Soft overlay for text readability */

    .csr-hero-background::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 35%, rgba(255, 255, 255, 0.18) 70%, rgba(255, 255, 255, 0.02) 100% );
    }


/* Container */

.csr-hero .container {
    position: relative;
    z-index: 5;
}


/* Hero Content */

.csr-hero-content {
    max-width: 620px;
    padding-top: 120px;
    padding-bottom: 180px;
}


/* Small Label */

.csr-hero-label {
    display: block;
    margin-bottom: 16px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #234e86;
}


/* Main Heading */

.csr-hero-content h1 {
    margin: 0 0 22px;
    font-family: "DM Serif Display", serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.05;
    color: #17395f;
}


/* Description */

.csr-hero-content p {
    max-width: 590px;
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #3f4f63;
}


/* =========================================
   HERO WAVE
========================================= */

.csr-hero-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 155px;
    z-index: 10;
    pointer-events: none;
}

    .csr-hero-wave svg {
        display: block;
        width: 100%;
        height: 100%;
    }

.csr-wave-fill {
    fill: #ffffff;
}

.csr-wave-line {
    fill: none;
    stroke: #234e86;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.65;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .csr-hero {
        min-height: 520px;
    }

    .csr-hero-content {
        max-width: 560px;
        padding-top: 100px;
        padding-bottom: 160px;
    }

        .csr-hero-content h1 {
            font-size: 54px;
        }

        .csr-hero-content p {
            font-size: 16px;
        }
}


@media (max-width: 575px) {

    .csr-hero {
        min-height: 470px;
    }

    .csr-hero-background {
        background-position: 65% center;
    }

        .csr-hero-background::after {
            background: linear-gradient( 90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 65%, rgba(255, 255, 255, 0.35) 100% );
        }

    .csr-hero-content {
        padding-top: 80px;
        padding-bottom: 140px;
    }

    .csr-hero-label {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .csr-hero-content h1 {
        font-size: 44px;
    }

    .csr-hero-content p {
        font-size: 15px;
        line-height: 1.65;
    }

    .csr-hero-wave {
        height: 110px;
    }
}

/* =========================================
   CSR ACTIVITIES SECTION
   ========================================= */

.csr-activities-section {
    padding: 95px 0 120px;
    background: #ffffff;
}

.csr-section-heading {
    max-width: 780px;
    margin: 0 auto 65px;
    text-align: center;
}

    .csr-section-heading span {
        display: block;
        margin-bottom: 14px;
        font-family: "DM Sans", sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
        color: #5c8ed0;
    }

    .csr-section-heading h2 {
        margin: 0 0 20px;
        font-family: "DM Serif Display", serif;
        font-size: 48px;
        font-weight: 400;
        line-height: 1.15;
        color: #173b65;
    }

    .csr-section-heading p {
        max-width: 700px;
        margin: 0 auto;
        font-family: "DM Sans", sans-serif;
        font-size: 16px;
        line-height: 1.8;
        color: #71839a;
    }


/* =========================================
   CSR ACTIVITY
   ========================================= */

.csr-activity {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 75px;
    max-width: 1120px;
    margin: 0 auto;
}


/* =========================================
   ACTIVITY IMAGE
   ========================================= */

.csr-activity-image {
    position: relative;
    padding: 18px;
    background: #f3f8fc;
    border-radius: 20px;
}

    .csr-activity-image::before {
        content: "";
        position: absolute;
        top: -12px;
        left: -12px;
        width: 90px;
        height: 90px;
        border-top: 2px solid #9bb8d8;
        border-left: 2px solid #9bb8d8;
        border-radius: 12px 0 0 0;
    }

.csr-activity-image-inner {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 14px;
}

    .csr-activity-image-inner img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.csr-activity:hover .csr-activity-image-inner img {
    transform: scale(1.035);
}


/* =========================================
   ACTIVITY CONTENT
   ========================================= */

.csr-activity-content {
    padding: 20px 15px 20px 0;
}

.csr-activity-label {
    display: block;
    margin-bottom: 16px;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #5c8ed0;
}

.csr-activity-content h3 {
    margin: 0;
    font-family: "DM Serif Display", serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.08;
    color: #173b65;
}

.csr-activity-line {
    width: 55px;
    height: 2px;
    margin: 25px 0 25px;
    background: #5c8ed0;
}

.csr-activity-content p {
    max-width: 500px;
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #71839a;
}


/* =========================================
   ACTIVITY META
   ========================================= */

.csr-activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

    .csr-activity-meta span {
        display: inline-flex;
        align-items: center;
        padding: 9px 15px;
        border: 1px solid #dce9f4;
        border-radius: 30px;
        background: #f7fbff;
        font-family: "DM Sans", sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 1.5px;
        color: #5c7898;
    }


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {

    .csr-activities-section {
        padding: 85px 0 100px;
    }

    .csr-section-heading h2 {
        font-size: 44px;
    }

    .csr-activity {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 750px;
    }

    .csr-activity-content {
        padding: 0 10px 10px;
    }

    .csr-activity-image-inner {
        height: 400px;
    }

    .csr-activity-content h3 {
        font-size: 46px;
    }
}


@media (max-width: 575px) {

    .csr-activities-section {
        padding: 70px 0 85px;
    }

    .csr-section-heading {
        margin-bottom: 45px;
    }

        .csr-section-heading h2 {
            font-size: 36px;
        }

        .csr-section-heading p {
            font-size: 15px;
            line-height: 1.7;
        }

    .csr-activity {
        gap: 35px;
    }

    .csr-activity-image {
        padding: 10px;
        border-radius: 15px;
    }

        .csr-activity-image::before {
            top: -8px;
            left: -8px;
            width: 65px;
            height: 65px;
        }

    .csr-activity-image-inner {
        height: 280px;
        border-radius: 10px;
    }

    .csr-activity-content {
        padding: 0 5px;
    }

        .csr-activity-content h3 {
            font-size: 38px;
        }

        .csr-activity-content p {
            font-size: 14px;
        }

    .csr-activity-meta {
        gap: 8px;
    }
}

/* =========================================
   CSR COMMITMENT SECTION
   ========================================= */

.csr-commitment-section {
    padding: 110px 0 100px;
    background: #f7fbff;
}

.csr-commitment-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

    .csr-commitment-heading span {
        display: block;
        margin-bottom: 14px;
        font-family: "DM Sans", sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
        color: #5c8ed0;
    }

    .csr-commitment-heading h2 {
        margin: 0 0 20px;
        font-family: "DM Serif Display", serif;
        font-size: 48px;
        font-weight: 400;
        line-height: 1.15;
        color: #173b65;
    }

    .csr-commitment-heading p {
        max-width: 700px;
        margin: 0 auto;
        font-family: "DM Sans", sans-serif;
        font-size: 16px;
        line-height: 1.8;
        color: #71839a;
    }


/* Commitment Cards */

.csr-commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.csr-commitment-card {
    position: relative;
    min-height: 270px;
    padding: 38px 35px;
    background: #ffffff;
    border: 1px solid #e2edf6;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .csr-commitment-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #5c8ed0;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s ease;
    }

    .csr-commitment-card:hover {
        transform: translateY(-8px);
        border-color: #cddfec;
        box-shadow: 0 18px 45px rgba(35, 78, 134, 0.10);
    }

        .csr-commitment-card:hover::before {
            transform: scaleX(1);
        }

.csr-commitment-number {
    margin-bottom: 35px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #9bb8d8;
}

.csr-commitment-card h3 {
    margin: 0 0 15px;
    font-family: "DM Serif Display", serif;
    font-size: 30px;
    font-weight: 400;
    color: #173b65;
}

.csr-commitment-card p {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #71839a;
}


/* Responsive */

@media (max-width: 991px) {

    .csr-commitment-section {
        padding: 90px 0;
    }

    .csr-commitment-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .csr-commitment-card {
        min-height: auto;
    }
}

@media (max-width: 575px) {

    .csr-commitment-section {
        padding: 70px 0;
    }

    .csr-commitment-heading h2 {
        font-size: 38px;
    }

    .csr-commitment-heading p {
        font-size: 15px;
    }

    .csr-commitment-card {
        padding: 30px;
    }
}

/* =========================================
   CSR CTA SECTION
   ========================================= */

.csr-cta-section {
    position: relative;
    padding: 105px 0 110px;
    overflow: hidden;
    background: #eef7fd;
}

    .csr-cta-section::before {
        content: "";
        position: absolute;
        top: -160px;
        right: -100px;
        width: 420px;
        height: 420px;
        border: 1px solid rgba(92, 142, 208, 0.18);
        border-radius: 50%;
    }

    .csr-cta-section::after {
        content: "";
        position: absolute;
        bottom: -220px;
        left: -120px;
        width: 480px;
        height: 480px;
        border: 1px solid rgba(92, 142, 208, 0.14);
        border-radius: 50%;
    }

    .csr-cta-section .container {
        position: relative;
        z-index: 2;
    }

.csr-cta-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.csr-cta-label {
    display: block;
    margin-bottom: 15px;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #5c8ed0;
}

.csr-cta-content h2 {
    margin: 0 0 20px;
    font-family: "DM Serif Display", serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.15;
    color: #173b65;
}

.csr-cta-content p {
    max-width: 650px;
    margin: 0 auto;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #71839a;
}


/* =========================================
   CTA BUTTONS
   ========================================= */

.csr-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.csr-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    padding: 13px 24px;
    border-radius: 30px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.csr-cta-btn-primary {
    color: #ffffff;
    background: #234e86;
    border: 1px solid #234e86;
}

    .csr-cta-btn-primary:hover {
        color: #ffffff;
        background: #173b65;
        border-color: #173b65;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(35, 78, 134, 0.18);
    }

.csr-cta-btn-secondary {
    color: #234e86;
    background: #ffffff;
    border: 1px solid #cbddec;
}

    .csr-cta-btn-secondary:hover {
        color: #173b65;
        background: #f7fbff;
        border-color: #9db8d4;
        transform: translateY(-3px);
    }


/* =========================================
   CTA RESPONSIVE
   ========================================= */

@media (max-width: 575px) {

    .csr-cta-section {
        padding: 75px 0 80px;
    }

    .csr-cta-content h2 {
        font-size: 38px;
    }

    .csr-cta-content p {
        font-size: 15px;
    }

    .csr-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .csr-cta-btn {
        width: 100%;
        max-width: 260px;
    }
}