:root {
  --main-color: #000000;
  
}

body {
  font-family: "Work Sans", sans-serif;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

/* Header */
.header {
}
.header .container {
  display: flex;
  justify-content: space-between;
  margin: 0 40px;
  align-items: center;
}
.header .logo {
  width: 70px;
}
.header .links {
  position: relative;
}
.header .links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #eee;
  border-radius: 12px;
  position: absolute;
  right: 0;
  min-width: 200px;
  top: calc(100% + 15px);
  display: none;
}
.header .links ul::before {
  content: "";
  border-width: 10px;
  border-color: transparent transparent #eee transparent;
  position: absolute;
  border-style: solid;
  right: 5px;
  top: -18px;
}
.header .links:hover ul {
  display: block;
  z-index: 5;
}
.header .links ul li a {
  display: block;
  padding: 15px;
  color: #333;
  text-decoration: none;
  transition: 0.3s;
}
.header .links ul li a:hover {
  padding-left: 25px;
}
.header .links ul li:not(:last-child) a {
  border-bottom: 1px solid #ddd;
}
.header .links:hover .icon span:nth-child(2) {
  width: 100%;
}
.header .links .icon {
  width: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.header .container .links .icon span {
  background-color: #333;
  margin-bottom: 5px;
  height: 3px;
}
.header .links .icon span:first-child {
  width: 100%;
}
.header .links .icon span:nth-child(2) {
  width: 60%;
  transition: 0.3s;
}
.header .links .icon span:last-child {
  width: 100%;
}

/* Start Main */
.main {
  background: url(../imgs/montent.jpg);
  background-size: cover;
  background-position: center;
  height: calc(100vh - 60px);
  position: relative;
}
.main .intro-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 20px;
  color: #fff;
}
.main .intro-text h1 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  color: #4f4f4f;
}
.main .intro-text h1 span {
  color:white;
  text-shadow: #333 1px 1px 1px;
  margin-left: 2px;
  /* text-shadow: #333 1px 1px 1px; */
}
.main .intro-text p {
  font-size: 18px;
  line-height: 1.4;
  margin-top: 15px;
  color: #333;
}
/* End Main */




/* Start Features */
.features {
  
  padding-top: 60px;
  padding-bottom: 60px;
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: -100px;
  justify-content: space-around;
  
}
.features .container {
  
 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  
}
.features .container .feat {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;

  text-align: center;
}
.features .container .feat i {
  font-size: 40px;
  color: var(--main-color);
  margin-bottom: 15px;
}
.features .container .feat h3 {
  font-weight: 800;
  margin: 20px 0;
  color: #333;
}
.features .container .feat p {
  color: #666;
  line-height: 1.6;
  font-size: 16px;
}
/* End Features */


/* Start main heading*/
.services .container .head-container{
  padding-bottom: 30px
}
.main-heading {
  color: #ebeceb;
  font-size: 100px;
  font-weight: bold;
  letter-spacing: -4px;
  margin: 0;
  text-align: center;
}
.main-heading + p {
  color: #7d7d7d;
  font-size: 30px;
  text-align: center;
  margin-top: -40px;
  letter-spacing: -1px;
}
/* End main heading */



/* Start Services */
.services {
  padding-top: 60px;
  padding-bottom: 30px;
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: -70px;
  justify-content: space-around;
}
.services .serv-box{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.services .serv-box .service-container{
 background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;

  text-align: center;
}

.services .serv-box .service-container i{
  font-size: 40px;
  color: var(--main-color);
  margin-bottom: 15px;
}
.services .serv-box .service-container h2{
  font-weight: 800;
  margin: 20px 0;
  color: #333;}
.services .serv-box .service-container p{
  color: #666;
  line-height: 1.6;
  font-size: 16px;
}
/* End Services */

/* Start Portfolio */
.portfolio {
   padding-top: 60px;
  padding-bottom: 60px;
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: -100px;
  justify-content: space-around;
  
}
.portfolio .portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.portfolio .container .card-container {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 30px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
.portfolio .container .card-container .card{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.portfolio .container .card-container img {
  width: 100%;
  height: auto;
    
}
.portfolio .container .card-container img:hover {
  filter: blur(0px);
  -webkit-filter: blur(0px);
  border-radius: 12px;
}

 

.portfolio .container .card-container h3 {
  font-weight: 800;
  margin: 20px 0;
  color: #333333;
  
 
}
.portfolio .container .card-container p {
       color: #666;
       line-height: 1.6;
       font-size: 16px;
      
}

/* End Portfolio */




/* Responsive Design */
@media (max-width: 767px) {
  .main .intro-text h1 {
    font-size: 28px;
    display: flex;
    flex-wrap: nowrap;
  }
  .main .intro-text p {
    font-size: 16px;
  }
  .header .container {
    margin: 0 10px;
  }
  .header .logo {
    width: 70px;
  }
  .header .links ul {
    min-width: 150px;
  }
  .main-heading {
    font-size: 70px;
    font-weight: bold;
    letter-spacing: -4px;
  }
  .main-heading + p {
    font-size: 15px;

    text-align: center;
    margin-top: -25px;
  }
  .portfolio .container .card-container img {
 
  margin-right: 179px;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
  .main .intro-text h1 {
    font-size: 32px;
  }
  .main .intro-text p {
    font-size: 17px;
  }
  .main-heading {
    font-size: 100px;
    font-weight: bold;
    letter-spacing: -4px;
  }
  .main-heading + p {
    font-size: 20px;
    text-align: center;
    margin-top: -35px;
  }
}
@media (min-width: 1025px) {
  .main .intro-text h1 {
    font-size: 36px;
  }
  .main .intro-text p {
    font-size: 18px;
  }
  .main-heading {
    font-size: 100px;
    font-weight: bold;
    letter-spacing: -4px;
  }
  .main-heading + p {
    font-size: 20px;
    text-align: center;
    margin-top: -35px;
  }
  .portfolio .container .card-container img {
  width: 30%;
  height: auto;
  border-radius: 12px;
  margin-left: 89.5px;
}
}
