/*Global Rules*/
:root {
  --main-color: #19c8fa;
  --transperant-color: rgb(14 116 143 / 70%);
}

html {
  scroll-behavior: smooth;
}

* {
  /*Don't Forget To Use Prefixes If Needed, You Can Check on "Can I Use" website which explorer supporting your property */
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

body {
  font-family: "open sans", sans-serif;
}

ul {
  list-style: none;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

/*General style for main heading*/
.main-heading {
  text-align: center;
}

.main-heading h2 {
  font-weight: normal;
  font-size: 40px;
  position: relative;
  margin: 0px auto 60px auto;
  text-transform: uppercase;
  width: fit-content;
}

.main-heading h2::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 2px;
  background-color: black;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.main-heading h2::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  border: 2px solid black;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
}

.main-heading p {
  font-size: 18px;
  line-height: 1.6;
  color: #777;
  margin-bottom: 60px;
}

/*General style for main heading*/

@media (min-width: 767px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 775px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

header {
  /*background-color: black;*/
  position: absolute;
  width: 100%;
  z-index: 2;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 80%;
  min-height: 97px;
  margin-left: auto;
  margin-right: auto;
}

header .container::after {
  content: "";
  position: absolute;
  width: calc(100% - 30px);
  height: 2px;
  background-color: #a2a2a2;
  bottom: 0px;
}

header .container img {
  height: 35px;
  position: relative;
}

header .container nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-content: center;
}

header .container nav .burger-menu {
  color: white;
  font-size: 22px;
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 767px) {
  header .container nav .burger-menu {
    display: none;
  }
}

header .container nav ul {
  display: flex;
  position: absolute;
  right: 80px;
  top: 0px;
}

@media (max-width: 767px) {
  header .container nav ul {
    display: none;
  }

  header .container nav .burger-menu:hover + ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 0px;
    width: 150px;
    background-color: #a2a2a2;
  }

  header .container nav .burger-menu:hover + ul li a {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

header .container nav ul li a {
  padding: 40px 15px;
  display: block;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
  position: relative;
  z-index: 2;
}

header .container nav ul li a.active,
header .container nav ul li a:hover {
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
}

header .container nav .search-icon {
  color: white;
  font-size: 22px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  align-items: center;
}

.landing {
  height: 100vh;
  background-image: url("../photos/landing.jpg");
  background-size: cover;
  background-color: black;
  position: relative;
}

.landing .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: rgb(0 0 0 / 60%);
}

.landing .text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0px;
  width: 50%;
  padding: 50px;
  background-color: var(--transperant-color);
  color: white;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 786px) {
  .landing .text {
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
  }
}

.landing .text .content {
  width: 420px;
}

.landing .text .content h2 {
  font-size: 32px;
  font-weight: normal;
  line-height: 1.5;
  margin-bottom: 20px;
}

.landing .text .content p {
  font-size: 15px;
  line-height: 2;
}

.landing .l-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  font-size: 50px;
  color: white;
}

.landing .r-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  font-size: 50px;
  color: white;
}

@media (max-width: 786px) {
  .landing .l-icon,
  .landing .r-icon {
    display: none;
  }
}

.landing .bullets {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.landing .bullets li {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 1px solid white;
  margin: 0px 5px;
}

.landing .bullets .active {
  background-color: var(--main-color);
}

.services {
  padding: 100px;
}

.services .container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}

@media (min-width: 767px) {
  .services .service-content {
    display: grid;
    row-gap: 60px;
    column-gap: 50px;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  }
}

.services .service-box {
  display: flex;
}

@media (max-width: 767px) {
  .service-box {
    flex-direction: column;
    text-align: center;
    margin-bottom: 50px;
  }

  .services .service-box i {
    margin-bottom: 10px;
  }
}

.services .service-box i {
  font-size: 40px;
  margin-right: 30px;
  transform: translateY(-8px);
}

.services .service-box h2 {
  color: var(--main-color);
  margin-bottom: 10px;
}

.services .service-box p {
  line-height: 1.7;
  color: #777;
}

.design {
  height: 600px;
  background-image: url(../Photos/design-features.jpg);
  background-size: cover;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.design .image {
  position: absolute;
  width: 50%;
  padding-right: 10px;
  text-align: center;
  bottom: -60px;
  z-index: 1;
}

@media (max-width: 767px) {
  .design .image {
    display: none;
  }
}

.design::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 50%);
}

.design .text {
  background-color: var(--main-color);
  position: absolute;
  right: 0px;
  width: 50%;
  padding-left: 10px;
  text-align: left;
  z-index: 1;
  border-radius: 25px 0px 0px 25px;
  color: white;
}

.design .text h2 {
  padding: 50px 50px;
  font-size: 25px;
  font-weight: 600;
}

.design .text ul {
  padding-left: 50px;
  padding-bottom: 50px;
}

.design .text ul li {
  margin-bottom: 10px;
  font-size: 18px;
}

.design .text ul li i {
  font-size: 22px;
  padding-right: 20px;
  transform: translateY(10%);
}

.portfolio {
  padding-top: 60px;
}

.portfolio .container {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.portfolio .container .main-heading {
  text-align: center;
}

.portfolio ul {
  display: flex;
  justify-content: center;
  column-gap: 20px;
}

.portfolio ul li {
  padding: 10px;
}

.portfolio ul li.active {
  background-color: var(--main-color);
  color: white;
}

.portfolio .images-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
}

.portfolio .images-container .box {
  flex-basis: 25%;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .portfolio .images-container .box {
    flex-basis: 50%;
  }
}

@media (max-width: 767px) {
  .portfolio .images-container .box {
    flex-basis: 100%;
  }
}

.portfolio .images-container .box img {
  width: 100%;
  transition: 0.3s;
}

.portfolio .images-container .box .caption {
  position: absolute;
  left: 0px;
  bottom: -100px;
  padding: 10px;
  width: 100%;
  background-color: rgb(255 255 255/90%);
  transition: 0.5s;
}

.portfolio .images-container .box:hover .caption {
  bottom: 0px;
}

.portfolio .images-container .box:hover img {
  transform: rotate(5deg) scale(1.2);
}

.portfolio .images-container .box .caption h3 {
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
}

.portfolio .images-container .box .caption p {
  padding-left: 10px;
  line-height: 1.2;
  font-size: 12px;
  color: var(--main-color);
}

.portfolio .button {
  margin: 20px auto 20px auto;
  background-color: var(--main-color);
  width: fit-content;
}

.portfolio .button p {
  padding: 15px;
  color: white;
  text-transform: uppercase;
}

.video {
  padding-top: 60px;
  position: relative;
}

.video .video-media {
  position: relative;
}

.video .video-media video {
  width: 100%;
}

.video .video-media::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  background-color: rgb(0 0 0 / 30%);
}

.video .text {
  position: absolute;
  background-color: rgb(15 116 145/80%);
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  padding: 50px;
  color: white;
}

.video .text h2 {
  text-transform: uppercase;
  font-weight: normal;
  padding-bottom: 30px;
}

.video .text p {
  font-weight: normal;
  padding-bottom: 25px;
}

.video .text button {
  background-color: black;
  color: white;
  padding: 10px;
  border: none;
  text-transform: uppercase;
}

.about {
  padding-top: 60px;
  overflow: hidden;
}

.about .container {
  width: 100%;
  text-align: center;
}

.about .container img {
  position: relative;
  bottom: -140px;
  margin-top: -140px;
}

.stats {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
  background-image: url(../Photos/stats.png);
  background-size: cover;
  position: relative;
}

.stats::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 50%);
  top: 0px;
  left: 0px;
}

.stats .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background-color: rgb(15 116 145/80%);
  margin: 0px auto 0px auto;
}

.stats .box {
  color: white;
  flex-basis: 25%;
  padding: 50px;
}

@media (max-width: 991px) {
  .stats .box {
    flex-basis: 50%;
  }
}

@media (max-width: 767px) {
  .stats .box {
    flex-basis: 100%;
  }
}

.stats .box i {
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: white;
  background-color: black;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto 30px auto;
}

.stats .box .number {
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 20px;
}

.stats .box p {
  font-size: 14px;
  font-weight: normal;
}

.our-skills {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.our-skills .container {
  width: 80%;
  margin: 0px auto 0px auto;
  padding: 0px;
  display: flex;
  flex-basis: 40%;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .our-skills .container {
    flex-direction: column;
  }
}

.our-skills .container > div {
  flex-basis: 45%;
}

.our-skills .container > div > h3 {
  margin-bottom: 30px;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
}

.our-skills .container > div > p {
  color: #777;
  line-height: 1.8;
  margin-bottom: 50px;
}

.our-skills .testimonials .content {
  display: flex;
  margin-bottom: 50px;
  align-items: center;
}

@media (max-width: 767px) {
  .our-skills .container .content {
    flex-direction: column;
    margin-bottom: 20px;
  }
}

.our-skills .testimonials .content .image {
  margin-right: 40px;
}

@media (max-width: 767px) {
  .our-skills .container .content .image {
    margin-bottom: 20px;
  }
}

.our-skills .testimonials .content .image img {
  width: 100px;
  border-radius: 50px;
}

.our-skills .testimonials .content .text {
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.our-skills .testimonials .content .text p:first-child {
  text-align: left;
  line-height: 1.6;
}

.our-skills .testimonials .content .text p:last-child {
  text-align: right;
  color: #777;
  font-size: 14px;
}

.our-skills .testimonials ul {
  display: flex;
  width: 75px;
  justify-content: space-between;
  margin: 0px auto 0px auto;
}

.our-skills .testimonials ul li {
  width: 15px;
  height: 15px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 7.5px;
}

@media (max-width: 767px) {
  .our-skills .testimonials ul {
    margin-bottom: 50px;
  }
}

.our-skills .testimonials ul li.active {
  background-color: #19c8fa;
}

.our-skills .container .skills .prog-holder {
  margin-bottom: 20px;
}

.our-skills .container .skills .prog-holder h4 {
  text-align: left;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.our-skills .container .skills .prog-holder .prog {
  background-color: #e9e8e8;
  width: 100%;
  height: 30px;
}

.our-skills .container .skills .prog-holder .prog span {
  display: block;
  height: 100%;
  background-color: var(--main-color);
  position: relative;
}

.our-skills .container .skills .prog-holder .prog span::before {
  content: attr(data-progress);
  position: absolute;
  width: fit-content;
  padding: 3px;
  font-size: 14px;
  text-align: center;
  background-color: black;
  color: white;
  top: -35px;
  right: -17px;
  border-radius: 4px;
}

.our-skills .container .skills .prog-holder .prog span::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 8px;
  border-color: black transparent transparent transparent;
  top: -13px;
  right: -7.5px;
}

.caption {
  margin: 60px 0px;
  padding: 60px 120px;
  background-image: url(../Photos/quote.jpg);
  background-size: cover;
  position: relative;
}

.caption::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: rgb(0 0 0/75%);
}

.caption p:first-child {
  color: white;
  font-size: 28px;
  line-height: 2;
  text-align: center;
  position: relative;
  z-index: 1;
}

.caption p:last-child {
  color: white;
  font-size: 16px;
  text-align: right;
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.caption i {
  font-size: 18px;
}

.pricing {
  text-align: center;
}

.pricing .container {
  width: 90%;
  margin: 0px auto 0px auto;
}

.pricing .prices {
  display: flex;
  flex-wrap: wrap;
  margin: 0px auto 0px auto;
  justify-content: space-around;
  gap: 20px 20px;
}

@media (max-width: 767px) {
  .pricing .prices {
    flex-basis: 100px;
    justify-content: center;
  }
}

.pricing .prices .section {
  flex-basis: 300px;
  background-color: #ededed;
  text-align: center;
}

.pricing .prices .section .price-data > p {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--main-color);
}

.pricing .section .price-data .prog {
  display: flex;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--main-color);
}

.pricing .section .price-data .prog p:first-child {
  vertical-align: text-top;
  font-size: 25px;
  font-weight: normal;
  padding-top: 5px;
}

.pricing .section .price-data .prog p:nth-child(2) {
  font-size: 60px;
  font-weight: bold;
}

.pricing .section .price-data .prog p:last-child {
  vertical-align: baseline;
  font-size: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.pricing .section .features p {
  text-align: center;
  font-size: 18px;
  padding: 20px 5px;
  margin: auto 80px;
  border-bottom: 1px solid var(--main-color);
}

.pricing .section .features p:nth-child(4) {
  padding-bottom: 25px;
  border-bottom: none;
}

.pricing .section .features {
  border-bottom: 1px solid var(--main-color);
}

.pricing .section button {
  text-align: center;
  width: 100px;
  height: 50px;
  border: 1px solid var(--main-color);
  background-color: white;
  margin: 30px auto;
}

.pricing .container > p {
  font-size: 22px;
  margin: 30px auto;
}

.pricing .container > button {
  width: 100px;
  height: 50px;
  color: white;
  background-color: var(--main-color);
  border: none;
  margin-bottom: 30px;
}

.subscribe {
  margin: 60px auto;
  background-image: url(../Photos/subscribe.jpg);
  background-size: cover;
  position: relative;
}

.subscribe::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: rgb(0 0 0 / 50%);
}

.subscribe .container {
  width: 90%;
  margin: 0px auto;
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  column-gap: 100px;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .subscribe .container {
    flex-direction: column;
  }
}

.subscribe .container form {
  display: flex;
  background-color: rgb(0 0 0/10%);
  padding: 0px;
  align-items: center;
  border: 1px solid white;
}

.subscribe .container form i {
  color: white;
  font-size: 30px;
  margin: 0px 15px;
}

.subscribe .container form .mail {
  width: 250px;
  height: 50px;
  background-color: black;
  color: white;
  border: none;
  caret-color: var(--main-color);
  text-wrap: wrap;
}

.subscribe .container form .mail:focus,
.subscribe .container form .buttom:focus {
  outline: none;
}

.subscribe .container form .button {
  height: 50px;
  padding: 0px 20px;
  background-color: var(--main-color);
  color: white;
  border: none;
  text-transform: uppercase;
}

.subscribe .container p {
  color: white;
  font-size: 20px;
  line-height: 1.8;
  text-align: left;
}

.contact-us {
  margin: 60px auto;
}

.contact-us .container {
  width: 90%;
  margin: 0px auto;
}

.contact-us .container .content {
  width: 90%;
  margin: 0px auto;
  display: flex;
  column-gap: 50px;
  text-wrap: wrap;
}

@media (max-width: 991px) {
  .contact-us .content {
    flex-direction: column;
  }

  .contact-us .contact-data {
    flex-direction: row;
    justify-content: space-around;
    margin-top: 60px;
  }

  .contact-us .inputs {
    max-width: 100%;
  }
}

.contact-us .container .inputs {
  display: flex;
  flex-direction: column;
  width: 700px;
  min-width: 500px;
  row-gap: 35px;
}

.contact-us .container .inputs input {
  height: 40px;
  padding-left: 20px;
}

.contact-us .container .inputs textarea {
  height: 150px;
  padding: 20px;
}

.contact-us .content button {
  padding: 10px 20px;
  background-color: var(--main-color);
  color: white;
  width: fit-content;
  margin-left: auto;
  border: none;
  cursor: pointer;
}

.contact-data {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
  min-width: 155px;
}

.contact-us .container .contact-data .phone h4 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 15px;
}

.contact-us .container .contact-data .phone p {
  color: #777;
  line-height: 1.8;
}

.contact-us .container .contact-data .adress h4 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 15px;
}

.contact-us .container .contact-data .adress p {
  color: #777;
  line-height: 1.8;
}

.footer {
  margin: 60px 0px 0px 0px;
  padding: 50px 0px 10px 0px;
  text-align: center;
  background-image: url(../Photos/subscribe.jpg);
  background-size: cover;
  position: relative;
}

.footer::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: rgb(0 0 0 / 70%);
}

.footer img {
  position: relative;
  z-index: 1;
}

.footer .social {
  width: fit-content;
  margin: 0px auto;
  position: relative;
  z-index: 1;
}

.footer .social p {
  text-transform: uppercase;
  font-size: 20px;
  margin: 40px 0px 10px 0px;
  color: white;
}

.footer .social .icons {
  margin: 10px 0px;
  width: fit-content;
}

.footer .social .icons i {
  font-size: 25px;
  margin-left: 15px;
  margin-right: 15px;
  color: white;
  cursor: pointer;
}

.footer .social .icons i:nth-child(1) {
  color: #3b5998;
}

.footer .social .icons i:nth-child(2) {
  color: var(--main-color);
}

.footer .social .icons i:nth-child(3) {
  color: #ff8b66;
}

.footer .social .icons i:nth-child(4) {
  color: #0077b5;
}

.footer > p {
  margin-top: 50px;
  font-size: 18px;
  color: white;
  position: relative;
  z-index: 1;
}

.footer > p span {
  color: var(--main-color);
  font-weight: bold;
}
