@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@300&display=swap");

html {
  font-size: 63.5%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

:root {
  --heading: rgb(0 10 45);
  --white: #fff;
  --para: #212529;
  --para-1: #777;
  --para-tint: #e4e4e4;
  --helper: #8490ff;
  --helper-tint: #f3f4ff;
  --bg: rgb(249 249 255);
  --overlay: #3e64ff;
  --btn: #dad0d0;
  --img-shadow: #0d2232;
  --gradiant: linear-gradient(rgb(137, 149, 255), rgb(130, 203, 255) 100%);
  --gradiantSupport: --webkit-linear-gradiant(
    0deg,
    rgb(132 144 255) 0%,
    rgb(98 189 252) 100%
  );
  --shadow: 0px 0px 60px 0px rgba(132, 144, 255, 0.4);
  --icon-bg: #90acd133;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 6rem;
  font-weight: 600;
  color: var(--heading);
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

p {
  color: var(--para);
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

/* ===============
     Header Section Starts from here
    ============= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10rem;
  height: 8rem;
  background-color: var(--helper-tint);
}

.header .logo {
  height: 4rem;
}
.nav-list {
  display: flex;
  gap: 4.5rem;
}

.nav-link:link,
.nav-link:visited {
  display: inline-block;
  text-transform: uppercase;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--para);
  /* font-family: 'Poppins', sans-serif; */
  transition: color 0.3s linear;
}

.nav-link:hover,
.home-link:active {
  color: var(--helper);
}

.mobile-nav-btn {
  display: none;
  background: transparent;
  cursor: pointer;
  border: none;
}

.mobile-nav-btn [name="close-outline"] {
  display: none;
}

/* ?sticky navbar  */
.sticky .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  /* background-color: rgba(255, 255, 255, 1); */
  background-color: #f6f6f6;
  box-shadow: var(--shadow);
  padding-top: 0;
  padding-bottom: 0;
}

.sticky .section-hero {
  margin-top: 8rem;
}
/* .home-link{
  color: var(--helper);
} */

.common-heading {
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 3rem;
  text-transform: capitalize;
  position: relative;
  /* bottom: 3rem; */
}

.common-heading::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--helper);
  border-radius: 50%;
}

.common-heading::after {
  content: "";
  position: absolute;
  top: 108%;
  left: 0;
  min-width: 20rem;
  height: 0.3rem;
  background: var(--helper);
}

/* ===============
     Hero and reuseable code
     Section Starts from here
    ============= */

.section {
  padding: 9rem 0;
}

.container {
  max-width: 105rem; /* 1320 px max width  */
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 9rem;
}

.grid-two-col {
  grid-template-columns: repeat(2, 1fr);
}

.grid-three-col {
  grid-template-columns: repeat(3, 1fr);
}

.grid-four-col {
  grid-template-columns: repeat(4, 1fr);
}

.btn {
  display: inline-block;
  background: var(--gradiant);
  padding: 1.4rem 3.2rem;
  border: none;
  color: var(--para);
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  box-shadow: var(--shadow);
}

.section-hero {
  background-color: var(--bg);
}

.sec-hero-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-top-data {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--helper);
}

.hero-heading {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 6.25rem;
}
.hero-para {
  margin-top: 15px;
  margin-bottom: 5rem;
  max-width: 600px;
}

.sec-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img {
  max-width: 85%;
}
picture{
  text-align: center;
}
/* ===============
     BIO DATA and reuseable code
     Section Starts from here
    ============= */

.bio-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bio-img img {
  max-width: 80%;
  height: 100%;
  box-shadow: -1.5rem -1.3rem 0 0 var(--img-shadow);
  display: inline-block;
}

.bio-data-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3.4rem 0;
}

.bio-progress-bar {
  width: 90%;
  height: 0.8rem;
  background: var(--para-tint);
  border-radius: 10rem;
  position: relative;
  /* box-shadow: var(--img-shadow); */
}
.bio-progress-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: inherit;
  background: var(--gradiant);
  border-radius: 10rem;
}

.bio-progress-2::before {
  width: 90%;
  /* background:var(--gradiant) */
}

.bio-progress-3::before {
  width: 75%;
}

.bio-progress-4::before {
  width: 85%;
}

.bio-progress-5::before {
  width: 65%;
}

.bio-progress-bar span {
  position: absolute;
  top: 1.6rem;
  width: 4rem;
  height: 2rem;
  background: var(--helper);
  color: var(--para-tint);
  border: none;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bio-progress-bar span {
  left: 75%;
}

.bio-progress-2 span {
  left: 86%;
}

.bio-progress-3 span {
  left: 71%;
}

.bio-progress-4 span {
  left: 81%;
}
.bio-progress-5 span {
  left: 61%;
}

.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;
}

/* ===============
     Portfolio 
     Section Starts from here
    ============= */

.sec-portfolio {
  background: var(--bg);
  transition: ease all 0.7s linear;
}

.sec-portfolio p {
  max-width: 60rem;
  font-family: "Open Sans", sans-serif;
}

.p-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
  margin-top: 6.4rem;
  margin: 6.4rem 0;
}

.porfolio-img {
  gap: 3.2rem;
  margin: 2rem;
}

.portfolio-img img {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.img-overlay {
  position: relative;
  overflow: hidden;
}

.img-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradiant);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s linear;
  /* border-radius: 0.7rem;s */
}

.img-overlay:hover > .overlay {
  transform: translateY(0);
  opacity: 0.7;
  cursor: pointer;
  top: -2px;
}

.img-overlay .common-heading {
  margin: 0;
  color: var(--helper-tint);
  text-decoration: none;
}

.p-btn:hover {
  transform: translateY(-1rem);
  transition: all 0.3s linear;
}

.p-btn-active {
  transform: translateY(-1rem);
}

.portfolio-image-not-active {
  display: none;
}

/*===============
     Counter Section Starts from here
    =============  */

.section-work-data {
  background-color: var(--helper);
  text-align: center;
  transition: all 0.7s linear;
  color: var(--white);
}

.counter-numbers {
  font-size: 4.5rem;
}

.section-work-data p {
  color: var(--white);
  text-transform: capitalize;
}

/*===============
     Services Section Starts from here
    =============  */

.section-service {
  transition: all 0.7s linear;
}

.section-service p {
  max-width: 60rem;
}

.section-service .grid {
  margin-top: 10rem;
  row-gap: 10rem;
}

.service-box {
  text-align: center;
  box-shadow: var(--shadow);
  border-radius: 5px;
  padding: 6.4rem 3.4rem;
  transition: 0.2s all linear;
  cursor: pointer;
}

.service-box:hover,
.service-box:active {
  transform: translateY(-3rem);
}

.service-icon {
  width: 8rem;
  height: 8rem;
  background-color: var(--icon-bg);
  display: inline-block;
  border-radius: 56% 44% 70% 70% / 30% 54% 46% 70%;
  padding: 1.4rem 1.8rem;
  position: relative;
  color: var(--heading);
  animation: water-wave 3s linear infinite;
}

.service-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: transparent; /* var(--para); */
  border-radius: 56% 44% 70% 70% / 30% 54% 46% 70%;
  border: 1px solid var(--para);
  animation: water-wave 3s linear infinite;
}
@keyframes water-wave {
  0% {
    border-radius: 56% 44% 70% 30% / 30% 54% 46% 70%;
  }
  50% {
    border-radius: 3% 97% 15% 85% / 72% 0% 100% 28%;
  }
  100% {
    border-radius: 56% 44% 70% 70% / 30% 54% 46% 70%;
  }
}

.service-icon h3 {
  text-transform: capitalize;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 600 !important;
}

/* ================= 
Our resume  Section Starts from here 
   =================*/

.section-resume {
  background-color: var(--bg);
}

.resume-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-img img {
  width: 80%;
  box-shadow: -2rem 2rem 0 0 var(--img-shadow);
}

.resume-para {
  font-size: 2rem;
  color: var(--heading);
  text-transform: capitalize;
}

.resume-data-subjection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4.8rem;
  margin-top: 4.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--para-tint);
}

.resume-data-left {
  gap: 1.5rem;
}

.resume-data-left .grid p,
.resume-data-right .p {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resume-data-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.resume-data-right .resume-data-button {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--helper);
  padding: 0.3rem 0;
  max-width: 50%;
  background: #f3f4ff;
  border-radius: 10rem;
  margin-bottom: 0.5rem;
  justify-content: center;
  cursor: pointer;
}

.resume-data-buttom-subjection {
  margin-top: 4.8rem;
}

.resume-data-buttom-subjection .margin-small {
  margin-top: 1.8rem;
}

.resume-data-buttom-subjection .resume-data-button {
  width: 80%;
}

/* ================= 
Our testimonial swiper Section Starts from here 
   =================*/
.swiper {
  width: 100%;
  height: 100%;
  margin-top: 9rem;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: #fff; */

  /* Center slide text vertically */
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin-bottom: 5rem;
}

.swiper-client-msg {
  padding: 5rem 8rem;
  background-color: var(--third);
  border-radius: 10px;
  text-align: left;
  box-shadow: var(--shadpw);
  position: relative;
}

.swiper-client-msg::before {
  content: "";
  position: absolute;
  bottom: -10rem;
  left: 50%;
  transform: translateX(-50%);
  /* width: 5rem;
    height: 5rem; */
  border: 5rem solid var(--third);
  border-color: transparent;
  border-top-color: var(--third);
}

.swiper-client-msg p::before {
  content: "\f10d";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 2rem;
  font-size: 5rem;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ced3ff;
}

.swiper-client-msg p::after {
  /* display: inline-block */
  content: "\f10e";
  position: absolute;
  bottom: 0%;
  right: 5%;
  font-size: 5rem;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ced3ff;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-client-data {
  align-items: center;
  justify-items: start;
  justify-content: start;
  gap: 1.4rem;
  margin-top: 3.2rem;
}

.swiper-client-data img {
  max-width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: 0.5rem solid #ced3ff;
}

.swiper-client-data p:first-child {
  font-weight: bold;
  color: var(--heading);
}

/* ================= 
Our freelancing Section Starts from here 
   =================*/

.section-freelancing {
  background-image: url("../images/folio/3.jpg");
  background-repeat: no-repeat;
  background-size: 100%;
  background-attachment: fixed;
  transition: all 0.7s linear;
  text-align: center;
  position: relative;
}

.section-freelancing .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  opacity: 0.7;
}

.section-freelancing .container {
  position: relative;
}

.section-freelancing h2 {
  font-size: 5.2rem;
}

.section-freelancing span {
  color: #a0f669;
}

.section-freelancing h2,
.section-freelancing p {
  color: var(--white);
  margin-bottom: 1.8rem;
}

/*===============
     Contact us Starts from here
    =============  */

.section-contact-main {
  max-width: 70rem;
  margin: 0 auto;
  margin-top: 10rem;
}

.section-contact-main form {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.section-contact-main .grid {
  gap: 2.4rem;
}

.section-contact-main input,
textarea {
  padding: 1.5rem 2rem;
  border: 0.1rem solid #c9c9c9;
  border-radius: 5px;
  width: 100%;
  font-size: 1.5rem;
  
}

.section-contact-main textarea {
  height: 15rem;
}

::placeholder {
  font-size: 1.5rem;
  
}

.section-contact-main input[type="submit"] {
  max-width: 30%;
  border: none;
}

/*===============
     Footer Starts from here
    =============  */

.section-footer {
  background: var(--heading);
  transition: all 0.6s linear;
}

.section-footer h3 {
  color: var(--white);
  margin-bottom: 4rem;
  font-style: normal;
}

.f-about ul,
.f-links ul,
.f-service ul,
.f-address address {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.7rem;
}

.f-about li,
.f-about a,
.f-links li,
.f-links a,
.f-service li,
.f-service a {
  text-decoration: none;
  color: #adadad;
  font-size: 1.8rem;
  text-transform: capitalize;
}

.f-address span {
  margin-right: 1rem;
  font-size: 1.8rem;
  /* line-height: 5; */
}

.f-address p,
.f-address p a {
  font-style: normal;
  color: #adadad;
  font-size: 1.59rem;
  cursor: pointer;
}
.f-social-icons {
  display: flex;
  justify-content: center;
  margin: 5rem 0;
  text-align: center;
  color: #adadad;
}

.f-social-icons .icons {
  width: 4rem;
  height: 4rem;
  background: var(--icon-bg);
  display: inline-block;
  padding: 1.5rem 1.8rem;
  position: relative;
  color: var(--heading);
  animation: water-wave 3s linear infinite;
}

.section-footer a:hover {
  /* margin-left: 10px; */
  /* transition: all 0.5s linear; */
  color: var(--white);
}

.f-credits p {
  text-align: center;
  color: #adadad;
}

footer a:hover {
  color: var(--third);
}

/* scroll from bottom to top  */
.scrolltop-style {
  position: fixed;
  right: 2%;
  margin: 5%;
  z-index: 1;
  bottom: -3rem;
  right: 2%;
}

.scroll-top {
  width: 4rem;
  height: 4rem;
  background: var(--helper);
  display: inline-block;
  padding: 1.5rem 1.8rem;
  position: relative;
  color: var(--white);
  animation: water-wave 3s linear infinite;
  cursor: pointer;
}

/*===============
     media queries Starts from here
    =============  */

@media (max-width: 980px) {

  html{
    font-size: 50%;
  }
  .header {
    position: relative;
  }
  .mobile-nav-btn {
    display: block;
    cursor: pointer;
    /* border: 3px solid #212529; */
    z-index: 999;
  }

  .mobile-nav-icon {
    width: 4rem;
    height: 4rem;
  }

  .navbar {
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 8rem;
    background: var(--gradiant);

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateX(100%);
    transition: all 0.3s linear;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
  }

  .navbar .nav-list .nav-link:link,
  .navbar .nav-list .nav-link:visited {
    font-size: 3.2rem;
    color: #212529;
  }

  .active .navbar {
    transform: translateX(0%);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transition: all 0.3s linear;
  }
  .active .mobile-nav-btn .mobile-nav-icon[name="menu-outline"] {
    display: none;
  }
  .active .mobile-nav-btn .mobile-nav-icon[name="close-outline"] {
    display: block;
  }
  /* hero section */
  .section-hero h1{
    line-height: 1.02;
  }
  
  /* service section */
  .section-service .grid{
    gap: 6rem;
  }
  .section-service .grid-three-col{
    grid-template-columns: repeat(2 , 1fr);
  }

  /* biodata section*/
  .section-resume .grid-two-col{
    grid-template-columns: 1fr;
  }
  .resume-data{
    padding: 0 3.8rem;
  }

  .resume-img{
    grid-row: 2;
  }

  .section-resume .grid-two-col img{
    width: 50%;
  }

  .section-footer .grid-four-col{
    grid-template-columns: 1fr 1fr;
    /* gap: 2rem; */
  }
  .img-overlay .common-heading{
    font-size: 3rem;
  }
  .img-overlay .common-heading::before,
  .img-overlay .common-heading::after{
    content: "";
    width: 0;
    height: 0;
  }
}

/* px  */
/* rem */
/* em */
/* 1300px  */
@media (max-width: 82em) {
  .container {
    max-width: 102rem;
    padding: 0 4rem;
  }
  html{
    font-size: 60% ;
  }
}

/* px  */
/* rem */
/* em */
/* 1100px  */
@media (max-width: 68em) {
  html{
    font-size: 55.25%;
  }
  .container{
    max-width: 92rem;
  }
  .grid{
    gap: 4.8rem;
  }
  /*.section-resume .grid-two-col{
     grid-template-columns: 1fr 2fr; 
  }*/

  .section-resume .resume-data-subjection .grid-two-col{
    grid-template-columns: 1fr 1fr;
  }
}
/*   900px  for testimonial section    */
@media (max-width : 56.5em){
  .section-testimonial .container{
    max-width:68rem;
  }
}
/* 800px */
@media (max-width: 50em){
 .container{
  max-width: 70rem;
 }

 /* section-hero  */
 .section-hero .grid-two-col{
  grid-template-columns: 1fr;
 }

 .sec-hero-data{
  align-items: center;
  }

  .hero-heading{
    text-align: center;
  }
  .hero-para{
    text-align: center;
    margin-top: 2rem;
  }

  .section-hero img{
    width: 70%;
  }

  /* bio data section  */
  .section-biodata .grid-two-col{
    grid-template-columns: 1fr;
  }

  .section-biodata .bio-img{
    grid-row:2 ;
    margin-top: 3.2rem;
  }
  .section-biodata .bio-img img{
    width: 50%;
    /* margin-top: 5rem; */
  }

  /* section portfolio  */
  .sec-portfolio .grid-three-col{
    grid-template-columns: repeat(2,1fr);
  }
    /* section work data  */
    .section-work-data .grid-four-col{
      grid-template-columns: repeat(2,1fr);
    }
     /* freelancing section  */
    .section-freelancing h2{
      font-size: 2.8rem;
    }

     /* contact us section  */

     .contact-container{
      padding: 0 3rem;
     }
     .contact-container .grid-two-col{
      grid-template-columns: 1fr;
     }

}

    /*below 690px*/
    @media(max-width:43.125em){
      .container{
        max-width: 57rem;
      }
      .header{
        padding: 0 3.5rem;
      }
      .counter-numbers{
        font-size: 3.2rem;
      }

      .section-service .grid-three-col{
        grid-template-columns: 1fr;
      }

      /* resume section  */
      .resume-data-subjection{
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
      }
      .resume-data-right .resume-data-button,
      .resume-data-buttom-subjection .resume-data-button{
        /* min-width: 20%; */
        background-color: none;
      }
      .resume-data-subjection .resume-data-left .grid-two-col{
        grid-template-columns: 1fr;
      }
      .resume-data-right{
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 2.4rem;

      }
          /* freelancing section  */

          .section-freelancing h2{
            font-size: 3.2rem;
          }

          
    }

    /*below 510*/
    @media(max-width:32rem){
      .p-btns{
        gap: 2.8rem;
      }
      .p-btn{
        padding: 1rem 2rem;
      }
      .section-footer .grid-four-col{
        grid-template-columns: 1fr ;
        gap: 2rem;
        padding: 0 4rem;
      }
      .section-footer .container ul{
        margin-bottom: 3.2rem;
      }
    }