﻿:root {
    --ngo-green: #0b7a45;
    --ngo-green-dark: #075c35;
    --ngo-green-soft: #e9f7ef;
    --ngo-orange: #f6a21a;
    --ngo-cream: #fffaf0;
    --ngo-blue: #123c69;
    --ngo-text: #243b35;
    --ngo-muted: #667085;
    --ngo-border: #e6eadf;
    --ngo-shadow: 0 20px 55px rgba(11, 122, 69, .13);
}

/* HERO */

.home-hero {
    position: relative;
    background: #061c13;
    overflow: hidden;
}

    .home-hero .carousel,
    .home-hero .carousel-inner,
    .home-hero .carousel-item {
        height: 650px;
    }

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4, 28, 19, .94) 0%, rgba(7, 92, 53, .72) 48%, rgba(0, 0, 0, .32) 100%), radial-gradient(circle at 20% 30%, rgba(246, 162, 26, .32), transparent 32%);
}

.hero-container {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 780px;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 20px;
    backdrop-filter: blur(14px);
}

    .hero-badge i {
        color: var(--ngo-orange);
    }

.hero-content h1 {
    font-size: clamp(42px, 6vw, 82px);
    font-weight: 950;
    line-height: .98;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

    .hero-content h1 span {
        display: block;
        color: #ffd36a;
    }

.hero-content p {
    max-width: 680px;
    color: rgba(255, 255, 255, .92);
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary,
.hero-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 14px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    transition: .35s ease;
}

.hero-btn-primary {
    background: var(--ngo-green);
    color: #fff;
    box-shadow: 0 18px 35px rgba(11, 122, 69, .28);
}

    .hero-btn-primary:hover {
        background: #fff;
        color: var(--ngo-green-dark);
        transform: translateY(-4px);
    }

.hero-btn-secondary {
    background: linear-gradient(135deg, var(--ngo-orange), #ffd36a);
    color: #2d1c00;
    box-shadow: 0 18px 35px rgba(246, 162, 26, .28);
}

    .hero-btn-secondary:hover {
        color: #2d1c00;
        transform: translateY(-4px);
    }

.hero-btn-light {
    border: 2px solid rgba(255, 255, 255, .42);
    color: #fff;
}

    .hero-btn-light:hover {
        background: #fff;
        color: var(--ngo-green-dark);
    }

.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    z-index: 8;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
    background-size: 20px;
}

.carousel-indicators {
    z-index: 9;
    margin-bottom: 32px;
}

    .carousel-indicators button {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50%;
    }

/* IMPACT STRIP */

.impact-strip {
    position: relative;
    z-index: 20;
    margin-top: -70px;
    padding-bottom: 50px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.impact-box {
    background: #fff;
    border: 1px solid var(--ngo-border);
    border-radius: 26px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--ngo-shadow);
    position: relative;
    overflow: hidden;
    transition: .35s ease;
}

    .impact-box::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 5px;
        background: linear-gradient(90deg, var(--ngo-green), var(--ngo-orange));
    }

    .impact-box i {
        width: 58px;
        height: 58px;
        margin: 0 auto 14px;
        border-radius: 50%;
        background: var(--ngo-green-soft);
        color: var(--ngo-green);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .impact-box strong {
        display: block;
        color: var(--ngo-green-dark);
        font-size: 36px;
        font-weight: 950;
        line-height: 1;
    }

    .impact-box span {
        display: block;
        margin-top: 9px;
        color: var(--ngo-muted);
        font-weight: 700;
    }

    .impact-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 28px 70px rgba(11, 122, 69, .18);
    }

/* COMMON */

.home-section {
    padding: 85px 0;
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 55px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ngo-green-soft);
    color: var(--ngo-green-dark);
    border: 1px solid rgba(11, 122, 69, .14);
    padding: 9px 17px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
}

.section-heading h2,
.section-title {
    color: var(--ngo-green-dark);
    font-size: clamp(32px, 4.5vw, 58px);
    font-weight: 950;
    line-height: 1.08;
    margin-bottom: 16px;
}

.section-heading p,
.section-text {
    color: var(--ngo-muted);
    font-size: 17px;
    line-height: 1.9;
}

/* ABOUT */

.about-home {
    background: radial-gradient(circle at top left, rgba(246, 162, 26, .14), transparent 32%), #fff;
}

.about-image-card {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--ngo-shadow);
}

    .about-image-card img {
        width: 100%;
        min-height: 440px;
        object-fit: cover;
        transition: .8s ease;
    }

    .about-image-card:hover img {
        transform: scale(1.07);
    }

.official-card {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: calc(100% - 48px);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .7);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 18px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 5px 14px;
    align-items: center;
}

    .official-card i {
        grid-row: span 2;
        width: 52px;
        height: 52px;
        background: var(--ngo-green);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .official-card strong {
        color: var(--ngo-green-dark);
        font-weight: 950;
    }

    .official-card span {
        color: var(--ngo-muted);
        font-size: 13px;
        font-weight: 700;
    }

.about-points {
    display: grid;
    gap: 13px;
    margin: 25px 0;
}

    .about-points div {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #fff;
        border: 1px solid var(--ngo-border);
        border-radius: 16px;
        padding: 14px 16px;
        color: var(--ngo-text);
        font-weight: 800;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .04);
    }

    .about-points i {
        color: var(--ngo-green);
    }

.about-more {
    max-height: 0;
    overflow: hidden;
    transition: .45s ease;
}

    .about-more.active {
        max-height: 260px;
    }

    .about-more p {
        color: var(--ngo-muted);
        line-height: 1.8;
    }

.read-toggle {
    border: 0;
    background: var(--ngo-green);
    color: #fff;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .read-toggle:hover {
        background: var(--ngo-green-dark);
    }

/* SERVICE */

.help-section {
    background: var(--ngo-cream);
}

.service-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ngo-border);
    border-radius: 30px;
    padding: 36px 30px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
    transition: .4s ease;
}

    .service-card::after {
        content: "";
        position: absolute;
        right: -50px;
        top: -50px;
        width: 140px;
        height: 140px;
        background: var(--ngo-green-soft);
        border-radius: 50%;
    }

.service-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--ngo-green), var(--ngo-green-dark));
    color: #fff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.service-card h4 {
    color: var(--ngo-green-dark);
    font-size: 24px;
    font-weight: 950;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--ngo-muted);
    line-height: 1.85;
    position: relative;
    z-index: 2;
}

.service-card a {
    color: var(--ngo-green);
    font-weight: 900;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--ngo-shadow);
}

/* SCHEME */

.schemes-section {
    padding: 85px 0;
    background: linear-gradient(135deg, rgba(7, 92, 53, .94), rgba(18, 60, 105, .94)), url("/assets/images/slide1.jpg") center/cover fixed;
}

    .schemes-section .section-heading h2,
    .schemes-section .section-heading p {
        color: #fff;
    }

    .schemes-section .section-badge {
        background: rgba(255, 255, 255, .12);
        color: #fff;
        border-color: rgba(255, 255, 255, .25);
    }

.schemes-card {
    height: 100%;
    background: rgba(255, 255, 255, .96);
    border-radius: 30px;
    padding: 34px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, .17);
    position: relative;
    overflow: hidden;
    transition: .35s ease;
}

    .schemes-card:hover {
        transform: translateY(-10px);
    }

.schemes-tag {
    display: inline-block;
    background: rgba(246, 162, 26, .16);
    color: #8a5200;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 20px;
}

.schemes-card > i {
    display: block;
    color: var(--ngo-green);
    font-size: 48px;
    margin-bottom: 20px;
}

.schemes-card h4 {
    color: var(--ngo-green-dark);
    font-weight: 950;
    font-size: 25px;
}

.schemes-card p {
    color: var(--ngo-muted);
    line-height: 1.8;
}

.schemes-card a,
.track-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--ngo-orange);
    color: #2d1c00;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 900;
}

    .schemes-card a:hover,
    .track-btn:hover {
        color: #2d1c00;
        transform: translateY(-3px);
    }

/* PROCESS */

.process-section {
    padding: 85px 0;
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-card {
    position: relative;
    background: var(--ngo-cream);
    border: 1px solid var(--ngo-border);
    border-radius: 28px;
    padding: 30px 24px;
    overflow: hidden;
    transition: .35s ease;
}

    .process-card span {
        position: absolute;
        right: 22px;
        top: 18px;
        font-size: 42px;
        font-weight: 950;
        color: rgba(11, 122, 69, .12);
    }

    .process-card i {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        background: var(--ngo-green);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        margin-bottom: 20px;
    }

    .process-card h4 {
        color: var(--ngo-green-dark);
        font-size: 22px;
        font-weight: 950;
        margin-bottom: 12px;
    }

    .process-card p {
        color: var(--ngo-muted);
        line-height: 1.75;
        margin-bottom: 0;
    }

    .process-card:hover {
        background: #fff;
        transform: translateY(-10px);
        box-shadow: var(--ngo-shadow);
    }

/* PROGRAM */

.initiative-section {
    padding: 85px 0;
    background: var(--ngo-cream);
}

.program-card {
    height: 470px;
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--ngo-shadow);
}

    .program-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .9s ease;
    }

    .program-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(transparent 10%, rgba(4, 28, 19, .92));
    }

    .program-card:hover img {
        transform: scale(1.12);
    }

.program-content {
    position: absolute;
    inset: auto 0 0;
    padding: 30px;
    z-index: 2;
    color: #fff;
}

    .program-content span {
        display: inline-block;
        background: var(--ngo-orange);
        color: #2d1c00;
        padding: 7px 15px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 950;
        margin-bottom: 15px;
    }

    .program-content h4 {
        font-size: 30px;
        font-weight: 950;
        margin-bottom: 12px;
    }

    .program-content p {
        color: rgba(255, 255, 255, .86);
        line-height: 1.7;
    }

    .program-content a {
        color: #ffd36a;
        font-weight: 900;
        text-decoration: none;
    }

/* MISSION */

.mission-section {
    padding: 85px 0;
    background: #fff;
}

.mission-card {
    height: 100%;
    border-radius: 34px;
    padding: 42px;
    background: #fff;
    border: 1px solid var(--ngo-border);
    box-shadow: var(--ngo-shadow);
}

    .mission-card.green-card {
        background: linear-gradient(135deg, var(--ngo-green), var(--ngo-green-dark));
        color: #fff;
    }

        .mission-card.green-card .section-badge {
            background: rgba(255, 255, 255, .14);
            color: #fff;
            border-color: rgba(255, 255, 255, .2);
        }

    .mission-card h3 {
        font-size: clamp(30px, 4vw, 48px);
        font-weight: 950;
        line-height: 1.1;
        color: var(--ngo-green-dark);
        margin-bottom: 18px;
    }

    .mission-card.green-card h3 {
        color: #fff;
    }

    .mission-card p {
        color: var(--ngo-muted);
        line-height: 1.9;
        font-size: 17px;
    }

    .mission-card.green-card p {
        color: rgba(255, 255, 255, .85);
    }

.mission-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px;
}

    .mission-stats div {
        flex: 1;
        min-width: 150px;
        background: var(--ngo-green-soft);
        border-radius: 20px;
        padding: 18px;
    }

.green-card .mission-stats div {
    background: rgba(255, 255, 255, .12);
}

.mission-stats strong {
    display: block;
    color: var(--ngo-green-dark);
    font-size: 30px;
    font-weight: 950;
}

.green-card .mission-stats strong {
    color: #ffd36a;
}

.mission-stats span {
    color: var(--ngo-muted);
    font-weight: 800;
}

.green-card .mission-stats span {
    color: rgba(255, 255, 255, .84);
}

/* NOTICE */

.notice-section {
    padding: 45px 0;
    background: var(--ngo-cream);
}

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 1px solid rgba(246, 162, 26, .35);
    border-left: 6px solid var(--ngo-orange);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
}

    .notice-box > i {
        width: 52px;
        height: 52px;
        background: rgba(246, 162, 26, .16);
        color: #8a5200;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .notice-box h4 {
        color: var(--ngo-green-dark);
        font-weight: 950;
        margin-bottom: 8px;
    }

    .notice-box p {
        color: var(--ngo-muted);
        margin: 0;
        line-height: 1.8;
    }

/* CTA */

.cta-section {
    padding: 90px 0;
    background: radial-gradient(circle at top right, rgba(246, 162, 26, .26), transparent 30%), linear-gradient(135deg, #041c13, #075c35 55%, #123c69);
}

.cta-box {
    max-width: 920px;
    margin: auto;
    text-align: center;
    color: #fff;
}

    .cta-box span {
        display: inline-block;
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .22);
        padding: 9px 18px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 950;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .cta-box h2 {
        font-size: clamp(36px, 5vw, 68px);
        font-weight: 950;
        line-height: 1.05;
        margin-bottom: 18px;
    }

    .cta-box p {
        color: rgba(255, 255, 255, .86);
        max-width: 760px;
        margin: 0 auto 34px;
        font-size: 18px;
        line-height: 1.9;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-donate,
.cta-volunteer,
.cta-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 14px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 950;
}

.cta-donate {
    background: linear-gradient(135deg, var(--ngo-orange), #ffd36a);
    color: #2d1c00;
}

.cta-volunteer {
    background: #fff;
    color: var(--ngo-green-dark);
}

.cta-apply {
    border: 2px solid rgba(255, 255, 255, .32);
    color: #fff;
}

    .cta-donate:hover,
    .cta-volunteer:hover,
    .cta-apply:hover {
        transform: translateY(-4px);
    }

/* RESPONSIVE */

@media (max-width: 991px) {
    .home-hero .carousel,
    .home-hero .carousel-inner,
    .home-hero .carousel-item {
        height: 720px;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 60px;
    }

    .impact-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-card {
        height: 430px;
    }
}

@media (max-width: 768px) {
    .home-hero .carousel,
    .home-hero .carousel-inner,
    .home-hero .carousel-item {
        height: 700px;
    }

    .hero-content {
        padding: 0 10px;
    }

        .hero-content h1 {
            letter-spacing: -1px;
        }

        .hero-content p {
            font-size: 15px;
        }

    .hero-buttons a,
    .cta-buttons a {
        width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .impact-strip {
        margin-top: 0;
        padding: 30px 0;
        background: #fff;
    }

    .impact-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .home-section,
    .scheme-section,
    .initiative-section,
    .mission-section,
    .process-section,
    .cta-section {
        padding: 62px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .about-image-card img {
        min-height: 320px;
    }

    .official-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        border-radius: 0;
    }

    .service-card,
    .scheme-card,
    .mission-card,
    .process-card {
        padding: 28px;
    }

    .program-card {
        height: 390px;
    }

    .program-content h4 {
        font-size: 25px;
    }

    .notice-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 420px) {
    .home-hero .carousel,
    .home-hero .carousel-inner,
    .home-hero .carousel-item {
        height: 680px;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .impact-box strong {
        font-size: 31px;
    }

    .program-card {
        height: 365px;
    }
}
