/* Home page conntent styles */

/* Intro */
.page-content .intro {
  padding: 4.25rem 0 5rem;
}

.page-content .intro .intro-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-content .intro .intro-gallery .background {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-content .intro .content {
  margin-top: 20rem;
  width: 70%;
}

.page-content .intro .definition {
  color: white;
}

.page-content .intro .heading {
  font-size: 3.4rem;
  line-height: 1.5;
}

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

.page-content .intro .readMore-btn,
.page-content .about .readMore-btn {
  background-color: var(--primary-color);
  text-decoration: none;
  color: white;
}

@media screen and (max-width: 991px) {
  .page-content .intro .content {
    width: 100%;
  }
}

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

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

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

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

.page-content .about img {
  width: 40rem;
  height: 30rem;
  max-width: 50%;
  object-fit: cover;
  border-radius: 2.5rem;
}

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

/* ------------------------------------------- */
/* News */
.page-content .news {
  padding: 2.5rem 0;
  color: var(--text-color);
}

.page-content .news .head .title {
  line-height: 1.5;
}

.page-content .news .card {
  max-width: 50%;
}

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

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

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

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

.page-content .news .card .readMore-btn {
  background-color: #e5e7eb;
  text-decoration: none;
  color: black;
  width: fit-content;
  transition: 0.2s;
}

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

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

@media screen and (max-width: 991px) {
  .page-content .news .card {
    max-width: 100%;
  }
}

/* ------------------------------------------- */
/* Statistics */
.page-content .statistics {
  padding: 5rem 0;
  background-color: #f0f0f0;
}

.page-content .statistics .content {
  padding: 3rem 5.5rem;
  background-color: #ffffff;
  border-radius: 4rem;
  box-shadow: 0px 0px 16px 0px #00000040;
  position: relative;
  overflow: hidden;
}

.page-content .statistics .content .background {
  position: absolute;
  left: 0;
  width: 100%;
}

.page-content .statistics .content .background-top {
  top: 0;
}

.page-content .statistics .content .background-bottom {
  bottom: 0;
}

.page-content .statistics .details {
  position: relative;
  z-index: 1;
}

.page-content .statistics .heading {
  font-size: 2.5rem;
  line-height: 1.5;
}

.page-content .statistics .card {
  background-color: #f7f7f7;
  padding: 2rem 4.5rem;
}

.page-content .statistics .card .data {
  font-size: 2rem;
}

/* For spinner animation */

.spin-once {
  animation: spin 2s linear;
  -webkit-animation: spin 2s linear;
}
/*animation for rotate*/
@keyframes spin {
  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

@media screen and (max-width: 1199px) {
  .page-content .statistics .card {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .page-content .statistics .content {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
