/* Services Section Image Styling */
.services .image-container {
  width: 100%;
  height: 200px; /* Set a fixed height for the image container */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 8px; /* Optional: Add rounded corners */
}

.services .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the container without distortion */
  object-position: center; /* Centers the image */
  transition: transform 0.3s ease; /* Optional: Smooth hover effect */
}

.services .service-item:hover .image-container img {
  transform: scale(1.1); /* Optional: Zoom effect on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services .image-container {
    height: 150px; /* Smaller height for mobile devices */
  }
}

@media (max-width: 576px) {
  .services .image-container {
    height: 120px; /* Even smaller for very small screens */
  }
}

/* Optional: Style for service items */
.services .service-item {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.services .service-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.services .service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.services .service-item p {
  font-size: 1rem;
  line-height: 1.6;
}

/* News Updates Section Image Styling */
.news-updates .image-container {
  width: 100%;
  height: 200px; /* Set a fixed height for the image container */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px; /* Optional: Add rounded corners */
}

.news-updates .image-container img.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the container without distortion */
  object-position: center; /* Centers the image */
  transition: transform 0.3s ease; /* Optional: Smooth hover effect */
}

.news-updates .card:hover .image-container img.news-image {
  transform: scale(1.1); /* Optional: Zoom effect on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-updates .image-container {
    height: 150px; /* Smaller height for tablets */
  }
}

@media (max-width: 576px) {
  .news-updates .image-container {
    height: 120px; /* Smaller height for phones */
  }
}

/* Optional: Card styling */
.news-updates .card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.news-updates .card-body {
  padding: 20px;
}

.news-updates .card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.news-updates .card-text {
  font-size: 1rem;
  line-height: 1.6;
}

.news-updates .vote-button {
  cursor: pointer;
  font-size: 1.2rem;
  margin-right: 10px;
}

.news-updates .vote-count {
  margin-right: 20px;
  font-size: 0.9rem;
}

.news-updates .btn-read-more {
  margin-top: 15px;
}