/* --------------------------------------------------------------
# Hero Section
-------------------------------------------------------------- */
.hero {
  min-height: 720px;
}

main {
  background: #fbf9cf;
}

.hero .container {
  z-index: 1;
}
.hero h1 {
  font-family: "Nunito", sans-serif;
  text-align: center;
  align-items: center;
  color: #fff;
}

.hero h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 1000;
  margin: 0;
  font-size: 82px;
  line-height: 1.2;
  color: #fff;
}

.hero h3 {
  margin: 0;
  text-align: center;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 1199px) {
  .hero:after {
    width: 75%;
  }
  .hero .col-xl-4 {
    width: 60%;
  }
}

@media (max-width: 575px) {
  .hero h2 {
    font-size: 72px;
  }
}
@media (max-width: 496px) {
  .hero h2 {
    font-size: 72px;
  }
  .hero .animated-item{
    text-align: center;
  }
}
@media (max-width: 400px) {
  .hero h2 {
    font-size: 62px;
  }
}


/*---------------------------------------
  ANIMATED TEXT              
-----------------------------------------*/
.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  min-width: 250px;
  position: relative;
}

.animated-item {
  color: var(--primary-color);
}

.animated-item {
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 10px;
  animation: BottomTotop 6s linear infinite 0s;
  text-align: left;
}

.animated-item:nth-child(2n + 2) {
  animation-delay: 2s;
}

.animated-item:nth-child(3n + 3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(5px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(5px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/** about section **/

.about {
  background-color: #ffffff;
  padding: 80px 50px;
  position: relative;
  margin: 0 70px;
  box-shadow: 3px 0 62px rgba(13, 3, 3, 0.18);
  border-radius: 60px;
  margin-top: -130px;
}

.about .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about img {
  max-width: 100%;
  border-radius: 15px;
}

.container_width {
  max-width: 1380px;
  padding: 0 15px;
  display: block;
  margin: 0 auto;
  clear: both;
}

.about .titlepage {
  padding-bottom: 10px;
}

.about .titlepage h2 {
  position: relative;
  padding-bottom: 18px;
}

.about .titlepage h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 15px;
  bottom: 0;
  left: calc(50% - 25px);
  left: 0;
}

.about .titlepage p {
  font-weight: normal;
  font-size: 17px;
  line-height: 30px;
  color: #111111;
  padding: 35px 0px 30px 0px;
}

.about .titlepage a {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  background-color: var(--color-default);
  border: 2px solid var(--color-default);
  color: #fff;
}
.about .titlepage a:hover {
  background-color: var(--color-primary);
  border: 2px solid var(--color-default);
  color: #000;
}
@media (min-width: 1580px) {
  .about {
    max-width: 1440px;
    margin: 0 auto;
    margin-top: -130px;
  }
}

@media (max-width: 991px) {
  .titlepage a {
    display: inline-block;
    margin-bottom: 30px;
  }
  .about .titlepage p {
    padding-bottom: 20px;
  }
}
@media (max-width: 481px) {
  .about {
    margin: 0 20px;
    margin-top: -100px;
  }
}

@media (max-width: 400px) {
  .about {
    padding: 60px 30px;
  }
}

/** end about section **/

/*** Service ***/

.service {
  padding: 70px 40px;
}

.service-item {
  position: relative;
  height: 100%;
  padding: 30px 25px;
  background: #ffffff;
  border-radius: 40px !important;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.service-item:hover {
  background: var(--color-default);
}

.service-item .service-icon {
  color: #ffffff;
}

.service-item .service-icon {
  margin: 0 auto 20px auto;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../../img/icon-shape-primary.svg) center center no-repeat;
  transition: 0.5s;
}

.service-item:hover .service-icon {
  color: var(--color-default);
  background-image: url(../../img/icon-shape-white.svg);
}
.service-item h5 {
  font-weight: 900;
}
.service-item h5,
.service-item p {
  transition: 0.3s;
}

.service-item:hover h5,
.service-item:hover p {
  color: var(--color-primary);
}

.service-item a.btn {
  position: relative;
  display: flex;
  color: var(--color-default);
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover a.btn {
  color: var(--color-default);
}

.service-item a.btn::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 45px;
  top: 0;
  left: 0;
  border-radius: 35px;
  background: var(--color-primary);
  transition: 0.5s;
  z-index: -1;
}

.service-item:hover a.btn::before {
  width: 100%;
  background: var(--color-primary);
}

@media (max-width: 481px) {
  .service {
    padding: 70px 12px;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.why-us {
  padding: 70px 40px;
  background-color: #ffffff;
}

.why-us .row {
  margin-bottom: 20px;
}

.why-us .icon-box {
  padding: 30px;
  min-height: 100%;
  border-radius: 15px;
  background-color: var(--color-primary);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.why-us .icon-box i {
  color: var(--color-default);
  font-size: 40px;
}
.why-us .icon-box .text-wrapper {
  margin-left: 20px;
}

.why-us .icon-box h4 {
  font-weight: 1000;
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--color-default);
}

.why-us .icon-box h4 a {
  color: var(--color-default);
  font-weight: 800;
  transition: 0.3s;
}

.why-us .icon-box p {
  line-height: 24px;
  font-size: 14px;
}

.why-us .icon-box:hover h4 a {
  color: var(--color-default);
}

@media (max-width: 481px) {
  .why-us {
    padding: 70px 0px;
  }
  .why-us .icon-box {
    flex-wrap: wrap;
    padding: 30px 15px;
  }
  .why-us .icon-box .text-wrapper {
    margin: 0;
    text-align: center;
  }

  .why-us .icon-box i {
    padding-bottom: 5px;
  }
  .why-us .row {
    margin: 0;
  }
}
/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(21, 28, 46, 0.75), rgba(34, 47, 81, 0.5)),
    url("../../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  padding-bottom: 10px;
}

.cta p {
  color: #fff;
  /* max-width: 850px; */
  margin: 0 auto;
  padding-bottom: 15px;
}

.cta .cta-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 25px;
  transition: 0.5s;
  margin-top: 10px;
  color: var(--color-default);
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cta .cta-btn:hover {
  border: 2px solid var(--color-primary);
  color: #fff;
  background: transparent;
}

/*--------------------------------------------------------------
# Mission, Vision, Goals
--------------------------------------------------------------*/

#timeline {
  background-color: #ffffff;
  padding-top: 30px;
}

.timeline,
.timeline-nodes {
  position: relative;
  padding-bottom: 30px;
}

.timeline-nodes:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline h3,
.timeline p {
  padding: 10px 30px;
}

.timeline h3 {
  color: var(--color-default) !important;
  background: var(--color-primary) !important;
}

.timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 37px;
  left: 50%;
  width: 0;
  border-left: 1px solid var(--color-secondary);
  height: 85%;
  z-index: 1;
  transform: translateX(-50%);
}

.timeline-content {
  position: relative;
  border-radius: 0 0 0.25rem 0.25rem;
  padding: 0;
  margin-top: 15px;
}

.timeline-nodes:nth-child(odd) h3,
.timeline-nodes:nth-child(odd) p {
  text-align: right;
}

.timeline-nodes:nth-child(odd) .timeline-date {
  text-align: left;
}

.timeline-nodes:nth-child(even) .timeline-date {
  text-align: right;
}

.timeline-nodes:nth-child(odd) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-left: 10px solid var(--color-default);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-nodes h3 {
  position: relative;
  border-radius: 0.25rem 0.25rem 0 0;
}

.timeline-nodes:nth-child(even) h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(0, -50%);
  width: 0;
  border-right: 10px solid var(--color-default);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.timeline-icons {
  position: relative;
  z-index: 100;
  color: var(--color-primary);
}

.timeline-icons::before {
  content: "";
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background: var(--color-default);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  z-index: 1;
}

.timeline-icon {
  position: relative;
  z-index: 100;
  color: var(--primary-color);
  display: block;
  text-align: center;
  line-height: 80px;
  font-size: 35px;
}

@media (max-width: 767px) {
  .timeline-nodes:nth-child(odd) h3,
  .timeline-nodes:nth-child(odd) p {
    text-align: left;
  }

  .timeline-nodes:nth-child(even) {
    flex-direction: row;
  }

  .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 60px;
    left: 33px;
    width: 0;
    height: 90%;
    z-index: 1;
    transform: translateX(-50%);
  }

  .timeline-content {
    margin-top: 5px;
  }

  .timeline-icons {
    position: absolute;
    left: 0%;
    top: 60px;
  }

  .timeline-nodes:nth-child(odd) h3::after {
    left: auto;
    right: 100%;
    border-left: 0;
    border-right: 10px solid var(--primary-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) h3::after {
    right: 100%;
    width: 0;
    border-right: 10px solid var(--primary-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  .timeline-nodes:nth-child(even) .timeline-date {
    text-align: left;
  }
  .timeline-nodes .timeline-date {
    margin-top: 65px;
  }

  .timeline-icons::before {
    width: 75px;
    height: 75px;
  }

  .timeline-icon {
    line-height: 75px;
  }
}

@media (max-width: 575px) {
  .timeline::before {
    content: "";
    display: block;
    top: 60px;
    left: 12%;
    height: 87%;
  }

  .timeline-icons {
    position: absolute;
    left: -10px;
  }

  .timeline-icons::before {
    width: 70px;
    height: 70px;
  }

  .timeline-icon {
    line-height: 70px;
  }
}
