/* FIRST SECTION */
.about-sec1 {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    width: auto;
    height: 80vh;
    padding: 0 0 3%;
    position: relative;
    background-color: black;
    h3 {
        font-weight: 200;
        padding: 0 2rem 4rem;
        filter: drop-shadow(0 0 4px black);
        z-index: 5;
    }
}

.about-bg {
    position: absolute;
    width: 100%;
    outline: 2px dotted white;
    mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 35%,
    rgba(0,0,0,0)); 
    z-index: 1;
    video {
        object-fit: cover;
        height: 100vh !important;
        width: 100%;
    }
    img{
        object-fit: cover;
        opacity: 60%;
        height: 100vh!important;
        width: 100vw;
    }
}

/* SECOND SECTION */
.about-sec2 {
    display: flex;
    flex-direction: column;
    background-image: url('../images/texture.png');
    padding: 2rem 4rem 6rem;
    gap: 4rem;
    h4 {
        font-weight: 500;
        background-color: var(--orange);
        padding: 0.5rem 2rem;
        max-width: fit-content;
    }
}

.expect-sec {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.expect-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem 2rem;
}

.expectations2 {
    display: flex;
    flex: 0 0 45%;
    img {
        height: 80px;
        width: 80px;
    }
}

.expect-text {

    h4 {
        background-color: transparent;
        padding: 0;
    }
    p {
        color: white;
        font-weight: 200;
    }
}

/* WHEEL SECTION */

.wheel_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0 6rem;
  }
  
  .wheel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    position: relative;
    max-width: 57rem;
    aspect-ratio: 1/1;
    width: 75vw;
    border-radius: 100%;
  }
  
  .wheel {
    display: inherit;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    margin-top: 3rem;
    background-color: white;
    border-radius: 50%;
    box-sizing: border-box;

  }
  
.wheel img {
  height: 150px;
  width: 150px;
}

  .wheel-item-arc {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 100%; width: 100%;
    pointer-events: auto;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(.68,-0.55,.27,1.55);
  }
  
  .wheel-item {
    position: absolute;
    left: 50%; 
    top: 56%;
    transform: 
      translate(-50%, -50%) 
      rotate(var(--angle)) 
      translateY(var(--offset)) 
      rotate(calc(-1 * var(--angle)));
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 22rem;
    max-height: 490px;
  }
  
  .wheel-item img {
    height: 80px;
    width: 80px;
    margin: 0 auto;
  }
  
  .wheel-item h5 {
    display: block;
    font-size: 25px;
    font-weight: 200;
    color: white;
    margin: 1rem 0;
  }
  
  /* Hidden description under each item */
  .wheel-item .desc {
    opacity: 0;
    font-size: 18px;
    font-weight: 300;
    color: white;
    transition: opacity 0.3s ease-out;
  }
  
  .wheel-item .desc span {
    font-size: 16px;
    font-weight: lighter;
    margin-top: 2rem;
  }
  /* Show description on hover */
  .wheel-item:hover .desc {
    opacity: 1;
  }
  
  .wheel-item:hover {
    transform: 
      translate(-50%, -50%) 
      rotate(var(--angle)) 
      translateY(calc(var(--offset) - 2rem))
      rotate(calc(-1 * var(--angle))) 
      scale(1.1);
  }
  
.expertise-sec {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    p {
        color: white;
    }
}

.expertise-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    img {
        height: -webkit-fill-available;
        width: 300px;
        object-fit: contain;
        background-color: white;
        padding: 0.5rem;
        /* flex: 1; */
    }
}

/* THIRD SECTION */
.about-sec3 {
    display: flex;
    flex-direction: column;

    height: 100vh;
    background-color: black;
    h4 {
        font-weight: 500;
        padding: 0.5rem 2rem;
        margin: 0 4rem;
        background-color: var(--orange);
        max-width: max-content;
        z-index: 5;
    }
}

.mission-text {
    display: flex;
    flex-direction: column;
    padding: 2rem 4rem;
    gap: 1rem;
    filter: drop-shadow(2px 4px 6px black);
    z-index: 5;
    span {
        color: var(--orange);
    }
    h5 {
      font-size: 30px;
      font-weight: 200;
      color: white;
      line-height: 1.1;
      margin: 2rem 0;
    }
    p {
      font-style: italic;
      color: white;
      margin: 0;
    }
}

  @media (max-width: 1280px) {  
    .wheel-item { 
      width: 15rem;
      pointer-events: none; 
    }
    .wheel-item .desc { opacity: 1; } 
  }
  
  @media (max-width: 1200px) {
    .wheel {
      margin-top: 4rem;
      img {
        height: 100px;
        width: 100px;
      }
    }
    .wheel-item {
      width: 15rem;
      transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(var(--offset))
        rotate(calc(-1 * var(--angle)));
    }
    .wheel-item span {
      font-size: 20px;
    }
  }
  
  @media (max-width: 1020px) {
    .wheel-item {
      transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(var(--offset))
        rotate(calc(-1 * var(--angle)));
    }
  }
  
  @media (max-width: 940px) {
    .expect-wrapper {
      gap: 2rem;
    }
    .expectations2 {
      img {
          height: 60px;
          width: 60px;
      }
    }
    .wheel_wrapper {
      margin: 12rem 0 14rem;
    }
    .wheel-container {width: 60vw;}
    .wheel {
      margin-top: 6rem;
    }
    .wheel-item {
      translate: 
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(var(--offset))
        rotate(calc(-1 * var(--angle)));
    }
    .wheel-item {
      width: 16rem;
      img {
        height: 50px;
        width: 50px;
      }
    }
    .mission-text {
      padding: 2rem 4rem;
      h5 {
        font-size: 25px;
        margin: 1rem 0;
      }
    }
  }
  @media (max-width: 1024px) {
	.page-template-page-about-us .orange-badge {
	  width: stretch !important;
    }
	  #what-we-deliver .elementor-image-box-wrapper {
		 flex-direction: column !important;
	  }
	  #what-we-deliver .elementor-image-box-img {
		 margin-right: 0 !important;
         margin-bottom: 8% !important;
	  }
  }

  @media (max-width: 764px) {
    .page-template-page-about-us .orange-badge {
	  width: stretch;
      padding: 15px 25px !important;
    }
	  
    .about-sec1 {
      h3 {
          padding: 0 2rem 4rem;
      }
    }
    .about-sec2 {
      padding: 2rem 2rem 6rem;
    }
    .wheel {
      justify-content: flex-start;
      align-items: center;
      flex-direction: column;
      gap: 2rem; 
      padding: 0;
      margin-top: 0;
      br {display: none;}
      h1 {margin: 0 0 3rem;}
      img {
        display: none;
      }
    }
    .wheel-item {
      position: static;
      transform: none !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: auto;
      max-height: none;
      padding-top: 0;
      br {
        display: none;
      }
      h5 {
        font-size: 20px;
        text-decoration: underline;
        margin: 0.5rem 0;
      }
    }
    .desc {
      font-size: 16px;
    }
    .wheel-item-arc {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: auto;
      padding: 2rem 0;
      gap: 2rem;
    }
  
    .wheel-container {
      flex-direction: column;
      width: 100%;
      border: none;
      aspect-ratio: auto;
    }
    .wheel_wrapper {
      margin: 0;
    }
    .we-bring-sec,
    .wheel_wrapper,
    .wheel-container {
      height: auto !important;
      min-height: auto !important;
    }

    .wheel-container,
    .wheel_wrapper {
      position: static !important;
    }

    .wheel-item-arc {
      position: static !important;
      height: auto !important;
    }
  }
  @media (max-width: 546px) {
    .about-sec1 {
      h3 {
          padding: 0 1rem 4rem;
      }
    }
    .about-sec2 {
      padding: 2rem 1rem 6rem;
    }
    .expect-wrapper {
      flex-direction: column;
      gap: 2rem;
    }
    .expect-sec {
      gap: 2rem;
      justify-content: center;
      align-items: center;
      h4 {
        text-align: center;
      }
    }
    .expertise-sec {
      align-items: center;
      h4 {
        text-align: center;
      }
    }
    .we-bring-sec {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .about-sec3 {
      align-items: center;

      h4 {
        margin: 2rem 0;
        text-align: center;
      }
    }
    .mission-text {
      padding: 2rem 1rem;
      h5 {
        font-size: 20px;
      }
    }
    .expertise-list {
      flex-direction: column;
      img {
        width: 70vw;
      }
    }
  }

.elementor-image-box-title { margin-top: 0 !important; }

/* @media (max-width: 767px) {
  #custom-image-box .elementor-widget-image-box.elementor-position-left .elementor-image-box-wrapper {
    display: grid !important;
    grid-template-columns: 36px 1fr;
	column-gap: 12px;
    row-gap: 10px;
    align-items: start;
  }

  #custom-image-box .elementor-widget-image-box.elementor-position-left .elementor-image-box-img {
    grid-column: 1;
    grid-row: 1;
    width: 36px !important;
    margin: 0 !important;
  }

  #custom-image-box .elementor-widget-image-box.elementor-position-left .elementor-image-box-img img {
    width: 36px;
    height: auto;
    display: block;
  }

  #custom-image-box .elementor-widget-image-box.elementor-position-left .elementor-image-box-content {
    display: contents;
  }

  #custom-image-box .elementor-widget-image-box.elementor-position-left .elementor-image-box-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 0;
    line-height: 1.25;
  }

  #custom-image-box .elementor-widget-image-box.elementor-position-left .elementor-image-box-description {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
    padding: 0;
  }
} */

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-10 .elementor-element.elementor-element-0b61c03 {
        --width: 100% !important;
    }
	
	.elementor-10 .elementor-element.elementor-element-81e46b2.elementor-element {
		    display: flex;
		    justify-content: center !important;
	}
}

@media (max-width: 767px) {
    .elementor-10 .elementor-element.elementor-element-6618ce4 {
        --width: 100% !important;
    }
	
	.elementor-10 .elementor-element.elementor-element-81e46b2.elementor-element {
		    display: flex;
		    justify-content: center !important;
	}
}

#platform-grid .elementor-widget-image img {
		width: 200px;
}

#platform-grid .elementor-widget-image.elementor-element-bcfec8d img {
	width: 150px;
}

#what-we-deliver .elementor-widget-image-box  {
	border-right: 1px solid white;
}

#what-we-deliver .elementor-element-55d3d1f.elementor-widget-image-box {
	border: none !important;
}

@media (max-width: 1024px) and (min-width: 768px) {
	#what-we-deliver .elementor-element-f85ba9a {
		border-bottom: 1px solid white;
	}
	#what-we-deliver .elementor-element-ca850bd {
		border-bottom: 1px solid white;
    	border-right: none;
	}
}

@media (max-width: 767px) {
	#what-we-deliver .elementor-widget-image-box  {
		border-bottom: 1px solid white;
		border-right: none;
	}
	
	#platform-grid .elementor-widget-image.elementor-element-bcfec8d img {
		width: 100px;
	}
}