@charset "utf-8";

main {
    background-color: #222;
}

.catchphrase {
  font-size: var(--f4);
  position: absolute;
  bottom: 5%;
  left: 5%;
  color: white;
  text-stroke: 2px #000;
  -webkit-text-stroke: 2px #000;
  text-shadow: 3px 3px 3px #000;
}

.bottom-right {
  position: absolute;
  width: 18%;
  bottom: 2%;
  right: 2%;
}

.bottom-right img {
  -webkit-filter: drop-shadow(1px 1px 3px rgb(255, 255, 255)) brightness(147%) contrast(120%);
}

.bg2 h2 {
  text-align: right;
}

/* services */
.top-services-m img {
  object-fit: contain;
  width: 100%;
}

.top-services img {
  object-fit: contain;
  height: 400px
}

.mining-water-header {
  width: 100%;
  left: 75%;
}

/* Aboutus*/
.box-figure-30 {
  width: 30%;
}

.box-p-65 {
  width: 65%;
}

/* contact us page */

.information {
  width: 300px;
  margin: 40px auto 0 auto;
  text-align: center
}

.information .btn {
  margin: 20px auto;
}

.Credit-Application {
  margin-top: 20px;
}

.contactus {
  width: 650px;
  padding: 20px 0;
  background-image: linear-gradient(90deg,
      rgba(157, 157, 157, 0.5) 0%,
      rgba(222, 222, 222, 0.5) 25%,
      rgba(138, 138, 138, 0.5) 50%,
      rgba(222, 222, 222, 0.5) 75%,
      rgba(139, 139, 139, 0.5) 100%);
  margin: 40px auto;
}

.contact-page h4 {
  font-size: var(--f5);
}

.contactus>p {
  text-align: center;
}

.contactus p {
  margin-bottom: 20px;
}

.contactus span {
  color: red;
}

.contactus form {
  width: 80%;
  margin: 0 auto;
}

.contactus form label {
  display: inline-block;
  width: 20%;
}

.contactus form input {
  width: 75%;
  height: 30px;
}

.contactus form textarea {
  width: 75%;
}

.button {
  cursor: pointer;
  border-radius: 5px;
  padding: 10px 0;
  display: block;
  width: 250px;
  margin: 0 auto;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
}

.contactus .button:hover {
  box-shadow: none;
  transform: translate(3px, 3px);
}

.form-content label {
  vertical-align: top;
}

/* confirm page */
.confirm h3 {
  font-size: var(--f3);
  text-align: center;
  padding-top: 40px;
}

.confirm-box {
  width: 80%;
  height: auto;
  margin: 20px auto;
}

.confirm-box th,
.confirm-box td {
  height: auto;
  border: solid 1px black;
  padding: 10px 10px;
  background-color: white;
}

.confirm-box td {
  word-break: break-all;
}

.confirm .button {
  background-color: white;
  border: solid 2px #303030;
}

.confirm .button a {
  display: block;
  width: 100%;
  text-align: center;
}

.goback a {
  display: block;
  margin: 20px;
  color: blue;
  text-decoration: underline;
}

.swiper-container {
  width: 100%;
  height: 550px;
  overflow: hidden;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  color: white;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  height: 440px;
}

/* ----------Project----------- */
.bg2.heigher {
  height: 750px;
  background-position: left -195px,
    right 545px;
}

.bg1.heigher {
  height: 750px;
  background-position: right -205px,
    left 555px;
}

.max-h-420 {
  max-height: 426px;
  border-radius: 30px;
    border: solid white 1px;
    height: 100%;
}

.max-h-300 {
  max-height: 400;
}

.caso {
  transform: translate(10px, 52px);
}


/* ------------- Mexico ----------------- */
/* Child page header */
.page-m header {
  background-image: url(../img/pic_ww1.jpg);
  background-position: bottom;
  height: 60vh;
  /* filter: brightness(1.2); */
}

.page-m header h2 {
  font-size: var(--f1);
  text-shadow: -1px -1px 0 #000, 2px -1px 0 #ffe885, -3px 1px 0 #ffe885, 3px 3px 0 #ffe885, -2px -4px 0 #ffe885, 1px -4px 0 #ffe885, -3px 3px 0 #ffe885;
  color: #0c0806;
}

/* Mobile design from here */
@media (max-width: 768px) {
  .catchphrase {
    font-size: var(--f5);
    text-stroke: 1px #000;
  -webkit-text-stroke: 1px #000;
  text-shadow: 2px 2px 2px #000;
  }

  .box-figure-30,
  .box-p-65 {
    width: 100%;
  }

  .contactus {
    width: 95%;
  }

  .contactus form {
    width: 85%;
  }

  .bottom-right {
    position: absolute;
    bottom: 11%;
    width: 40%;
    right: inherit;
    left: 5%;
  }

  .swiper-container {
    width: 100%;
    height: 100%;
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
  
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .swiper-slide img {
    height: auto;
  }

  .bg1.project {
    height: 500px;
  }

  .bg1.heigher,
  .bg2.heigher {
    height: inherit;
  }
  .page-m header h2 {
    font-size: var(--f2);
  }
}

@media only screen and (min-width: 768px) and (max-width: 900px) {
  .caso.box {
    width: 30%;
  }

  .caso-box {
    width: 65%;
  }

}
