* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

img {
  border-radius: 10px;
}

header {
  z-index: 999;
  position: fixed;
  background: rgba(243, 241, 241, 0.1);
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.5s ease;
  margin-bottom: 30px;
}

header.sticky {
  padding: 5px 200px;
  background: rgb(246, 243, 243);
}

header .brand {
  color: #5b8dc1;
  font-size: 1.8em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  margin-left: -90px;
}

header .navigation {
  position: relative;
  margin-right: 0;
}

header .navigation a {
  color: #5b8dc1;
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
  padding-left: 40px;
}

header .navigation a:hover {
  font-size: 1.2em;
  border-bottom: 2px solid #5b8dc1;
  transition: 0.5s ease;
}

.main {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(Media/img2.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.main .name {
  font-weight: 700;
}

.main .more-info {
  width: 50%;
  font-size: 1.2em;
}

/* animated text  */

.main #text {
  display: inline-block;
  vertical-align: middle;
  color: #74adcb;
  letter-spacing: 2px;
  font-size: 3em;
  font-weight: bold;
  margin: 10px 0;
}

#cursor {
  display: inline-block;
  vertical-align: middle;
  width: 3px;
  height: 50px;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {

  from,
  to {
    background-color: transparent;
  }

  50% {
    background-color: #74adcb;
  }
}

/* end of animated text design  */

.icon-bar {
  position: fixed;
  top: 50%;
  left: 40px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 5;
}

.icon-bar a {
  display: block;
  text-align: center;
  padding: 10px 5px;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 20px;
}

.icon-bar a:hover {
  background-color: #06376c;
}

.icon-bar a i {
  background-color: #5b8dc1;
  padding: 7px;
  border-radius: 50%;
}

section {
  margin: 80px 0;
}

section .section-title {
  color: #5b8dc1;
  font-style: normal;
  font-weight: bold;
  font-size: 1.5em;
  line-height: 24px;
  text-transform: capitalize;
  text-align: center;
}

.about img {
  height: 500px;
  width: 400px;
}

.about .highlight {
  color: rgb(192, 20, 20);
  font-weight: 600;
}

.about-content p,
.about-content li {
  padding: 10px 0;
}

.work img {
  height: 300px;
  width: 400px;
}

.work .section-title,
.about .section-title {
  margin-bottom: 40px;
}

.work .section-subtitle {
  text-align: center;
  text-transform: capitalize;
  margin-bottom: 30px;
}

.work .swiper .swiper-wrapper figcaption {
  font-size: 1.3em;
  color: #556d87;
  margin-top: 10px;
}

.services .card {
  border: 1px solid rgb(196, 194, 194);
  border-radius: 5px;
  box-shadow: 2px 2px 5px 1px #5b8dc1;
  padding: 10px 0;
}

.services .card .service-icon {
  text-align: center;
  margin-bottom: 10px;
}

.services .card .service-icon i,
.contact .card .contact-icon i {
  font-size: 2.5em;
  color: #5b8dc1;
}

.services .card-title {
  font-weight: bold;
  text-align: center;
}

.services .card-text {
  text-align: center;
}

.contact .card {
  border: 1px dotted rgb(196, 194, 194);
  border-radius: 5px;
  box-shadow: 2px 2px 10px #eee;
  text-align: center;
  padding: 10px 0;
}

.contact .card:hover {
  box-shadow: 2px 2px 10px #5b8dc1;
}

.contact .card .contact-icon i {
  font-size: 2em;
  color: #5b8dc1;
}

.contact .card .contact-info h3 {
  text-transform: capitalize;
  font-size: 1.3em;
}

.contact .card .contact-info a {
  color: #000;
  text-decoration: underline;
  text-transform: capitalize;
}

.contact .card .contact-info a:hover {
  color: #5b8dc1;
}

.footer {
  background-color: #556d87;
  padding: 15px 0;
  text-align: center;
  color: #eee;
}

.footer .main-text {
  font-size: 1.1em;
}

.footer .colophon-text {
  font-size: 1em;
  text-transform: capitalize;
}

.footer .colophon-text span {
  font-size: 1.1em;
  color: rgb(130, 27, 27);
}

@media screen and (max-width: 1080px) {
  header {
    padding: 12px 20px;
  }

  header.sticky {
    padding: 10px 20px;
  }

  header .navigation {
    position: relative;
    display: none;
  }

  header .navigation.active {
    z-index: 888;
    position: fixed;
    background: #556d87;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 5px 25px #246094;
    transition: 0.3s ease;
  }

  header .navigation a {
    color: #ccc;
    font-size: 1.3em;
    font-weight: 500;
    margin: 20px auto;
    padding: 10px 30px;
  }

  header .navigation a:hover {
    background: #5b8dc1;
    color: #fafafa;
    background: rgb(21, 21, 42);
    border-radius: 50px;
    font-size: 1.5em;
    transition: 0.3s ease;
  }

  .btn {
    margin: 30px 30px;
  }

  .menu-btn {
    position: absolute;
    background: url(Media/dropDown.jfif) no-repeat;
    background-size: 30px;
    background-position: center;
    width: 2em;
    height: 2em;
    right: 0;
    margin: 0 20px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .menu-btn.active {
    z-index: 999;
    background: url(Media/close.png) no-repeat;
    background-size: 30px;
    background-position: center;
    transition: 0.3s ease;
    filter: invert(1);
    border: 2px solid #fff;
    /* filter enables the nav icon and close icon toggle smoothly */
  }
}

@media (max-width: 769px) {
  .icon-bar {
    left: -3px;
  }

  header .brand {
    margin-left: 10px;
  }

  .main .more-info {
    width: 100%;
  }

  .about-content p,
  .about-content li {
    padding: 3px 0;
  }
}

@media (max-width: 500px) {
  .icon-bar {
    display: none;
  }

  section {
    margin-left: 0 !important;
  }

  .animated-text {
    width: 100%;
  }

  .work .swiper .swiper-wrapper figcaption,
  .work .swiper .swiper-wrapper .desc {
    text-align: center;
    margin: 10px 0;
  }

  .work .swiper .swiper-wrapper .desc {
    margin-bottom: 20px;
  }

  .about-content {
    margin-top: 10px;
  }

  .main .greet {
    font-size: 0.8em;
  }

  .main .name {
    font-size: 1.3em;
  }

  .main #text {
    font-size: 2em;
  }

  .main .more-info {
    font-size: 0.9em;
  }
}