/* ==========================
   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:#0c4da2;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo h2{
    color:#fff;
    font-size:28px;
    font-weight:bold;
}

nav ul{
    list-style:none;
    display:flex;
    gap:28px;
}

nav a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#ffd84a;
}

/* ==========================
   HERO
========================== */

.hero{
    background:linear-gradient(135deg,#0c4da2,#1976d2);
    color:#fff;
    text-align:center;
    padding:110px 20px;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    max-width:800px;
    margin:auto;
    font-size:20px;
}

.btn{
    display:inline-block;
    margin-top:35px;
    background:#fff;
    color:#0c4da2;
    text-decoration:none;
    padding:15px 35px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#ffd84a;
    transform:translateY(-2px);
}

/* ==========================
   SECTION
========================== */

section{
    padding:70px 0;
}

section h2{
    text-align:center;
    margin-bottom:30px;
    color:#0c4da2;
    font-size:34px;
}

section p{
    margin-bottom:18px;
}

/* ==========================
   GRID
========================== */

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.card{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
}

.card h3{
    color:#0c4da2;
    margin-bottom:15px;
}

/* ==========================
   POSTS
========================== */

.posts{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.post{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.post h3{
    color:#0c4da2;
    margin-bottom:15px;
}

.post a{
    display:inline-block;
    margin-top:15px;
    color:#1976d2;
    font-weight:bold;
    text-decoration:none;
}

.post a:hover{
    text-decoration:underline;
}

/* ==========================
   KONTAK
========================== */

#kontak{
    background:#eef4ff;
}

#kontak p{
    text-align:center;
    font-size:18px;
}

/* ==========================
   FOOTER
========================== */

footer{
    background:#0c4da2;
    color:#fff;
    text-align:center;
    padding:25px;
}

/* ==========================
   IMAGE
========================== */

img{
    max-width:100%;
    display:block;
}

/* ==========================
   TABLE
========================== */

table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

table th{
    background:#0c4da2;
    color:#fff;
}

table th,
table td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

/* ==========================
   FORM
========================== */

input,
textarea{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:6px;
    margin-bottom:15px;
}

button{
    background:#0c4da2;
    color:#fff;
    border:none;
    padding:14px 30px;
    border-radius:6px;
    cursor:pointer;
    font-size:16px;
}

button:hover{
    background:#083b7d;
}

/* ==========================
   SHADOW
========================== */

.shadow{
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

/* ==========================
   ANIMATION
========================== */

.card,
.post{
    animation:fadeUp .7s ease;
}

@keyframes fadeUp{

from{

opacity:0;
transform:translateY(30px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

.grid,
.posts{

grid-template-columns:repeat(2,1fr);

}

.hero h1{

font-size:38px;

}

}

@media(max-width:768px){

header .container{

flex-direction:column;

}

nav ul{

flex-wrap:wrap;
justify-content:center;
gap:15px;
margin-top:20px;

}

.hero{

padding:80px 20px;

}

.hero h1{

font-size:30px;

}

.hero p{

font-size:17px;

}

.grid,
.posts{

grid-template-columns:1fr;

}

section{

padding:50px 0;

}

}

@media(max-width:480px){

.logo h2{

font-size:22px;

}

.hero h1{

font-size:26px;

}

.btn{

display:block;
width:100%;
text-align:center;

}

}
.sidebar{
background:#fff;
padding:25px;
border-radius:12px;
box-shadow:0 5px 20px rgba(0,0,0,.08);
height:max-content;
}

.sidebar ul{
list-style:none;
}

.sidebar li{
margin:12px 0;
}

.sidebar a{
text-decoration:none;
color:#1565c0;
font-weight:bold;
}