/* News Page Specific Styles - Scoped to avoid conflicts */

/* News Page Title Section */



/* News Gallery Section */
.news-gallery-section {
  padding: 80px 0;
  background: #f8f9fa;
}


/* News Gallery Grid */
.news-gallery-grid {
  margin-bottom: 10px;
}

.news-gallery-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.mb-space-30{
    margin-bottom: 30px;
}

.news-gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* News Gallery Image Wrapper */
.news-gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.news-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.news-gallery-item:hover .news-gallery-image {
  transform: scale(1.1);
}

/* News Gallery Content */
.news-gallery-content {
  padding: 25px;
}

.news-gallery-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #009688;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-gallery-category i {
  font-size: 1rem;
}

.news-gallery-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-gallery-excerpt {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-page-title-text {
    font-size: 2.5rem;
  }
  
  .news-page-subtitle {
    font-size: 1rem;
  }
  
  .news-gallery-heading {
    font-size: 2rem;
  }
  
  .news-gallery-section {
    padding: 60px 0;
  }
  
  .news-gallery-image-wrapper {
    height: 200px;
  }
  
  .news-gallery-content {
    padding: 20px;
  }
  
  .news-gallery-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .news-page-title-text {
    font-size: 2rem;
  }
  
  .news-gallery-heading {
    font-size: 1.8rem;
  }
  
  .news-gallery-description {
    font-size: 1rem;
  }
  
  .news-gallery-image-wrapper {
    height: 180px;
  }
}

/* Animation Classes */
.news-gallery-item {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Stagger animation for gallery items */
.news-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.news-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.news-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.news-gallery-item:nth-child(4) { animation-delay: 0.4s; }
.news-gallery-item:nth-child(5) { animation-delay: 0.5s; }
.news-gallery-item:nth-child(6) { animation-delay: 0.6s; } 