@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@500&family=Oleo+Script:wght@400;700&display=swap');
/*font-family: 'Archivo Narrow', sans-serif;
font-family: 'Oleo Script', cursive;*/
@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@500&display=swap');

* {
   padding: 0;
   box-sizing: border-box;
}

:root {
   --heading: rgb(4 50 245);
   --para: #777;
   --para-tint: #e4e4e4;
   --white: #fff;
   --bleak: #000000;
   --helper: #8490ff;
   --helper-tint: #f3f4ff;
   --bg: rgb(249 249 255);
   --icon-bg: #D0CEDAED;
   --gradient: linear-gradient(0deg, rgb(132 144 255)0%, rgb(98 189 252)100%);
   --shadow: 0px 0px 10px 0px rgb(132 144 255 / 20);
   --gradientSupport: -webkit-linear-gradient(0deg,
         rgb(132 144 255)10%,
         rgb(98 189 252)100%);

   --shadowA: 0 2rem 2rem 0 rgb(132, 144, 255);
}

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

body {
   overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
   font-family: 'Oleo Script';
}

h1 {
   color: var(--heading);
   font-size: 5.3rem;
   font-weight: 700;
}

h3 {
   font-size: 2rem;
   font-weight: 400;

}

p {
   color: var(--para);
   line-height: 1.9;
   font-size: 2rem;

}

li {
   list-style-type: none;

}

a {
   text-decoration: none;
}

span {
   color: white;
   font-size: 3rem;
   padding: 0.4rem;
}

/*=====================
      Header scation
========================*/

.header {
   width: 100%;
   padding: 0 4.8rem;
   height: 12rem;
   background-color: var(--bg);
   display: flex;
   justify-content: space-between;
   align-items: center;
   position: fixed;
   top: 0;
   z-index: 9999;
   margin-left: -10px;
}

.logo {
   font-size: 4rem;
   text-align: center;
}

.navbar-lists {
   display: flex;
   gap: 4.8rem;
}

.navbar-link:link,
.navbar-link:visited {
   color: var(--bleak);
   display: inline-block;
   font-size: 1.8rem;
   font-weight: 100;
   text-transform: uppercase;
   transition: all 0.3s linear;

}

.navbar-link:hover,
.navbar-link:active {
   border-bottom: 2px solid black;
   color: var(--helper);
}

.mobile-navabar-btn {
   display: none;
   background-color: transparent;
   cursor: pointer;
   border: none;

}

.fa-close {
   display: none;
}

/*=====================
 Reasiable code section
 ======================*/
.section {
   padding: 5rem 8rem;
   margin-top: 10rem;
}

.but {
   background: var(--gradientSupport);
   padding: 1.6rem 3.2rem;
   border: none;
   color: var(--helper-tint);
   display: inline-block;
   font-size: 2rem;
   cursor: pointer;
   transition: all 0.4s ease;
   -webkit-transition: all 0.4s ease 0s;
   -moz-transition: all 0.4s ease 0s;
   -o-transition: all 0.4s ease 0s;

}

.but:hover,
.but:active {
   box-shadow: var(--shadowA);
}

.container {
   max-width: 150rem;
   margin: 0 2rem;
}

.grid {
   display: grid;
   gap: 9rem;
}

.grid-two-column {
   grid-template-columns: repeat(2, 1fr);
}

.grid-three-column {
   grid-template-columns: repeat(3, 1fr);
}

.grid-four-column {
   grid-template-columns: repeat(4, 1fr);
   gap: 15rem;
}

.common-heading {
   font-size: 2.5rem;
   font-weight: 600;
   margin-bottom: 6rem;
   text-transform: uppercase;
   position: relative;
}

.common-heading::before {
   content: "";
   position: absolute;
   top: 110%;
   left: 0;
   width: 1.5rem;
   height: 1.5rem;
   background: var(--helper);
   border-radius: 50%;
}

.common-heading::after {
   content: "";
   position: absolute;
   top: 121%;
   left: 1.3rem;
   width: 20rem;
   height: 0.4rem;
   background: var(--helper);
}

/*=====================
  Hero section 
  ======================*/
#home {
   scroll-behavior: smooth;
   transition: all 0.7s linear;
}

.section-hero {
   background-color: var(--bg);
   margin-top: 9rem;
}

.section-hero-data {
   display: flex;
   flex-direction: column;
   justify-content: center;

}

.section-hero-img {
   display: flex;
   justify-content: center;
   align-items: center;
}

.hero-top-data {
   justify-content: center;
   text-transform: uppercase;
   font-size: 1.5rem;
   font-weight: 500;
   color: var(--helper);
}

.hero-heading {
   font-weight: 700;

}

.hero-para {
   margin: 1.6rem 0 5rem 0;
   max-width: 50rem;
}

.hero-img {
   max-width: 100%;

}

/*=====================
  Bio-data section 
  ======================*/
.bio-image {
   display: flex;
   justify-content: center;
   align-items: center;
}

.bio-image img {
   width: 80%;
   box-shadow: -2rem -2rem 0 0 var(--helper);
   display: inline-block;
}

.bio-data-stats {
   display: flex;
   flex-direction: column;
   padding: 5.4rem 0;
   gap: 2rem;
}

.bio-stats {
   margin-bottom: 1rem;
}

.bio-progress-bar {
   margin-top: 0.7rem;
   width: 90%;
   height: 0.8rem;
   background: var(--para-tint);
   border-radius: 10rem;
   position: relative;
   box-shadow: var(--shadow);
}

.bio-progress-bar::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 80%;
   height: inherit;
   background: var(--gradientSupport);
   border-radius: 10rem;
}

.bio-progress-2::before {
   width: 99%;
}

.bio-progress-3::before {
   width: 90%;
   ;
}

.bio-progress-4::before {
   width: 85%;
}

.bio-progress-5::before {
   width: 70%;
}

.bio-progress-bar span {
   position: absolute;
   top: 1.8rem;
   left: 76%;
   width: 4rem;
   height: 2rem;
   background: var(--helper);
   color: var(--white);
   text-align: center;
   display: flex;
   justify-content: center;
   align-items: center;
   border: none;
   outline: 0;
   font-size: 2rem;
}

.bio-progress-2 span {
   left: 95%;
}

.bio-progress-3 span {
   left: 86%;
}

.bio-progress-4 span {
   left: 81%;
}

.bio-progress-5 span {
   left: 66%;
}

.bio-progress-bar span::after {
   content: "";
   position: absolute;
   width: 0;
   height: 0;
   border: 0.8rem solid var(--helper);
   border-color: transparent;
   border-bottom-color: var(--helper);
   top: -1.6rem;
}

.bio-data p {
   /* font-size: 1.4rem; */
   margin-bottom: -4rem;
   font-size: 2rem;
}

/*=====================
  our portfolio section 
  ======================*/
.section-portfolio {
   background: var(--bg);
   transition: all 0.7s linear;

}

.section-portfolio p {
   width: 50%;
}

.p-btns {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 4.2rem;
   margin: 6.4rem 0;
}

.portfolio-imegas img {
   height: 100%;
   width: 100%;
   border-radius: 0.7rem;
   position: relative;
   overflow: hidden;

}

.img-overlay {
   box-shadow: var(--shadowA);
   position: relative;
   overflow: hidden;

}

.img-overlay .overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: var(--gradientSupport);
   display: flex;
   justify-content: center;
   align-items: center;
   opacity: 0;
   transform: translateY(0%);
   transition: all 0.3s linear;
   border-radius: 0.7rem;
}

.img-overlay:hover>.overlay {
   transition: translateY(100%);
   opacity: 0.8;
   cursor: pointer;
}

.img-overlay .common-eheading {
   margin: 0;
   color: var(--white);
   text-decoration: none;
}

.p-btn:hover {
   transform: translateY(-1rem);
}

.p-btn-active {
   transform: translateY(-1rem);
}

.p-image-not-acitve {
   display: none;
}

/*=====================
   our work counter section
  ======================*/
.section-work-data {
   background: var(--gradientSupport);
   color: var(--white);
   text-align: center;
   padding: 1rem;
   transition: all 0.7s linear;
   display: flex;
   align-items: center;
   justify-content: center;

}

.counter-number {
   font-size: 3.8rem;
}

.section-work-data p {
   color: var(--white);
   text-transform: uppercase;
   font-size: 1.5rem;
}

/*=====================
  our services section 
  ======================*/
.section-services {
   transition: all 0.7s linear;
}

.section-services p {
   max-width: 50rem;
}

.section-services.grid {
   margin-top: 10rem;
   row-gap: 10rem;
}

.service-box {
   background: var(--bg);
   margin-top: 5rem;
   text-align: center;
   box-shadow: var(--shadow);
   border-radius: 5px;
   padding: 1.4rem 1.4rem;
   transition: all 0.3s linear;
}

.service-box:hover,
.service-box:active {
   transform: translateY(-3rem);
}

.service-icon {
   display: inline-block;
   width: 8rem;
   height: 8rem;
   background: var(--icon-bg);
   border-radius: 56% 44% 70% 30% /30% 54% 46% 70%;
   padding: 0 1rem;
   position: relative;
   color: var(--heading);
   animation: water 3s linear infinite;
   font-size: 5rem;
}

@keyframes water {
   0% {
      border-radius: 56% 44% 70% 30% /30% 54% 46% 70%;
   }

   33% {
      border-radius: 3% 97% 15% 85% /72% 0% 100% 20%;
   }

   66% {
      border-radius: 60% 40% 62% 38% / 69% 63% 37% 31%;
   }

   100% {
      border-radius: 56% 44% 70% 30% /30% 54% 46% 70%;
   }
}

.service-icon::after {
   content: "";
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 85%;
   height: 90%;
   border-radius: 60% 40% 62% 38% / 69% 63% 37% 31%;
   background: transparent;
   border: 1px solid var(--bleak);
   animation: water 3s linear infinite;


}

.service-box h3 {
   margin: 1rem 0;
   text-transform: capitalize;
   font-size: 2.5rem;
}

/*=====================
  our freelancing section 
  ======================*/
.section-freelancing {
   background-image: url(../img/background.jpg);
   background-size: 100%;
   background-attachment: fixed;
   position: relative;
   text-align: center;
   transition: all 0.7s linear;
   color: var(--white);
}

.section-freelancing .overlay {
   position: absolute;
   height: 100%;
   width: 100%;
   background: var(--helper);
   opacity: 0.5;
   top: 0;
   left: 0;
}

.section-freelancing .container {
   position: relative;
}

.section-freelancing h2 {
   font-size: 5.4rem;
}

.section-freelancing span {
   color: #26BB37;
   font-size: 5.5rem;
}

.section-freelancing p {
   color: var(--white);
   margin-bottom: 1.5rem;
   font-size: 2rem;
}

/*=====================
  our contact section 
  ======================*/
.section-contact-main {
   max-width: 70rem;
   margin: 0 auto;
   margin-top: 9rem;
   transition: all 0.3s linear;
}

.section-contact-main form {
   display: flex;
   flex-direction: column;
   gap: 3.2rem;
}

.section-contact-main input,
.section-contact-main textarea {
   padding: 1.5rem 2rem;
   border: 0.1rem solid black;
   border-radius: 1rem;
   font-size: 2.5rem;
   width: 100%;
}

.section-contact-main input[type="submit"] {
   max-width: 30%;
   border: none;
}

/*=====================
  our footers section 
  ======================*/

.section-footer {
   background: #000002;
   transition: all 0.7s linear;

}

.section-footer h3 {
   color: var(--white);
   margin-bottom: 3rem;
   font-size: 3rem;

}

.section-footer p {
   width: 70%;
   color: var(--white);
}

.section-footer .grid {
   gap: 5rem;
}

.f-link ul,
.f-services ul,
.f-address address {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
   justify-content: center;
}

.section-footer a {
   animation: water 3s linear infinite;
   color: var(--white);
   font-size: 3rem;

}

.f-social-icon {
   margin: 2.2rem 0;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 2rem;
   font-size: 1.3rem;
   padding-top: 2rem;

}

.f-social-icon a {
   color: var(--heading);
}

.f-credits {
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
}

.f-social-icon a {
   animation: water 3s linear infinite;
   background: var(--helper);
   font-size: 6rem;
   padding: 1rem;


}

/*.section-btn{
   top: 90%;
   left: 90%;
   position: fixed;
   transition: all 7s initial;
}*/
/*=====================
  our scrloor section 
  ======================*/
.scrollTop-style {
   position: fixed;
   left: 90%;
   bottom: 5%;
   z-index: 1;

}

.scroll-Top {
   width: 90%;
   height: 8%;
   background: var(--helper);
   display: inline-block;
   padding: 1.4rem 1.8rem;
   position: relative;
   color: var(--white);
   cursor: pointer;
   animation: water 3s linear infinite;
   font-size: 4rem;
}

@media(max-width:75em) {
   html {
      font-size: 42.5%;
   }
}

@media(max-width:880px) {
   .header .logo {
      font-size: 2rem;
   }

   .mobile-navabar-btn {
      display: block;
      z-index: 9999;
      border: 3px solid var(--bleak);
      color: var(--bleak);
   }

   .mobile-navabar-ic {
      width: 3rem;
      height: 3rem;
      color: var(--bleak);
      font-size: 3rem;
      text-align: center;
   }

   .navbar {
      
    background: var(--gradient);
    width: 61%;
    height: 43vh;
    position: absolute;
    top: 0;
    left: 169px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transform: translateX(100%);
    transition: all 0.5s linear;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding-top: 8rem;

   }

   .navbar-lists {
      flex-direction: column;
      align-items: center;

   }

   .navbar .navbar-lists .navbar-link:link,
   .navbar .navbar-lists.navbar-link:visited {
      color: var(--bleak);
      font-size: 4rem;
   }

   .active .navbar {
      transform: translateX(0%);
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
   }

   .active .fa-close {
      display: block;
   }

   .active .fa-bars {
      display: none;
   }



}

@media(max-width : 49em) {

   .section {
      padding: 1rem;
   }

   .container {
      max-width: 71rem;
   }

   .section-hero .grid-two-column {
      grid-template-columns: repeat(1, 1fr);
   }

   .section-hero-data {
      text-align: center;

   }

   .hero-top-data {
      line-height: 0;
      margin: 0;
      padding: 0;
   }

   /* bio data */
   .section-bio-dsta .grid-two-column {
      grid-template-columns: 1fr;

   }

   .section-bio-dsta .bio-image {
      grid-row: 2;
      margin-top: 2.5rem;
   }

   span {
      font-size: 1.3rem;
   }

   /* .portfolio- */
   .section-portfolio .grid-three-column {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 3rem;
   }

   /* .section-work-data */
   .section-work-data .grid-four-column {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 3rem;
   }

   .section-services .grid-three-column {
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 2rem;
   }

   /* contact-main */

   .section-contact-main .grid-two-column {
      grid-template-columns: 1fr;
      grid-gap: 2rem;
   }

   /* .section-footer */
   .section-footer .grid-four-column {
      grid-template-columns: repeat(1, 1fr);
      grid-gap: 2rem;
   }

   span {
      font-size: 3rem;
   }

   .f-address p {
      line-height: 0%;
   }

   .f-social-icon a {
      font-size: 4rem;
   }

   .f-credits p {
      width: 100%;
      text-align: center;
      font-size: 2rem;
   }

   .scrollTop-style {
      left: 87%;
   }

   .section-portfolio p {
      width: 90%;
   }
}

@media(max-width : 22em) {

   .section {
      padding: 1rem;
   }

   .section-services .grid-three-column {
      grid-template-columns: repeat(1, 1fr);
      grid-gap: 0rem;
   }

   .service-box h3 {
      margin: -2rem 0;
   }

}