/* =========================================================
   HANUMAT KRIPA FOUNDATION
   HOME PAGE CSS
   ---------------------------------------------------------
   The header/menu is in common.css.
   This file contains the Home hero and all Home-only content.
========================================================= */

/* =========================================================
   HERO SECTION — NEW DESIGN
========================================================= */

.home-hero {
    min-height: 650px;
    padding-top: 84px;
    background: #f7f9fc;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;
    min-height: 566px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 55px 30px 55px 0;
}

.hero-label {
    color: #c62828;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.hero-content h1 {
    color: #173d70;
    font-size: 52px;
    line-height: 1.18;
    margin-bottom: 22px;
}

.hero-content h1 span {
    display: block;
    color: #173d70;
}

.hero-description {
    max-width: 580px;
    color: #526276;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 520px;
    width: 100%;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
    box-shadow: -15px 15px 35px rgba(0,0,0,.10);
}

.hero-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25%;
    z-index: 1;
    background: linear-gradient(
        to right,
        #f7f9fc,
        rgba(247,249,252,0)
    );
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   INTRODUCTION
========================================================= */

.section {
    padding: 85px 0;
}

.section-label {
    color: #c62828;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.title {
    color: #173d70;
    text-align: center;
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 45px;
}

.title.left {
    text-align: left;
    margin-bottom: 20px;
}

.section-intro {
    max-width: 760px;
    margin: -25px auto 40px;
    text-align: center;
    color: #666;
}

.intro-section {
    background: #fff;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.two-column p {
    margin-bottom: 16px;
    color: #555;
}

.text-link {
    display: inline-block;
    margin-top: 16px;
    color: #c62828;
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover {
    color: #a91f1f;
}

/* =========================================================
   IMPACT
========================================================= */

.impact-section {
    background: #f5f8fc;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-card {
    background: #fff;
    padding: 32px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
    border: 1px solid #e7edf3;
}

.impact-card h3 {
    color: #c62828;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.impact-card p {
    color: #555;
    font-size: 14px;
}

.center-btn {
    text-align: center;
    margin-top: 35px;
}

/* =========================================================
   PROGRAMS / FOCUS AREAS
========================================================= */

.programs-section {
    background: #fff;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.program-card {
    position: relative;
    display: block;
    padding: 30px;
    min-height: 235px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
    border: 1px solid #edf1f6;
    transition: .3s;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .11);
}

.program-number {
    color: #c62828;
    font-size: 13px;
    font-weight: 700;
}

.program-card h3 {
    color: #173d70;
    font-size: 20px;
    line-height: 1.35;
    margin: 10px 0 12px;
}

.program-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    color: #c62828;
    font-size: 13px;
    font-weight: 600;
}

/* =========================================================
   WHY SUPPORT
========================================================= */

.support-section {
    background: #f5f8fc;
}

.support-buttons {
    margin-top: 25px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.check-list div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    padding: 17px 20px;
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.check-list span {
    color: #137a46;
    font-size: 20px;
    font-weight: 700;
}

.check-list p {
    margin: 0;
}

/* =========================================================
   GET INVOLVED
========================================================= */

.involvement-section {
    background: #fff;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.involvement-card {
    padding: 32px;
    text-decoration: none;
    background: #f5f8fc;
    border-radius: 12px;
    border: 1px solid #e8eef5;
    transition: .3s;
}

.involvement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.involvement-card h3 {
    color: #173d70;
    font-size: 23px;
    margin-bottom: 10px;
}

.involvement-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}

.involvement-card span {
    color: #c62828;
    font-weight: 600;
    font-size: 14px;
}

/* =========================================================
   PROMISE
========================================================= */

.promise-section {
    padding: 75px 0;
    background: linear-gradient(120deg, #173d70, #245c91);
    color: #fff;
    text-align: center;
}

.promise-section .section-label {
    color: #f5c542;
}

.promise-section h2 {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 28px;
    line-height: 1.5;
}

.promise-section p {
    opacity: .9;
}

/* =========================================================
   HOME RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .two-column {
        gap: 45px;
    }

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

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

@media (max-width: 1050px) {
    .hero-content h1 {
        font-size: 44px;
    }

    .hero-description {
        font-size: 15px;
    }
}

@media (max-width: 800px) {
    .home-hero {
        padding-top: 74px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 65px 0 40px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 430px;
        border-radius: 16px;
        margin-bottom: 45px;
    }

    .hero-image::before {
        display: none;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

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

    .involvement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 65px 0;
    }

    .title {
        font-size: 29px;
        margin-bottom: 32px;
    }

    .title.left {
        text-align: left;
    }

    .program-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-card {
        padding: 25px 18px;
    }

    .promise-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 550px) {
    .hero-content h1 {
        font-size: 35px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .hero-image {
        height: 330px;
    }
}
