/* #region nav */
nav {
  position: fixed;
  width: 100%;
  z-index: 999;
  transition: all 0.5s linear;
  padding: 30px 0;
}

nav.fixed {
  background-color: #fff;
  box-shadow: 0 5px 17px 0 rgba(0, 0, 0, 0.05);
  padding: 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo span {
  display: inline-block;
  margin-left: 10px;
}

.mobile-menu {
  display: none;
  background-color: inherit;
  border: 0;
}

.nav ul {
  margin: 0;
}

.nav li {
  display: inline-block;
  padding: 0 20px;
}

.nav li:last-child {
  padding-right: 0;
}

.nav li a,
.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.nav li a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #272c58;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #272c58;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
/* #endregion */

/* #region top */
.top {
  background: linear-gradient(to bottom, #e3e5ff, #fff);
  /* padding: 100px 0; */
}

.top-container {
  display: flex;
  margin: 0 auto;
  padding-top: 150px;
  padding-bottom: 0;
}

.top-container h2 {
  max-width: 600px;
  min-height: 250px;
}

.top p {
  line-height: 2;
  font-size: 18px;
  max-width: 600px;
}

/* #endregion*/

/* #region services */
.services {
  text-align: center;
}

.service-list {
  display: flex;
  justify-content: space-between;
}

.flex-row {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

.flex-item-image {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-item-image img {
  width: 80%;
  height: 100%;
}

.flex-item-content {
  width: 60%;
  padding: 100px 50px;
}

.flex-item-content h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.flex-item-content h3::before {
  content: "";
  width: 100px;
  border-radius: 3px;
  height: 5px;
  background: linear-gradient(to right, #05dec1 0%, #09b3af 100%);
  position: absolute;
  top: -30px;
  left: 0;
}

.flex-item-content p {
  font-size: 1.1rem;
  width: 100%;
  line-height: 2;
  color: #737373;
}

/* #endregion services */

/* #region contact-us cta */
.contact-us-cta {
  background-color: #f4f5ff;
}
/* #endregion cotact-us cta */

/* #region footer */
.footer {
  color: #000428;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  padding: 10px 0;
  line-height: 1.5;
}

.social-media li {
  list-style: none;
  display: inline-block;
  padding: 0 15px;
}

.social-media li img {
  width: 20px;
  height: 20px;
  display: inline-block;
}
/* #endregion footer */

/* #region contact */
.form {
  display: block;
  max-width: 1000px;
  margin: 50px auto;
}

.form-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
}

.form-input {
  width: 48%;
}

.form-input input,
select {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #ccc;
  height: 50px;
  margin-top: 15px;
}

.form-text-area {
  width: 100%;
}

.form-text-area textarea {
  display: block;
  width: 100%;
  height: 200px;
  margin-top: 15px;
  border-radius: 3px;
  border: 1px solid #ccc;
  padding: 15px;
}

input,
textarea {
  outline: 0;
  padding: 0 15px;
  box-sizing: border-box;
  font-size: 16px;
}

.form-button-container {
  text-align: center;
}

.form-button-container button {
  padding: 15px 50px;
  border-radius: 30px;
  font-size: 16px;
  margin-top: 40px;
  color: #03a8f5;
  border: 1px solid #03a8f5;
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}

.form-button-container button:hover {
  background-color: #03a8f5;
  color: #fff;
}

/* #endregion contact */

/* #region project */
.project {
  background: linear-gradient(
    176.34deg,
    #e1faff 70.26%,
    rgba(225, 250, 255, 0) 91.26%
  );
}

.project-info p {
  max-width: 700px;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.project-list li {
  width: 30%;
  padding: 50px 20px;
  box-shadow: 0 5px 17px 0 rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.project-list li img {
  width: 100px;
  height: 100px;
}

/* #endregion project */

/* #region Service page */
.service-header {
  background: linear-gradient(to bottom, #e3e5ff, #fff);
  padding: 100px 0 0;
}

.page-card {
  display: inline-block;
  padding: 5px 10px;
  color: #fff;
  background-color: #6c7aff;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.service-header h2 {
  max-width: 600px;
}

.service-header p {
  max-width: 600px;
  font-size: 18px;
  line-height: 2;
}

.service-info {
  text-align: center;
  margin-bottom: 100px;
}

.service-info p {
  max-width: 790px;
  font-size: 18px;
  line-height: 1.67;
}

.service-info .flex {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
}

.service-info .flex-box {
  width: 33.3%;
  padding: 50px 0;
}

.service-info .flex-box img {
  width: 200px;
  height: 150px;
}

.service-info .flex-box h4 {
  margin-top: 20px;
}

.service-flex {
  display: flex;
  flex: 1 1 auto;
  justify-content: space-between;
  text-align: center;
  margin-top: 50px;
}

.service-flex li {
  padding: 30px 10px;
  transition: transform 0.3s linear;
}

.service-flex li:hover {
  background-color: #ccc;
  cursor: pointer;
  transform: translateY(-10%);
  border-radius: 5px;
}

.service-flex img {
  width: 100px;
}

.service-flex h6 {
  font-size: 16px;
  margin-top: 10px;
}

.service-detail {
  display: flex;
  width: 100%;
  margin-bottom: 30px;
}

.service-detail-img {
  width: 40%;
  background-color: rgb(241, 241, 241);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-img img {
  width: 200px;
}

.service-detail-content {
  width: 60%;
  padding: 50px 30px;
  border: 1px solid #f1f1f1;
}

.service-detail-content p {
  color: #737373;
  font-size: 16px;
}
/* #endregion Service page */

/* #region About */
.about-container h2 {
  max-width: 600px;
  padding: 100px 0 50px;
}
/* #endregion About */

/* #region mobile */
@media (max-width: 500px) {
  .container {
    padding: 50px 15px;
  }

  .header-container {
    flex-direction: column-reverse;
  }

  .header-container > div {
    width: 100%;
  }

  .mobile-menu {
    display: inline-block;
    transition: all 0.3s linear;
    transform: scale(2);
  }

  .nav li a.active::after {
    display: none;
  }

  .nav li a.active {
    color: #5b6bff;
  }

  .top-container {
    flex-direction: column-reverse;
    padding: 100px 15px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .top-container h2 {
    min-height: 300px;
  }

  .top-container div:last-child {
    margin-top: 20px;
    width: 300px;
  }

  .flex-row {
    padding: 15px;
  }

  .flex-row:nth-child(2),
  .flex-row:last-child {
    flex-direction: column-reverse;
  }

  .flex-row .flex-item-content {
    width: 100%;
    padding: 20px 0 50px;
  }

  .flex-item-content p {
    width: 100%;
  }

  .flex-row .flex-item-image {
    width: 100%;
  }

  .footer-container {
    padding: 30px 15px;
    display: block;
  }

  .footer {
    width: 100%;
    text-align: center;
  }

  .services {
    margin: 50px 15px;
  }

  .service-list {
    padding-top: 50px;
  }

  .service-list > li {
    margin-bottom: 30px;
  }

  nav {
    padding: 0;
  }

  .nav {
    padding: 0 15px;
  }

  .nav ul {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 70%;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s linear;
    /* visibility: hidden; */
  }

  .nav ul.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav li {
    display: block;
    padding: 0;
    text-align: center;
  }

  .nav li a {
    display: block;
    padding: 25px 0;
  }

  .top {
    flex-direction: column;
  }

  .top img {
    max-width: 100%;
    height: auto;
  }

  .project-list,
  .service-list {
    flex-direction: column;
  }

  .flex {
    flex-direction: column;
  }

  .flex-row {
    flex-direction: column;
  }

  .project-list li,
  .service-info .flex-box {
    width: 100%;
  }

  .nav.container {
    padding: 15px;
  }

  .form {
    padding: 0 15px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row h4 {
    font-size: 2rem;
  }

  .form-input {
    width: 100%;
  }

  .service-flex {
    display: none;
  }

  .service-detail {
    flex-direction: column;
  }

  .service-detail-img,
  .service-detail-content {
    width: 100%;
  }

  .service-detail-img {
    background-color: inherit;
  }
}

/* #endregion mobile */
