@import url("global.css");
@import url("header.css");
@import url("footer.css");

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  padding: 20px 0;
  display: flex;
  align-items: center;
  background-size: cover;
  overflow: hidden;
}

.hero .hero_img {
  position: absolute;
  top: 0;
  left: 0;
  height: 130%;
  width: 100%;
  transform-origin: center;
  will-change: transform;
  z-index: -1;
  
  & img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  &:before {
    content: "";
    background: linear-gradient(180deg,rgba(19,19,19,0) 0%,rgb(19, 19, 19) 100%);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
  }
}

.hero_content {
  padding: 80px;
  position: relative;
  height: 100vh;
  display: grid;
  align-content: end;
  justify-content: space-between;

  & h1 {
    font-family: var(--heading-font);
    font-size: 50px;
    font-style: normal;
    font-weight: 500;
    line-height: 53px;
    letter-spacing: -2px;
    text-wrap-style: balance;
    color: var(--contrast-color);
    /* background: linear-gradient(165deg, rgb(255, 255, 255) 24%, rgb(102, 102, 102) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
  }

  & p {
    font-family: var(--heading-font);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    text-wrap-style: balance;
    color: color-mix(in hsl, var(--contrast-color) 70%, transparent);
  }

  & .right_box {
    width: 100%;
    display: grid;
    gap: 24px;
    align-items: end;
    justify-items: end;

    /* & .video_exp {
      position: relative;
      padding: 10px;
      width: 180px;
      aspect-ratio: 9/16;
      border-radius: 16px;
      overflow: hidden;
      display: grid;
      align-content: space-between;
      justify-items: center;
      transition: width 0.4s ease-in-out;

      & video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      & .close {
        position: relative;
        z-index: 1;
        display: flex;
        width: 24px;
        height: 24px;
        padding: 6px;
        background: var(--contrast-color);
        border-radius: 5px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-self: end;
        transition: all 0.3s ease-in-out;

        &:hover {
          transform: scale(1.03);
        }
      }

      & .play {
        position: relative;
        font-size: 24px;
        color: var(--contrast-color);
        background: #ffffff30;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 99px;
        backdrop-filter: blur(5px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease-in-out;

        &:hover {
          transform: scale(1.03);
        }
      }

      &:hover .play {
        opacity: 1;
        pointer-events: all;
        cursor: pointer;
      }

      & .btn-hello,.btn-hello:focus {
        position: relative;
        font-family: var(--heading-font);
        font-weight: 600;
        font-size: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        height: 48px;
        width: 100%;
        padding: 16px 20px;
        border-radius: 50px;
        background: var(--black);
        color: var(--contrast-color);
        box-shadow: 0px 4px 0px 0px rgb(0 0 0 / 25%);
      
        &:hover {
          color: var(--black);
          background: var(--accent-color);
        }
      } */
    }

    & .accreditations {
      display: flex;
      align-items: center;
      gap: 24px;
      max-width: 530px;
              margin-top: 41px;

      & img {
        height: 60px;
        width: 100%;
        object-fit: cover;
      }
    }
  }


.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
        font-size: 40px;
        line-height: 47px;
  }

  .hero p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

.inner-page .hero {
  height: auto;

  & .hero_img {
    height: 160%;
    &:before {
      background: linear-gradient(180deg,rgba(0, 0, 0, 0.35) 0%,rgb(0, 0, 0) 100%);
    }
  }
  
  & .hero_content {
    padding: 140px 80px 40px 80px;
    height: auto;
    display: flex;
    justify-content: center;
    margin: 0 auto;

    & h1 {
      font-size: 52px;
      line-height: 60px;
      margin-bottom: 20px;
    }

    & .accreditations {
      display: flex;
      align-items: center;
      gap: 24px;

      & img {
        height: 50px;
        width: auto;
      }
    }
  }
}

@media (max-width: 768px) {
  .inner-page .hero {
    & .hero_content {
      padding: 140px 10px 40px 10px;
      height: auto;

      & h1 {
        font-size: 30px;
        line-height: 38px;
        margin-bottom: 20px;
      }
      & .right_box {
        width: 100%;
        display: grid;
        gap: 24px;
        align-items: start;
        justify-items: start;
        margin-top: 30px;

        & .accreditations {
          display: flex;
          align-items: start;
          gap: 20px;

          & img {
            height: 34px;
            width: auto;
          }
        }
      }
    }
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;

  & .title {
    color: #141414;
    font-family: Geist;
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: -1px;
  }

  & p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
  }

  & .box {
    position: relative;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 10px;
    background: var(--accent-light);

    & h3 {
      color: #000;
      font-family: Geist;
      font-size: 54px;
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      margin: 0;
    }

    & h4 {
      color: #000;
      font-family: Inter;
      font-size: 22px;
      font-weight: 600;
      margin: 0;
    }

    & p {
      font-size: 14px;
    }
  }
}

/*--------------------------------------------------------------
# About Page
--------------------------------------------------------------*/

.about_page {
  & .about {
    & .section-title {
      padding-bottom: 20px;

      & .small_title {
        justify-self: start;
      }
      & h2 {
        color: #000;
        text-align: start;
        font-family: var(--heading-font);
        font-size: 60px;
        font-weight: 400;
        line-height: 78px;
        letter-spacing: -1px;
        margin-bottom: 50px;
        width: 86%;
      }
    }

    & h3 {
      color: #000;
      font-family: Geist;
      font-size: 66px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      margin: 0;
    }

    & .box {
      padding: 0;
      gap: 16px;
      background: transparent;

      & h3 {
        color: #000;
        font-family: Geist;
        font-size: 66px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
        margin: 0;
        letter-spacing: -3px;
      }

      & p {
        font-size: 18px;
        font-weight: 400;
      }
    }

    & .content {
      & p {
        font-size: 24px;
        color: var(--black);
        margin-bottom: 20px;
        font-weight: 400;
      }
    }
  }
}

/*--------------------------------------------------------------
# Service Page
--------------------------------------------------------------*/


.service_page {
  & .about {
    & .section-title {
      padding-bottom: 20px;

      & .small_title {
        justify-self: start;
      }
      & h2 {
        color: #000;
        text-align: start;
        font-family: var(--heading-font);
        font-size: 48px;
        font-weight: 400;
        line-height: 66px;
        letter-spacing: -1px;
        margin-bottom: 10px;
        width: 86%;
      }
    }

    & h3 {
      color: #000;
      font-family: Geist;
      font-size: 66px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      margin: 0;
    }

    & .box {
      padding: 0;
      gap: 16px;
      background: transparent;

      & h3 {
        color: #000;
        font-family: Geist;
        font-size: 66px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
        margin: 0;
        letter-spacing: -3px;
      }

      & p {
        font-size: 18px;
        font-weight: 400;
      }
    }

    & .content {
      & p {
        font-size: 24px;
        color: var(--black);
        margin-bottom: 20px;
        font-weight: 400;
      }
    }
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.why {

  & .box {
    position: relative;
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius: 10px;
    background: var(--accent-light);

    & .icon {
      width: 40px;

      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;;
      }
    }

    & h3 {
      color: #000;
      font-family: Inter;
      font-size: 22px;
      font-weight: 600;
      margin: 0;
    }

    & p {
      color: var(--text-light);
      font-family: Inter;
      font-size: 16px;
      margin: 0;
    }
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/

.services {

  & .ser_grid {
    display: grid;
    row-gap: 20px;
    column-gap: 20px;
    grid-template-rows: repeat(7, minmax(120px, 1fr));
    grid-template-columns: repeat(6, minmax(0, 1fr));
    
    & .item {
      position: relative;
      display: flex;
      align-items: flex-start;
      border-radius: 16px;
      overflow: clip;
      background: var(--accent-light);
      padding: 30px;
      gap: 10px;
      flex: 1 0 0;
      align-self: stretch;

      & .image {
        position: absolute;
        & img {
          transition: all .3s ease;
        }
      }

      &:before {
        content: '';
        position: absolute;
        min-width: 340px;
        border-radius: 999px;
        aspect-ratio: 1/1;
        background: lightblue;
      }

      &:nth-child(1){
        grid-row: 1 / span 3;
        grid-column: 1 / span 2;
        & .image {
          left: 0;
          bottom: -44px;
        }
        &:before {
          top: 80px;
          left: -136px;
          width: 600px;
          background: #DFE4E7;
          transition: all .3s ease;
        }
        &:hover:before {
          top: 110px;
        }
      }
      &:nth-child(2){
        grid-row: 1 / span 2;
        grid-column: 3 / span 4;
        & .image {
          top: -30px;
          right: 140px;
          width: 200px;
        }
        &:before {
          top: -180px;
          right: -100px;
          width: 700px;
          background: linear-gradient(242deg, #837ccd, #463F94);
          transition: all .3s ease;
        }
        &:hover:before {
          right: -40px;
        }
      }
      &:nth-child(3){
        grid-row: 3 / span 3;
        grid-column: 3 / span 2;
        & .image {
          top: 170px;
          right: -48px;
          width: 560px;
          opacity: .7;
        }
        &:before {
          top: 100px;
          right: -76px;
          width: 600px;
          background: #D8E8FB;
          transition: all .3s ease;
        }
        &:hover:before {
          top: 120px;
        }
      }
      &:nth-child(4){
        grid-row: 3 / span 3;
        grid-column: 5 / span 2;
        & .image {
          top: 160px;
          left: 50px;
          width: 248px;
        }
        &:before {
          top: 76px;
          left: -170px;
          width: 600px;
          background: #B8CDBC;
          transition: all .3s ease;
        }
        &:hover:before {
          left: -120px;
        }
      }
      &:nth-child(5){
        grid-row: 4 / span 3;
        grid-column: 1 / span 2;
        & .image {
          top: 110px;
          left: 0;
          width: 460px;
        }
        &:before {
          top: 90px;
          right: -150px;
          width: 580px;
          background: #101D40;
          transition: all .3s ease;
        }
        &:hover:before {
          top: 70px;
          width: 600px;
        }
      }
      &:nth-child(6){
        grid-row: 6 / span 2;
        grid-column: 3 / span 4;
        & .image {
          top: -0;
          right: 140px;
          width: 300px;
        }
        &:before {
          top: -120px;
          right: -60px;
          width: 700px;
          background: #E4E9F2;
          transition: all .3s ease;
        }
        &:hover:before {
          top: -160px;
          right: -20px;
        }
      }
      &:nth-child(7){
        grid-row: 7 / span 1;
        grid-column: 1 / span 2;
        font-family: var(--heading-font);
        background: var(--accent-color);
        color: var(--contrast-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        font-weight: 500;
        transition: 0.5s ease;
        &:before {
          content: none;
        }
        &:hover {
          border-radius: 160px;
        }
      }

      & .content {
        position: relative;
        background: var(--contrast-color);
        padding: 16px;
        border-radius: 5px;
        min-height: 62px;
        width: 100%;

        & h3 {
          font-size: 24px;
        }

        & p {
          position: relative;
          font-size: 16px;
          margin: 0;
          opacity: 0!important;
        }
      }

      &:hover {
        & .image img {
          transform: scale(1.03);
        }
      }
    }
  }
}

/*--------------------------------------------------------------
# Client Section
--------------------------------------------------------------*/

.clients {

  & .client_slider_wrapper {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    position: relative;

    &:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      z-index: 2;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, var(--contrast-color) 1%,transparent 10%,transparent 90%, var(--contrast-color) 99%);
    }

    & .client_slider {
      display: flex;
      width: max-content;
      gap: 60px;

      & .client_logos {
        display: flex;
        gap: 60px;
      }

      & .c-logo {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 160px;

        & img {
          height: 86px;
          width: auto;
          object-fit: contain;
          filter: invert(1);
          opacity: 0.8;
        }
      }
    }
  }
}

/*--------------------------------------------------------------
# Testimonial Section
--------------------------------------------------------------*/

.testimonials {
  & .testimonial_wrapper {
    position: relative;

    &:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      z-index: 2;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, var(--contrast-color) 1%,transparent 10%,transparent 90%, var(--contrast-color) 99%);
    }

    & .testimonial_slider {
      display: flex;
      width: max-content;
      gap: 20px;

      & .testimonial_track {
        display: flex;
        gap: 20px;
        flex-shrink: 0;

        & .item {
          flex: 0 0 auto;
          padding: 20px;
          background: var(--contrast-color);
          border-radius: 16px;
          width: 450px;
          box-shadow: 0px 4px 40px 4px rgba(0, 0, 0, 0.048);

          & .title {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-bottom: 20px;

            & .image {
              width: 48px;
            }
            & h3 {
              font-size: 22px;
              margin-bottom: 6px;
            }
            & h4 {
              font-size: 16px;
              color: var(--black3);
              margin: 0;
            }
          }

          & .content {
            & p {
              margin: 0;
            }
          }
        }
      }
    }
  }
}

/*--------------------------------------------------------------
# Blogs Section
--------------------------------------------------------------*/

.blogs {
  & .item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: transparent;
    transition: all 0.3s ease-in-out;

    & .image {
      height: 240px;
      overflow: hidden;
      border-radius: 10px;
    }

    & .tags {
      display: flex;
      align-items: center;
      gap: 14px;

      & .line-navigation {
        background-color: #aaa9a5;
        width: 1px;
        height: 20px;
      }

      & .date, & .category {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 16px;
        font-weight: 600;
      }

    }

    & .contents {
      & h3 {
        font-size: 22px;
      }
      & p {
        font-style: 16px;
        margin: 0;
      }
    }

    &:hover {
      background: var(--accent-light);
    }
  }
}

/*--------------------------------------------------------------
# Cases Section
--------------------------------------------------------------*/

.cases {
  
  & .item {
    display: flex;
    align-items: end;
    background: var(--accent-light);
    border-radius: 16px;
    padding: 10px;
    transition: all 0.3s ease;

    & .left {
      display: grid;
      gap: 10px;
      padding: 10px;

      & img {
        width: 52px;
      }

      & h3 {
        margin: 0;
      }
      & p {
        margin: 0;
      }
    }

    & .right {
      overflow: hidden;
      border-radius: 10px;
      position: relative;
      display: flex;
      align-items: end;
      aspect-ratio: 6/3;

      & .image {
        position: absolute;
        top: 0;

        & img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: all .3s ease;
        }
      }

      & .content {
        position: relative;
        border-radius: 10px;
        padding: 10px;
        margin: 10px;
        background: #ffffffa6;
        border: 1px solid #fff;
        backdrop-filter: blur(15px);

        & h4 {
          font-size: 22px;
        }

        & p {
          margin: 0;
        }
      }
    }

    &:hover {
      cursor: pointer;
      background: var(--accent-light-hover);
    }

    &:hover .right .image img {
      transform: scale(1.04);
    }
  }
}

/*--------------------------------------------------------------
# Cta Section
--------------------------------------------------------------*/

.cta {
  & .section_bg {
    &:before {
      content: "";
      background: linear-gradient(180deg, rgb(19 19 19 / 35%) 0%, rgb(0 0 0) 100%);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }
  }
  & .section-title {
    & span {
      font-family: var(--heading-span);
      background: linear-gradient(90deg, var(--contrast-color) 25%, #d1d1d1 75%);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--accent-light);
  padding: 30px;
  border-radius: 16px;
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 24px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .email-form {
  background-color: var(--accent-light);
  padding: 30px;
  border-radius: 16px;
  height: 100%;
  padding: 30px;
}

@media (max-width: 575px) {
  .contact .email-form {
    padding: 20px;
  }
}

.contact .email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}