/* HERO SECTION */
#hero{
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    max-width: 100% !important;
}
@media screen and (min-width: 768px){
  #hero{
    padding-top: 1rem;
  }
}
@media screen and (min-width: 1024px){
  #hero{
    padding-top: 0rem;
    flex-flow: row nowrap;
  }
  #hero > div{
    width: 50%;
  }
}

#hero h1{
  text-align: center;
}
@media screen and (min-width: 1024px){
  #hero h1{
    text-align: left;
  }
}

#hero #introText{
  display: none;
}
@media screen and (min-width: 768px){
  #hero #introText{
    display: block;
    max-width: 100%;
    margin-top: 30px;
    text-align: center;
  }
}
@media screen and (min-width: 1024px){
  #hero #introText{
    max-width: 72%;
    text-align: left;
  }
}

#hero #buttons{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 30px auto 40px;
}
@media screen and (min-width: 1024px){
  #hero #buttons{
    margin-top: 40px;
    margin-bottom: 0;
    justify-content: flex-start;
  }
}

#hero .heroImages{
  position: relative;
  z-index: -99;
}

#hero .heroImages img.circleCard{
  max-width: 100px;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (min-width: 1024px){
  #hero .heroImages img.circleCard{
    max-width: 150px;
  }
}
@media screen and (min-width: 1200px){
  #hero .heroImages img.circleCard{
    max-width: 170px;
  }
}

#hero .heroImages img.thumb{
  display: none;
}
@media screen and (min-width: 768px){
  #hero .heroImages img.thumb{
    display: block;
    max-width: 100px;
    position: absolute;
    right: 0;
    bottom: 0;
  }
}
@media screen and (min-width: 1024px){
  #hero .heroImages img.thumb{
    max-width: 150px;
  }
}
@media screen and (min-width: 1200px){
  #hero .heroImages img.thumb{
    max-width: 170px;
  }
}

#hero .heroImages img.heroBoy{
  max-width: 300px;
  position: relative;
  top: 20px;
}
@media screen and (min-width: 1024px){
  #hero .heroImages img.heroBoy{
    max-width: 100%;
  }
}

/* CLIENTS SECTION */
@media screen and (min-width: 1024px){
  .slide-track{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 4rem;
  }
}
@media screen and (min-width: 1200px){
  .slide-track{
    gap: 6rem;
  }
}

#clients img{
  max-width: 150px;
}
@media screen and (min-width: 1024px){
  #clients img{
    filter: grayscale(100%);
    transition: filter 0.2s ease-in-out;
  }
  #clients img:hover{
    filter: grayscale(0%);
  }
}

/* CAROUSEL AUTOPLAY */
@media screen and (max-width: 1023px){
  .slider {
    height: 80px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 1200px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }
  
  .slide-track {
    animation: scroll 15s linear infinite;
    display: flex;
    width: calc(200px * 5);
  }
  
  .slide {
    width: 200px;
  }
  
  /* Animation */
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 5))}
  }
}


/* TESTIMONIALS SECTION */
#testimonials{
  padding: 10rem 3rem;
  background-color: var(--neutral-dark);
  background-image: url(/images/index/orbit.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;                      
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: space-around;
  position: relative;
}
@media screen and (min-width: 1200px){
  #testimonials{
    padding: 5rem 350px;
    gap: 8rem;
  }
}

#testimonials h3{
  color: var(--neutral-light);
  text-align: center;
}

#testimonials > p{
  color: var(--secondary);
  font-size: 18px;
  text-align: center;
  line-height: 30px;
  font-weight: 500;
  width: 85%;
  margin: 30px auto;
}
@media screen and (min-width: 1200px){
  #testimonials > p{
    font-size: 24px;
    line-height: 38px;
  }
}

#testimonials .client{
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

#testimonials .client img{
  width: 50px;
  height: 50px;
  border-radius: 25px;
  margin-right: 10px;
}

#testimonials .client .name{
  font-size: 17px;
  line-height: 17px;
  color: var(--primary-hover)
}

#testimonials .client .company{
  font-size: 13px;
  line-height: 15px;
  color: var(--neutral-light)
}

#testimonials .memoji{
  position: absolute;
  width: 90px;
}
@media(min-width: 1200px){
  #testimonials .memoji{
    width: 150px;
  }
}

#testimonials .memoji#top-left{
  top:30px;
  left: 20px;
}
#testimonials .memoji#top-right{
  top:30px;
  right: 20px;
}
#testimonials .memoji#bottom-left{
  bottom:30px;
  left: 20px;
}
#testimonials .memoji#bottom-right{
  bottom:30px;
  right: 20px;
}
@media(min-width: 1200px){
  #testimonials .memoji#top-left{
    top:30px;
    left: 75px;
  }
  #testimonials .memoji#top-right{
    top:30px;
    right: 75px;
  }
  #testimonials .memoji#bottom-left{
    bottom:30px;
    left: 75px;
  }
  #testimonials .memoji#bottom-right{
    bottom:30px;
    right: 75px;
  }
}

/* SERVICES SECTION */
#services .servicesContainer{
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 40px;  
}
@media screen and (min-width:768px){
  #services .servicesContainer{
    flex-flow: row wrap;
  }
}
@media screen and (min-width:1024px){
  #services .servicesContainer{
    flex-flow: row nowrap;
  }
}

#services .servicesContainer .service{
  background-color: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  width: 100%;
}
@media screen and (min-width: 768px){
  #services .servicesContainer .service{
    width: 45%;
  }
}
@media screen and (min-width: 1024px){
  #services .servicesContainer .service{
    border-radius: 0;
    width: 30%;
    padding: 40px 40px 30px 30px;
    flex: 1;
  }
  #services .servicesContainer .service:hover{
    scale: 1.1;
    transition: scale 0.2s ease-in-out;
  }
}

#services .servicesContainer .service .titleContainer{
  background-color: var(--neutral-light);
  display:flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  border-radius: 40px;
}
@media screen and (min-width: 1024px){
  #services .servicesContainer .service .titleContainer{
    background-color: transparent;
    display:flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: space-between;
    border-radius: 40px;
  }
}

#services .servicesContainer .service .imgContainer{
  height: 50px;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 0;
}
@media screen and (min-width: 1024px){
  #services .servicesContainer .service .imgContainer{
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background-color: var(--neutral-light);
  }
}

#services .servicesContainer .service .imgContainer img{
  width: 40px;
  height: 40px;
}

#services .servicesContainer .service .serviceTitle{
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  width: 60%;
}
@media screen and (min-width: 414px){
  #services .servicesContainer .service .serviceTitle{
    font-size: 20px;
  }
}
@media screen and (min-width: 768px){
  #services .servicesContainer .service .serviceTitle{
    width: 100%;
    font-size: 20px;
    line-height: 26px;
  }
}
@media screen and (min-width: 1024px){
  #services .servicesContainer .service .serviceTitle{
    font-size: 24px;
    line-height: 28px;
    display: block;
  }
  
}

#services .servicesContainer .service .fa-solid{
  margin: 0 0 20px;
  cursor: pointer;
  position: relative;
  left: -20px;
}
@media screen and (min-width: 1024px){
  #services .servicesContainer .service .fa-solid{
    display: none;
  }
}

#services .servicesContainer .service .serviceBody{
  display: none;
  margin: 30px 0 35px;
  font-size: 18px;
  line-height: 26px;
  opacity: 0;
}
@media screen and (min-width: 1024px){
  #services .servicesContainer .service .serviceBody{
    display: block;
    font-size: 20px;
    line-height: 30px;
    opacity: 1;
  }
}

#services .servicesContainer .service.opened .serviceBody{
  animation: fadeIn 0.5s;
  opacity: 1;
  display: block;
}

@keyframes fadeIn {
  from{
    opacity: 0; 
  }
  to{
    opacity: 1;
  }
}

#services .servicesContainer .service .learnMore{
  margin-top: 60px;
}
@media screen and (min-width: 768px){
  #services .servicesContainer .service .learnMore{
    margin-top: 40px;
  }
}