/* ==========================================
   Hanumat Kripa Foundation - Impact Page
========================================== */



/* =========================================================
   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;
}


/* General */

.section {
    padding: 85px 0;
}

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

.title {
    color: #082d52;
    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: 780px;
    margin: -25px auto 20px;
    text-align: center;
    color: #666;
}

.intro-block {
    max-width: 980px;
}

.intro-note {
    max-width: 780px;
    margin: 20px auto 0;
    padding: 17px 20px;
    border-left: 4px solid #ff9800;
    background: #f5f8fc;
    color: #555;
}

/* Impact Numbers */

.impact-numbers {
    padding: 85px 0;
    background: #f5f8fc;
}

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

.impact-card {
    background: #fff;
    padding: 30px 22px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,.07);
    border: 1px solid #edf1f6;
    transition: .3s;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 27px rgba(0,0,0,.1);
}

.impact-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #0b5cab;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

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

.impact-card p {
    color: #082d52;
    font-weight: 600;
    margin-bottom: 7px;
}

.impact-card span {
    color: #777;
    font-size: 12px;
}

/* Impact Areas */

.impact-area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.area-card {
    padding: 32px;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,.06);
    transition: .3s;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(0,0,0,.1);
}

.area-number {
    color: #ff9800;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
}

.area-card h3 {
    color: #082d52;
    font-size: 23px;
    margin-bottom: 10px;
}

.area-card > p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.area-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 16px;
    border-top: 1px solid #e7edf3;
}

.area-highlight strong {
    color: #0b5cab;
    font-size: 26px;
}

.area-highlight span {
    color: #666;
    font-size: 13px;
}

/* Meaning */

.light-section {
    background: #f5f8fc;
}

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

.meaning-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,.06);
    text-align: center;
}

.meaning-card span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ff9800;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.meaning-card h3 {
    color: #082d52;
    font-size: 19px;
    margin-bottom: 8px;
}

.meaning-card p {
    color: #666;
    font-size: 13px;
}

/* Future */

.future-section {
    background: #fff;
}

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

.two-column > div > p {
    color: #555;
    margin-bottom: 15px;
}

.goal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.goal-list div {
    background: #f5f8fc;
    padding: 15px 18px;
    border-radius: 8px;
    color: #555;
    font-size: 14px;
}

.goal-list span {
    color: #137a46;
    font-weight: 700;
    margin-right: 8px;
}

/* Transparency */

.transparency-section {
    padding: 75px 0;
    background: #eef5fa;
    text-align: center;
}

.transparency-section h2 {
    color: #082d52;
    font-size: 30px;
    margin-bottom: 14px;
}

.transparency-section p:not(.section-label) {
    max-width: 800px;
    margin: 0 auto 25px;
    color: #666;
}

/* CTA */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(120deg, #082d52, #0b5cab);
    color: #fff;
    text-align: center;
}

.cta-section .section-label {
    color: #ffd54f;
}

.cta-section h2 {
    font-size: 34px;
    line-height: 1.35;
    margin-bottom: 15px;
}

.cta-section > .container > p:not(.section-label) {
    max-width: 750px;
    margin: 0 auto 28px;
    opacity: .92;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 13px 27px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: #ff9800;
    color: #fff;
}

.btn-primary:hover {
    background: #ffb300;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #0b3f7f;
}

.btn-light-outline {
    border: 2px solid rgba(255,255,255,.8);
    color: #fff;
}

.btn-light-outline:hover {
    background: #fff;
    color: #0b3f7f;
}

/* Footer */

.footer {
    background: #061f38;
    color: #fff;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer p {
    color: #c7d3df;
    max-width: 430px;
    font-size: 14px;
}

.footer a {
    display: block;
    color: #c7d3df;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer a:hover {
    color: #ffd54f;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 18px 20px;
    color: #b7c5d3;
    font-size: 13px;
}

/* Scroll Top */

#topBtn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #ff9800;
    color: #fff;
    font-size: 21px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1000;
}

#topBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Animation */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Responsive */

@media (max-width: 1100px) {
    nav ul {
        gap: 14px;
    }

    nav a {
        font-size: 13px;
    }

    .donate-btn {
        padding: 10px 17px;
    }

    .page-hero h1 {
        font-size: 45px;
    }

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

@media (max-width: 900px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .donate-btn {
        display: none;
    }

    #navbar.show {
        display: block;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #0b3f7f;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
    }

    #navbar.show ul {
        flex-direction: column;
        gap: 0;
    }

    #navbar.show li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    #navbar.show a {
        display: block;
        padding: 12px 5px;
    }

    .page-hero {
        min-height: 58vh;
    }

    .page-hero h1 {
        font-size: 40px;
    }

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

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

@media (max-width: 600px) {
    .container {
        width: 92%;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .logo h2 {
        font-size: 16px;
    }

    .logo span {
        font-size: 9px;
    }

    .page-hero {
        min-height: 62vh;
        padding-top: 110px;
    }

    .page-hero h1 {
        font-size: 33px;
    }

    .page-hero p:not(.eyebrow) {
        font-size: 16px;
    }

    .section,
    .impact-numbers {
        padding: 65px 0;
    }

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

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

    .area-card,
    .impact-card,
    .meaning-card {
        padding: 27px 22px;
    }

    .cta-section h2 {
        font-size: 27px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #topBtn {
        right: 18px;
        bottom: 18px;
    }
}


/* updated 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;
    }
}
