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

body{
font-family:Arial, sans-serif;
font-size:12px;
background:#f7f9fc;
color:#111827;
line-height:1.6;
}

.container{
width:90%;
max-width:1250px;
margin:auto;
}

.topbar{
background:#0f4fe3;
color:white;
padding:10px 0;
font-size:14px;
}

.topbar-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.top-links{
display:flex;
gap:20px;
}

.top-links a{
color:white;
text-decoration:none;
}

header{
background:white;
position:sticky;
top:0;
z-index:999;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo{
display:flex;
align-items:center;
gap:14px;
}

.logo-icon{
width:55px;
height:55px;
background:#0f4fe3;
border-radius:14px;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:24px;
font-weight:bold;
}

.logo h2 span{
color:#0f4fe3;
}

.logo p{
font-size:13px;
color:#6b7280;
}

nav{
display:flex;
gap:28px;
}

nav a{
text-decoration:none;
color:#111827;
font-weight:500;
}

nav .active,
nav a:hover{
color:#0f4fe3;
}

.menu-btn{
display:none;
background:none;
border:none;
font-size:28px;
cursor:pointer;
}

.mobile-menu{
display:none;
flex-direction:column;
padding:20px;
background:white;
}

.mobile-menu a{
padding:12px 0;
text-decoration:none;
color:#111827;
}

.hero{
padding:80px 0;
}

.hero-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.hero-text h1{
font-size:58px;
line-height:1.1;
margin-bottom:24px;
}

.hero-text span{
color:#0f4fe3;
}

.hero-text p{
color:#6b7280;
font-size:18px;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
gap:16px;
}

.btn-primary,
.btn-outline{
padding:14px 28px;
border-radius:12px;
text-decoration:none;
font-weight:600;
}

.btn-primary{
background:#0f4fe3;
color:white;
}

.btn-outline{
border:2px solid #0f4fe3;
color:#0f4fe3;
}

.hero-image img{
width:100%;
border-radius:24px;
box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

.categories{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-bottom:80px;
}

.category-card{
background:white;
padding:30px;
border-radius:20px;
border:1px solid #eef2f7;
}

.articles-section{
margin-bottom:80px;
}

.section-title{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
}

.section-title h2{
font-size:36px;
}

.section-title a{
text-decoration:none;
color:#0f4fe3;
font-weight:600;
}

.articles-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
}

.article-card{
background:white;
border-radius:24px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

.article-card img{
width:100%;
height:220px;
object-fit:cover;
}

.article-content{
padding:24px;
}

.tag{
font-size:12px;
font-weight:700;
color:#0f4fe3;
}

.article-content h3{
margin:14px 0;
}

.article-content p{
color:#6b7280;
}

.meta{
margin-top:16px;
color:#9ca3af;
font-size:14px;
}

.newsletter{
margin-bottom:80px;
}

.newsletter-box{
background:linear-gradient(135deg,#0f4fe3,#2563eb);
padding:50px;
border-radius:28px;
display:flex;
justify-content:space-between;
align-items:center;
gap:30px;
color:white;
}

.newsletter-box h2{
font-size:38px;
margin-bottom:10px;
}

.newsletter-box form{
display:flex;
gap:14px;
}

.newsletter-box input{
padding:16px;
border:none;
border-radius:12px;
width:280px;
}

.newsletter-box button{
border:none;
background:white;
color:#0f4fe3;
padding:16px 24px;
border-radius:12px;
font-weight:700;
cursor:pointer;
}

footer{
background:white;
padding:40px 0;
border-top:1px solid #e5e7eb;
}

.footer-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.footer-links{
display:flex;
gap:24px;
}

.footer-links a{
text-decoration:none;
color:#111827;
}

@media(max-width:992px){

.hero-grid,
.categories,
.articles-grid{
grid-template-columns:1fr;
}

.newsletter-box,
.footer-content,
.topbar-content{
flex-direction:column;
text-align:center;
}

nav{
display:none;
}

.menu-btn{
display:block;
}

.hero-text h1{
font-size:42px;
}
}

@media(max-width:600px){

.hero-text h1{
font-size:34px;
}

.newsletter-box{
padding:30px;
}

.newsletter-box form{
flex-direction:column;
width:100%;
}

.newsletter-box input,
.newsletter-box button{
width:100%;
}
}
