main {
  padding: 0;
  padding-top: 5em;
  background: -webkit-linear-gradient(to right, #141E30, #243B55);
  background: linear-gradient(to right, #141E30, #243B55);

  display: flex;
  flex-direction: row;
  z-index: -2;
}

main .left-panel {
  padding: 2em;
  color: rgba(255, 255, 255, 0.796);
  display: flex;
  flex-direction: column;
  justify-content: end;
}

main .left-panel .main-action {
  padding: 2em 0;
}

main .left-panel .main-action button {
  padding: 1em;
  border: 2px solid;
  background: none;
  color: #fff;
  border-radius: 2em;
}

main .left-panel .main-action button:hover {
  border-color: #00ff2a;
  background-color: #243B55;
  cursor: pointer;
}

main .right-panel {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: end;
}

main .right-panel img {
  width: 80%;
  height: auto;
}

.about-us,
.contact {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  background-color: #f2f2f2;
}

.about-us>div,
.contact>div {
  width: 50%;
}

.about-us .left-panel,
.contact .left-panel {
  display: flex;
  flex-direction: row;
  justify-content: center;
}


.about-us .left-panel img {
  width: 100%;
  max-width: 500px;
}

.contact .left-panel img {
  width: 100%;
  height: 600px;
}

.about-us .right-panel,
.contact .right-panel {
  padding: 2em;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services {
  text-align: center;
  background-color: #141E30;
  padding: 5em 2em 2em 2em;
  color: #fff;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.col {
  float: left;
  width: 25%;
  margin: 50px 5px 5px 5px;
  padding: 5px;
  max-width: 300px;
}

.services .card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%;
  background-color: #365486;
  border-radius: 15px;
}

.services .card-body {
  position: relative;
  padding: 1em;
  z-index: 0;
}

.services .service-card-icon {
  align-items: center;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 0 10px #141E30;
  color: black;
  display: inline-flex;
  padding: 10px;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.services .service-card-icon .material-symbols-outlined {
  font-size: 40px;
}

.card-title {
  font-size: 1.2em;
}

.services .card-text {
  color: whitesmoke;
  font-size: 13px;
}

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

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

.contact .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;
}

.swiper {
  width: 100%;
  height: auto;
}

.testimonials {
  padding: 3em 2em 2em 2em;
  text-align: center;
  background-color: #f2f2f2;
}

.testimonial {
  padding: 3em;
}

.testimonial .card {
  position: relative;
  background: #141e30;
  background: -webkit-linear-gradient(to right, #141e30, #243b55);
  background: linear-gradient(to right, #141e30, #243b55);
  color: #f2f2f2;
  padding: 1em;
  border-radius: 20px;
}

.testimonial .card .quote-open {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(50px, -50%);
}

.testimonial .card .quote-close {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(-50px, 60%);
}

.testimonial .card .client-photo {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
}

.testimonial .card .client-photo img {
  width: 100%;
  height: auto;
}

.testimonial .card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial .card .card-title {
  margin: 0;
}

.swiper .swiper-wrapper {
  align-items: center !important;
}

@media screen and (max-width: 768px) {
  header {
    background: none !important;
  }

  main .left-panel {
    width: 100%;
  }

  main .right-panel {
    display: none;
  }

  .about-us,
  .contact {
    background: none;
    flex-direction: column;
    color: white;
    background-color: #000000a8;
  }

  .about-us>div,
  .contact>div {
    width: auto;
  }

  .about-us .left-panel,
  .contact .left-panel {
    position: absolute;
    z-index: -2;
    width: 100%;
  }

  .form-group input,
  .form-group textarea {
    background-color: #f2f2f2c1;
    border-radius: 6px;
    padding: 5px;
  }

  .col {
    width: 50%;
  }
}

@media screen and (max-width: 710px) {
  .col {
    width: 100%;
  }

  .testimonials {
    padding: 0;
  }
}