body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f8f9fa;
}

/* Hero Section */
.blogs-hero {
  background: linear-gradient(135deg, #007bff 0%, #00ff88 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: white;
  padding: 120px 0;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  text-align: center;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.blogs-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  transform: translateY(50px);
  opacity: 0;
  animation: titleReveal 1s ease forwards 0.5s;
}

@keyframes titleReveal {
  to {
      transform: translateY(0);
      opacity: 1;
  }
}

/* News Cards */
.news-card {
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background: white;
  border: none;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.news-meta {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

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

.news-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
}

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

.news-card .btn-read-more {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.news-card .btn-read-more:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .blogs-hero h1 {
      font-size: 2.5rem;
  }

  .news-card {
      margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .blogs-hero h1 {
      font-size: 2rem;
  }

  .news-card .card-title {
      font-size: 1.1rem;
  }

  .news-card .card-text {
      font-size: 0.9rem;
  }
}
.btn-read-more {
  background: #007bff;
  color: white;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

#newsModalImage {
  max-height: 400px;
  object-fit: cover;
}

#newsModalContent {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* General Section Styling */
.live-stream-section {
  padding: 60px 0;
}

.not-live-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 40px 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.not-live-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.not-live-card i {
  color: #ccc;
  font-size: 4rem;
  animation: pulse 2s infinite;
}

.not-live-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.not-live-card p {
  font-size: 1rem;
  color: #777;
}

.not-live-card .btn {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 25px;
  background-color: #007bff;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.not-live-card .btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Pulse Animation for Icon */
@keyframes pulse {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
}
/* Aspect Ratio Styling */
/* Aspect Ratio Styling */
.live-stream-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.live-stream-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.modal-lg {
  max-width: 90% !important;
}

.carousel-item img {
  object-fit: cover;
  height: 400px;
}

.video-container {
  margin-top: 20px;
}

.video-container video {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .carousel-item img {
      height: 200px;
  }
}
.carousel-indicator {
  background-color: #007bff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 3px;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.carousel-indicator.active {
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}

/* Ensure the modal content matches the card styling */
.modal-content {
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.modal-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.modal-body {
  padding: 20px;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}

.news-meta {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.video-container {
  margin-top: 20px;
}

.video-container video {
  width: 100%;
  height: auto;
}

/* Animation on scroll */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.blog-post {
  animation: fadeInUp 1s ease-in-out;
  animation-fill-mode: both;
  opacity: 0;
}

.blog-post.visible {
  opacity: 1;
}

/*pagination */
/* Pagination Styles */
.pagination {
  margin-top: 20px;
}

.page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
}

.page-link {
  color: #007bff;
  transition: color 0.3s ease;
}

.page-link:hover {
  color: #0056b3;
}

/* Ensure the modal content matches the card styling */
.modal-content {
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.modal-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.15);
}

.modal-body {
  padding: 20px;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}

.news-meta {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.video-container {
  margin-top: 20px;
}

.video-container video {
  width: 100%;
  height: auto;
}

/* Carousel Styles */
.carousel-indicator {
  background-color: #007bff;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 3px;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.carousel-indicator.active {
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}

/* Animation on scroll */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.blog-post {
  animation: fadeInUp 1s ease-in-out;
  animation-fill-mode: both;
  opacity: 0;
}

.blog-post.visible {
  opacity: 1;
}
