*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f7fb;
}

.hero-berita{
    background:
    linear-gradient(rgba(31,79,117,0.8),
    rgba(31,79,117,0.8)),
    url('../img/tug.jpeg');

    background-size:cover;
    background-position:center;

    padding:100px 20px;
    text-align:center;
    color:white;
}

.hero-berita h1{
    font-size:48px;
    margin-bottom:15px;
}

.hero-berita p{
    font-size:18px;
}

.search-section{
    padding:40px 20px 10px;
    display:flex;
    justify-content:center;
}

.search-form{
    width:100%;
    max-width:700px;

    background:white;

    display:flex;
    align-items:center;

    border-radius:60px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.search-form input{
    flex:1;
    border:none;
    outline:none;

    padding:22px 28px;

    font-size:16px;
}

.search-form button{
    border:none;
    background:#1f4f75;
    color:white;

    padding:22px 35px;

    cursor:pointer;

    font-size:16px;
    font-weight:600;

    transition:0.3s;
}

.search-form button:hover{
    background:#163952;
}

.berita-section{
    padding:60px 80px;
}

.berita-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.berita-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:0.3s;

    display:flex;
    flex-direction:column;
}

.berita-card:hover{
    transform:translateY(-5px);
}

.berita-card img{
    width:100%;
    height:280px;
    object-fit:contain;
}

.berita-body{
    padding:25px;

    display:flex;
    flex-direction:column;
    flex:1;
}

.berita-body h3{
    font-size:22px;
    color:#1f4f75;
    margin-bottom:15px;
    line-height:1.5;
}

.tanggal{
    color:#888;
    font-size:14px;
    margin-bottom:20px;
}

.berita-body a{
    display:inline-block;
    background:#1f4f75;
    color:white;
    text-decoration:none;
    padding:12px 20px;
    border-radius:8px;
    margin-top: auto;
}

.pagination{
    margin-top:50px;
    display:flex;
    justify-content:center;
    gap:10px;
}

.pagination a{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:white;
    color:#1f4f75;
    border-radius:10px;
    font-weight:bold;
    box-shadow:0 3px 10px rgba(0,0,0,0.1);
}

.pagination a.active{
    background:#1f4f75;
    color:white;
}

.content2{
    padding:60px 80px;
    background:#1f4f75;
    color:white;

    display:flex;
    flex-direction:column;
    align-items:center;

    gap:50px;
}

.banner{
    width:100%;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    gap:20px;

    text-align:center;
}

.banner img{
    max-width:700px;
    display:block;
}

.bottom-content{
    width:100%;
    max-width:1100px;

    display:flex;
    justify-content:space-between;
    align-items:flex-start;

    gap:40px;
}

.info-left{
    flex:1;
    text-align:left;
}

.info-right{
    flex:1;
    text-align:left;

    font-size:16px;
    line-height:1.8;
}

.info-left h2{
    color:#E5EB14;
    margin-bottom:15px;
}

.info-left p{
    margin:8px 0;
}

.divider{
    width:2px;
    background:white;
    min-height:150px;
}

@media(max-width:1024px){

    .berita-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .search-form{
        flex-direction:column;
        border-radius:20px;
    }

    .search-form input{
        width:100%;
        padding:18px 20px;
    }

    .search-form button{
        width:100%;
        padding:18px;
    }

    .hero-berita h1{
        font-size:34px;
    }

    .berita-section{
        padding:40px 20px;
    }

    .berita-grid{
        grid-template-columns:1fr;
    }

    .content2{
        padding:40px 20px;
    }

    .bottom-content{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:30px;
    }

    .info-left,
    .info-right{
        width:100%;
        text-align:center;
    }

    .divider{
        width:100%;
        height:2px;
        min-height:auto;
    }

    .banner img{
        width:100%;
        height:auto;
    }

}

@media(max-width:480px){

    .hero-berita{
        padding:80px 20px;
    }

    .hero-berita h1{
        font-size:28px;
    }

    .berita-body h3{
        font-size:18px;
    }

}