* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

:root {
  --main-color: #10cab7;
  --sec-color: #2c4755;
  --sec-padding: 60px;
  --sec-background: #f6f6f6;
  --sec-text-color: #333;
  --content-margin:60px;
}

/* Globals */

.special-h {
  font-size: 80px;
  margin: 0;
  font-weight: 800;
  opacity: 0.1;
  text-align: center;
  letter-spacing: -3px;
}

.special-h + p {
  text-align: center;
  color: #777;
  font-size: 20px;
  margin-top: -30px;
}

@media (max-width: 767px) {
  .special-h {
    font-size: 60px;
  }
  .special-h + p {
    margin-top: -25px;
  }
}

.container {
  padding: 0px 10px;
  margin: 0px auto;
}
/* small screens */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* medium screens */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* start Header  */
header {
  padding: 20px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  width: 60px;
}

header .links {
  position: relative;
}

header .links .icon {
  width: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header .links .icon span {
  width: 100%;
  height: 2px;
  margin-bottom: 5px;
  background-color: var(--sec-text-color);
}

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

header .links:hover ul {
  display: block;
}

header .links ul {
  position: absolute;
  background-color: #eee;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  right: 0;
  top: calc(100% + 15px);
  display: none;
  z-index: 1;
}

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

header .links ul a {
  display: block;
  color: var(--sec-text-color);
  text-decoration: none;
  padding: 15px;
  transition: padding-left 0.3s;
}

header .links ul a:hover {
  padding-left: 20px;
}

header .links ul li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

/* End header */

/* start landing */
.landing {
  background-image: url(../images/Landingimg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: calc(100vh - 91.42px);
  position: relative;
  color: var(--main-color);
}

.landing .intro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 320px;
  max-width: 100%;
}

.landing .intro h1 {
  margin: 0;
  font-size: 50px;
  font-weight: bold;
}

.landing .intro p {
  line-height: 1.8;
}


.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* features section */

.features {
  padding: var(--sec-padding) 0px;
  background-color: var(--sec-background);
}

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

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

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

.features .container .feat i {
  font-size: 64px;
  color: var(--main-color);
}

/* services section */
.services {
  padding: var(--sec-padding) 0px;
}

.services .container {
  margin-top: var(--content-margin);
}

.services .service {
  padding: 10px;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .services .service {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.services .service i {
  color: var(--main-color);
  font-size: 32px;
  flex-basis: 60px;
}
.services .text {
  flex: 1;
}

.services .service .text h5 {
  margin: 0;
}
.services .service .text p {
  line-height: 1.5;
  color: var(--sec-text-color);
  font-weight: 300;
}

.services .image {
  text-align: center;
  position: relative;
  width: 260px;
}

.services .image::before {
  position: absolute;
  content: "";
  width: 80px;
  height: calc(100% + 50px);
  background-color: var(--sec-color);
  right: -40px;
  top: -25px;
  z-index: -1;
}
.services .image img {
  width: inherit;
  border: 2px solid #eee;
}
@media (max-width: 767px) {
  .services .image {
    display: none;
  }
}

/* portiflio here */

.portiflio {
  padding: var(--sec-padding) 0px;
  background-color: var(--sec-background);
}

.portiflio .container {
  margin-top: var(--content-margin);
}

.portiflio .container .project {
  background-color: snow;
  padding: 10px;
  border-radius: 6px;
  transition: box-shadow 0.5s;
}

.portiflio .container .project:hover {
  box-shadow: -1px -1px 5px -1px #00000080;
}

.portiflio .container .project .project-text {
  padding: 10px;
  font-weight: 300;
}
.portiflio .project-text h5 {
  font-size: 20px;
  margin: 0;
}
.portiflio .container .project img {
  width: 100%;
  border-radius: inherit;
  background-color: #ccc;
}

@media (max-width: 767px) {
  .portiflio .container .project {
    text-align: center;
  }
}

/* about section */
.about .container {
  padding: var(--sec-padding) 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: space-between;
}

@media (max-width: 990px) {
  .about .container {
    flex-direction: column;
    text-align: center;
  }
}
.about .image {
  position: relative;
  padding: 10px;
  width: 300px;
  height: 300px;
}
.about .image::before {
  content: "";
  position: absolute;
  width: 80px;
  height: calc(100% + 80px);
  top: -40px;
  background-color: #eee;
  left: -5px;
  z-index: -1;
}

.about .image::after {
  content: "L";
  position: absolute;
  font-size: 400px;
  color: #10cab7;
  top: -130px;
  left: 230px;
  z-index: -1;
}

@media (max-width: 990px) {
  .about .image::after,
  .about .image::before {
    display: none;
  }
  .about .image {
    align-self: center;
  }
}

.about .image img {
  max-width: 100%;
}
.about .text {
  flex-basis: calc(100% - 500px);
  line-height: 2;
  position: relative;
}

@media (max-width: 990) {
  .about .text {
    text-align: centert;
  }
}

.about .text hr {
  position: absolute;
  background-color: #10cab7;
  width: 50%;
  height: 2px;
  border: none;
  left: 8px;
}

.about .text p:first-child {
  padding-left: 10px;
  font-weight: bold;
}

.about .text p:last-of-type {
  margin-top: 50px;
  color: #777;
  font-weight: 400;
}

/* contact  section */

.contact {
  background-color: var(--sec-background);
}

.contact .container {
  padding: var(--sec-padding) 0px;
  text-align: center;
}

.contact .container h3 {
  margin: 0;
  color: #2c4755;
}

.contact .container h3 + a {
  text-decoration: none;
  display: block;
  font-weight: 800;
  font-size: 24px;
  color: var(--main-color);
  margin: 20px 0px;
}

.contact .social i{
  font-size: 20px;
  color: #2c4755;
}

footer {
  padding:  10px;
  text-align: center;
  color: white;
  font-size: 16px;
  background-color: var(--sec-color);
}
footer span {
  font-weight: bold;
  color: var(--main-color);
}
