.section {
  padding: 20px 10px;
}
.section.bg-light {
  background-color: #f8f9fa;
}

.section-title h2 {
  display: flex;
  justify-content: center;
}

.section-title h2 > span {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.section-title h2 > span::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--color-primary);
  margin-top: 6px;
}

@media screen and (max-width: 768px) {
  .section-title h2 > span {
    font-size: 2.5rem;
  }
}

/* main container */
.main-container{
  min-height: 80dvh;
}

/* hero section */

.hero-section .hero-container img {
  width: 100%;
  max-height: 70rem;
}

#heroCarouselCaptions .carousel-caption {
  background: #2a7b9b;
  background: -webkit-linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 50%,
    rgba(237, 221, 83, 1) 100%
  );
  background: -moz-linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 50%,
    rgba(237, 221, 83, 1) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(87, 199, 133, 1) 50%,
    rgba(237, 221, 83, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2A7B9B", endColorstr="#EDDD53", GradientType=1);
}

#heroCarouselCaptions .carousel-caption p {
  font-size: 1.8rem;
}

#heroCarouselCaptions .carousel-caption h3,
#heroCarouselCaptions .carousel-caption p {
  color: #000;
}

#heroCarouselCaptions .carousel-caption {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  width: 100%;
  height: 100%;
}

#heroCarouselCaptions .carousel-caption .join-now-btn {
  background-color: var(--color-primary);
  border: 1px solid var(--color-text-light);
  font-weight: 500;
  padding: 8px 12px;
  color: var(--color-text-dark);
}

#heroCarouselCaptions .carousel-control-prev .fas,
#heroCarouselCaptions .carousel-control-next .fas {
  font-size: 3rem !important;
  opacity: 1;
  background-color: #0000006e;
  padding: 4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* moving alerts */
.moving-alerts {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #f9f9f9;
  padding: 10px 0;
}

.scrolling-text {
  display: inline-block;
  animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  margin: 0 10px;
}

/* Stop animation on hover over link */
.scroll-link:hover ~ .scrolling-text {
  animation-play-state: paused;
}

.moving-alerts .dot {
  background-color: var(--color-primary);
  display: inline-block;
  width: 8px;
  height: 8px;
  padding: 8px;
  border-radius: 50%;
  margin: 0 8px;
  box-shadow: 0 0 10px var(--color-primary);
}

.moving-alerts a {
  color: var(--color-text-dark);
  text-underline-offset: 5px;
  font-size: 2rem;
}

.moving-alerts a:hover {
  color: blue;
}

/* new-arrivals */

.new-arrivals .card {
  padding: 0;
  border: none;
  height: 30rem;
  padding: 0;
}

.new-arrivals .section-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-arrivals .card .card-body {
  position: relative;
  padding: 1rem;
}
.new-arrivals .card .card-body a {
  color: var(--color-text-dark);
  font-size: 2rem;
}

.new-arrivals .card .image-container .card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 500;
  background-color: color-mix(in srgb, #fff 15%, #000 15%);
  padding: 0 2px;
}

.new-arrivals .card .image-container {
  position: relative;
  display: block;
  height: 100%;
  text-align: center;
  color: white;
  padding: 4px;
}

.new-arrivals .card .image-container img {
  width: 100% !important;
  object-fit: fill;
  border-radius: 10px;
}

@media screen and (max-width: 1024px) {
  .new-arrivals .card {
    height: 25rem;
  }
  .new-arrivals .card .image-container .card-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 560px) {
  .new-arrivals .card {
    height: 15rem;
  }
  .new-arrivals .card .image-container .card-title {
    font-size: 2rem;
  }
}

/* weekly-highlights */
.weekly-highlights .card {
  padding: 0;
  border-radius: 10px;
  height: 30rem;
}
.weekly-highlights .section-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.weekly-highlights .card .card-body {
  padding: 1rem;
}
.weekly-highlights .card .card-body a {
  color: var(--color-text-dark);
  font-size: 2rem;
}

.weekly-highlights .card .image-container {
  padding: 0;
  position: relative;
  display: block;
  text-align: center;
  color: white;
  height: 80%;
}

.weekly-highlights .card .image-container .card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 500;
  background-color: color-mix(in srgb, #fff 15%, #000 15%);
  padding: 0 2px;
}
.weekly-highlights .card .image-container img {
  width: 100% !important;
  object-fit: fill;
  border-radius: 10px;
}

.weekly-highlights .card .image-container .heart-icon {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.weekly-highlights .card .image-container .heart-icon:hover {
  transform: scale(1.2);
}

@media screen and (max-width: 1024px) {
  .weekly-highlights .card .image-container .card-title {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 560px) {
  .weekly-highlights .card {
    height: 20rem;
  }
  .weekly-highlights .card .card-body {
    padding: 5px;
  }
  .weekly-highlights .card .image-container .card-title {
    font-size: 2rem;
  }
  .weekly-highlights .card-body .card-title a {
    font-size: 1.6rem;
  }
  .weekly-highlights .card .image-container .heart-icon {
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
  }
}

/* ads-banner section */
.ads-banner1 {
  padding: 20px 0;
  margin: 20px 0;
  border-radius: 10px;
}
.ads-banner1 img {
  width: 100%;
  max-height: 600px;
}
.ads-banner1 .content {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 40px;
}
.ads-banner1 .content .btn {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  border: 1px solid var(--color-text-light);
}

/* blog section */
.blog-section .blog-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.blog-section .section-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-section .blog-card .card-title a {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text-dark);
}
.blog-section .blog-card .card-title a:hover {
  color: var(--color-primary);
}
.blog-section .blog-card .card-text {
  font-size: 1.6rem;
  font-weight: 500;
}

/* featured footer section*/
.feature-section {
  background-color: #fcfafa;
}
.feature-section .feature-box {
  padding: 16px;
  background: #f9f9f9;
  border-radius: 10px;
  transition: box-shadow 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feature-section .feature-box .title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-section .feature-box i {
  color: #333;
  font-size: 3rem;
}
.feature-section .feature-box h6 {
  font-size: 1.6rem;
}
.feature-section .feature-box:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

 /* gallery section */

.gallery-section .section-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
}