
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&family=Poppins:wght@400;500;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
--main-color:#fab700;
--light-black:#6c6c6b;
--light-color:#fff8dd;
--light-bg:#f3f3f3;
--white:#fff;
--black:#000000;
 --box-shadow:0 0rem 1rem rgb(0,0,0.1) 
}

*{
    font-family: "monteserrat" , sans-serif;
    margin: 0;padding: 0;
    box-sizing: border-box;
    outline: none;border: none;
    text-decoration: none;
    text-transform: capitalize;
    /* background-color: #000000; */
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 3rem;
}

::-webkit-scrollbar{
  width: 1rem;
}

::-webkit-scrollbar-track{
  background: transparent;
}

::-webkit-scrollbar-thumb{
  background: var(--black);
}




.btn{
  display: inline-block;
  padding: 1.3rem 3rem;
  font-size: 1.8rem;
  margin-top: 1rem;
  background: var(--main-color);
  color: var(--black);
  border-radius: 5rem;
  position: relative;
  z-index: 0;
  cursor: pointer;
  transition: .2s linear;
  overflow: hidden;
}

.btn::before{
  content: '';
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 0%;
  border-radius: 5rem;
  background-color: var(--black);
  z-index: -1;
  transition: .2s  ease-out;
}

.btn:hover{
  color: var(--white);
}

.btn:hover::before{
  left: 0%;
  width: 100%;
}



section{
  padding: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}


.heading{
  text-align: center;
  margin-bottom: 5rem;
   margin-top: 3rem;
}

.heading span{
  padding: .5rem 1.5rem;
  background-color: var(--light-color);
  color: var(--black);
  border-radius: 5rem;
  font-size: 1.8rem;
}

.heading h3{
  font-size: 3rem;
  margin-top: 1rem;
  color: var(--black);
}

.header{
  position: sticky;
  top: 0;left: 0;right: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
  background-color: var(--white);
}

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


.header .flex .logo{
  font-size: 2rem;
  font-family: cursive;
  text-transform: uppercase; 
  letter-spacing: 2px; 
  background: linear-gradient(90deg, #fab700 50%,#000000 50.1%);
  background-size: 40px;
 -webkit-background-clip:text ;
  background-clip: text;
  -webkit-text-stroke: transparent 1.2vw; 
 color: var(--main-color);
 text-shadow: 0 10px 25px rgba(0,0,0,.5);
 animation: text 1s linear infinite;
  -webkit-text-stroke: 1px  var(--main-color); 
}


@keyframes text {
  0%{
    background-position-x:0 ;
  }

  100%{
    background-position-x:-40% ;
  }
}

.header .flex .logo i{
  margin-right: .5rem;
  text-shadow: var(--box-shadow);
  color: var(--main-color);
}

.header .flex .navbar a{
  font-size: 1.8rem;
  color: var(--light-black);
  margin-left: 2.5rem;
}

.header .flex .navbar a:hover{
  color: var(--black);
}

#menu-btn{
  font-size: 3rem;
  color: var(--black);
  display: none;
}


#close-btn{
  position: absolute;
  top: 2rem; right: 2rem;
  color: var(--white);
  font-size: 4rem;
  display: none;
}

/* home */

.home{
  position: relative;
}


.home .flex{
  display: flex;
  align-items: center;
  flex-wrap:wrap;
  gap: 2rem;
}

.home .flex .image{
  flex: 1 1 40rem;
}

.home .flex .image img{
  width: 100%;
}


.home .flex .content{
  flex: 1 1 40rem;
}


.home .flex .content span{
  font-size: 1.8rem;
  color: var(--black);
  background: var(--light-color);
  border-radius: 5rem;
  padding: .5rem 1.5rem;

}


.home .flex .content h1{
  font-size: 6rem;
  margin: 1rem 0;
  color: var(--black);
  /* -webkit-text-stroke: 1px  var(--main-color); */

}

.home .flex .content h1 span{
  color: var(--main-color);
  border-radius: none;
  background: none;
  font-size: 6rem ;
  padding: 0;
 text-shadow: var(--box-shadow);
}


.home .flex .content h3{
  color: var(--black);
  font-size: 2rem;
  font-weight: 200;
  
}






.home .flex .content P{
  color: var(--light-black);
  font-size: 1.6rem;
  line-height: 1.8rem;
  margin: 1.1rem 0;
}

/* skills */

.skill-container{
  background: var(--black);
}

.skill-container .heading span{
  background: var(--white);
}

.skill-container .heading h3{
  color: var(--white);
}

.skill-container .box-container{
  display: grid;
  grid-template-columns: repeat(auto-fit,35rem);
  gap: 2rem;
  align-items: flex-start;justify-content: center;
}

.skill-container .box-container .box{
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 0;
}

.skill-container .box-container .box::before {
  content: '';
  position: absolute;
  bottom: 0;left: 0;right: 0;
  background: var(--white);
  height: 15rem;
  z-index: -1;
  clip-path: polygon(50% 0%,100% 30%,100% 100%, 0 100%,0% 38%);
}


.skill-container .box-container .box img{
  height: 10rem;
  transition: .2s linear;
}

.skill-container .box-container .box:hover img{
    transform: translateY(-1rem);  
}


.skill-container .box-container .box h3{
  font-size: 2rem;
  color: var(--black);
  padding: 1rem 0;
}

/* about */


.about .row{
  display: flex;
 flex-wrap: wrap;  
  gap: 2rem;
  align-items: center;
}

.about .row .image{
  flex: 1 1 40rem;
}

.about .row .image img{
  width: 100%;
}

.about .row .content{
  flex: 1 1 40rem;
}


.about .row .content .heading{
  margin-bottom: 1rem;
}

.about .row .content .description{
  line-height: 1.8;
  text-align: center;
  color: var(--light-black);
  font-size: 1.5rem;
  padding-bottom: 1rem;
}


.about .row .content .info{
  margin: 1rem 0;
}


.about .row .content .info h3{
  font-size: 2rem;
  color: var(--black);
  background: var(--main-color);
  padding: 1rem 2rem;
  display: inline-block;
}

.about .row .content .info .flex{
background-color: var(--light-color);
display: flex;
flex-wrap: wrap;
gap: 1rem;
padding: 1.5rem;
}



.about .row .content .info .flex p{
  color: var(--black);
  font-size: 1.5rem;
  flex: 1 1 20rem;
}

.about .row .content .info .flex p span{
  color: var(--light-black);
}


/* service */

.services .heading{
  padding-top: 3rem;
  margin-bottom:1rem ;
}

.services .heading span{
  background-color: var(--white);
}


.services .heading h3{
  color: var(--white);
}
.services{
  position: relative;
  background-color: var(--black);
}


.services .box-container{
 display: grid;
  grid-template-columns: repeat(auto-fit,35rem);
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.services .box-container .heading{
   padding-top: 2rem;
}


.services .box-container .heading h3{
  color: var(--white);
}

.services .box-container .box{
  padding: 3rem;
  border: .2rem solid rgb(255,255,255,.2);
  border-top-right-radius: 5rem;
}

.services .box-container .box .icon{
  display: inline-block;
  position: relative;
  margin-bottom: 1rem;
}

.services .box-container .box .icon img{
  height: 7rem;
  width: 7rem;
  transition: .2s linear;
}

.services .box-container .box:hover .icon img{
  transform: rotate(90deg);
}

.services .box-container .box .icon i{
    position: absolute;
    top: 40%;
    left: 30%;
    transform: translateY(-50%,-50%);
    color: var(--white);
    font-size: 2.5rem;
}

.services .box-container .box:hover{
    border: .2rem dashed rgb(255,255,255,.2);
}

.services .box-container .box h3{
  font-size: 2rem;
  color: var(--white);
}
.services .box-container .box p{
  line-height: 3rem;
color: var(--light-color);
font-size: 1.5rem;
}

/* projects */

.projects {
    padding-top: 3rem;
  margin-bottom:1rem ;
}

.projects .box-container{
   display: grid;
  grid-template-columns: repeat(auto-fit,35rem);
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}


.projects .box-container .box{
  overflow: hidden;
  position: relative;
  height: 35rem;
  border-radius: .5rem;
  background: var(--light-bg);
}

.projects .box-container .box img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: .2s linear;
  border-radius: .5rem;
}


.projects .box-container .box:hover img{
  transform: scale(.5)translateY(-3rem);
}


.projects .box-container .box h3{
  font-size: 1.5rem;
  position: absolute;
  top: -6rem; left: 33%;
  transform: translateY(-50%);
  color: var(--black);
  text-transform: uppercase;
  transition: .2s linear;
  font-weight: 200;
}



.projects .box-container .box:hover h3{
  top: 4rem;
}


.projects .box-container .box .btn{
    position: absolute;
  bottom: -7rem; left: 30%;
  transform: translateY(-50%);
  margin-top: auto;
    padding: 1rem 2rem;
}

.projects .box-container .box:hover .btn{
  bottom: 2rem;
}

/* contact */

.contact .row{
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
  gap: 3rem;
}

.contact .row .form{
  flex: 1 1 auto;
  text-align: center;
}

.contact .row .form .flex{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


.contact .row .form .flex .input{
  flex: 1 1 30rem;
}

.contact .row .form  .input{
  background-color: var(--light-bg);
  border-radius: .5rem;
  text-transform: none;
  color: var(--black);
  font-size: 1.8rem;
  padding: 1.2rem 1.4rem;
  border: .1rem solid rgba(0,0,0,.1);
}
.contact .row .form  .input::placeholder{
     text-transform: capitalize;
}

.contact .row .form  .input:focus{
  background-color: var(--light-color);
}

.contact .row .form textarea{
  height: 15rem;
  width: 100%;
  resize: none;
  margin-top: 1rem;
}

.contact .row .form .btn:hover{
  background-color: var(--black);
}

.contact .row .box-container{
  flex: 1 1 20rem;
}


.contact .row .box-container .box{
  display: flex;
  gap: 2rem;
}

.contact .row .box-container .box:nth-child(2){
  margin: 2rem 0;
  text-align: right;
  justify-content: end;
}


.contact .row .box-container .box i{
  height: 4rem;
  width: 4rem;
  line-height: 5rem;
  font-size: 2rem;
  background-color: var(--main-color);
  color: var(--black);
  border-radius: .5rem;
  text-align: center;
}

.contact .row .box-container .box  h3{
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.contact .row .box-container .box a{
  display: block;
  font-size: 1.3rem;
  color: var(--light-black);
  padding-top: .5rem;
  text-transform: none;
}

.contact .row .box-container .box a:hover{
  text-decoration: underline;
}


/* footer */

.footer{
  background: var(--black);
}


.footer .flex{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}


.footer .flex .share a{
  height: 4.5rem;
  width: 4.5rem;
  border-radius: .5rem;
  line-height: 4.5rem;
  font-size:2.7rem;
  background-color: var(--white);
  color: green;
  text-align: center;
  margin-right: .5rem;
}

.footer .flex .share a:hover{
  background-color: var(--main-color);
}


.footer .flex .credit{
  color: var(--white);
  font-size: 1.5rem;
}

.footer .flex .credit span{
  color: var(--main-color);
}

.footer section{
   padding: 1.5rem;
}


  /*  */
  .whatsapp-fixed{
    position: fixed;
    transform: translate(115px, 0px);
    bottom: 70px;
    right: 0;
    width: 150px; 
    background-color: #279b82;
    z-index: 10;
    transition: all 0.5s ease-in-out;
    border-radius: 50px 0px 0px 50px;
    height: 40px;
    display: flex;
    align-items: center;
}
.whatsapp-fixed a{
    color: #fff;
    text-decoration: none;
}
.whatsapp-fixed a i{
    font-size: 25px;
    padding: 0px 10px;
    transition: all 0.5s ease-in-out;
}
.whatsapp-fixed a span{
    font-size: 18px;
    position: absolute;
    font-weight: 400;
}
.whatsapp-fixed:hover{
    transform: translate(0px, 0px);
}
.whatsapp-fixed:hover a i{
    transform: rotate(360deg);
}
.call-fixed{
    position: fixed;
    z-index: 10;
    bottom: 130px;
    right: 0;
    width: 180px;
    background:#279b82;
    transform: translate(145px,0px);
    transition: all 0.5s ease-in-out;
    border-radius: 50px 0px 0px 50px;
    height: 40px;
    display: flex;
    align-items: center;
}
.call-fixed a{
    color: #fff;
    text-decoration: none;
}
.call-fixed a i{
    font-size: 20px;
    padding: 0px 10px;
    transition: all 0.5s ease-in-out;
}
.call-fixed a span{
    font-size: 18px;
    position: absolute;
    font-weight: 400;
}
.call-fixed:hover{
    transform: translate(0px,0px);
}
.call-fixed:hover a i{
    transform: rotate(360deg);
} 

























/* media queries */
@media (max-width:991px){
  html{
    font-size: 55%;
  }
}


@media (max-width:768px){
 #menu-btn{
  display: inline-block;
 }

 #close-btn{
  display: inline-block;
 }

 .header .flex .navbar{
  position: fixed;
  top: 0;bottom: 0;right: -120%;
  width: 35rem;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  gap: 2rem;
  box-shadow: 0 0 0 calc(100vw - 35rem) rgba(0,0,0,.7);
  transition: .2s linear;
 }

 .header .flex .navbar.active{
  right: 0;
 }

 .header .flex .navbar a{
  font-size: 3rem;
  color: var(--white);
 }

 .header .flex .navbar a:hover{
  color: var(--main-color);
 }

 .footer .flex{
  flex-flow: column;
  gap: 2rem;
 }
}




@media (max-width:450px){
  html{
    font-size: 50%;
  }
}