.heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

#heading {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
}

.main-img{
  width: 80%;
}

.slider-container {
  position: relative;
  margin: 0 auto;
  padding-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.swiper-slide {
  display: flex;
  background: rgb(25, 50, 84);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover .question {
  color: #f39c12;
}

.box1 {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.swiper-container {
  width: 90%;
  height: 32rem;  
  margin-top: 2rem;
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.question {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

.source-container {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2.5rem;
}

.source {
  font-size: 0.9rem;
  color: white;
  margin-bottom: 1rem;
}

.btn {
  background-color: #8b5cf6;
  color: white;
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 180px;
  text-align: center;
}

.btn:hover {
  background-color: #2980b9;
}

.btn a {
  color: white;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-arrow {
  width: 18px;
  height: 18px;
  margin-left: 8px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #000000;
  /* Default button color for light theme */
  background-image: url("/assets/arrow.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 2rem 2rem !important;
  width: 2rem !important;
  height: 2rem !important;
  position: absolute;
  top: auto;
  bottom: 1rem;
  transform: none;

  &::after {
    content: none !important;
  }
}

.swiper-container .swiper-button-prev {
  transform: rotate(180deg);
  left: auto;
  right: calc(50% + 40px);
}

.swiper-container .swiper-button-next {
  right: auto;
  left: calc(50% + 40px);
}

.swiper-container .swiper-button-next:hover,
.swiper-container .swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.386);
}

.swiper-pagination {
  color: #181b60;
  position: absolute;
  bottom: 1.5rem;
}

/* Media Queries */
/* Existing styles... */

/* Media Queries */
@media (max-width: 1024px) {
  .slider-container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .heading {
    gap: 1.5rem;
    margin: 1.5rem 0;
  }

  .slider-container {
    max-width: 85%;
  }

  #heading {
    font-size: 1.6rem;
  }

  .swiper-slide {
    height: 190px;
  }

  .box1 {
    padding: 1.2rem;
    height: 100%;
  }

  .question {
    font-size: 1.1rem;
  }

  .source {
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.7rem 2rem;
    max-width: 160px;
  }

  .btn a {
    font-size: 0.9rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 35px;
    height: 35px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .heading {
    gap: 1rem;
    margin: 1rem 0;
  }

  #heading {
    font-size: 1.4rem;
  }

  .swiper-slide {
    height: 180px;
  }

  .box1 {
    padding: 1rem;
    height: 70%;
  }

  .question {
    font-size: 1rem;
  }

  .source {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    max-width: 140px;
  }

  .btn a {
    font-size: 0.85rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 14px;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}