/* MOBILE styles */
.mobile-layout {
  display: none;
  @media (max-width: 830px) {
    display: block;
  }
  .mobile-content {
    display: grid;
    row-gap: 40px;
    .single {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      @media (max-width: 580px) {
        gap: 10px;
        flex-direction: column;
      }
      img {
        width: 100px;
        height: auto;
        @media (max-width: 480px) {
          width: 50px;
        }
      }
    }
  }
}
.desktop-layout {
  display: block;
  @media (max-width: 830px) {
    display: none;
  }
}
/* font styles */
.sub-title {
  font-size: 13px;
  font-weight: 800;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 0;
}
.main-title {
  margin-bottom: 44px;
  @media (max-width: 830px) {
    margin-bottom: 15px;
  }
  p {
    margin: 0 0;
    font-size: 29px;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    color: var(--ccs-color-main-blue);
    @media (max-width: 830px) {
      font-size: 24px;
    }
    @media (max-width: 580px) {
      font-size: 20px;
    }
  }
}
.desc {
  margin-bottom: 33px;
  p {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
  }
}
.buttons {
  display: flex;
  justify-content: flex-start;
  column-gap: 13px;
  align-items: center;
  @media (max-width: 830px) {
    flex-wrap: wrap;
    row-gap: 13px;
  }
  a {
    @media (max-width: 580px) {
      width: 100%;
      justify-content: center;
    }
  }
}

/* DESKTOP styles */
.circle-reveal {
  position: relative;
  width: 100vw;
  height: 100vh;

  .max-width {
    height: 100%;
  }

  .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .content-side {
    position: relative;
    width: 50%;
    z-index: 10;
    @media (max-width: 830px) {
      width: 100%;
    }
    .single-section {
      position: absolute;
      top: 50%;
      transform: translateY(-50%) !important;
      opacity: 0;
      max-width: 684px;
      width: 684px;
      @media (max-width: 1080px) {
        max-width: 450px;
        width: 450px;
      }
      @media (max-width: 830px) {
        position: relative;
        top: 0;
        transform: translateY(0) !important;
        opacity: 1;
        max-width: 100%;
        width: 100%;
      }

      &.section-1 {
        opacity: 1;
      }
    }
  }

  /* --------------------------------- Desktop ONLY */
  .media {
    @media (max-width: 830px) {
      display: none;
    }
  }
  .circle.green-home {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
  }
  .the-card {
    position: absolute;
    right: -140px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
  }
  .circle-side {
    --width: 610px;
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    width: var(--width);
    aspect-ratio: 1 / 1;
    &::after {
      content: "";
      border-radius: 710px;
      border: 3px dashed var(--ccs-color-light-grey, #b2b4b5);
      opacity: 0.5;
      width: 100%;
      height: 100%;
      position: absolute;
      right: calc(-1 * (var(--width) / 2));
    }

    .circle-section {
      --after-scale: 0.8;
      position: absolute;
      width: 100%;
      height: 100%;
      overflow: hidden;
      transform-origin: center right;
      display: flex;
      align-items: center;
      justify-content: center;
      right: calc(-1 * (var(--width) / 2));
      z-index: 2;
      &::after {
        content: "";
        transform: scale(var(--after-scale));
        position: absolute;
        background-color: #e3e3e3;
        width: 108px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        z-index: -1;
      }
      img {
        width: 108px;
        height: 108px;
        object-fit: contain;
        border-radius: 50%;
      }
    }
  }
}
