/* Enhanced Slider Styles */
.mdh-0{
  max-height: 0px;
}

.featured-news-swiper {
    /* padding: 2rem 0 4rem; */
    overflow: visible !important;
    margin-bottom: 1rem;
  }

  .swiper-slide {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 500px;
    /*transform-origin: center bottom;*/
    width: 85%;
    /*transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);*/
    /*transform: scale(0.85) translateY(20px);*/
    opacity: 0.5;
    /*backdrop-filter: blur(10px);*/
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .swiper-slide-active {
    transform: scale(1) translateY(0);
    opacity: 1;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .swiper-slide-prev,
  .swiper-slide-next {
    transform: scale(0.85) translateY(10px);
    opacity: 0.7;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }

  .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to top,*/
    /*  rgba(0,0,0,0.9) 0%,*/
    /*  rgba(0,0,0,0.6) 10%,*/
    /*  rgba(0,0,0,0.3) 20%,*/
    /*  rgba(0,0,0,0) 25%);*/
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .swiper-slide:hover::before {
    opacity: 1;
  }

  .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background: linear-gradient(45deg,*/
    /*  rgba(56, 178, 172, 0.2) 0%,*/
    /*  rgba(19, 78, 74, 0.2) 100%);*/
    z-index: 1;
    opacity: 0;
    /*transition: opacity 0.5s ease;*/
  }

  .swiper-slide:hover::after {
    opacity: 1;
  }

  .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 7s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(0.9);
  }

  .swiper-slide:hover img {
    transform: scale(1.05);
    filter: brightness(1);
  }

  .swiper-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to top,
      rgba(0,0,0,0.8) 0%,
      rgba(0,0,0,0.4) 50%,
      rgba(0,0,0,0) 100%);
    backdrop-filter: blur(5px);
  }

  .swiper-slide:hover .swiper-slide-content {
    transform: translateY(0);
    opacity: 1;
  }

  /* Slide Content Animation */
  .swiper-slide h3,
  .swiper-slide p,
  .swiper-slide .flex {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--index, 0) * 100ms);
  }

  .swiper-slide-active h3 {
    --index: 1;
  }

  .swiper-slide-active p {
    --index: 2;
  }

  .swiper-slide-active .flex {
    --index: 3;
  }

  /* Navigation Buttons */
  .swiper-button-next,
  .swiper-button-prev {
    width: 3.5rem !important;
    height: 3.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0.7;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: rgba(56, 178, 172, 0.1) !important;
    transform: scale(1.1);
    border-color: rgba(56, 178, 172, 0.3);
    box-shadow: 0 5px 15px rgba(56, 178, 172, 0.2);
    opacity: 1;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 1.25rem !important;
    color: white !important;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }

  /* Pagination Bullets */
  .swiper-pagination {
    bottom: -5px !important;
  }

  .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1 !important;
    transition: all 0.3s ease !important;
  }

  .swiper-pagination-bullet-active {
    background: #38b2ac !important;
    transform: scale(1.3);
    border: 1px solid rgba(56, 178, 172, 0.5);
    box-shadow: 0 0 10px rgba(56, 178, 172, 0.5);
  }

  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev,
  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
    transform: scale(0.9);
  }

  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev,
  .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
    transform: scale(0.7);
  }

  /* Card content styling */
  .swiper-slide h3 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .swiper-slide p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  /* Card hover effects */
  .swiper-slide-active:hover img {
    transform: scale(1.05);
  }

  .swiper-slide img {
    transition: transform 7s cubic-bezier(0.23, 1, 0.32, 1);
  }

  /* Category badge styling */
  .category-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(56, 178, 172, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(56, 178, 172, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  /* Read more button styling */
  .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #38b2ac;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(56, 178, 172, 0.3);
  }

  .read-more-btn:hover {
    background-color: #2c9a94;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(56, 178, 172, 0.4);
  }

  .read-more-btn svg {
    transition: transform 0.3s ease;
  }

  .read-more-btn:hover svg {
    transform: translateX(5px);
  }
