* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body,
main{
    max-width:100%;
    overflow-x:hidden;
}

body {
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

.navbar {
    transition: .4s;
    padding: 20px 0;
}

.navbar.scrolled {
    background: #0f172a;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}

.nav-link {
    color: white !important;
    margin-left: 15px;
}

.hero {
    height: 100vh;
    background: url("../images/hero.png") center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(2, 6, 23, .75), rgba(15, 23, 42, .85));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero span {
    color: #ffc107;
}

.hero p {
    font-size: 1.25rem;
    margin-top: 25px;
    opacity: .95;
}

.btn-warning {
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
}

.btn-outline-light {
    border-radius: 50px;
    padding: 14px 35px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    font-size: 35px;
    animation: move 2s infinite;
    z-index: 5;
}

@keyframes move {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }

    100% {
        transform: translateY(0);
    }

}

.stats {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: .4s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card h2 {
    color: #16a34a;
    font-size: 42px;
    font-weight: 700;
}

.stat-card p {
    margin-top: 15px;
    color: #666;
    font-weight: 600;
}

@media(max-width:768px) {

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stats {
        margin-top: 40px;
    }

}


.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
}

.section-subtitle {
    color: #6b7280;
    max-width: 700px;
    margin: auto;
}


.donation-section {
    background: #f8fafc;
}

.donation-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    transition: .4s;
    height: 100%;
}

.donation-card:hover {
    transform: translateY(-12px);
}

.donation-card .icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    margin-bottom: 25px;
}

.donation-card h5 {
    color: #16a34a;
    margin-top: 20px;
    font-weight: 700;
}



.allocation-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.allocation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #e8f7ef;
    color: #16a34a;
    border-radius: 50px;
    font-weight: 600;
}

.allocation-item {
    margin-bottom: 35px;
}

.allocation-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.allocation-head div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.allocation-head span {
    font-weight: 700;
    font-size: 18px;
}

.progress {
    height: 12px;
    background: #e5edf5;
    border-radius: 50px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 50px;
    animation: grow 1.8s ease forwards;
}

.allocation-item small {
    display: block;
    margin-top: 8px;
    color: #64748b;
}

.progress-38 {
    width: 38%;
}

.progress-28 {
    width: 28%;
}

.progress-22 {
    width: 22%;
}

.progress-12 {
    width: 12%;
}

.allocation-chart {
    padding-left: 60px;
    border-left: 1px solid #e5e7eb;
}

.allocation-chart img {
    max-width: 100%;
    transition: .4s;
}

.allocation-chart img:hover {
    transform: scale(1.04);
}

@keyframes grow {
    from {
        width: 0;
    }
}

@media(max-width:991px) {
    .allocation-chart {
        padding-left: 0;
        padding-top: 50px;
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
}


.projects-section {
    background: #f8fafc;
}

.project-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    transition: .4s;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-body {
    padding: 25px;
}



.impact-section {
    padding: 100px 0;
}

.impact-section img {
    border-radius: 20px;
    transition: .5s;
}

.impact-section img:hover {
    transform: scale(1.03);
}

.impact-tag {
    display: inline-block;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.impact-section h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.impact-section p {
    color: #64748b;
    line-height: 1.9;
}

.mini-card {
    background: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .3s;
}

.mini-card:hover {
    transform: translateY(-8px);
}

.mini-card h3 {
    color: #16a34a;
    font-weight: 700;
    margin-bottom: 8px;
}

.mini-card span {
    color: #64748b;
}


.gallery-section {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 100px 0;
}

.gallery-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    transition: .35s;
    border: 1px solid rgba(0, 0, 0, .05);
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .18);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: .6s;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
    filter: brightness(.8);
}

.gallery-overlay {

    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .90),
            rgba(0, 0, 0, .15));

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: .4s;

}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5,
.gallery-overlay p,
.gallery-overlay .gallery-btn {

    transform: translateY(20px);

    transition: .4s;

}

.gallery-card:hover .gallery-overlay h5,
.gallery-card:hover .gallery-overlay p,
.gallery-card:hover .gallery-overlay .gallery-btn {

    transform: translateY(0);

}

.gallery-overlay h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: #f1f5f9;
    margin-bottom: 15px;
    font-size: 15px;
}

.gallery-content {
    padding: 20px;
}

.gallery-content h5 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.gallery-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    text-decoration: none;
    color: #fff;
    background: #16a34a;
    padding: 10px 18px;
    border-radius: 50px;
    transition: .3s;
    font-weight: 600;
}

.gallery-btn:hover {

    background: #15803d;
    color: #fff;

}

@media (max-width:991px) {

    .gallery-img {
        height: 260px;
    }

}

@media (max-width:576px) {

    .gallery-section {
        padding: 70px 0;
    }

    .gallery-img {
        height: 230px;
    }

}


.testimonial-section {
    padding: 100px 0;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

.testimonial-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}


.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    text-align: center;
}



.contact-section {

    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef7ff 100%);
    position: relative;

}

.contact-section::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right,
            rgba(22, 163, 74, .08),
            transparent 40%);
    pointer-events: none;

}

.contact-wrapper {

    position: relative;
    z-index: 2;

}

.contact-badge {

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
    border-radius: 50px;
    font-weight: 600;

}

.contact-info {

    padding-right: 60px;

}

.contact-info h3 {

    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;

}

.contact-info-text {

    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;

}

.contact-item {

    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 35px;

}

.contact-icon {

    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;

}

.contact-item h6 {

    font-weight: 700;
    margin-bottom: 6px;

}

.contact-item p {

    color: #64748b;
    margin: 0;

}

.social-icons {

    display: flex;
    gap: 15px;
    margin-top: 35px;

}

.social-icons a {

    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transition: .3s;

}

.social-icons a:hover {

    background: #16a34a;
    color: white;
    transform: translateY(-5px);

}


.contact-form {

    padding-left: 30px;

}

.contact-form .form-control {

    border: none;
    border-bottom: 2px solid #dbe4ee;
    border-radius: 0;
    background: transparent;
    padding: 18px 5px;
    box-shadow: none;
    margin-bottom: 25px;
    transition: .3s;

}

.contact-form .form-control:focus {

    border-bottom-color: #16a34a;
    background: transparent;

}

.contact-btn {

    background: #16a34a;
    color: white;
    border: none;
    padding: 15px 38px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;

}

.contact-btn:hover {

    background: #15803d;
    transform: translateY(-3px);

}

@media(max-width:991px) {

    .contact-info {

        padding-right: 0;
        margin-bottom: 50px;

    }

    .contact-form {

        padding-left: 0;

    }

}


.footer {

    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 0 25px;

}

.footer-logo {

    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;

}

.footer-text {

    line-height: 1.8;
    max-width: 400px;

}

.footer-title {

    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;

}

.footer-links,
.footer-contact {

    list-style: none;
    padding: 0;
    margin: 0;

}

.footer-links li,
.footer-contact li {

    margin-bottom: 15px;

}

.footer-links a {

    color: #cbd5e1;
    text-decoration: none;
    transition: .3s;

}

.footer-links a:hover {

    color: #22c55e;
    padding-left: 6px;

}

.footer-contact li {

    display: flex;
    align-items: flex-start;
    gap: 12px;

}

.footer-contact i {

    color: #22c55e;
    margin-top: 3px;

}

.footer-divider {

    border-color: rgba(255, 255, 255, .08);
    margin: 40px 0 20px;

}

.footer-bottom {

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

}

.footer-bottom p {

    margin: 0;
    font-size: 15px;

}

@media(max-width:768px) {

    .footer {

        text-align: center;

    }

    .footer-text {

        margin: auto;

    }

    .footer-contact li {

        justify-content: center;

    }

    .footer-bottom {

        flex-direction: column;

    }

}


#topBtn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border: none;
    background: #16a34a;
    color: white;
    border-radius: 50%;
    display: none;
    z-index: 999;
}