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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
}

/* Navbar */
.navbar {
  padding: 1rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to right, #0d6efd, #6610f2);
  padding: 4rem 0;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 3rem;
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Search & Filter */
.search-filter {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.search-filter input,
.search-filter select {
  max-width: 300px;
}

/* Blog Cards */
.blog-posts .card {
  margin-bottom: 2rem;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease-in-out;
}

.blog-posts .card:hover {
  transform: translateY(-5px);
}

.blog-posts .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-posts .card-body {
  padding: 1.5rem;
}

.blog-posts .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-posts .btn-read {
  background: #0d6efd;
  color: #fff;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.blog-posts .btn-read:hover {
  background: #6610f2;
  color: #fff;
}

/* Modal */
.modal-content {
  border-radius: 12px;
}

.modal-title {
  font-weight: 600;
}

.modal-body {
  font-size: 1rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: #111;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer p {
  margin: 0;
  opacity: 0.8;
}
