/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f9;
}

/* Header */
/* Header Styling */
#header {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #151B54, #151B54);
  color: #fff;
  overflow: hidden;
  position: relative;
  margin-top: 10vh;
}

.header-content {
  animation: fadeIn 2s ease-in-out;
}

#header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#header p {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2rem;
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
  background: #151B54;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.5);
  border: 1px solid white;
  color: white;
}

.scroll-indicator {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0 auto;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: bounce 2s infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}


/* General Section Styling */
#blog-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f7f7f7, #fff);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

/* Filter Buttons */
.filter-options {
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 20px;
  border: none;
  background-color: #151B54;
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
  margin: 0 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.filter-btn.active {
  background-color: #151B54;
}

.filter-btn:hover {
  background-color: #151B54;
}

/* Blog Cards Grid */
/* Blog Cards Grid */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  /* Adjusted minmax for better responsiveness */
  gap: 20px;
  /* Removed height: 800px; */
}

/* Blog Card Styling */
.blog-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  /* Use flexbox for internal layout */
  flex-direction: column;
  /* Stack image and content vertically */
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-image {
  position: relative;
  width: 90%;
  /* Make image container take full width */
  height: 200px;
  /* Set a fixed height for the image container */
  overflow: hidden;
  /* Hide overflow if image is larger */
}

.blog-image img {
  width: 100%;
  /* Make image take full width of container */
  height: 100%;
  /* Make image take full height of container */
  object-fit: cover;
  /* Crop image to cover the container while maintaining aspect ratio */
}

.blog-label {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #151B54;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
  z-index: 1;
  /* Ensure label is above image */
}

.blog-content {
  padding: 20px;
  text-align: left;
  flex-grow: 1;
  /* Allow content to grow and fill space */
  display: flex;
  /* Use flexbox for content alignment */
  flex-direction: column;
  justify-content: space-between;
  /* Distribute space between elements */
}

.blog-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-excerpt {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
  /* Allow excerpt to grow */
}

.read-more {
  display: inline-block;
  color: #fff;
  background-color: #151B54;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
  align-self: flex-start;
  /* Align button to the start */
}

.read-more:hover {
  background-color: #2789a4;
}

/* Responsive Design */


/* Responsive Design */
@media (max-width: 768px) {
#header {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background: linear-gradient(135deg, #6a11cb, #2575fc); */
    color: #fff;
    overflow: hidden;
    position: relative;
    margin-top: 10vh;
  }

  .header-content {
    animation: fadeIn 2s ease-in-out;
  }

  #header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  #header p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
  }
.blog-container {
  grid-template-columns: 1fr;
}

.filter-btn {
  margin-bottom: 10px;
}
}


/* Responsive Design for Blog Section */

/* Medium screens (Tablets, 768px and above) */
@media (max-width: 1024px) {
  #blog-section h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .blog-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Adjusted minmax */
  }

  .blog-content h3 {
    font-size: 1.2rem;
  }

  .read-more {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

/* Small screens (Mobile devices, 480px and below) */
@media (max-width: 480px) {
  #blog-section {
    padding: 30px 10px;
  }

  #blog-section h2 {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 0.9rem;
  }

  .blog-image {
    height: 180px;
    /* Adjust image height for smaller screens */
  }


  .blog-content {
    padding: 15px;
  }

  .blog-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .blog-content p {
    font-size: 0.9rem;
  }

  .blog-date {
    font-size: 0.8rem;
  }

  .read-more {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}


/* News Section */
#news {
  padding: 50px 20px;
  background-color: #f7f7f7;
  text-align: center;
}

#news h2 {
  font-size: 36px;
  color: #333;
  margin-bottom: 30px;
}

#news .intro {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.news-list li {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 380px;
  text-align: left;
  transition: transform 0.3s ease-in-out;
}

.news-list li:hover {
  transform: translateY(-10px);
}

.news-list img {
  width: 100%;
  border-radius: 8px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
}

.news-list h4 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.news-list p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  background: #151B54;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: #151B54;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  #news h2 {
    font-size: 30px;
  }

  .news-list {
    flex-direction: column;
    align-items: center;
  }

  .news-list li {
    width: 80%;
    margin-bottom: 30px;
  }

  .news-list h4 {
    font-size: 22px;
  }

  .news-list p {
    font-size: 14px;
  }
}
/* Local Media Coverage Section */
#news h3 {
  font-size: 28px;
  color: #333;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.media-sources {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.media-sources li {
  background-color: #f4f4f4;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.media-sources li:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.media-sources li strong {
  font-weight: bold;
  color: #151B54;
  font-size: 18px;
  display: block;
  margin-bottom: 8px;
}

.media-sources li em {
  color: #151B54;
  font-style: normal;
  font-weight: 500;
  display: block;
  margin-top: 5px;
}

.media-sources li p {
  font-size: 15px;
  color: #777;
  line-height: 1.5;
}

.media-sources li a {
  color: #151B54;
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  display: inline-block;
}

.media-sources li a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .media-sources {
    font-size: 14px;
  }

  .media-sources li {
    padding: 12px;
  }

  .media-sources li strong {
    font-size: 16px;
  }
}



/* Gallery *//* Gallery Section */
.gallery-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.gallery-header p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.filter-buttons {
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: #151B54;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-right: 1rem;
}

.filter-btn:hover {
  background-color: rgb(91, 155, 224);
  transform: translateY(-3px);
}

.filter-btn:focus {
  outline: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.image-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0.5rem;
  border-radius: 5px;
  width: 90%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-header h2 {
    font-size: 2rem;
  }

  .gallery-header p {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .filter-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-header h2 {
    font-size: 1.7rem;
  }

  .gallery-header p {
    font-size: 0.9rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .gallery-item img {
    height: 200px;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: transparent;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 5px 10px;
  outline: none;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff0000;
}

/* Animation for Modal */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
html {
  scroll-behavior: smooth;
}