/* Reset & Base */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: Arial, sans-serif; background:#f9f9f9; color:#333; line-height:1.6; }
a { text-decoration:none; color:inherit; }

/* Header */
header { background:#222; padding:15px 30px; display:flex; justify-content:space-between; align-items:center; }
header .logo h1 { color:#fff; font-size:22px; }
nav ul { list-style:none; display:flex; gap:20px; }
nav ul li a { color:#fff; font-weight:bold; transition:color .3s; }
nav ul li a:hover { color:#0073e6; }

/* Hero Banner */
.hero { text-align:center; padding:70px 20px; background:#0073e6; color:#fff; }
.hero h2 { font-size:36px; margin-bottom:15px; }
.hero p { font-size:18px; margin-bottom:25px; }
.cta-btn { background:#fff; color:#0073e6; padding:12px 25px; border-radius:5px; font-weight:bold; }
.cta-btn:hover { background:#005bb5; color:#fff; }

/* Blog Grid */
.blog-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:25px;
  max-width:1200px;
  margin:40px auto;
  padding:0 20px;
}
.blog-grid article {
  background:#fff;
  border-radius:5px;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
  overflow:hidden;
  transition:transform .3s;
}
.blog-grid article:hover { transform:translateY(-5px); }
.blog-grid img { width:100%; height:160px; object-fit:cover; }
.blog-grid h3 { padding:15px; font-size:18px; color:#0073e6; }
.blog-grid h3:hover { text-decoration:underline; }

/* Banner */
.banner {
  grid-column:1 / -1;
  background:#eee;
  text-align:center;
  padding:40px;
  font-size:20px;
  font-weight:bold;
  border-radius:5px;
}

/* Footer */
footer { background:#222; color:#fff; text-align:center; padding:20px; margin-top:50px; font-size:14px; }

/* Responsive */
@media (max-width:768px) {
  .hero h2 { font-size:28px; }
  .hero p { font-size:16px; }
  .blog-grid img { height:140px; }
}
