/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f5f7fb;
    color:#222;
    line-height:1.7;
}

/* ===========================
   CONTAINER
=========================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===========================
   HEADER
=========================== */

header{
    background:#0d47a1;
    position:sticky;
    top:0;
    z-index:999;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
    color:#fff;
    font-size:24px;
    font-weight:bold;
}

.logo img{
    width:50px;
    margin-right:12px;
}

.menu{
    display:flex;
    gap:30px;
}

.menu a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.menu a:hover{
    color:#ffd54f;
}

/* ===========================
   HERO
=========================== */

.hero{
    padding:80px 0;
    background:linear-gradient(135deg,#1565c0,#0d47a1);
    color:#fff;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    margin-bottom:30px;
    font-size:18px;
}

.hero img{
    width:100%;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.3);
}

/* ===========================
   BUTTON
=========================== */

.btn{
    display:inline-block;
    background:#ff9800;
    color:#fff;
    padding:14px 28px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#fb8c00;
}

/* ===========================
   SEARCH
=========================== */

.search-section{
    padding:40px 0;
}

#searchInput{
    width:100%;
    padding:16px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

#searchInput:focus{
    outline:none;
    border-color:#1565c0;
}

/* ===========================
   BERITA
=========================== */

.latest{
    padding:70px 0;
}

.latest h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    display:block;
}

.card-content{
    padding:20px;
}

.card-content h3{
    margin-bottom:15px;
}

.card-content p{
    color:#666;
    margin-bottom:20px;
}

.card-content a{
    color:#1565c0;
    text-decoration:none;
    font-weight:bold;
}

/* ===========================
   FOOTER
=========================== */

footer{
    background:#0d47a1;
    color:#fff;
    text-align:center;
    padding:30px 0;
    margin-top:60px;
}

/* ===========================
   SCROLL BUTTON
=========================== */

.scrollTop{
    position:fixed;
    bottom:20px;
    right:20px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#ff9800;
    color:#fff;
    cursor:pointer;
    display:none;
    font-size:20px;
}