/* Start Variables */
:root {
  --main-color: #10cab7;
  --secondary-color: #2c4755;
  --section-padding: 60px;
  --section-background: #f6f6f6;
  --main-duration: 0.5s;
}

/* End Variables */
/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.special-heading {
  font-size: 100px;
  text-align: center;
  color: #ebeced;
  font-weight: 800;
  letter-spacing: -3px;
  margin: 0;
}

.special-heading + p {
  margin: -30px 0 0;
  font-size: 20px;
  text-align: center;
  color: #797979;
}

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

.rounded {
    border-radius: 6px;
}

/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

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

/* End Global Rules */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #fff;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--pad);
  height: 40px;
  width: 80%;
  position: relative;
  margin: 4px auto;
}

.navbar .container .logo img {
  width: 60px;
}

.links .icon {
  display: flex;
  flex-wrap: wrap;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0;
  top: 10px;
  justify-content: flex-end;
}

.links .icon span {
  background-color: #333;
  display: block;
  height: 2px;
}

.links .icon span:first-child {
  width: 100%;
}

.links .icon span:nth-child(2) {
  width: 60%;
  transition: 0.3s;
}

.links .icon span:last-child {
  width: 100%;
}

.links:hover .icon span:nth-child(2) {
  width: 100%;
}

.links ul {
  position: absolute;
  right: 0;
  top: 45px;
  list-style-type: none;
  width: 100%;
  background-color: #f6f6f6;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 1;
}

.links ul li {
    text-align: center;
  padding: 15px;
  border-bottom: 1px solid #ccc;
}

.links ul li:last-child {
  border: none;
}

.links ul li a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.links ul li:hover a {
  padding-left: 15px;
}

.links ul::before {
  content: "";
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #f6f6f6 transparent;
  position: absolute;
  right: 5px;
  top: -20px;
}

.links:hover ul {
  display: block;
}

/* End Header */

/* Start Landing  */
.header {
  background-image: url(../Media/landing.jpg);
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.header .intro-text h1 {
  color: var(--main-color);
  font-size: 50px;
  margin: 0;
}

.header .intro-text p {
  color: #333;
  font-size: 19px;
  margin: 19px 0;
  width: 320px;
  line-height: 1.8;
}

/* End Landing  */

/* Start Features  */
.features {
  background-color: #f6f6f6;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 30px;
}

.feat {
  text-align: center;
  padding: 20px;
}

/* Small */

@media (max-width: 767px) {
  .feat {
    width: 300px;
    margin: 0 auto;
    height: 300px;
  }
}

/* Medium */

@media (max-width: 992px) {
  .feat {
    width: 90%;
    margin: 0 auto;
    height: 300px;
  }
}

.features .container .feat i {
  color: var(--main-color);
}

.features .container .feat h3 {
  font-weight: 800;
  margin: 30px 0;
}

.features .container .feat p {
  font-size: 18px;
  color: #777;
  line-height: 1.8;
}

.features .container .feat {
  box-shadow: 2px 3px 5px 0px #aaa;
  transition: all 0.4s;
}

.features .container .feat:hover {
  box-shadow: 10px 12px 20px 0px #aaa;
  transform: scale(1.01);
}
/* End Features  */

/* Start Services  */
.services {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.services .services-content {
    display: flex;
    justify-content: space-between;
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
  margin-top: 100px;
}

.services .services-content .col-left {
    padding-right: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.services .services-content .srv {
    width: calc(50% - 15px);
    padding:30px 15px;
  display: flex;
  box-shadow: 2px 3px 8px 0 #aaa;
  transition: all 0.3s;
}

.services .services-content .srv:hover {
    box-shadow: 2px 3px 20px 0 #aaa;
    transform: scale(1.02);
}

@media (max-width: 992px) {
  .services .services-content .srv {
    flex-direction: column;
    text-align: center;
    width: 80%;
    margin: 0 auto;
  }

  .special-heading {
    font-size: 60px;
  }

  .special-heading + p {
    margin-top: -20px;
  }
}

.services .services-content .srv i {
  color: var(--main-color);
  flex-basis: 60px;
}

.services .services-content .srv .text {
  flex: 1;
}

.services .services-content .srv .text h3 {
  margin: 0 0 20px;
}

.services .services-content .srv .text p {
  color: #444;
  font-weight: 300;
  line-height: 1.6;
}

.services .services-content .image {
  text-align: center;
  position: relative;
}

.services .services-content .image::before {
  content: "";
  background-color: var(--secondary-color);
  width: 100px;
  height: calc(100% + 100px);
  top: -50px;
  position: absolute;
  right: 0;
  z-index: -1;
}

.services .services-content .image img {
  width: 260px;
}

@media (max-width: 1199px) {
    .services .services-content .col-left {
        padding-right: 0;
    }
    
  .image-column {
    display: none;
  }
}
/* End Services  */

/* Start Portfolio  */
.portfolio {
  background-color: #f6f6f6;
}

.portfolio .container {
  padding-top: 60px;
  padding-bottom: 50px;
}

.portfolio .container .portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 100px;
}

.portfolio-content .col {
  background-color: white;
  border-radius: 5px;
}

.portfolio-content .col .img {
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.portfolio-content .col img {
    display: inline-block;
  max-width: 100%;
  transition: all 0.4s;
  vertical-align: middle;
}

.portfolio-content .col:hover img {
    transform: scale(1.2) rotate(7deg );
}

.portfolio-content .col .info {
  padding-left: 15px;
}

.portfolio-content .col .info p {
  color: #777;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .portfolio .container .portfolio-content {
    justify-content: center;
  }
}
/* End Portfolio  */

/* Start About Section  */
.about {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.about .container .image {
  width: 250px;
  height: 375px;
  position: relative;
}

.image::after {
  content: "";
  position: absolute;
  color: var(--main-color);
  width: 120px;
  height: 295px;
  border-left: 80px solid;
  border-bottom: 80px solid;
  left: 202px;
  top: -40px;
  z-index: -1;
}

.image::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 455px;
  background-color: #ebeced;
  top: -40px;
  left: -20px;
  z-index: -1;
}

.about .container .image img {
  max-width: 100%;
}

@media (max-width: 768px) {
  /* .about .container .image {
        display: none;
    } */

  .about-content .text p {
    width: 100%;
  }
}

.about-content .text {
  flex-basis: calc(100% - 500px);
}

.about-content .text p {
  padding: 30px 0;
}

.about-content .text :first-child {
  font-weight: bold;
  font-size: 16px;
  line-height: 1.8;
}

.about-content .text hr {
  border-color: #10cab7;
  width: 50%;
  margin: 0;
  display: inline-block;
}

.about-content {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-content .text :last-child {
  line-height: 1.8;
  color: #777777;
  margin: 0;
}

@media (max-width: 992px) {
  .image::before,
  .image::after {
    display: none;
  }

  .about-content {
    text-align: center;
    flex-direction: column;
  }

  .image {
    margin: 0 auto;
  }
}
/* End About Section  */

/* Start Contact */
.contact {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-background);
}

.contact .container .info {
  text-align: center;
  padding: 60px 0;
}

.contact .container .info p.laple {
  font-size: 35px;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 15px;
  letter-spacing: -2px;
}

.contact .container .info a {
  font-size: 35px;
  font-weight: 800;
  text-decoration: none;
  color: var(--main-color);
}

.social {
  margin-top: 20px;
  letter-spacing: 0.3px;
}

.social .fa-youtube:hover {
    color: #ff0000;
}

.social .fa-facebook-f:hover {
    color: #233fa4;
}

.social .fa-twitter:hover {
    color: #3d79cd;
}

@media (max-width: 992px) {
  .contact .container .info p.laple,
  .contact .container .info a {
    font-size: 25px;
  }
}

/* End Contact */

/* Start footer  */

footer {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background-color: #2c4755;
  color: white;
}

footer span {
  font-weight: 800;
  color: var(--main-color);
  margin: 0 5px;
}
/* End footer  */
