/*==================================
 GOOGLE FONT
===================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f7f9fc;
    color:#222;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

section{
    padding:90px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#059669;
    font-weight:600;
    letter-spacing:3px;
    text-transform:uppercase;
}

.section-title h2{
    margin-top:15px;
    font-size:42px;
    color:#073b2f;
}

/*==================================
 HERO
===================================*/

.news-hero{
    margin-top: 120px;
    height:35vh;

    background:
    linear-gradient(135deg,
            rgba(4, 120, 87, 0.92),
            rgba(6, 95, 70, 0.82));
    /* url("https://picsum.photos/1920/800?random=1"); */

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;

    color:#fff;

}

.hero-content{

    max-width:800px;

}

.hero-badge{

    display:inline-block;
    background:#10b981;
    padding:10px 25px;
    border-radius:40px;
    font-size:14px;
    margin-bottom:20px;

}

.news-hero h1{

    font-size:62px;
    font-weight:700;
    margin-bottom:20px;

}

.news-hero p{

    font-size:19px;
    line-height:1.8;
    color:#eefcf5;

}



/*==================================
 NEWS / ACTIVITIES NAV
===================================*/

.news-navigation{

    margin-top:-60px;

    position:relative;

    z-index:10;

}

.container{

    max-width:1100px;

    margin:auto;

}

.news-navigation .container{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

}

.nav-box{

    background:#fff;

    border-radius:25px;

    padding:35px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

    color:#222;

}

.nav-box.active{

    background:linear-gradient(135deg,#047857,#10b981);

    color:#fff;

}

.nav-box.activities{

    background:linear-gradient(135deg,#ea580c,#fb923c);

    color:#fff;

}

.nav-box i{

    font-size:45px;

    margin-bottom:18px;

}

.nav-box h3{

    font-size:28px;

    margin-bottom:8px;

}

.nav-box span{

    opacity:.9;

}

.nav-box:hover{

    transform:translateY(-10px);

}



/*==================================
 FEATURED NEWS
===================================*/

.featured-card{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

}

.featured-image{

    overflow:hidden;

}

.featured-image img{

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.featured-card:hover img{

    transform:scale(1.08);

}

.featured-content{

    padding:55px;

}

.category{

    display:inline-block;

    background:#d1fae5;

    color:#047857;

    padding:8px 20px;

    border-radius:30px;

    font-weight:600;

    margin-bottom:20px;

}

.featured-content h2{

    font-size:38px;

    line-height:1.4;

    margin-bottom:20px;

}

.featured-content p{

    color:#666;

    line-height:1.9;

    margin-bottom:25px;

}

.meta{

    display:flex;

    gap:25px;

    color:#888;

    margin-bottom:30px;

}

.meta i{

    color:#10b981;

    margin-right:8px;

}

.featured-content a{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:#059669;

    color:#fff;

    padding:15px 30px;

    border-radius:50px;

    transition:.35s;

}

.featured-content a:hover{

    background:#047857;

    transform:translateY(-4px);

}

/*==================================
LATEST NEWS
===================================*/

.latest-news{
    background:#f8fafc;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:35px;
}

.news-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
    position:relative;
}

.news-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 55px rgba(0,0,0,.15);
}

.news-image{
    position:relative;
    overflow:hidden;
}

.news-image img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.news-card:hover img{
    transform:scale(1.08);
}

.date{
    position:absolute;
    left:20px;
    bottom:20px;
    background:#059669;
    color:#fff;
    padding:10px 16px;
    border-radius:12px;
    font-weight:600;
    font-size:14px;
}

.news-content{
    padding:28px;
}

.tag{
    display:inline-block;
    background:#dcfce7;
    color:#047857;
    padding:6px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:18px;
}

.tag.sports{
    background:#dbeafe;
    color:#2563eb;
}

.tag.cultural{
    background:#fae8ff;
    color:#9333ea;
}

.tag.event{
    background:#fef3c7;
    color:#d97706;
}

.tag.seminar{
    background:#fee2e2;
    color:#dc2626;
}

.news-content h3{
    font-size:25px;
    line-height:1.4;
    margin-bottom:15px;
}

.news-content p{
    color:#666;
    line-height:1.8;
    margin-bottom:22px;
}

.news-content a{
    color:#059669;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:10px;
    transition:.3s;
}

.news-content a:hover{
    gap:16px;
}



/*==================================
PAGINATION
===================================*/

.pagination-section{
    padding-top:10px;
    padding-bottom:100px;
}

.pagination{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
}

.pagination a{
    width:55px;
    height:55px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    border-radius:50%;
    color:#333;
    font-weight:600;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.pagination a:last-child{
    width:auto;
    padding:0 25px;
    border-radius:40px;
}

.pagination a:hover,
.pagination a.active{
    background:#059669;
    color:#fff;
}






/*==================================
ANIMATIONS
===================================*/

.news-card,
.featured-card,
.nav-box{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(60px);

}

to{

opacity:1;

transform:translateY(0);

}

}



/*==================================
RESPONSIVE
===================================*/

@media(max-width:992px){

.news-hero h1{

font-size:48px;

}

.featured-card{

grid-template-columns:1fr;

}

.featured-content{

padding:35px;

}

.newsletter form{

flex-direction:column;

}

.newsletter button{

height:60px;

}

}



@media(max-width:768px){

section{

padding:70px 20px;

}

.news-hero{

height:55vh;

}

.news-hero h1{

font-size:36px;

}

.news-navigation .container{

grid-template-columns:1fr;

}

.news-grid{

grid-template-columns:1fr;

}

.featured-content h2{

font-size:30px;

}

.newsletter-box h2{

font-size:34px;

}

}



@media(max-width:480px){

.news-content{

padding:22px;

}

.news-content h3{

font-size:22px;

}

.pagination{

gap:10px;

}

.pagination a{

width:48px;

height:48px;

}

}