/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0b0b0f;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: #14080b;
  padding: 12px 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(176, 18, 46, 0.5);
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.navbar li { margin: 0 20px; }
.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.navbar a:hover { color: #b0122e; }

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #14080b, #b0122e);
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero p {
  font-style: italic;
  color: #ccc;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Individual Card */
.card {
  background: #1a1a1a;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(176, 18, 46, 0.5);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
.card h2 {
  color: #b0122e;
  margin-bottom: 10px;
}
.card p {
  margin-bottom: 15px;
  color: #ddd;
}

/* Learn More button */
.learn-btn {
  display: inline-block;
  background: #b0122e;
  border: none;
  padding: 10px 20px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.learn-btn:hover { background: #9f0404; }

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }
}
