/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f4f6f9; /* light background */
  color: #222;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #0f172a;
  color: #fff;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.3rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #38bdf8;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  color: #fff;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background: #0f172a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #fff;
  color: #0f172a;
}

/* Blog Cards Section */
.blog {
  max-width: 1100px;
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

.blog-post {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-post h2 {
  margin-bottom: 12px;
  color: #3b82f6;
  font-size: 1.4rem;
}

.blog-post p {
  margin-bottom: 15px;
  color: #444;
}

.read-more {
  color: #3b82f6;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #0f172a;
}

/* Article Section */
.article {
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  color: #222;
  line-height: 1.8;
}

.article h2 {
  color: #3b82f6;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.article p {
  margin-bottom: 18px;
  font-size: 1rem;
}

.article a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article a:hover {
  color: #0f172a;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}
