/* Home page conntent styles */

/* Intro */
.gradient-background {
  background: linear-gradient(-81deg, #FFFFFF 65%, #FFDB9B26 85%);
  position: relative;
}

.gradient-background .background-dots {
  position: absolute;
  top: 40%;
  left: 2%;
  display: none;
}

.page-content .intro {
  padding: 4.25rem 0 0;
  color: var(--text-color);
}

.page-content .intro .definition {
  width: 50%;
}

.page-content .intro .heading {
  font-size: 3em;
  line-height: 1.5;
}

.page-content .intro .description {
  margin: 2rem 0 2.5rem;
  font-size: 1.5em;
  line-height: 1.6;
}

.page-content .intro .readMore-btn,
.page-content .about .readMore-btn {
  text-decoration: none;
  color: white;
}

.page-content .intro .readMore-btn {
  background: var(--to-right-gradient-background);
}

.page-content .intro figure {
  bottom: -18px;
  left: 15rem;
  filter: drop-shadow(144px 149px 33px #5BC17F1A);
} 

.page-content .intro figure > img {
  width: 34rem;
  height: 40rem;
  object-fit: contain;
  border-radius: 4.5rem;
  -webkit-transform: scale(-1.3, 1.3);
  -moz-transform: scale(-1.3, 1.3);
  -o-transform: scale(-1.3, 1.3);
  transform: scale(-1.3, 1.3);
  
  
}

.page-content .intro figure .title img {
  height: 5rem;
}

@media screen and (max-width: 991px) {
  .page-content .intro {
    overflow: visible !important;
  }

  .page-content .intro .definition {
    width: 100%;
  }

  .page-content .intro figure {
    left: auto;
    bottom: 2rem;
  }

  .page-content .intro figure > img {
    width: 17rem;
    height: 20rem;
  }
}

/* ------------------------------------------- */
/* About */
.page-content .about,
.page-content .awqaf-partners {
  padding: 5rem 0;
  color: var(--text-color);
}

.page-content .about .content {
  gap: 4rem;
}

.page-content .about .heading {
  font-size: 2.5em;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.page-content .about .description {
  margin: 1.5rem 0 2.5rem;
  font-size: 1.5em;
  line-height: 2;
}

.page-content .about .readMore-btn {
  background: var(--to-bottom-gradient-background);
}

.page-content .about img {
  width: 50%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 2.5rem;
  box-shadow: 0 0 25px 20px #5BC17F1A;
}

@media screen and (max-width: 991px) {
  .page-content .about img {
    width: 30rem;
    height: 20rem;
  }
}

/* ------------------------------------------- */
/* Awqaf partners */
.page-content .awqaf-partners {
  background: var(--to-right-gradient-background-2);
}

.page-content .awqaf-partners .title {
  font-size: 4rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.page-content .awqaf-partners .partners img {
  height: 5rem;
}

/* ------------------------------------------- */
/* Latest news */
.page-content .latest-news {
  padding: 3.5rem 0;
  color: var(--text-color);
  background: var(--to-left-gradient-background-2);
}

.page-content .latest-news .title {
  font-size: 4rem;
  line-height: 1.5;
  margin-bottom: 4rem;
}

.page-content .latest-news .swiper-slide {
  max-width: 50%;
}

.page-content .latest-news .swiper {
  height: 34rem;
}

.page-content .latest-news .swiper .card {
  height: 100%;
  background-color: transparent;
  border: none;
}

.page-content .latest-news .card .image {
  height: 16rem;
  margin-bottom: 1.5rem;
}

.page-content .latest-news .card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.page-content .latest-news .card .title {
  line-height: 1.5;
  font-size: 1.2em;
  color: var(--text-color);
  text-decoration: none;
}

.page-content .latest-news .card .description {
  color: var(--light-text-color);
}

.page-content .latest-news .card .title:hover {
  text-decoration: underline;
}

.page-content .latest-news .card .readMore-btn {
  background: var(--to-right-gradient-background);
  text-decoration: none;
  color: white;
  width: fit-content;
}

/* .page-content .latest-news .card .readMore-btn:hover {
  background-color: var(--primary-color);
  color: white;
} */

.page-content .latest-news .card .readMore-btn:hover path {
  stroke: #eef2f0;
}

.page-content .latest-news .swiper-navigators {
  margin-top: 4rem;
}

.page-content .latest-news .swiper-btn-next,
.page-content .latest-news .swiper-btn-prev {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-content .latest-news .swiper-btn-prev {
  background: var(--to-right-gradient-background);
}

.page-content .latest-news .swiper-btn-next {
  background-color: #74737652;
}

.page-content .latest-news svg {
  width: 2.2rem;
  height: 2.2rem;
}

@media screen and (max-width: 767px) {
  .page-content .latest-news .swiper-slide {
    max-width: 100%;
  }
}

.section-loading {
    position: relative;
}

    .section-loading .loader-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.7);
        z-index: 10;
    }

/* Green spinner */
.loader-overlay .spinner-border {
    color: #28a745;
    width: 2.5rem;
    height: 2.5rem;
}