@import url("https://fonts.googleapis.com/css2?family=Roboto");

* {
  font-family: "Open Sans", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

header .navbar {
  background: rgb(181, 243, 184);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
}

.logo img {
  display: flex;
  height: 55px;
  width: auto;
  cursor: pointer;
  margin-left: 12px;
  transition: transform 0.3s ease;
  border-radius: 100px;
}

.logo img:hover {
  transform: scale(1.1);
}

.social-media {
  transition: transform 0.3s ease;
}

.social-media .fa-facebook {
  color: rgb(221, 149, 15);
}

.social-media .fa-instagram {
  color: rgb(221, 149, 15);
}

.social-media .fa-twitter {
  color: rgb(221, 149, 15);
}

.social-media .fa-linkedin {
  color: rgb(221, 149, 15);
}

.social-media .fa-facebook:hover {
  color: #1877f2;
  cursor: pointer;
  transform: scale(1.1);
}

.social-media .fa-instagram:hover {
  color: #e4405f;
  cursor: pointer;
  transform: scale(1.1);
}

.social-media .fa-twitter:hover {
  color: #1da1f2;
  cursor: pointer;
  transform: scale(1.1);
}

.social-media .fa-linkedin:hover {
  color: #0a66c2;
  cursor: pointer;
  transform: scale(1.1);
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}

.navbar ul li {
  display: inline-block;
}

.navbar ul li a:hover {
  color: yellow;
}

.navbar ul li a {
  margin: 0 5px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  background-color: green;
  padding: 1px 7px 1px 7px;
  border-radius: 3px;
}

.header-img {
  background: url(img/header.png);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 68vh;
}

.header-img h1 {
  text-align: center;
  color: white;
  transition: transform 0.3s ease;
}

.header-img h1:hover {
  color: lightgreen;
  cursor: pointer;
  transform: scale(1.1);
}

.header-img p {
  color: white;
  text-align: center;
  padding: 12px 50px 0px 50px;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.our-specializations {
  text-align: center;
  padding: 1rem;
  font-size: 15px;
}

.our-specializations hr {
  width: 18%;
  margin: 0 auto;
  opacity: 0.3;
}

.our-specializations h2:hover {
  color: darkorange;
  cursor: pointer;
}

.our-card {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.card {
  width: calc(33.33% - 30px);
  margin: 0 10px 20px 10px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.card-image:hover {
  transform: scale(0.9);
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.card-content h3:hover {
  color: green;
  cursor: pointer;
}

.card-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.card-text {
  margin-bottom: 15px;
}

.esteemed-clients {
  text-align: center;
  padding: 1rem;
  font-size: 15px;
}

.esteemed-clients hr {
  width: 18%;
  margin: 0 auto;
  opacity: 0.3;
}

.esteemed-clients h2:hover {
  color: darkorange;
  cursor: pointer;
}

.client-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-logos-container img {
  width: 200px;
  height: auto;
  transition: transform 0.3s ease;
  margin: 1px;
  overflow: hidden;
}

.client-logos-container img:hover {
  transform: scale(0.9);
}

.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
  color: greenyellow;
}

.menu__link {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  font-weight: 300;
}

.menu__link:hover {
  color: greenyellow;
}

.footer {
  background-color: #0b7c1b;
  margin-top: 100px;
}

.footer p {
  color: #fff;
  text-align: center;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
}

.footer p:hover {
  color: greenyellow;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("img/wave.png");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@media screen and (max-width: 700px) {
  .logo img {
    width: 48px;
    height: auto;
  }
  .navbar ul {
    display: none;
  }

  .toggle-btn {
    color: orange;
    padding: 0 5px;
  }

  .toggle-menu {
    position: absolute;
    height: 0;
    right: 1rem;
    top: 75px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, -0.885, 0.32, 1.275);
  }

  .toggle-menu.open {
    height: 170px;
  }

  .toggle-menu li {
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .toggle-menu li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
  }

  .header-img {
    height: 42vh;
  }

  .header-img h1 {
    font-size: 23px;
  }

  .header-img p {
    font-size: 12px;
    padding: 10px 10px 10px 10px;
  }

  .our-card {
    flex-direction: column;
  }

  .card {
    width: calc(100% - 20px);
    margin: 0 10px 20px 10px;
  }

  .menu__link {
    font-size: 1rem;
    margin: 0 5px;
  }
}

@media screen and (min-width: 700px) {
  .toggle-btn {
    display: none;
  }

  .toggle-menu {
    display: none;
  }
}
