:root {
  --main-color: #19c8fa;
  --transparent-color: rgb(15 116 143 / 70%);
  --section-padding: 100px;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
}
ul {
  list-style: none;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* start header */

header {
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  position: absolute;
  z-index: 3;
  width: 100%;
}

header .logo {
  height: 40px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 97px;
}

header .container::before {
  content: "";
  width: calc(100% - 30px);
  height: 1px;
  background-color: #a2a2a2;
  position: absolute;
  bottom: 0;
}

header nav {
  display: flex;
  align-items: center;
}

header ul {
  display: flex;
}

header ul li {
  margin-left: 20px;
  text-align: center;
}

header ul li a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
  width: fit-content;
  padding: 40px 10px;
  position: relative;
  z-index: 2;
}

header ul li:hover a {
  color: var(--main-color);
  border-bottom: 1px solid var(--main-color);
}

header nav > i {
  display: none !important;
}

@media (max-width: 767px) {
  header nav > i {
    display: block !important;
    cursor: pointer;
    font-size: 25px;
  }

  .show {
    display: block;
  }
  header ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 97px;
    width: 100%;
    display: none;
  }

  header ul li {
    margin-left: 0;
    text-align: start;
    width: 100%;
  }
  header ul li a {
    background-color: rgb(0 0 0 / 50%);
    display: block;
    width: 100%;
    margin: 0;
    padding: 9px 20px;
  }
}

.search-icon {
  position: relative;
  margin-left: 50px;
  font-size: 20px;
  display: flex;
  align-items: center;
}

.search-icon::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 30px;
  background-color: white;
  left: -20px;
}

/* start landing */

.landing {
  background-image: url("../images/landing.jpg");
  min-height: 100vh;
  background-size: cover;
  background-color: #19c8fa;
  position: relative;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}

.landing-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: white;
  background-color: var(--transparent-color);
  width: 50%;
  padding: 50px;
  display: flex;
  justify-content: flex-end;
}

.landing-text .content {
  max-width: 500px;
}

@media (max-width: 767px) {
  .landing-text {
    width: 100%;
  }
  .landing-text .content {
    max-width: 100%;
  }
}

.landing-text .content h2 {
  font-size: 32px;
  font-weight: normal;
  line-height: 1.5;
  margin-bottom: 20px;
}
.landing-text .content p {
  font-size: 14px;
  line-height: 2;
}

.landing i {
  color: white;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
}

.landing i:first-of-type {
  left: 20px;
}
.landing i:last-of-type {
  right: 20px;
}

.bullets {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  display: flex;
}

.bullets li {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid white;
  margin-right: 15px;
}

.bullets .active {
  background-color: var(--main-color);
  border: none;
}

/* start services */

#services {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.special-heading {
  text-align: center;
}

.special-heading h2 {
  font-size: 40px;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 65px;
  position: relative;
}

.special-heading h2::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background-color: #333;
  bottom: -30px;
  width: 120px;
}
.special-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -37.5px;
  transform: translateX(-50%);
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid black;
}

.special-heading p {
  width: 550px;
  margin: 0 auto 100px;
  max-width: 100%;
  line-height: 2;
  color: #777;
}

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 60px 40px;
}

.services-content > div {
  display: flex;
}
.services-content > div i {
  margin-right: 50px;
}

.services-text h3 {
  margin-bottom: 30px;
  color: var(--main-color);
}

.services-text p {
  line-height: 2;
  color: #777;
}

@media (max-width: 767px) {
  .services-content {
    display: block;
  }
  .services-content > div {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
  }
  .services-content > div i {
    margin-right: 0;
    margin-bottom: 30px;
  }
}

/* Design start */

#design {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  height: 600px;
  position: relative;
  background-image: url(../images/design-features.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 0;
}

#design::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}

.design-image {
  text-align: center;
}

.design-image,
.design-text {
  position: relative;
  z-index: 2;
  flex: 1;
}

.design-image img {
  position: relative;
  bottom: -150px;
}

.design-text {
  color: white;
  background-color: var(--transparent-color);
  padding: 50px;
}

.design-text h2 {
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.design-text ul li {
  padding: 15px 0;
}

.design-text ul li::before {
  font-family: "Font Awesome 5 Free";
  content: "\f108";
  font-weight: 900;
  margin-right: 10px;
  position: relative;
  top: 1px;
}

@media (max-width: 767px) {
  .design-image {
    display: none;
  }
}

/* Start Portfolio */

#portfolio {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

#portfolio .special-heading {
  padding-left: 15px;
  padding-right: 15px;
}

#portfolio ul {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-bottom: 60px;
}

#portfolio ul li:first-of-type {
  background-color: var(--main-color);
  color: white;
}

#portfolio ul li {
  padding: 10px;
  transition: 0.3s;
  cursor: pointer;
}
#portfolio ul li:hover {
  background-color: var(--main-color);
  color: white;
}

.portfolio-photos {
  display: flex;
  flex-wrap: wrap;
}

.portfolio-photos .image {
  overflow: hidden;
  position: relative;
}
.portfolio-photos img {
  max-width: 100%;
  transition: 0.3s;
}

.portfolio-photos .image:hover img {
  rotate: 3deg;
  scale: 1.1;
}

@media (min-width: 768px) {
  .portfolio-photos .image {
    flex-basis: 50%;
  }
}

@media (min-width: 1200px) {
  .portfolio-photos .image {
    flex-basis: 25%;
  }
}

.portfolio-photos .image .caption {
  position: absolute;
  bottom: -150px;
  background-color: white;
  padding: 20px;
  width: 100%;
  transition: 0.3s;
}

.portfolio-photos .image .caption h4 {
  font-weight: normal;
  margin-bottom: 10px;
}

.portfolio-photos .image .caption p {
  color: var(--main-color);
}

.portfolio-photos .image:hover .caption {
  bottom: 0;
}

#portfolio .more-button {
  display: block;
  text-align: center;
}

.more-button a {
  display: inline-block;
  text-decoration: none;
  padding: 15px 15px;
  color: white;
  margin-top: 50px;
  font-weight: 600;
  background-color: var(--main-color);
  border: 3px solid var(--main-color);
  transition: 0.3s;
}

.more-button a:hover {
  background-color: white;
  color: black;
}

/* start video */

.video-snapshot {
  position: relative;
}

.video-snapshot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}
.video-snapshot img {
  width: 100%;
}

.video-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background-color: var(--transparent-color);
  color: white;
  width: 100%;
  padding: 50px;
  text-align: center;
}

.video-content h3 {
  margin: 0 0 30px;
  text-transform: uppercase;
  font-weight: normal;
}
.video-content p {
  margin-bottom: 30px;
}

.video-content button {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 767px) {
  .video-content {
    padding: 30px;
  }
  .video-content h3 {
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

/* start about */

#about {
  padding-top: var(--section-padding);
  overflow: hidden;
  text-align: center;
}

.about-image img {
  position: relative;
  bottom: -120px;
  margin-top: -120px;
  max-width: 100%;
}

@media (max-width: 767px) {
  .about-image img {
    bottom: -60px;
    margin-top: -60px;
  }
}

/* Start Stats */
#stats {
  background-image: url("../images/stats.png");
  background-size: cover;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

#stats::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}

#stats .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  color: white;
}
#stats .container div {
  background-color: var(--transparent-color);
  flex-basis: 25%;
  padding: 50px;
}

@media (max-width: 992px) {
  #stats .container div {
    flex-basis: 50%;
  }
}

@media (max-width: 767px) {
  #stats .container div {
    flex-basis: 100%;
  }
}

#stats .container div i {
  width: 40px;
  height: 40px;
  display: flex;
  background-color: black;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 auto 30px;
}

#stats .container div h2 {
  font-size: 50px;
  font-weight: bold;
  margin: 0 0 20px;
}

#stats .container div p {
  font-size: 14px;
}

/* Start skills and testimonials */

.testimonials {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.testimonials .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.special-heading2 {
  text-align: center;
}

.special-heading2 h3 {
  margin: 0 0 30px;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
}

.special-heading2 p {
  color: #777;
  line-height: 2;
  text-align: center;
  margin-bottom: 60px;
}

.testi {
  flex-basis: 45%;
}

.testi-user {
  display: flex;
  align-items: center;
}

.testi-user img {
  width: 100px;
  border-radius: 50%;
  margin-right: 50px;
}

@media (max-width: 767px) {
  .testi-user {
    flex-direction: column;
    margin-bottom: 50px;
    text-align: center;
  }
  .testi-user img {
    width: 100px;
    border-radius: 50%;
    margin-bottom: 30px;
    margin-right: 0px;
  }
}

.testi-text {
  line-height: 1.8;
  border-bottom: 1px solid #ccc;
}

.testi-text p:last-of-type {
  color: #777;
  text-align: right;
  font-size: 14px;
  margin-bottom: 10px;
}

.testi-circles {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.testi-circles div {
  width: 14px;
  height: 14px;
  border: 1px solid #aaa;
  border-radius: 50%;
  margin-right: 10px;
}

.testi-circles .active {
  background-color: var(--main-color);
  border: none;
}

.skills {
  flex-basis: 45%;
}

@media (max-width: 992px) {
  .testi {
    flex-basis: 100%;
    margin-bottom: 100px;
  }
  .skills {
    flex-basis: 100%;
  }
}

.skills-content p {
  margin-bottom: 10px;
}
.skills-content div {
  height: 30px;
  width: 100%;
  margin-bottom: 40px;
  background-image: linear-gradient(
    to right,
    var(--main-color) 90%,
    #dedadc 90%
  );
  position: relative;
}

.skills-content div:nth-of-type(2) {
  background-image: linear-gradient(
    to right,
    var(--main-color) 85%,
    #dedadc 85%
  );
}

.skills-content div:nth-of-type(3) {
  background-image: linear-gradient(
    to right,
    var(--main-color) 80%,
    #dedadc 80%
  );
}

.skills-content div:nth-of-type(4) {
  background-image: linear-gradient(
    to right,
    var(--main-color) 90%,
    #dedadc 90%
  );
}
.skills-content div::before {
  content: attr(data-progress);
  position: absolute;
  background-color: black;
  color: white;
  top: -40px;
  left: 85%;
  padding: 4px 0;
  width: 40px;
  text-align: center;
  border-radius: 4px;
}

.skills-content div::after {
  content: "";
  position: absolute;
  border: 10px solid black;
  border-color: black transparent transparent transparent;
  left: 87.5%;
  top: -15px;
}

.skills-content div:nth-of-type(2):before {
  left: 80%;
}

.skills-content div:nth-of-type(3):before {
  left: 75%;
}

.skills-content div:nth-of-type(2):after {
  left: 82.5%;
}

.skills-content div:nth-of-type(3):after {
  left: 77.5%;
}

/* start quote */

.quote {
  background-image: url("../images/quote.jpg");
  background-size: cover;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}

.quote .container {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}

.quote q {
  font-size: 30px;
  margin-bottom: 20px;
  display: block;
}

/* Start Pricing */

#Pricing {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.pricing-cards div {
  text-align: center;
  background-color: #fcfcfcfc;
}

.plan-head {
  padding: 40px 20px;
  border-top: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}

.plan-head h4 {
  font-weight: normal;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 18px;
}

.plan-head p {
  font-size: 60px;
  font-weight: bold;
  position: relative;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
}

.plan-head p::before {
  content: "$";
  position: absolute;
  top: -2px;
  left: -20px;
  font-weight: normal;
  font-size: 23px;
}
.plan-head p::after {
  content: "/Mo";
  position: absolute;
  bottom: 10px;
  font-weight: 700;
  font-size: 20px;
}

.pricing-cards div ul {
  border-bottom: 1px solid var(--main-color);
}

.pricing-cards div ul li {
  padding: 20px;
  position: relative;
}

.pricing-cards div ul li:not(:last-of-type)::after {
  content: "";
  width: 140px;
  height: 1px;
  background-color: var(--main-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.pricing-cards div button {
  display: block;
  padding: 20px 20px;
  text-decoration: none;
  border: 1px solid var(--main-color);
  width: fit-content;
  margin: 30px auto;
  display: block;
  transition: 0.3s;
  border-radius: 5px;
  cursor: pointer;
}

.pricing-cards div button:hover {
  background-color: var(--main-color);
  color: white;
}

/* strat subscribe */

.subscribe {
  background-image: url("../images/subscribe.jpg");
  background-size: cover;
  position: relative;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  color: white;
}

.subscribe::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
}

.subscribe .container {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 30px;
  align-items: center;
}

@media (max-width: 991px) {
  .subscribe .container {
    flex-direction: column;
  }
}

.subscribe form {
  display: flex;
  position: relative;
  width: 500px;
  max-width: 100%;
}

.subscribe form i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 25px;
}

.subscribe form input[type="email"] {
  border: 1px solid white;
  border-right: none;
  background: none;
  padding: 20px 20px 20px 60px;
  caret-color: var(--main-color);
  width: calc(100% - 130px);
}

.subscribe form input[type="email"]::placeholder {
  color: white;
}

.subscribe form input[type="submit"] {
  width: 130px;
  background-color: var(--main-color);
  color: white;
  padding: 10px 20px;
  border: 1px solid white;
  border-left: none;
  text-transform: uppercase;
  cursor: pointer;
}

.subscribe form input[type="submit"]:hover {
  background-color: white;
  color: black;
}

/* Start Contact */
.contact {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.contact .content {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .contact .content {
    flex-direction: column;
  }
}
.contact .content form {
  flex-basis: 70%;
}
.contact .content form .main-input {
  padding: 20px;
  display: block;
  border: 1px solid #ccc;
  margin-bottom: 30px;
  width: 100%;
}
.contact .content form .main-input:focus {
  outline: none;
}
.contact .content form textarea.main-input {
  height: 200px;
}
.contact .content form input[type="submit"] {
  background-color: var(--main-color);
  color: white;
  padding: 20px;
  border: none;
  display: flex;
  margin-left: auto;
  text-transform: uppercase;
  cursor: pointer;
}
.contact .content .info {
  flex-basis: 25%;
}
@media (max-width: 767px) {
  .contact .content .info {
    order: -1;
    text-align: center;
  }
}
.contact .content .info h4 {
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: 500;
  font-size: 18px;
}
.contact .content .info .phone {
  display: block;
  color: #777;
  margin-bottom: 10px;
}
.contact .content .info h4:nth-of-type(2) {
  margin-top: 90px;
}
@media (max-width: 767px) {
  .contact .content .info h4:nth-of-type(2) {
    margin-top: 30px;
  }
}
.contact .content .info address {
  color: #777;
  line-height: 2;
}
@media (max-width: 767px) {
  .contact .content .info address {
    margin-bottom: 40px;
  }
}
/* End Contact */
/* Start Footer */
.footer {
  padding-top: calc(var(--section-padding) / 2);
  padding-bottom: calc(var(--section-padding) / 2);
  background-image: url("../images/subscribe.jpg");
  background-size: cover;
  position: relative;
  color: white;
  text-align: center;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
}
.footer .container {
  position: relative;
}
.footer img {
  margin-bottom: 20px;
}
.footer p:not(.copyright) {
  text-transform: uppercase;
  padding: 20px;
  border-bottom: 1px solid white;
  font-size: 22px;
  width: fit-content;
  margin: 20px auto;
}
.footer .social-icons i {
  padding: 10px 15px;
}
.footer .copyright {
  margin-top: 60px;
}
.footer .copyright span {
  font-weight: bold;
  color: var(--main-color);
}
