/* Global styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(to right, #6a11cb, #2575fc); /* New gradient */
  color: white;
  padding: 3rem 0;
}

header h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

header p {
  font-size: 1.25rem;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
}

/* Blog post cards */
.card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

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

.card-title {
  font-size: 1.4rem;
  color: #4e73df; /* Subtle color */
}

.card-text {
  font-size: 1rem;
  color: #444;
}

.card-footer {
  background-color: transparent;
  font-size: 0.9rem;
  color: #888;
}

/* Sidebar cards */
.card-header {
  background-color: #6a11cb; /* Match the header gradient */
  color: white;
  font-weight: bold;
}

.list-group-item a {
  color: #2575fc; /* Lighter accent */
  text-decoration: none;
}

.list-group-item a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background-color: #6a11cb; /* Matching button color */
  border-color: #6a11cb;
}

.btn-primary:hover {
  background-color: #4e73df;
  border-color: #2575fc;
}

/* Footer */
footer {
  background-color: #212529;
  color: #dee2e6;
  font-size: 0.9rem;
}

footer a {
  color: #dee2e6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Ad styling */
.adsbygoogle {
  margin-bottom: 20px;
}

/* Responsive improvements */
@media (max-width: 767.98px) {
  header h1 {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 0.95rem;
  }
}
