
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#f5f7f5;
color:#222;
overflow-x:hidden;
}

/* NAVBAR */

header{
position:fixed;
top:0;
width:100%;
z-index:1000;
background:rgba(0,0,0,0.45);
backdrop-filter:blur(12px);
}

.navbar{
width:90%;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo-section{
display:flex;
align-items:center;
gap:12px;
}

.logo{
width:60px;
height:60px;
border-radius:50%;
}

.logo-section h2{
color:white;
font-size:28px;
}

.nav-links{
display:flex;
list-style:none;
gap:30px;
}

.nav-links a{
color:white;
text-decoration:none;
font-size:15px;
font-weight:500;
transition:.3s;
}

.nav-links a:hover{
color:#39b54a;
}

.mobile-menu{
display:none;
color:white;
font-size:28px;
cursor:pointer;
}

/* HERO */

.articles-hero{
height:70vh;
background:url("images/articles.png") center/cover;
position:relative;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
}

.articles-hero .overlay{
background:rgba(0,0,0,.55);
width:100%;
height:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:20px;
color:white;
}

.articles-hero h1{
font-size:4rem;
margin-bottom:15px;
}

.articles-hero p{
font-size:18px;
margin-bottom:35px;
}

/* HERO BUTTONS */

.hero-buttons{
display:flex;
gap:20px;
flex-wrap:wrap;
justify-content:center;
}

.hero-btn{
background:#006837;
color:white;
text-decoration:none;
padding:15px 30px;
border-radius:50px;
font-weight:600;
transition:.3s;
display:flex;
align-items:center;
gap:10px;
}

.hero-btn:hover{
background:#008c49;
transform:translateY(-3px);
}

/* ARTICLES */

.articles-section{
padding:90px 10%;
}

.articles-section h2{
text-align:center;
font-size:36px;
margin-bottom:50px;
color:#006837;
}

.article-card{
display:flex;
gap:30px;
background:white;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
margin-bottom:35px;
transition:.3s;
}

.article-card:hover{
transform:translateY(-5px);
box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.article-image{
width:330px;
flex-shrink:0;
}

.article-image img{
width:100%;
height:100%;
object-fit:cover;
}

.article-content{
padding:30px;
display:flex;
flex-direction:column;
justify-content:center;
}

.article-date{
display:inline-block;
width:fit-content;
background:#eaf6ee;
color:#006837;
padding:8px 16px;
border-radius:30px;
font-size:14px;
font-weight:600;
margin-bottom:15px;
}

.article-content h3{
font-size:28px;
margin-bottom:15px;
}

.article-content p{
line-height:1.8;
margin-bottom:25px;
color:#555;
}

.read-btn{
display:inline-block;
width:fit-content;
background:#006837;
color:white;
text-decoration:none;
padding:12px 28px;
border-radius:50px;
font-weight:600;
transition:.3s;
}

.read-btn:hover{
background:#008c49;
}

.load-more{
display:block;
margin:50px auto 0;
padding:16px 40px;
background:#006837;
color:white;
border:none;
border-radius:50px;
cursor:pointer;
font-size:16px;
font-weight:600;
transition:.3s;
}

.load-more:hover{
background:#008c49;
transform:translateY(-3px);
}

/* FOOTER */

footer{

   background:linear-gradient(
        135deg,
        #0b4d1d,
        #145624,
        #1b7d32
    );
    border-top:4px solid #FFD54F;

padding:60px 8%;

display:flex;

justify-content:space-between;

flex-wrap:wrap;

color:white;

}

.footer-links{
display:flex;
flex-direction:column;
gap:12px;
}

.footer-links a{
color:white;
text-decoration:none;
}

.footer-links a:hover{
color:#39b54a;
}

.footer-logo{
text-align:right;
}

.footer-logo img{
width:90px;
margin-bottom:15px;
}

.socials{
margin-top:15px;
}

.socials i{
margin-left:15px;
font-size:22px;
cursor:pointer;
transition:.3s;
}

.socials i:hover{
color:#39b54a;
}

@media(max-width:768px){

    .footer-links{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:15px;
        width:100%;
        max-width:300px;
        margin:auto;
    }

}
@media(max-width:768px){

    .footer-logo{
        border-top:1px solid rgba(255,255,255,.15);
        padding-top:25px;
    }

}
/* MOBILE */

@media(max-width:900px){

.article-card{
flex-direction:column;
}

.article-image{
width:100%;
height:250px;
}

.articles-hero h1{
font-size:2.5rem;
}

}

@media(max-width:768px){

.nav-links{
display:none;
}

.mobile-menu{
display:block;
}

.hero-buttons{
flex-direction:column;
width:100%;
max-width:320px;
}

.hero-btn{
justify-content:center;
}

footer{
flex-direction:column;
gap:40px;
}

.footer-logo{
text-align:left;
}

}

.mobile-nav-active{
display:flex !important;
flex-direction:column;
position:absolute;
top:100%;
left:0;
width:100%;
background:#082111;
padding:20px 0;
gap:0;
}

.mobile-nav-active li{
width:100%;
text-align:center;
padding:15px 0;
border-bottom:1px solid rgba(255,255,255,.1);
}

.mobile-nav-active a{
color:white;
display:block;
}
.socials a {
    color: #fff;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: 0.3s;
}

.socials a:hover {
    color: #25D366; /* Change color on hover */
}

@media(max-width:768px){

.articles-hero{
    height:55vh;
    min-height:450px;
}

.articles-hero h1{
    font-size:2rem;
    line-height:1.2;
    margin-bottom:10px;
}

.articles-hero p{
    font-size:14px;
    margin-bottom:20px;
}

}
@media(max-width:768px){

.article-image{
    height:180px;
}

.article-content{
    padding:18px;
}

.article-content h3{
    font-size:20px;
}

.article-content p{
    font-size:14px;
    line-height:1.6;
}

}
@media(max-width:768px){

.article-card{
    margin-bottom:20px;
    border-radius:15px;
}

.articles-section{
    padding:50px 15px;
}

}
@media(max-width:768px){

footer{
    text-align:center;
    align-items:center;
}

.footer-logo{
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
}

}