/* Navbar tab styling START */

#home {
  color: white;
  background-color: var(--body-background-color);
}

/* Navbar tab styling END */

/* Section welcome START     */

.card-welcome {
  position: relative;
  width: 90%;
  min-height: calc(100dvh - 6rem);
  padding: 1rem;
  background-color: var(--card-color);
  margin: var(--step-0) auto var(--step-0) auto;
  box-shadow: 0 0 0.2rem 0.1rem var(--shadow-color);
  border-radius: 0.25rem;
}

.card-welcome h1 {
  margin-top: 0;
  margin-bottom: var(--step-0);
  line-height: 1;
}

.welcome__content__container {
  display: flex;
  align-items: center;
}

/* welcome carousel START */

.welcome__carousel {
  position: relative;
  width: auto;
  height: calc(47.5vw - 12rem);
  margin-block: auto;
}

.carousel__track-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 0 0.2rem 0.1rem var(--shadow-color);
  border-radius: 0.25rem;
  aspect-ratio: 3 / 2;
}

.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  list-style: none;
  transition: var(--hover-transition);
  aspect-ratio: 3 / 2;
}

.carousel__slide {
  position: absolute;
  /* top: 0;
  bottom: 0; */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 3 / 2;
}

.carousel__image {
  width: 100%;
  /* height: 100%; */
  padding: 0;
  margin: 0;
  -o-object-fit: cover;
  object-fit: cover;
  align-self: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

img#nc.ncsvg {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  align-self: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel__nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
}

.carousel__indicator {
  width: 1rem;
  height: 1rem;
  border: 0.01rem solid var(--shadow-color-dark);
  padding: 0;
  border-radius: 0.5rem;
  background-color: var(--shadow-color);
  cursor: pointer;
}

.carousel__indicator.current-slide {
  background-color: var(--shadow-color-dark);
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.carousel__button--right {
  right: 0rem;

}

.carousel__button--left {
  left: 0.5rem;
}

.carousel__button svg {
  fill: var(--shadow-color);
  transition: var(--hover-transition);
}

.carousel__button svg:hover {
  fill: var(--shadow-color-dark);
}

.is-hidden {
  display: none;
}

/* welcome carousel END */


.card-content {
  padding: 0 0 0 1rem;
  min-height: -webkit-fit-content;
  min-height: -moz-fit-content;
  min-height: fit-content;
  margin-inline: 0;
}

.card-text p {
  text-align: justify;
  color: var(--body-font-color);
}


#hero-phone {
  color: var(--primary-accent-color);
}

a.emphasis {
  color: var(--primary-accent-color);
}

#hero-phone:hover {
  text-decoration: none;
  text-shadow: 0 0 0.05rem var(--primary-accent-color);
}

.welcome__contact {
  float: none;
  display: block;
  background-color: var(--primary-accent-color);
  padding: 1rem;
  width: fit-content;
  color: var(--body-font-color);
  font-weight: bold;
  box-shadow: 0 0 0.1rem 0.05rem var(--shadow-color);
  line-height: 1;
  margin: 0;
  transition: var(--hover-transition);
  border-radius: 0.25rem;
}

.welcome__contact:hover {
  background-color: var(--body-emphasis-color);
  color: var(--card-color);
  text-decoration: none;
}

a#welcome__contact,
a#welcome__contact:hover {
  text-decoration: none;
  width: fit-content;
  display: block;
}

/* Section welcome END */


/* 'Why choose us?' START */
section.why-choose-us {
  max-width: 100%;
  margin: 0 0 1rem 0;
  padding-top: 1rem;
  box-sizing: border-box;
}

.card-why-choose-us {
  width: 90%;
  min-height: calc(100vh - 1rem);
  padding: 1rem;
  background-color: var(--card-color);
  margin: 0 auto;
  border-radius: 0.25rem;
  box-shadow: 0 0 0.2rem 0.1rem var(--shadow-color);
}

.why-choose-us-text h1 {

  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1;
}

.why-choose-us-content {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  margin: 0 auto;

}

.e3-container {
  padding: 0;
  display: flex;
  justify-content: left;
  align-items: flex-start;
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
}

.e-container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding-left: 0;
}

.e-container p {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  font-size: 35vw;
  align-items: center;
  min-height: -webkit-max-content;
  min-height: -moz-max-content;
  min-height: max-content;
  text-shadow: 0 0.1rem 0.1rem var(--shadow-color);
  color: var(--primary-accent-color);
  justify-content: space-between;
  line-height: 0rem;
  margin: 1vh 0 0 0;
  text-align: left;
  letter-spacing: 0rem;
  line-height: 0;
}

.e-rest-container {
  position: relative;
  left: 19vw;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  align-items: flex-start;
  min-height: 30vw;
  font-size: 3.5vw;
  flex-grow: 1;
}

.xpertise {
  -webkit-animation: xpertise-translate backwards;
  animation: xpertise-translate backwards;
  animation-timeline: view(60vh 10vh);
  line-height: 1;
}

.quipment {
  -webkit-animation: xpertise-translate backwards;
  animation: xpertise-translate backwards;
  animation-timeline: view(60vh 10vh);
  line-height: 1;
}

.ase {
  -webkit-animation: xpertise-translate backwards;
  animation: xpertise-translate backwards;
  animation-timeline: view(60vh 10vh);
  line-height: 1;
}

@-webkit-keyframes xpertise-translate {
  0% {
    opacity: 0;
    transform: translateX(5dvw);
    color: var(--body-font-color);
  }

  100% {
    opacity: 1;
    color: var(--primary-accent-color);
  }
}

@keyframes xpertise-translate {
  0% {
    opacity: 0;
    transform: translateX(5vw);
  }

  100% {
    opacity: 1;
  }
}

.mytabs {
  display: flex;
  flex-wrap: wrap;
  max-width: 45vw;
  min-width: 45vw;
  margin: 1rem 1rem 1rem auto;
  background-color: var(--navbar-background-color);
  border-radius: 0.25rem;
  box-shadow: 0 0 0.2rem 0.1rem var(--shadow-color);
}

.mytabs input[type="radio"] {
  display: none;
}

.mytabs label {
  background-color: var(--body-background-color);
  padding: 1rem 0;
  width: 33.3%;
  height: 5vw;
  text-align: center;
  margin-bottom: 0;
  font-weight: bold;
  cursor: pointer;
}

.mytabs label[for="expertise"] {
  border-top-left-radius: 0.25rem;
}

.mytabs label[for="ease"] {
  border-top-right-radius: 0.25rem;
}

.mytabs .tab {
  width: 100%;
  padding: 1rem;
  background-color: var(--navbar-background-color);
  order: 1;
  display: none;
  border-radius: 0.25rem;
  min-height: 24rem;
}

.mytabs input[type="radio"]:checked+label+.tab {
  display: block;
}

.mytabs input[type="radio"]:checked+label {
  background-color: var(--navbar-background-color);
  color: var(--body-emphasis-color);
}

.mytabs ul {
  list-style: disc outside;
}

.tab:nth-of-type(2) h3 {
  margin-top: 1rem;
}

.tab:nth-of-type(2) h3:nth-of-type(1) {
  margin-top: 0;
}

.mytabs ul li {
  margin-left: 1rem;
}


/* RESPO START */

@media screen and (max-width: 1200px) {

  /* body {
    font-size: 1.875vw;
  } */

  .welcome__content__container {
    flex-wrap: wrap;
  }

  .welcome__carousel {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: fit-content;
  }
}



@media screen and (max-width: 900px) {
  /* body {
    font-size: 2.5vw;
  } */

  .welcome {
    margin-top: 5rem;
  }

  .card-welcome h1 {
    text-align: center;
    margin: 0 auto 2rem auto;
  }

  .welcome__content__container {
    flex-direction: column;
  }

  .welcome__carousel {
    width: calc(90dvw - 2rem);
    height: calc(60dvw - 1.33rem);
    aspect-ratio: 3 / 2;
  }

  .carousel__track-container {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .carousel__track {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .carousel__slide {
    height: auto;
  }

  .carousel__image {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .carousel__indicator {
    width: 1rem;
    height: 1rem;
    border-radius: 0.5rem;
  }

  .welcome h1 {
    width: 90%;
    margin-top: 1rem;
    text-wrap: wrap;
    line-height: 1;
  }

  .card-text {
    padding-left: 0;
  }

  .card-content {
    padding-left: 0;
    padding-top: 1rem;
  }

  /* .card-content p {
    font-size: 3.75vw;
  } */

  .card-why-choose-us {
    padding: 1rem;
    padding-bottom: 0;
  }

  .why-choose-us-content {
    flex-direction: column;
    row-gap: 1rem;
    padding: 0;
  }

  .e-container p {
    font-size: 75vw;
  }

  .e-rest-container {
    position: relative;
    top: 0.5rem;
    left: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    align-items: flex-start;
    min-height: 63vw;
    font-size: 5vw;
    flex-grow: 1;
  }


  .mytabs {
    min-width: 100%;
  }

  .mytabs label {
    height: 15vw;
  }

  .mytabs .tab {
    min-height: 48rem;
    padding-left: 2rem;
  }
}

@media screen and (max-width: 450px) {
  /* body {
    font-size: 3.75vw;
  } */

  .welcome {
    margin-top: 5rem;
  }

  .card-welcome h1 {
    text-align: center;
    margin: 0 auto 2rem auto;
  }

  .card-welcome h1 {
    text-align: center;
    margin-inline: auto;
  }

  .welcome__content__container {
    flex-direction: column;
  }

  .welcome__carousel {
    width: calc(90dvw - 2rem);
    height: calc(60dvw - 1.33rem);
    aspect-ratio: 3 / 2;
  }

  .carousel__track-container {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .carousel__track {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .carousel__slide {
    height: auto;
  }

  .carousel__image {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .carousel__indicator {
    width: 1rem;
    height: 1rem;
    border-radius: 0.5rem;
  }

  .welcome h1 {
    width: 90%;
    margin-top: 1rem;
    text-wrap: wrap;
    line-height: 1;
  }

  .card-text {
    padding-left: 0;
  }

  .card-content {
    padding-left: 0;
    padding-top: 1rem;
  }

  /* .card-content p {
    font-size: 3.75vw;
  } */

  .card-why-choose-us {
    padding: 1rem;
    padding-bottom: 0;
  }

  .why-choose-us-content {
    flex-direction: column;
    row-gap: 1rem;
    padding: 0;
  }

  .e-container p {
    font-size: 75vw;
  }

  .e-rest-container {
    position: relative;
    top: 0.5rem;
    left: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
    align-items: flex-start;
    min-height: 63vw;
    font-size: 5vw;
    flex-grow: 1;
  }

  .mytabs {
    min-width: 100%;
  }

  .mytabs label {
    height: 15vw;
  }

  .mytabs .tab {
    min-height: 35rem;
    padding-left: 2rem;
  }
}