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

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

.hero .title {
  font-size: 48px;
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 14px;
}

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

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

  &: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 {
  position: relative;

  & h1 {
    font-family: var(--heading-font);
    font-size: 88px;
    font-style: normal;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 72px;
    letter-spacing: -1px;
    text-wrap-style: balance;
    color: var(--contrast-color);
  }

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

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

@media (max-width: 640px) {
  .hero {
    width: 100%;
    height: 100%;
    aspect-ratio: 9/6;
    margin-top: 70px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .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: 40vh;
  min-height: 400px;
  margin-top: 80px;

  & .hero_img {
    
    &:before {
      background: #0000005c;
    }
  }
  
  & .hero_content {

    & 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: 640px) {
  .inner-page {
    & .hero {
      height: 20vh;
      min-height: 200px;
      margin-top: 72px;
      padding: 24px 0;
      
      & .title {
        font-size: 36px;
        text-transform: capitalize;
      }
    }

    & .image {
      margin-bottom: 20px;
    }
  }
}

/*--------------------------------------------------------------
# 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;
    }
  }
}

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

.cta {
    background: linear-gradient(135deg, var(--accent-color), #7a6421);
}

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

.contact {
  & .section-title {
    & h2 {
      font-family: var(--heading-font);
      font-size: 48px;
      line-height: normal;
      margin-bottom: 16px;
      letter-spacing: -1px;
    }
    & p {
      color: #454545;
      text-wrap-style: auto;
      margin: revert;
    }
  }
}

.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%);
}

/*--------------------------------------------------------------
# mob-sec Section
--------------------------------------------------------------*/

.mob-sec {
  & .btn-phone,
  & .btn-phone:focus,
  & .btn-mail,
  & .btn-mail:focus {
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    height: 44px;
    padding: 16px 20px;
    border-radius: 2px;
    color: var(--contrast-color);
    background: #092c73;
    
    &:hover {
      color: var(--contrast-color);
      background: var(--accent-color);
    }
  }
}

/*--------------------------------------------------------------
# Content Section
--------------------------------------------------------------*/

.content {
  & p {
    font-size: 22px;
  }
  & p:last-child {
    margin:0;
  }
  & h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    text-decoration: underline;
    text-underline-position: under;
  }
  & h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  & ul {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .content {
    & p {
      font-size: 18px;
    }
  }
}

/*--------------------------------------------------------------
# About page content
--------------------------------------------------------------*/

.about {
  & .section-title {
    & h2 {
      font-family: var(--heading-font);
      font-size: 48px;
      line-height: normal;
      margin-bottom: 16px;
      letter-spacing: -1px;
    }
    & p {
      color: #454545;
      text-wrap-style: auto;
      margin: revert;
    }
  }
}

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

.services {
  & .item {
    text-align: center;
    margin-bottom: 20px;

    & .image {
      aspect-ratio: 1/1;
      overflow: clip;
      margin-bottom: 24px;

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

    & h3 {
      font-size: 24px;
      color: var(--contrast-color);
      text-transform: uppercase;
      font-family: var(--heading-font);
      font-weight: 600;

      & span {
        color: var(--accent-color);
      }
    }
    &:hover {
      & .image img {
        transform: scale(1.05);
      }
    }
  }
}

@media (max-width: 640px) {
  .services {
    & .item {
      & h3 {
        font-size: 16px;
        color: var(--contrast-color);
        text-transform: uppercase;
        font-family: var(--heading-font);
        font-weight: 600;
      }
    }
  }
}

/*--------------------------------------------------------------
# Teams
--------------------------------------------------------------*/

.teams {
  & .member {
    text-align: center;
    margin-bottom: 20px;

    & .image {
      aspect-ratio: 1/1;
      overflow: clip;
      margin-bottom: 24px;

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

    & h3 {
      font-size: 22px;
      color: var(--default-color);
      font-family: var(--heading-font);
      font-weight: 600;
    }
    & p {
      color: #666;
    }
    &:hover {
      & .image img {
        transform: scale(1.05);
      }
    }
  }
}
/*--------------------------------------------------------------
# Log
--------------------------------------------------------------*/

.log {
  & .item {
    margin-bottom: 20px;

    & .image {
      aspect-ratio: 1/1;
      overflow: clip;
      margin-bottom: 24px;

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

    & h3 {
        font-size: 22px;
        font-family: var(--heading-font);
        font-weight: 600;

      & span {
        color: var(--accent-color);
      }
    }
    &:hover {
      & .image img {
        transform: scale(1.05);
      }
    }
  }
}

@media (max-width: 640px) {
    .log {
        & .item {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 0;
            background: #dddddd;
            padding: 10px;
            
            & h3 {
                font-size: 16px;
              margin-bottom: 0;
            }
    
            & .image {
              width: 58px;
              margin-bottom: 0;
            }
        }
    }
}