/*=======================
  styling hero section
=========================*/
html,body{
    overflow-x: hidden;
}
#hero {
  margin-top: 30px;
  background-color: white;
  position: relative;
  z-index: 10;
  border-bottom-right-radius: var(--large-radius);
  border-bottom-left-radius: var(--large-radius);

  &::after,
  &::before {
    content: '';
    position: absolute;
    top: 32px;
    right: 50px;
    z-index: 1;
    width: 60%;
    height: 45%;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transform: rotateZ(-15deg);
  }

  &::before {
    width: calc(60% + 80px);
    height: calc(45% + 35px);
    top: 15px;
    right: 15px;
  }

  .hero-section {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    .info {
      margin-top: -60px;
      flex: 1;

      .title {
        font-weight: normal;
      }

      .content {
        margin-top: 20px;

        h4 {
          margin-bottom: 10px;
          font-size: 24px;
          font-weight: 600;
        }

        .ctm-accordian {
          margin-bottom: 8px;

          .accord-content {
            p {
              font-weight: 500;
              margin-bottom: 5px;
            }

            ul li {
              display: flex;
              align-items: center;
              gap: 20px;

              i {
                color: #ddb93b;
              }
            }
          }
        }
      }
    }

    .image {
      max-width: 650px;

      img {
        width: 100%;
        margin-bottom: -6px;
      }
    }

    .quote {
      max-width: 250px;

      .icon {
        display: block;
        margin-bottom: 15px;
      }

      .text {
        color: var(--text-muted);
        font-style: italic;
      }
    }
  }
}

/*=======================
  styling self intro section
=========================*/
#self-intro {
  padding-block: 100px;
  margin-top: -50px;
  background: var(--b-gradient);
  color: white;

  .content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 100px;

    .ceo {
      .ceo-image {
        max-width: 400px;
        max-height: 420px;
        overflow: hidden;
        border-radius: var(--main-radius);
        margin-bottom: 10px;

        img {
          border-radius: var(--main-radius);
          width: 100%;
        }
      }

      .ceo-title {
        width: 300px;
        margin: auto;
        font-weight: 600;
        font-size: 25px;
        line-height: 30px;
        text-align: center;

        span {
          font-size: 18px;
          font-weight: normal;
        }
      }
    }

    .text {
      font-weight: 600;
      line-height: 24px;

      .para {
        margin: 20px auto;
      }
    }
  }

}

/*============================
  styling testimonial section
==============================*/
#testimonial {
  padding-block: 50px;
  overflow: hidden;

  .head {
    text-transform: capitalize;
    margin-bottom: 30px;
  }

  .swiper {
    position: relative;
    width: 100%;
    margin-inline: auto;
    height: 500px;
    overflow: hidden !important;

    .swiper-slide {
      scale: .8;
      border-radius: var(--main-radius);
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        margin-inline: auto !important;
      }
    }

    .swiper-slide-active {
      /* scale: 1.1; */
    }

    .swiper-button-next,
    .swiper-button-prev {
      position: absolute !important;
      top: -55px !important;
      right: 0 !important;
      width: fit-content !important;
      display: flex !important;
      align-items: center;
      justify-content: center;
      min-width: 50px;
      min-height: 50px;
      z-index: 20;
      padding: 20px !important;
      background: var(--main-gradient);
      width: fit-content;
      border-radius: 50%;
      color: white;

      &::after {
        font-size: 20px;
      }
    }

    .swiper-button-prev {
      right: 60px !important;
      margin-inline-start: auto !important;
    }

    .swiper-pagination-bullet-active {
      background-color: #0FA98A;
    }
  }
}

/*=======================
  styling mission section
=========================*/
#mession {
  padding-block: 50px;
  text-transform: capitalize;

  .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    .info {
      h4 {
        margin-bottom: 20px;
      }

      p {
        font-weight: normal;
      }

      button {
        margin-top: 80px;
      }
    }

    .image {
      position: relative;
      padding-inline-end: 10%;

      &::after {
        content: '';
        position: absolute;
        border-top-left-radius: var(--main-radius);
        border-bottom-left-radius: var(--main-radius);
        background: var(--main-gradient-revers);
        right: -50px;
        top: 0;
        width: 150px;
        height: 100%;
      }

      .doc-image {
        width: 550px;
        height: 410px;
        border-radius: var(--main-radius);

        img {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}

/*=======================
  styling vision section
=========================*/
#vision {
  padding-block: 50px;
  text-transform: capitalize;

  .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    .info {
      flex: 1;

      h4 {
        margin-bottom: 20px;
      }

      p {
        font-weight: normal;
      }

      button {
        margin-top: 80px;
      }
    }

    .image {
      position: relative;
      padding-inline-start: 10%;
      flex: 1;

      &::after {
        content: '';
        position: absolute;
        border-top-right-radius: var(--main-radius);
        border-bottom-right-radius: var(--main-radius);
        background: var(--main-gradient);
        left: -50px;
        top: 0;
        width: 150px;
        height: 100%;
      }

      .doc-image {
        width: 550px;
        height: 350px;
        border-radius: var(--main-radius);

        img {
          width: 100%;
          height: 100%;
          max-height: 400px;
          border-radius: var(--main-radius);
        }
      }
    }
  }
}

/*=============================
  styling core values section
===============================*/
#core-values {
  padding-block: 50px;
 

  .content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    text-transform: capitalize;

    .values {
         min-height: 500px;
      h4 {
        margin-bottom: 20px;
      }

      .values-cards {
        padding-bottom: 150px;

        .row-one,
        .row-two {
          display: flex;
          align-items: center;
          gap: 20px;

          .card {
            padding: 25px 50px;
            text-align: center;
            box-shadow: var(--main-shadow);
            border-radius: var(--main-radius);
            background-color: white;
            transition: all .3s;

            .icon {
              margin-bottom: 20px;
            }

            .title {
              font-size: 20px;
              font-weight: 500;
              text-wrap: nowrap;
            }
            
            &:hover {
                transform: translateY(-6px);
            }
          }
        }

        .row-two {
          position: absolute;
          margin-top: 20px;
          width: 100%;
          bottom: 0;
          left: 0;
          justify-content: center;
        }
      }
    }

    .image {
      img {
        width: 100%;
      }
    }
  }
}


#services {
  padding-top: 150px;
  margin-top: -50px;
  color: white;
  position: relative;

  &::after {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      right: 0;
      width: 100%;
      height: calc(50% + 50px);
      background: var(--main-gradient);
  }

  .head {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .title {
          font-size: 40px;
      }

      .description {
          font-size: 20px;
          width: 50%;
          padding-inline: 30px;
      }
  }

  .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 15px;
      margin-top: 50px;

      .card {
          overflow: hidden;
          border-radius: var(--main-radius);
          max-height: 300px;
          position: relative;

          img {
              width: 100%;
              height: 100%;
          }

          .info {
              position: absolute;
              bottom: 0;
              right: 0;
              width: 100%;
              z-index: 5;
              display: flex;
              flex-direction: column;
              justify-content: end;
              padding: 25px;

              .title {
                  font-size: 20px;
                  font-weight: 600;
                  margin-bottom: 20px;
              }

              .description {
                  font-weight: 400;
                  line-height: 24px;
              }
          }

      }

      .one {
          .info {
              background: linear-gradient(to bottom, #D3C31200, #D3C312);
          }
      }

      .two {
          .info {
              background: linear-gradient(to bottom, #0FA98A00, #0FA98A);
          }
      }

      .three {
          .info {
              background: linear-gradient(to bottom, #61A90F00, #61A90F);
          }
      }

      .four {
          .info {
              background: linear-gradient(to bottom, #2EB8DB00, #2EB8DB);
          }
      }

      .five {
          .info {
              background: linear-gradient(to bottom, #57873A00, #57873A);
          }

      }

      .six {
          .info {
              background: linear-gradient(to bottom, #639EBA00, #639EBA);
          }
      }
  }
}


.accord-content {
  a {
    display: block;
    color: black;
    font-weight: 500;
    margin-bottom: 5px;

    &:hover {
      color: #0FA98A;
    }
  }

  ul li {
    display: flex;
    align-items: center;
    gap: 20px;

    i {
      color: #D3C312;
    }
  }
}