main {
  margin: 0;
  padding: 0;
}

main .owl-carousel .item {
  width: 100%;
  height: 700px;
  background-size: cover;
}

main .owl-carousel .item-1 {
  background-image: url(../images/1.jpg);
}

main .owl-carousel .item-2 {
  background-image: url(../images/2.jpg);
}

main .owl-carousel .item-3 {
  background-image: url(../images/3.jpg);
}

.owl-dots {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
}

.owl-theme .owl-dots .owl-dot span {
  width: 15px;
  height: 15px;
}

main .intro {
  position: absolute;
  top: 30%;
  width: 50%;
  color: #f2f2f2;
  padding: 0 0 0 4em;
  background-color: #0000004d;
}

main .intro h1 {
  font-size: 48px;
}

main .owl-carousel .item  img {
  position: absolute;
  right: 10%;
  top: 30%;
  -webkit-animation: mover 1s infinite  alternate;
  animation: mover 1s infinite  alternate;
  width: 300px;
}

@-webkit-keyframes mover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}
@keyframes mover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

section {
  padding: 50px 20px;
  text-align: center;
}

section h2 {
  font-size: 32px;
}

section.about-us .row {
  padding: 20px 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

section.about-us .row>div {
  flex: 50%;
}

section.about-us img {
  max-width: 400px;
}

section.about-us h4 {
  font-size: 28px;
}

section.about-us .row p {
  font-size: 20px;
}

section.about-us .detail-box h3 {
  font-weight: bold;
}

section.about-us .detail-box p {
  margin-top: 15px;
}

section.about-us .detail-box a {
  display: inline-block;
  padding: 10px 45px;
  background-color: #00bbf0;
  color: #ffffff;
  border-radius: 0px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
  margin-top: 15px;
}

section.about-us .detail-box a:hover {
  background-color: #007fa4;
}

section.why-us {
  background-color: #f8f8f9;
}

section.why-us .body {
  display: flex;
}

section.why-us .body>div {
  width: 50%;
  align-content: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

section.why-us .body div:first-child img {
  width: 85%;
}

section.why-us .body .content ul {
  list-style-type: none;
}

section.why-us .body .content ul li {
  display: flex;
  text-align: left;
  padding: 10px 0;
}

section.why-us .body .content ul li img {
  width: 150px;
}

section.why-us .body .content ul li div {
  padding-left: 10px;
}

.service {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px 20px;
}

.service .card {
  margin: 40px 20px;
  position: relative;
  width: 600px;
  height: 350px;
  background-color: #ccc;
  border-radius: 20px;
  display: flex;
  align-items: center;
  transition: 0.5s;
}

.service .card .circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.service .card .circle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  background: var(--blue-color);
  clip-path: circle(400px at center);
}

.service .card img {
  position: absolute;
  bottom: 0;
  left: 75%;
  height: 450px;
  transform: translate(-50%, 0);
  pointer-events: none;
  transition: 0.5s;
}

.service .card .content {
  color: #f2f2f2;
  position: relative;
  width: 50%;
  padding: 20px;
  transition: 0.5s;
  opacity: 1;
}

.contact-us {
  background-color: #f8f8f9;
}

.contact-us .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.contact-us .row>div {
  flex: 50%;
}

.contact-form {
  padding: 2em 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f2f2f2;
}

.form-group {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 60vw;
}

.send-email-btn {
  max-width: 60vw;
  font: inherit;
  font-size: 1.2rem;
  padding: 0.5em;
  width: 100%;
  font-weight: 400;
  background-color: #365486;
  border-radius: 6px;
  color: #FFF;
  border: 0;
}

.send-email-btn:hover {
  background-color: #142950;
}

.form-group .invalid-feedback {
  font-size: 12px;
  color: red;
  display: none;
}

.form-group input {
  padding: 5px;
}

.form-group input {
  border: none;
  font-size: 1rem;
  border-bottom: 2px solid;
  background: none;
  outline: none;
}

.form-group textarea {
  background: none;
  border: 2px solid black;
  border-radius: 10px;
  padding: 5px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #243B55;
}

@media only screen and (max-width: 768px) {

  main .intro {
    width: 95%;
    padding: 10px;
    text-align: center;
    top: unset;
    bottom: 10px;
  }

  main .intro h1 {
    font-size: 34px;
  }

  main .intro p {
    text-wrap: pretty;
    width: 95%;
  }

  main .owl-carousel .item {
    background-position: center;
    background-position-x: -500px;
  }
  
  main .owl-carousel .item {
    width: 100%;
    height: 600px;
  }

  main .owl-carousel .item img {
    display: none;
  }

  section.about-us .row, .contact-us .row {
    flex-direction: column;
  }

  section.about-us .row {
    padding: 20px 0;
  }
  
  section.about-us .row>div {
    flex: none;
  }

  section.about-us .row:first-child,  section.about-us .row:last-child {
    flex-direction: column-reverse;
  }

  section.why-us .body {
    flex-direction: column;
    align-items: center;
  }

  section.why-us .body .content ul {
    list-style-type: none;
    padding: 20px;
  }

  section.why-us .body>div {
    width: 100%;
    
  }

  .service {
    padding: 50px 0;
  }

  .service .card {
    margin: 50px 0;
  }

  .service .card img {
    left: 70%;
    max-width: 250px;
  }

  .contact-us .row>div {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-group, .send-email-btn {
    max-width: 90%;
  }
}
