body {
    margin:0;
    font-family: Arial;
}

/* HEADER */

header {
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#0a1f44;
    color:white;
    padding:10px 30px;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:50px;
}

/* NAVIGATION */

nav ul{
    list-style:none;
    display:flex;
    margin:0;
    padding:0;
}

nav ul li{
    position:relative;
}

nav ul li a{
    color:white;
    padding:15px;
    text-decoration:none;
    display:block;
}

nav ul li:hover{
    background:#1e3a8a;
}

/* DROPDOWN */

.dropdown-content{
    display:none;
    position:absolute;
    background:#0a1f44;
    min-width:180px;
}

.dropdown-content li{
    width:100%;
}

.dropdown:hover .dropdown-content{
    display:block;
}

/* HERO */

.hero{
    background:url('images/slide1.jpeg') center/cover;
    color:white;
    padding:120px;
    text-align:center;
}

/* HERO SLIDER */

.hero-slider{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:opacity 1s ease-in-out;
}

.slide.active{
    opacity:1;
    z-index:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1);
    transition:transform 6s ease;
}

.slide.active img{
    transform:scale(1.1);
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.caption{
    position:absolute;
    top:50%;
    left:10%;
    transform:translateY(-50%);
    color:white;
    max-width:500px;
}

.caption h1{
    font-size:48px;
}

.caption p{
    font-size:18px;
}

/* HERO BUTTONS */

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

.btn{
    padding:12px 20px;
    text-decoration:none;
    border-radius:5px;
    font-weight:bold;
}

.btn.primary{
    background:#1e3a8a;
    color:white;
}

.btn.secondary{
    border:2px solid white;
    color:white;
}

/* SLIDER CONTROLS */

.slider-controls{
    position:absolute;
    width:100%;
    top:50%;
    display:flex;
    justify-content:space-between;
    padding:0 20px;
    z-index:2;
}

.slider-controls span{
    font-size:40px;
    color:white;
    cursor:pointer;
}

/* DOTS */

.slider-dots{
    position:absolute;
    bottom:20px;
    width:100%;
    text-align:center;
}

.s-dot{
    height:12px;
    width:12px;
    margin:5px;
    background:#ccc;
    display:inline-block;
    border-radius:50%;
}

.s-dot.active{
    background:#1e3a8a;
}

/* CARDS */

.cards{
    display:flex;
    gap:20px;
    padding:40px;
}

.card{
    flex:1;
    box-shadow:0 2px 10px rgba(0,0,0,0.2);
}

.card img{
    width:100%;
}

/* CONTENT */

.content{
    padding:40px;
}

/* GALLERY */

.gallery img{
    width:23%;
    margin:1%;
}

/* FOOTER */

footer{
    background:#000;
    color:white;
    text-align:center;
    padding:20px;
}

/* MOBILE MENU */

.menu-toggle{
    display:none;
    font-size:30px;
    cursor:pointer;
}

/* LIGHTBOX */

.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    display:flex;
    justify-content:center;
    align-items:center;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
}

/* FUNDING SECTION */

.funding{
    padding:50px;
    background:#f4f7ff;
    text-align:center;
}

.subtitle{
    color:#555;
    margin-bottom:30px;
}

.budget-table{
    margin:40px auto;
    max-width:900px;
}

.budget-table table{
    width:100%;
    border-collapse:collapse;
    background:white;
}

.budget-table th{
    background:#0a1f44;
    color:white;
    padding:12px;
}

.budget-table td{
    padding:12px;
    border-bottom:1px solid #ddd;
}

/* PACKAGES */

.package-grid{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.package{
    background:white;
    padding:25px;
    width:250px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* IMPACT */

.impact{
    display:flex;
    justify-content:space-around;
    background:#0a1f44;
    color:white;
    padding:50px 20px;
    text-align:center;
}

.impact-box h1{
    font-size:40px;
}

/* FEATURES */

.features{
    padding:50px;
    text-align:center;
}

.feature-grid{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    justify-content:center;
}

.feature{
    width:250px;
}

.feature img{
    width:100%;
    border-radius:10px;
}

/* HUMANITARIAN GRID */

.humanitarian{
    padding:60px 20px;
    text-align:center;
    background:#f9fbff;
}

.humanitarian-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:20px;
}

/* GALLERY PAGE */

.gallery-page{
    padding:50px;
    text-align:center;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.g-item img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:10px;
}

/* PROGRAMME BLOCK */

.programme-block{
    display:flex;
    align-items:center;
    padding:60px 20px;
    gap:40px;
}

.programme-block.reverse{
    flex-direction:row-reverse;
}

.programme-text{
    flex:1;
}

.programme-img img{
    width:100%;
    border-radius:10px;
}

/* CONTACT */

.contact-section{
    padding:60px 20px;
    background:#f4f7ff;
}

.contact-container{
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}

.contact-form{
    flex:1;
    background:white;
    padding:20px;
    border-radius:10px;
}

/* TOP BAR */

.top-bar{
    background:#1e3a8a;
    color:white;
    text-align:center;
    padding:6px 10px;
    font-size:14px;
}

/* ABOUT PAGE */

.container{
max-width:1200px;
margin:auto;
padding:60px 20px;
}

.about-hero{
background:#f2f6fa;
text-align:center;
padding:100px 20px;
}

.vmv-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.vmv-card{
background:white;
padding:30px;
border-radius:6px;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
text-align:center;
}

/* PROGRAM AREAS FIXED HORIZONTAL */

.about-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
margin-top:40px;
}

.about-card{
background:white;
padding:20px;
border-radius:6px;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
text-align:center;
transition:0.3s;
}

.about-card img{
width:100%;
height:200px;
object-fit:cover;
border-radius:5px;
margin-bottom:15px;
}

.about-card:hover{
transform:translateY(-5px);
}

/* TEAM */

.team-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.team-card{
background:white;
text-align:center;
padding:20px;
border-radius:6px;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

/* TIMELINE */

.timeline{
display:grid;
gap:20px;
}

.timeline-item{
background:#f5f5f5;
padding:20px;
border-left:4px solid #0d3b66;
}

.partners-section{
background:#f8f9fc;
text-align:center;
}

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

/* Tablet */

@media(max-width:1000px){

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

.hero-slider{
height:70vh;
}

}

/* Mobile */

@media(max-width:768px){

.menu-toggle{
display:block;
}

nav ul{
display:none;
flex-direction:column;
background:#0a1f44;
width:100%;
}

nav ul.active{
display:flex;
}

.programme-block{
flex-direction:column;
}

.impact{
flex-direction:column;
gap:20px;
}

.caption h1{
font-size:32px;
}

}

/* Small Mobile */

@media(max-width:600px){

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

.feature-grid{
flex-direction:column;
align-items:center;
}

.cards{
flex-direction:column;
}

.gallery img{
width:100%;
}

}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    /* IMPORTANT FIX */
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* THIS IS IMPORTANT */
.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 450px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

.modal-content a {
    display: inline-block;
    margin-top: 10px;
    color: #0b3d2e;
    font-weight: bold;
    text-decoration: none;
}