/* =========================================================
   KARUNA PREM
   CSR PARTNERS PAGE
========================================================= */


/* =========================================================
   KARUNA PREM - CSR PARTNERS PAGE
========================================================= */


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

.csr-hero {

    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(8, 43, 78, 0.90),
            rgba(8, 43, 78, 0.58),
            rgba(8, 43, 78, 0.15)
        ),
        url("../images/csr-hero.jpg")
        center / cover no-repeat;

}


.csr-hero-content {

    position: relative;

    z-index: 2;

    max-width: 760px;

    padding: 90px 0;

}


.csr-hero-tag {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 22px;

    padding: 8px 15px;

    border:
        1px solid
        rgba(255,255,255,0.3);

    border-radius: 30px;

    color: #ffffff;

    background:
        rgba(255,255,255,0.10);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.csr-hero-tag::before {

    content: "";

    width: 8px;

    height: 8px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f4a62a;

}


.csr-hero h1 {

    margin: 0 0 22px;

    color: #ffffff;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(44px, 6vw, 68px);

    line-height: 1.08;

    font-weight: 600;

}


.csr-hero p {

    max-width: 650px;

    margin: 0;

    color:
        rgba(255,255,255,0.90);

    font-size: 17px;

    line-height: 1.8;

}


/* =========================================================
   PARTNERS SECTION
========================================================= */

.partners-section {

    padding: 105px 0;

    background: #f5f8fc;

}


/* =========================================================
   PARTNERS HEADING
========================================================= */

.partners-heading {

    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;

}


.partners-heading .section-label {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 17px;

    padding: 8px 15px;

    border-radius: 22px;

    background: #eaf3fc;

    border: 1px solid #d5e7f7;

    color: #1763ad;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    line-height: 1.2;

}


.partners-heading .section-label::before {

    content: "";

    width: 8px;

    height: 8px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f2a51a;

}


.partners-heading .section-title {

    margin: 0 0 18px;

}


.partners-heading > p {

    max-width: 680px;

    margin: 0 auto;

    color: #687b90;

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   PARTNERS GRID
========================================================= */

.partners-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 24px;

}


/* =========================================================
   PARTNER CARD
========================================================= */

.partner-card {

    min-height: 285px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 32px 25px;

    border:
        1px solid
        #e0e8ef;

    border-radius: 18px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 8px 25px
        rgba(20,55,90,0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}


.partner-card:hover {

    transform: translateY(-6px);

    border-color: #d3e2ef;

    box-shadow:
        0 18px 40px
        rgba(20,55,90,0.09);

}


/* =========================================================
   PARTNER LOGO
   NO CIRCULAR BACKGROUND / BORDER
========================================================= */

.partner-logo {

    width: 110px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 22px;

    background: transparent;

    border: none;

    border-radius: 0;

    overflow: visible;

}


/* =========================================================
   PARTNER LOGO IMAGE
========================================================= */

.partner-logo img {

    display: block;

    width: auto;

    height: auto;

    max-width: 100px;

    max-height: 90px;

    object-fit: contain;

}


/* =========================================================
   PARTNER INITIALS
========================================================= */

.partner-initials {

    color: #1763ad;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 25px;

    font-weight: 700;

    letter-spacing: 0.5px;

}


/* =========================================================
   PARTNER CONTENT
========================================================= */

.partner-content {

    width: 100%;

}


.partner-content h3 {

    margin: 0 0 9px;

    color: #1e2e41;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 19px;

    font-weight: 600;

    line-height: 1.35;

}


.partner-content p {

    max-width: 245px;

    margin: 0 auto;

    color: #718196;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 13px;

    line-height: 1.65;

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .partners-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 22px;

    }


    .csr-intro-grid,
    .partnership-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .csr-hero {

        min-height: 430px;

    }


    .csr-hero-content {

        padding: 65px 0;

    }


    .csr-hero h1 {

        font-size: 40px;

    }


    .csr-hero p {

        font-size: 15px;

    }


    .partners-section,
    .partnership-section {

        padding: 70px 0;

    }


    .partners-heading {

        margin-bottom: 40px;

    }


    .partners-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .partner-card {

        min-height: 260px;

    }


    .partner-logo {

        width: 82px;

        height: 82px;

    }


    .partner-content h3 {

        font-size: 18px;

    }


    .partnership-image {

        height: 390px;

    }


    .csr-cta {

        padding: 70px 0;

    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .csr-hero h1 {

        font-size: 36px;

    }


    .partner-card {

        padding:
            28px 20px;

    }


    .partner-logo {

        width: 78px;

        height: 78px;

        margin-bottom: 18px;

    }


    .partner-initials {

        font-size: 22px;

    }


    .partner-content h3 {

        font-size: 17px;

    }


    .partner-content p {

        font-size: 12px;

    }


    .partnership-image {

        height: 320px;

    }

}


/* =========================================================
   CSR INTRO - SECTION SPACING
========================================================= */

.csr-intro {

    padding-top: 105px !important;

    padding-bottom: 105px !important;

}