body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    padding-top: 150px; /* header + nav */
}

/* Language */
.lang {
    text-align: right;
    padding: 10px;
}

/* HEADER */
header {
    background: #1f3a5f;
    color: white;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* NAVIGATION */
nav {
    background: #16324f;
    padding: 12px;
    text-align: center;

    position: fixed;
    top: 100px; /* MUST be >= header height */
    width: 100%;

    z-index: 1100; /* HIGHER than header */
}

/* WHEN SCROLL */
header.scrolled {
    padding: 5px 10px;
}

/* MOVE NAV UP */
nav.scrolled {
    top: 60px; /* new smaller header height */
}

nav a {
    color: white;
    margin: 15px;
    text-decoration: none;
    font-weight: bold;
}



/* Sections */
section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: auto;
}

/* Cards */
.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Card images */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Card text */
.card p {
    padding: 15px;
}

/* Footer */
footer {
    background: #1f3a5f;
    color: white;
    text-align: center;
    padding: 15px;
}

/* WhatsApp */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
}
/* NAV HOVER */
nav a:hover {
    color: #f1c40f;
    transition: 0.3s;
}

/* CARD HOVER EFFECT */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* IMAGE ZOOM */
.card img {
    transition: transform 0.4s;
}

.card:hover img {
    transform: scale(1.05);
}
/* ANIMATION BASE */
.fade-in {
	opacity: 1;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.card {
    position: relative;
    cursor: pointer;
}

/* Overlay */
.card::after {
    content: "Learn More";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: 0.3s;
}

/* Show overlay on hover */
.card:hover::after {
    opacity: 1;
}

/* MODAL BACKGROUND */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

/* MODAL BOX */
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    animation: fadeIn 0.4s ease;
}

/* CLOSE BUTTON */
.close {
    float: right;
    font-size: 25px;
    cursor: pointer;
}

/* ANIMATION */
@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.8);}
    to {opacity: 1; transform: scale(1);}
}
/* Active menu */
nav a.active {
    color: #f1c40f;
    border-bottom: 2px solid #f1c40f;
}



/* HEADER LAYOUT */
.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 20px;
}
.logo {
    width: 70px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.1);
}



/* TEXT NEXT TO LOGO */
.header-text h1 {
    margin: 0;
    color: white;
}

.header-text p {
    margin: 0;
    color: #ddd;
	font-size: 14px;
    opacity: 0.9;
}
.header-text {
    display: flex;
    flex-direction: column;
}
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
}
/* GALLERY GRID */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* ITEM */
.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

/* IMAGE */
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* TEXT */
.gallery-item h3 {
    margin: 10px;
}

.gallery-item p {
    margin: 10px;
    font-size: 14px;
}
/* IMAGE MODAL */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

/* IMAGE INSIDE MODAL */
.modal-img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    animation: zoomIn 0.4s;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* ANIMATION */
@keyframes zoomIn {
    from {transform: scale(0.7);}
    to {transform: scale(1);}
}
.gallery-item img {
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item img:hover {
    opacity: 0.85;
}
/* HERO */
.donate-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url("images/community.jpg");
    color: white;
    text-align: center;
    padding: 100px 20px;
}

/* INFO */
.donate-info {
    padding: 40px;
    text-align: center;
}

/* IMPACT */
.impact {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: #f8f9fb;
    padding: 60px 20px;
}

/* METHODS */
.donation-methods {
    padding: 40px;
    text-align: center;
}

.methods {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.method {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
}

/* CTA */
.donate-cta {
    text-align: center;
    padding: 60px;
    background: #1f3a5f;
    color: white;
}

.donate-btn {
    padding: 12px 25px;
    background: #f1c40f;
    color: black;
    text-decoration: none;
    border-radius: 5px;
}
/* DONATE BUTTON IN NAV */
.donate-nav {
    background: #f1c40f;
    color: black !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 10px;
    transition: 0.3s;
}

/* HOVER EFFECT */
.donate-nav:hover {
    background: #d4ac0d;
    transform: scale(1.05);
	animation: none;
    }
.donate-nav {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	background: #f1c40f;
    color: black !important;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    margin-left: 10px;
    transition: 0.3s;

    animation: pulse 5s infinite;
}
/* PULSE ANIMATION */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 10px rgba(241, 196, 15, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
    }
}
html {
    scroll-behavior: smooth;
}


/* TEXT ABOVE */


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* SLIDES */
.slides {
    position: relative;
    width: 100vw !important;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide img {
    width: 100vw !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.slide {
    width: 100vw !important;
}

/* ACTIVE */
.slide.active {
    opacity: 1;
}

/* ARROWS */
.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3;
}

.prev { left: 10px; }
.next { right: 10px; }

/* DOTS */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dots span {
    height: 12px;
    width: 12px;
    background: white;
    display: inline-block;
    border-radius: 50%;
    margin: 5px;
    opacity: 0.5;
    cursor: pointer;
}

.dots span.active {
    opacity: 1;
}
section h3 {
    color: #1f3a5f;
    margin-top: 30px;
}

section ul {
    margin-top: 10px;
    padding-left: 20px;
}
/* TEAM SECTION */
/* TEAM SECTION */
.team {
    text-align: center;
    padding: 70px 20px;
    background: #f8f9fc;
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: white;
    width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card h3 {
    margin-top: 20px;
    color: #1f3a5f;
}

.team-card h4 {
    color: #f1c40f;
    margin: 10px 0;
    font-size: 16px;
}

.team-card p {
    padding: 0 20px 25px;
    color: #555;
}
/* IMAGE */
.team-card img {
    width: 90%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

/* NAME */

/* ROLE */


/* HOVER EFFECT */
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* PROJECTS */
.projects {
    text-align: center;
    padding: 60px 20px;
}

/* GRID */
.project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

/* CARD */
.project-card {
    width: 260px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: left;
}

/* IMAGE */
.project-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* TEXT */
.project-card h3 {
    margin: 15px;
}

.project-card p {
    margin: 0 15px 10px;
    font-size: 14px;
}

.project-card ul {
    margin: 10px 20px 20px;
    font-size: 14px;
}

/* HOVER */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* IMPACT SECTION */
.impact {
    text-align: center;
    padding: 60px 20px;
    background: #f4f4f4;
}

/* GRID */
.impact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* CARD */
.impact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
   }

.impact-card:hover {
    transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* NUMBER */
.impact-card h3 {
    font-size: 32px;
    color: #1f3a5f;
}

/* TEXT */
.impact-card p {
    margin-top: 10px;
}
.impact h2 {
    text-align: center;
    margin-bottom: 30px;
}
.counter {
    font-size: 40px;
    font-weight: bold;
    color: #1f3a5f;
}
/* contact*/
/* CONTACT MAIN LAYOUT */
.contact-main {
    display: flex;
    gap: 50px;
    padding: 80px 10%;
    align-items: flex-start;
}

/* LEFT SIDE */
.contact-left {
    flex: 1;
}

.contact-left h2 {
    color: #1f3a5f;
}

/* RIGHT SIDE */
.contact-right {
    flex: 1;
    background: #f8f8f8;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* CONTACT CARDS */
.contact-card {
    background: white;
    padding: 25px;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* FORM */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.contact-form button {
    width: 100%;
    background: #1f3a5f;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background: #f1c40f;
    color: black;
}

/* WHATSAPP */
.whatsapp-contact {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 900px) {

    .contact-main {
        flex-direction: column;
    }

    .contact-right {
        width: 100%;
    }
}

/* MAP */
.map {
    margin-top: 40px;
}

/* WHATSAPP BUTTON */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 22px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: 0.3s;
    animation: whatsappPulse 2s infinite;
}

.whatsapp:hover {
    animation: none;
    transform: scale(1.1);
}
/* PULSE ANIMATION */
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* CONTAINER */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

/* TOOLTIP */
.wa-tooltip {
    position: absolute;
    right: 60px;
    bottom: 50%;
    transform: translateY(50%);
    background: #1f3a5f;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 13px;
    opacity: 0;
    white-space: nowrap;
    transition: 0.3s;
}

/* SHOW TOOLTIP ON HOVER */
.whatsapp-container:hover .wa-tooltip {
    opacity: 1;
    right: 70px;
}

/* WHATSAPP BUTTON */
.whatsapp {
    background: #25D366;
    color: white;
    font-size: 22px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);

    animation: whatsappPulse 2s infinite;
}
/* UPCOMING PROJECTS */
.upcoming-projects {
    padding: 80px 20px;
    text-align: center;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

.project-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-card {
    background: white;
    width: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.project-card h3 {
    color: #1f3a5f;
    padding: 15px 20px 5px;
}

.project-card p {
    padding: 0 20px 20px;
}

.project-status {
    display: inline-block;
    background: #f1c40f;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}
/* =========================
   PREMIUM FOOTER
========================= */

.footer {
    background: #102844;
    color: white;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column h3 {
    color: #f1c40f;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column p,
.footer-column li,
.footer-column a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.8;
    font-size: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a:hover {
    color: #f1c40f;
    transition: 0.3s ease;
}

/* COPYRIGHT */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 40px;
    padding-top: 20px;
    color: #bbb;
    font-size: 14px;
}



/* ==================================
   MOBILE RESPONSIVENESS FIX
================================== */
@media screen and (max-width: 900px) {

    /* BODY */
    body {
        padding-top: 190px;
    }

    /* HEADER */
    header {
        padding: 15px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo {
        width: 60px;
    }

    .header-text h1 {
        font-size: 22px;
    }

    .header-text p {
        font-size: 13px;
    }

    /* NAVIGATION */
    nav {
        top: 130px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
        gap: 5px;
    }

    nav.scrolled {
        top: 90px;
    }

    nav a {
        margin: 5px;
        font-size: 14px;
    }


    /* BUTTONS */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    /* TEAM */
    .team-cards {
        flex-direction: column;
        align-items: center;
    }

    .team-card {
        width: 95%;
    }

    .team-card img {
        height: auto;
    }

    /* PROJECTS */
    .project-cards {
        flex-direction: column;
        align-items: center;
    }

    .project-card {
        width: 95%;
    }

    /* IMPACT */
    .impact-cards {
        flex-direction: column;
        align-items: center;
    }

    .impact-card {
        width: 90%;
    }

    /* CONTACT */
    .contact-main {
        flex-direction: column;
        padding: 40px 20px;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    /* GALLERY */
    .gallery {
        grid-template-columns: 1fr;
    }

    /* FOOTER */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 25px;
    }

    /* MAP */
    iframe {
        height: 300px;
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    max-width: 100% !important;   /* override global section max-width: 1100px */
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin: 0 !important;         /* override global section margin: auto */
    padding: 0 !important;        /* override global section padding */
    left: 0;
    right: 0;
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* HERO CONTENT */
.hero-content {
    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    transform: translate(-50%, -50%) !important;

    width: 80% !important;
    max-width: 900px !important;

    text-align: center !important;
    color: white !important;
    z-index: 999 !important;

    display: block !important;
}

/* MAIN TITLE */
.hero-content h1 {
    font-size: 55px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    text-align: center;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.95);

    max-width: 100%;
    word-wrap: break-word;
}

/* SUBTITLE */
.hero-subtitle {
    color: #f1c40f;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

/* DESCRIPTION */
.hero-content p {
    font-size: 22px;
    line-height: 1.8;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.95);

    max-width: 850px;
    margin: auto;
}

/* MOBILE */
@media (max-width: 768px) {

.hero {
    min-height: 750px;
    height: auto;
}

.hero-content {
    width: 92%;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.7;
}
}