/*! Start Variables  */
:root {
  --main-color: #10cab7;
  --secondry-color: #2c4755;
  --section-padding: 60px;
  --section-color: #f6f6f6;
}
/*! End Variables  */
/*** Start Global Rules ***/
* {
  -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: "Work Sans", sans-serif;
}
.container{
  padding: 0 15px;
  margin: 0 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;
  }
}
/*** End Global Rules ***/

/*? Start Components **/
.special_heading {
  color: #ebeced;
  font-size: 100px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -4px;
}
.special_heading + p {
  text-align: center;
  font-size: 20px;
  margin: -25px 0 0 0;
  color: #797979;
}
@media(max-width: 768px) {
  .special_heading {
    font-size: 60px;
  }
  .special_heading + p {
    margin-top: -15px;
  }
}
/*? End Components **/

/*** Start Header ***/
header {
  padding: 20px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .container .logo {
  width: 70px;
}
header .container .links {
  position: relative;
}
header .container .links:hover ul {
  display: block;
}
header .container .links .icon {
  width: 30px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
header .container .links .icon:hover span:nth-child(2) {
  width: 100%;
}
header .container .links .icon span {
  background-color: #333;
  margin-bottom: 5px;
  width: 100%;
  height: 2px;
}
header .container .links .icon span:nth-child(2){
  width: 60%;
  transition: 0.4s;
}
header .container .links ul {
  list-style: none;
  min-width: 200px;
  background-color: var(--section-color);
  position: absolute;
  right: 0;
  top: calc(100% + 15px);
  display: none;
  z-index: 1;
}
header .container .links ul::before {
  content: '';
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent var(--section-color);
  position: absolute;
  top: -29px;
  right: 0;
}
header .container .links ul li a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 15px;
  transition: 0.4s;
}
header .container .links ul li a:hover {
  padding-left: 25px;
}
header .container .links ul li:not(:last-child) a {
  border-bottom: 1px solid #DDD;
}
/*** End Header ***/

/*** Start Landing ***/
.landing {
  background-image: url('../Photos/landing.jpg');
  background-size: cover;
  height: calc(100vh - 68px);
  position: relative;
}
.landing .intro_text {
  position: absolute;
  bottom: 50%;
  right: 50%;
  transform: translate(50%, 50%);
  text-align: center;
  width: 320px;
  max-width: 100%;
}
.landing .intro_text h1 {
  margin: 0;
  color: var(--main-color);
  font-size: 50px;
  font-weight: bold;
}
.landing .intro_text p {
  font-size: 19px;
  line-height: 1.8;
}
/*** End Landing ***/

/*** Start Features ***/
.features {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-color);
}
.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px , 1fr));
  gap: 20px;
}
.features .container .feat {
  padding: 20px;
  text-align: center;
}
.features .container .feat i {
  color: var(--main-color);
  font-size: 50px;
}
.features .container .feat h3 {
  margin: 30px 0;
  font-weight: bolder;
}
.features .container .feat p {
  line-height: 1.6;
  color: #777;
  font-size: 17px;
}
/*** End Features ***/

/*** Start Services ***/
.services {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.services .container .services_content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px , 1fr));
  gap: 20px;
  margin-top: 100px;
}
.services .container .services_content .col .srv {
  display: flex;
  margin-bottom: 40px;
}
.services .container .services_content .col .srv i {
  flex-basis: 60px;
  color: var(--main-color);
}
@media(max-width: 768px) {
  .services .container .services_content .col .srv {
    flex-direction: column;
    text-align: center;
  }
  .services .container .services_content .col .srv i{
  margin: 0 auto;
  }
}
.services .container .services_content .col .srv .text {
  flex: 1;
}
.services .container .services_content .col .srv .text h3 {
  margin-bottom: 20px;
}
.services .container .services_content .col .srv .text p {
  color: #777;
  font-weight: 300;
}
.services .container .services_content .col .image {
  text-align: center;
  position: relative;
}
@media(max-width: 1099px) {
  .services .container .services_content .col .image {
    display: none;
  }
}
.services .container .services_content .col .image::before {
  content: '';
  height: calc(100% + 100px);
  width: 100px;
  background-color: var(--secondry-color);
  position: absolute;
  right: 0;
  top: -50px;
  z-index: -1;
  
}
.services .container .services_content .col img {
  width: 250px;
}
/*** End Services ***/

/*** Start Portfolio ***/
.portfolio {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: var(--section-color);
}
.portfolio .container .portfolio_content {
    display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px , 1fr));
  gap: 20px;
  margin-top: 100px;
}
.portfolio .container .portfolio_content .card {
  background-color: white;
}
.portfolio .container .portfolio_content .card img {
  max-width: 100%;
}
.portfolio .container .portfolio_content .card .info {
  padding: 20px;
}
.portfolio .container .portfolio_content .card .info h3 {
  margin-bottom: 20px;
}
.portfolio .container .portfolio_content .card .info p {
  color: #777;
  line-height: 1.6;
}
/*** End Portfolio ***/

/*** Start About ***/
.about{
  padding-top: var(--section-padding);
  padding-bottom: calc(var(--section-padding) + 60px);
}
.about .about_content {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media(max-width: 991px) {
  .about .about_content {
    flex-direction: column;
    text-align: center;
  }
}
.about .about_content .image {
  position: relative;
  width: 250px;
  height: 370px;
}
.about .about_content .image::before {
  content: '';
  background-color: #ebeced;
  width: 100px;
  height: calc(100% + 80px);
  position: absolute;
  top: -40px;
  z-index: -1;
  left: -20px;
}
.about .about_content .image::after {
  content: '';
  height: 80%;
  width: 120px;
  border-left: 80px solid var(--main-color);
  border-bottom: 80px solid var(--main-color);
  position: absolute;
  top: -40px;
  right: -160px;
  z-index: -1;
}
@media(max-width: 991px) {
  .about .about_content .image {
    margin: 0 auto 60px;
  }
  .about .about_content .image::before,
  .about .about_content .image::after {
    display: none;
  }
}
.about .about_content .image img {
  max-width: 100%;
}
.about .about_content .text {
  flex-basis: calc(100% - 500px);
}
.about .about_content .text p:first-of-type {
  font-weight: bold;
  line-height: 2;
  margin-bottom: 50px;
}
.about .about_content .text hr {
  display: block;
  width: 50%;
  border-color: var(--main-color);
}
@media(max-width: 991px) {
  .about .about_content .text hr {
    margin: 0 auto;
  }
}
.about .about_content .text p:last-of-type {
  line-height: 2;
  color: #777;
  margin-top: 30px;
}
/*** End About ***/

/*** Start Contact ***/
.contact {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);  
}
.contact .container .contact_content{
  margin-top: 100px;
  text-align: center;
}
.contact .container .contact_content .info p {
  font-size: 35px;
  font-weight: 800;
  color: var(--secondry-color);
  letter-spacing: -2px;
}
.contact .container .contact_content .info a{
  display: block;
  text-decoration: none;
  font-size: 35px;
  font-weight: 800;
  color: var(--main-color);
  line-height: 2;
}
@media (max-width: 767px) {
  .contact .container .contact_content .info p,
  .contact .container .contact_content .info a {
    font-size: 25px;
  }
}
.contact .container .contact_content .social{
  display: flex;
  justify-content: center;
  font-size: 18px;
}
@media (max-width: 767px) {
  .contact .container .contact_content .social{
    font-size: 14px;
  }
}
.contact .container .contact_content .social i {
  margin-left: 10px;
  color: var(--secondry-color);
}
/*** End Contact ***/

/*** Start Footer ***/
.footer {
  background-color: var(--secondry-color);
  color: white;
  padding: 30px;
  text-align: center;
  font-size: 18px;
}
.footer span {
  color: var(--main-color);
  font-weight: bold;
}
/*** End Footer ***/