/*body{

font-family:Arial;
margin:0;
background:#f5f5f5;

opacity:0;
transition:opacity 0.6s;

}

body.loaded{
opacity:1;
}

.header{

background:#2e7d32;
color:white;
text-align:center;
padding:40px;

}*/

.newsContainer{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
padding:30px;

}

.newsCard{

height:320px;
background-size:cover;
background-position:center;
border-radius:10px;
position:relative;
overflow:hidden;
color:white;

transition:transform 0.4s, box-shadow 0.4s;

opacity:0;
transform:translateY(40px);

}

.newsCard.show{

opacity:1;
transform:translateY(0);

}

.newsCard:hover{

transform:scale(1.05);
box-shadow:0 10px 25px rgba(0,0,0,0.4);

}

.newsOverlay{

position:absolute;
bottom:0;
background:rgba(0,0,0,0.6);
padding:20px;

}

.newsOverlay a{

background:#43a047;
color:white;
padding:10px 15px;
text-decoration:none;
border-radius:6px;
display:inline-block;
margin-top:10px;
transition:0.3s;

}

.newsOverlay a:hover{

background:#2e7d32;
transform:translateY(-2px);

}

.newsDetail{

max-width:1000px;
margin:auto;
padding:30px;

}

.newsContent{

display:flex;
gap:30px;

}

.newsContent img{

width:420px;
border-radius:10px;

}

.newsText{

font-size:17px;
line-height:1.6;

}

.contact{

margin-top:40px;
background:#e8f5e9;
padding:20px;
border-radius:10px;

}

.backButtonContainer{

max-width:1000px;
margin:auto;
padding:20px;

}

.backButton{

background:#2e7d32;
color:white;
border:none;
padding:12px 20px;
font-size:16px;
border-radius:6px;
cursor:pointer;
transition:0.3s;

}

.backButton:hover{

background:#1b5e20;
transform:scale(1.05);

}

@media(max-width:900px){

.newsContainer{

grid-template-columns:1fr;

}

.newsContent{

flex-direction:column;

}

.newsContent img{

width:100%;

}

}