*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Segoe UI,Arial,sans-serif;

    background:#0f172a;

    color:white;

}

header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 50px;

    position:sticky;

    top:0;

    background:rgba(15,23,42,.92);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.logo{

    font-size:28px;

    font-weight:bold;

}

.header-right{

    display:flex;

    align-items:center;

    gap:30px;

}

#clock{

    color:#94a3b8;

    font-weight:bold;

}

nav{

    display:flex;

    align-items:center;

    gap:18px;

}

.nav-title{

    color:#38bdf8;

    font-weight:bold;

}

nav a{

    color:#e2e8f0;

    text-decoration:none;

    transition:.25s;

}

nav a:hover{

    color:#38bdf8;

}

.hero{

    text-align:center;

    padding:90px 20px;

}

.hero h1{

    font-size:58px;

    margin-bottom:20px;

}

.hero p{

    color:#94a3b8;

    font-size:22px;

}

main{

    max-width:1400px;

    margin:auto;

    padding:20px;

}

main h2{

    margin:40px 0 20px;

}

.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

}

.card{

    text-decoration:none;

    color:white;

    background:#1e293b;

    border-radius:18px;

    padding:30px;

    transition:.25s;

    border:1px solid rgba(255,255,255,.05);

}

.card:hover{

    transform:translateY(-8px);

    background:#243447;

    border-color:#38bdf8;

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.icon{

    font-size:45px;

    margin-bottom:15px;

}

.card h3{

    margin-bottom:10px;

}

.card p{

    color:#94a3b8;

    line-height:1.6;

}

.news{

    margin-top:60px;

}

.news-card{

    background:#1e293b;

    border-radius:18px;

    padding:30px;

}

.news-card p{

    margin:15px 0;

}

footer{

    text-align:center;

    color:#94a3b8;

    padding:40px;

    margin-top:60px;

}

@media(max-width:900px){

header{

    flex-direction:column;

    gap:20px;

}

.header-right{

    flex-direction:column;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

}

.hero h1{

    font-size:40px;

}

}
