/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5; /* Light gray background */
}

a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #286090; /* Darker blue on hover */
}

h1, h2, h3 {
  margin: 1em 0;
  font-weight: bold;
}

p {
  line-height: 1.5;
}

img {
  width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background-color: #f1f1f1;
  padding: 1rem;
}

/* Hero Section Styles */
.hero {
  text-align: center;
  padding: 2rem 0;
  position: relative;
}

.hero h1 {
  font-size: 2rem; /* Smaller font size for mobile */
}

.hero img {
  position: absolute;
  top: 90px;
  left: 0;
  opacity: 0.3;
  width: 90%;
  height: 100%;
  z-index: -1;
}

.hero-banner {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  padding: 1rem; 
  background-color: #f1f1f1; 
}

.hero-banner img {
  width: 100%; /* Full width on mobile */
  max-width: 40%; /* Limit width on larger screens */
  height: auto; 
  object-fit: cover;
}

.call-to-action {
  display: flex;
  flex-direction: column; /* Stack buttons vertically on small screens */
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.call-to-action a {
  background-color: #007bff; /* Button color */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  width: 100%; /* Full width buttons */
}

/* Featured Stories Styles */
.featured-stories {
  padding: 2rem 0;
}

.story-colomn {
  display: flex; 
  flex-wrap: wrap;
  justify-content: center; /* Center the cards on smaller screens */
  margin-bottom: 1rem; 
}

.story-card {
  display: flex; /* Use flex for better layout */
  flex-direction: column; /* Stack image and text vertically */
  margin: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: left; 
  width: 90%; /* Default to 90% for smaller screens */
  max-width: 300px; /* Max width for larger screens */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  transition: all 0.3s ease-in-out; 
}

.story-card img {
  width: 100%; /* Make images responsive */
  height: auto; /* Maintain aspect ratio */
  border-radius: 5px; 
}

.story-card h4, .story-card p {
  margin: 0.5rem 0; /* Add some margin between title and text */
}

.story-card a {
  color: #007bff; /* Set link color */
  text-decoration: none; /* Remove underline */
  transition: all 0.3s ease-in-out; /* Smooth transition on hover */
}

.story-card a:hover {
  color: #333; /* Change link color on hover */
}

.story-card:hover {
  transform: scale(1.02); /* Slightly enlarge card on hover */
}

/* Why Choose Us Styles */
.why-choose-us {
  padding: 2rem 0;
  text-align: center;
}

.benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.benefits div {
  text-align: center;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Sign Up Styles */
.sign-up {
  text-align: center;
  padding: 2rem 0;
}

.sign-up a {
  background-color: #007bff; /* Button color */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  margin-top: 1rem;
}

/* Testimonials Styles */
.testimonials {
  padding: 2rem 0;
}

/* Social Media Styles */
.social-media {
  text-align: center;
  padding: 1rem 0;
}

.social-media a {
  font-size: 1.5rem;
  margin: 0 1rem;
  color: #333;
}

/* Footer Styles */
footer {
  background-color: #F8F8F8;
  padding: 1rem;
  text-align: center;
}

footer a {
  color: #333;
  margin: 0 1rem;
}

/* Responsive Styles */
@media (min-width: 600px) {
  .story-card {
    width: 45%; /* Two cards per row on medium screens */
  }
}

@media (min-width: 900px) {
  .story-card {
    width: 20%; /* Four cards per row on larger screens */
  }
}

.container {
  text-align: center; /* Center the content within the container */
  margin: 2rem auto; /* Add some margin for better spacing */
  max-width: 1000px; /* Set a maximum width for responsiveness */
}

.container h2 {
  font-size: 1.8rem; /* Adjust the heading size */
  margin-bottom: 1rem; /* Add some space after the heading */
}
