body{
margin:0;
display:flex;
flex-direction:column;
min-height:100vh;
font-family:Arial, Helvetica, sans-serif;
background:#f4f4f4;
color:#333;
}

main{
flex:1;
}


/* HEADER */

header{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 40px;
background:white;
border-bottom:1px solid #ddd;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:1000;
}

.nav-container{
flex:1;
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
}

.main-nav{
flex:1;
display:flex;
justify-content:center;
gap:25px;
}

.main-nav a{
text-decoration:none;
font-weight:700;
color:#0f6d5f;
transition:color 0.2s ease;
}

.main-nav a:hover{
color:#0056b3;
}

.logo img{
height:60px;
}

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

.language-switcher img{
width:26px;
cursor:pointer;
transition:transform 0.2s;
}

.language-switcher img:hover{
transform:scale(1.1);
}



/* HERO */

.hero{
height:500px;

background:
linear-gradient(
rgba(20,90,80,0.85),
rgba(20,90,80,0.85)
),
url("../images/hero.jpg");

background-size:cover;
background-position:center;

display:flex;
align-items:center;
justify-content:center;

text-align:center;
color:white;
}

.hero-content{
max-width:800px;
padding:20px;
}

.hero h1{
font-size:40px;
margin-bottom:20px;
}

.hero p{
font-size:18px;
margin-bottom:25px;
}

.buttons{
display:flex;
justify-content:center;
gap:15px;
}

.btn-primary{
background:#f2b705;
color:black;
padding:12px 22px;
border-radius:6px;
text-decoration:none;
font-weight:bold;
}

.btn-secondary{
border:2px solid white;
color:white;
padding:10px 20px;
border-radius:6px;
text-decoration:none;
}



/* ABOUT */

.about{
padding:70px 20px;
background:#e9e9e9;
text-align:center;
}

.about h2{
margin-bottom:20px;
font-size:28px;
}

.about p{
max-width:700px;
margin:auto;
}



/* WORK SECTION */

.work{
padding:80px 20px;
background:white;
text-align:center;
}

.work h2{
margin-bottom:40px;
font-size:28px;
}

.work-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:28px;
max-width:1100px;
margin:0 auto;
width:100%;
align-items:stretch;
justify-items:center;
}



/* WORK CARD */

.work-card{
background:#f9f9f9;
border-radius:8px;
overflow:hidden;
box-shadow:0 4px 12px rgba(0,0,0,0.1);
display:flex;
flex-direction:column;
width:100%;
max-width:360px;
height:100%;
}



/* MEDIA (VIDEO + IMAGE SAME SIZE) */

.work-card img,
.work-card video{
width:100%;
aspect-ratio:16 / 9;
height:auto;
object-fit:cover;
display:block;
}



/* CARD TEXT */

.work-card .content{
padding:18px 20px 24px;
flex:1;
display:flex;
flex-direction:column;
gap:10px;
min-height:0;
/* fixed height without relying on logical properties that some validators flag */
height:220px;
overflow:hidden;
}

.work-card h3{
margin:0 0 6px;
font-size:18px;
}

.work-card p{
margin:0;
font-size:15px;
line-height:1.6;
flex:1 1 auto;
min-height:0;
overflow-y:auto;
padding-right:4px;
text-align:left;
}



/* IMPACT */

.impact{
padding:70px 20px;
text-align:center;
background:#f4f4f4;
}

.impact-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
max-width:800px;
margin:40px auto;
}

.impact-card{
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 3px 8px rgba(0,0,0,0.08);
}

.impact-card h3{
margin:0;
font-size:24px;
color:#0f6d5f;
}

.impact-card p{
font-size:13px;
margin-top:6px;
}



/* SUPPORT */

.support{
background:#1f5e55;
color:white;
text-align:center;
padding:60px 20px;
}

.support p{
max-width:600px;
margin:10px auto 25px;
}



/* FOOTER */

footer{
background:black;
color:white;
text-align:center;
padding:18px;
font-size:13px;
}



/* VIDEO MODAL */

.modal{
display:none;
position:fixed;
z-index:2000;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
align-items:center;
justify-content:center;
}

.modal-content{
position:relative;
max-width:900px;
width:90%;
}

.modal video{
width:100%;
border-radius:6px;
}

.close-modal{
position:absolute;
top:-30px;
right:0;
font-size:28px;
color:white;
cursor:pointer;
}



/* RESPONSIVE */

@media (max-width:1000px){

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

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

}


@media (max-width:640px){

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

.work-card .content{
height:240px;
}

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

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

}

.more-text{
display:none;
overflow-wrap:anywhere;
}

.read-more-btn{
color:#0f6d5f;
cursor:pointer;
font-size:14px;
font-weight:bold;
margin-top:5px;
display:inline-block;
}

.read-more-btn:hover{
text-decoration:underline;
}


/* PROJECT PAGES */

.project-page{
padding:60px 20px 80px;
}

.container{
max-width:1200px;
margin:0 auto;
width:100%;
}

.project-layout{
display:grid;
grid-template-columns:2fr 1fr;
gap:40px;
align-items:start;
}

.project-card-detail{
background:#fff;
border-radius:8px;
padding:28px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.project-card-detail h1{
margin-top:0;
margin-bottom:16px;
font-size:26px;
color:#0f6d5f;
}

.project-meta{
display:grid;
gap:8px;
margin-bottom:16px;
}

.project-description{
line-height:1.6;
margin:0 0 20px;
}

.project-donate{
margin-top:20px;
}

.btn-support{
display:inline-block;
background:#ffcc00;
color:black;
font-weight:700;
padding:12px 24px;
border-radius:6px;
text-decoration:none;
}

.btn-support:hover{
filter:brightness(0.95);
}

.project-image-placeholder{
background:linear-gradient(135deg,#e8eef5,#f7f9fc);
border:1px dashed #c6d3e5;
padding:30px;
border-radius:8px;
text-align:center;
color:#4a5565;
font-size:14px;
line-height:1.6;
}

.project-nav{
max-width:1200px;
margin:0 auto 16px;
width:100%;
}

.breadcrumb{
text-decoration:none;
color:#0f6d5f;
font-weight:700;
display:inline-flex;
align-items:center;
gap:6px;
}

.breadcrumb:hover{
color:#0056b3;
}


@media (max-width:900px){
.project-layout{
grid-template-columns:1fr;
}
}


/* TIMELINE PAGE */

.timeline-page{
max-width:1100px;
margin:0 auto;
padding:70px 20px 90px;
color:#162235;
}

.timeline-page h1{
text-align:center;
margin-bottom:10px;
font-size:34px;
color:#0f6d5f;
}

.timeline-page .intro{
text-align:center;
max-width:760px;
margin:0 auto 40px;
line-height:1.6;
color:#334054;
}

.timeline{
position:relative;
padding:10px 0 10px 0;
margin:0 auto;
max-width:960px;
}

.timeline::before{
content:""; 
position:absolute;
top:0;
bottom:0;
left:50%;
width:4px;
background:#dce8f5;
transform:translateX(-50%);
}

.timeline-year{
position:relative;
margin:0 auto 34px;
text-align:center;
padding:0 20px;
}

.timeline-year h2{
margin:0 auto 16px;
width:80px;
height:80px;
border-radius:50%;
background:#0056b3;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
font-weight:700;
box-shadow:0 6px 14px rgba(0,0,0,0.18);
}

.timeline-projects{
display:flex;
flex-direction:column;
gap:14px;
}

.timeline-card{
display:block;
background:#fff;
color:#1f2b3a;
text-decoration:none;
padding:18px 18px 18px 20px;
border-left:5px solid #0056b3;
border-radius:8px;
box-shadow:0 4px 6px rgba(0,0,0,0.1);
transition:transform 0.2s ease, box-shadow 0.2s ease;
margin-bottom:20px;
}

.timeline-card h3{
margin:0 0 8px;
font-size:18px;
line-height:1.4;
}

.timeline-card p{
margin:0;
font-size:14px;
color:#455262;
}

.timeline-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 18px rgba(0,0,0,0.12);
}


/* TIMELINE RESPONSIVE */

@media (max-width:900px){
.timeline::before{
left:24px;
transform:none;
}

.timeline{
padding-left:40px;
}

.timeline-year{
text-align:left;
padding-left:0;
}

.timeline-year h2{
margin-left:0;
}
}

.footer-links {
margin-top:10px;
text-align:center;
}

.footer-links a {
margin:0 8px;
font-size:0.85rem;
opacity:0.9;
text-decoration:none;
color:#ffffff;
font-weight:500;
}

.footer-links a:hover {
opacity:1;
text-decoration:underline;
}

.footer{
background-color:#000;
}
