.header-title{
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column !important;
  gap: 1rem;
}

.news-carousel-section {
  display: flex;
  flex-direction: column;
  height: max-content;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 2rem 60px;
}

.news-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.news-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 0 0 50px;
  color: #ffffff;
  height: 100%;
}

.news-heading h1 {
  line-height: 80px;
}

.news-heading h5 {
  font-size: 30px;
  text-shadow: 2px 4px 4px #000000;
}

/* Swiper Styles */
.swiper {
  width: 100%;
  position: relative;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.swiper-slide a {
  text-decoration: none;
}

/* Swiper Arrows */
.swiper-button-prev.swiper-news-prev,
.swiper-button-next.swiper-news-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border: none;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev.swiper-news-prev {
  left: 5px;
}

.swiper-button-next.swiper-news-next {
  right: 5px;
}

.swiper-button-next.swiper-news-next::after,
.swiper-button-prev.swiper-news-prev::after {
  content: none !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  transition: transform 0.3s ease;
  fill: #001845;
}

.swiper-button-next:hover svg {
  transform: translateX(4px);
}

.swiper-button-prev:hover svg {
  transform: translateX(-4px);
}

/* News Card Styles */
.news-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
  width: 400px;
  flex-shrink: 0;
}

.news-temp {
  display: flex;
  justify-content:flex-start;
  align-items: center;
  background: #001233;
  width: 338px;
  height: 40px;
  border-radius: 0 0 50px 0;
  color: #f8f9fa;
  padding: 0 10px;
  flex-shrink: 0;
}

.news-temp p {
  font-size: 1rem;
  margin: 0;
  color: #ffffff;
}

.news-content {
  width: 100%;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card-title {
  color: #001845 !important;
  font-size: 1.6rem;
  line-height: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 130px;
  height: 100%;
}

.news-image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 400px;
  height: 400px;
}

.news-image-wrapper img {
  height: 400px;
  width: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* Hover Overlay */
.hover-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #001233ee;
  transition: left 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 40px;
  border-radius: 8px;
}

.news-image-wrapper:hover .hover-overlay {
  left: 0;
}

.hover-overlay p {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}

.read-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  transition: color 0.3s ease-in-out;
}

.read-more p {
 transition: color 0.3s ease-in-out;
}

.read-more svg {
  width: 18px;
  height: 18px;
  transition: color 0.3s ease-in-out;
}

.read-more:hover, .read-more p:hover{
  color: #CA9C57;
}


/* News Button */
.news-btn {
  display: flex;
  font-size: 24px;
  width: 216px;
  height: 62px;
  color: #001233;
  justify-content: center;
  align-items: center;
  border: none;
  text-decoration: none;
  font-family: "SansCondFont", sans-serif;
  text-transform: uppercase;
  border-radius: 8px;
  gap: 5px;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  cursor: pointer;
}

.news-btn svg {
  fill: #001233;
}

.swiper-wrapper{
  height: max-content !important;
}

.article-image{
  border-radius: 10px;
  padding: 15px 10px;
  width: 100%;
  height: 100%;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ===================== */
/* Tablet (max-width: 768px) */
/* ===================== */
@media (max-width: 768px) {
  .news-carousel-section {
    padding: 1.5rem 1rem;
  }

  .news-heading {
    padding: 30px 20px 0;
  }

  .news-heading h1 {
    line-height: 50px;
    font-size: 2rem;
  }

  .news-heading h5 {
    font-size: 20px;
  }

  .news-card {
    width: 100%;
  }

  .news-temp {
    width: 100%;
  }

  .news-image-wrapper {
    width: 100%;
    height: auto;
  }

  .news-image-wrapper img {
    width: 100%;
    height: 300px;
  }

  .hover-overlay {
    padding: 20px;
    gap: 1rem;
  }

  .card-title {
    min-height: auto;
  }
}

/* ===================== */
/* Mobile (max-width: 480px) */
/* ===================== */
@media (max-width: 480px) {
  .news-heading {
    padding: 20px 15px 0;
  }

  .news-heading h1 {
    font-size: 1.5rem;
    line-height: 40px;
  }

  .news-heading h5 {
    font-size: 16px;
  }

  .news-temp {
    font-size: 0.9rem;
    padding: 0 8px;
    height: 36px;
    border-radius: 0 0 30px 0;
  }

  .hover-overlay p {
    font-size: 1rem;
  }

  .read-more {
    font-size: 0.9rem;
  }

  .news-btn {
    width: 100%;
    font-size: 18px;
    height: 54px;
  }
}