@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --blue: #4bb8e0;
  --black: #444;
  --light-color: #777;
  --section-bg: #e3e6f0;
  --box-shadow: 0.5rem 0.5rem 0 rgba(22, 160, 133, 0.2);
  --text-shadow: 0.4rem 0.4rem 0 rgb(247 245 245 / 20%);
  --border: 0.2rem solid var(--blue);
}

* {
  font-family: 'Montserrat', sans-serif;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s ease-out 0s;
  text-decoration: none;
  outline: none !important;
}

img {
  width: 100%;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}

section,#footer {
  padding: 2rem 9%;
}
/* menubar section start */
#topBar {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  padding: 2rem 9%;
  box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.59);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #142433;
  z-index: 1000;
}

a.logo {
  font-size: 2.5rem !important;
  font-weight: 600;
}

a.logo i {
  color: var(--blue);
  font-size: 2.5rem;
}

header#topBar a {
  color: #ddd;
  font-size: 1.7rem;
}

header#topBar .navigation a {
  margin-left: 4rem;
  font-weight: 600;
}

header#topBar a:hover {
  color: var(--blue);
}

.mobileMenu.fa-solid.fa-bars,
.mobileClose i {
  font-size: 3rem;
  background: rgb(54, 107, 163);
  padding: 0.7rem 1rem;
  border-radius: 5px;
  color: #e8eced;
  cursor: pointer;
  display: none;
  /* box-shadow: 0px 2px 13px -1px rgb(99 96 96 / 75%); */
  box-shadow: 4px 4px 7px -3px rgb(178 176 176 / 69%);
}

.mobileClose i {
  float: right;
  margin: 2rem 1rem 5rem;
  font-size: 3rem;
  padding: 0.7rem 1.3rem;
}

.mobileClose i:hover,
.mobileMenu.fa-solid.fa-bars:hover {
  /* background: var(--blue);
  color: rgb(255, 255, 255); */
}

.mobileClose {
  display: block;
  overflow: hidden;
}

.navigation {
  transition: all 0.5s ease 0s;
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  #topBar {
    /* padding: 9%; */
  }
}

@media (max-width: 768px) {
  .mobileMenu.fa-solid.fa-bars {
    display: initial;
  }

  #topBar {
    padding: 1.5rem 5%;
    height: 65.9px;
  }

  .navigation {
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: -100%;
    padding: 2rem 3rem;
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.73) 10px 10px 43px 0px;
    /* background: rgb(238, 238, 238) !important; */
    background: rgba(124, 125, 137, 0.3) !important;
  }

  nav.navigation a {
    display: block;
    text-align: center;
    padding: 1rem 3rem;
    margin-top: 3rem;
    margin-right: 0px;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    background: rgb(15 42 67);
    margin-left: 0px !important;
    color: #fff !important;
    border: 2px solid #4ab5dc;
  }

  .mobileClose i {
    display: block;
  }

  nav.navigation a:hover {
    background: var(--blue);
    color: rgb(255, 255, 255) !important;
  }


  section{
    padding: 2rem 7%;
  }
}

/* home section start */
canvas.particles-js-canvas-el {
  position: absolute;
  z-index: -1;
  left: 0;
}
/* .homeDetail,.homeImage{
  margin-top: 13rem;
} */

section.homeSection {
  /* background: var(--section-bg); */
  background: #091a29;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 13rem;
  gap: 1.5rem;
  /* clip-path: polygon(0px 0px, 100% 0px, 100% 96%, 0px 99%); */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);

}

.homeDetail {
  flex: 1 1 45rem;
}

.myName {
  font-size: 4.5rem;
  color: #ddd;
  line-height: 1.4;
  text-shadow: 0.4rem 0.4rem 0 rgb(29 57 83);
}

p.myTitle {
  font-size: 2.5rem;
  color: var(--light-color);
  line-height: 1.8;
  padding: 1rem 0px 3rem;
}

p.myTitle span {
  color: var(--blue);
  font-weight: 500;
}

a#btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border: var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  color: var(--blue);
  cursor: pointer;
  font-size: 1.7rem;
  background: rgb(15 42 67);
  font-weight: 600;
}

a.resume i {
  padding: 0px 1rem;
}

a#btn:hover {
  color: rgb(255, 255, 255);
  background: var(--blue);
}

.homeImage {
  flex: 1 1 35rem;
}

.homeImage img {
  padding: 10rem;
}

@media (max-width: 768px) {
  .myName {
    font-size: 4rem;
    line-height: 5rem;
  }

  .myTitle {
    display: block;
    margin-top: 3rem;
    font-size: 1.6rem;
    height: 10rem;
  }

  a.resume i {
    padding: 0.7rem 1rem;
  }

  a.resume {
    margin-bottom: 4rem;
    display: block;
  }

  .homeImage img {
    padding: 10rem;
  }
}

@media (max-width: 420px) {
  .homeImage img {
    padding: 2rem;
  }
}

/* about section start */
section#aboutSection {
  background: #142433;
}
h2#sectionTitle {
  text-align: center;
  font-size: 4rem;
  padding-top: 4rem;
  padding-bottom: 5rem;
  color: #16a085;
  text-shadow: var(--text-shadow);
}

.aboutWrapper {
  display: flex;
  flex-wrap: wrap;
  color: var(--light-color);
  align-items: center;
}

.aboutContent {
  flex: 1 1 35rem;
}

.aboutimage {
  flex: 1 1 7rem;
  margin-left: 10rem;
}

.aboutContent h4 {
  font-size: 2.5rem;
  padding: 0px 0px 0rem;
  color: var(--blue);
  font-weight: 600;
}

p.addr {
  padding: 0px 0px 3rem;
  font-size: 1.7rem;
  color: var(--blue)
}

p.addr i {
  margin-right: 0.5rem;
}

p.myDetails {
  font-size: 1.8rem;
  padding: 0px 0px 6rem;
  text-align: justify;
  line-height: 3.5rem;
  font-weight: 400;
  color: #ddd;
}

.experiencesWapper {
  display: flex;
  flex-wrap: wrap;
}

.singleExperience {
  flex-grow: 1;
}

.singleExperience i {
  display: inline-block;
  float: left;
  font-size: 3rem;
  color: rgb(255, 255, 255);
  margin-right: 1.5rem;
  background: #16a085;
  padding: 1rem;
  border-radius: 3rem;
}

.experienceDetail h6 {
  font-size: 1.7rem;
  line-height: 1.3;
}

.experienceDetail span {
  font-size: 1.5rem;
}

.singleExperience:hover {
  color: var(--blue);
}

.experienceDetail {
  padding-top: 0.3rem;
  color: #16a085;
}

@media (max-width: 768px) {
  .aboutWrapper {
    display: block;
  }
  .aboutimage{
    margin-left: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 568px) {
  .aboutContent h4 {
    line-height: 1.4;
    padding-bottom: 1rem;
  }

  .experiencesWapper {
    display: block;
  }

  .singleExperience {
    padding: 2rem 0px;
  }
}





h3#skills {
  text-align: center;
  padding: 5rem 0px;
  font-size: 2.5rem;
  color: var(--blue);
  position: relative;
}

h3#skills::after {
  content: "";
  width: 130px;
  height: 2px;
  background: var(--blue);
  display: block;
  position: absolute;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  top: 9rem;
}



.skillParts {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 5rem;
  grid-row-gap: 1rem;
  padding-bottom: 5rem;
}

.skillInfo {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
}

.skillBar {
  width: 100%;
  height: 10px;
  background: #494949;
  margin-top: 5px;
  border-radius: .2rem;
  position: relative;
}

.skillBar span {
  position: absolute;
  top: 0;
  height: 10px;
  background: var(--blue);
  border-radius: .2rem;
}
.cssSkills{
  width: 70%;
  animation: html 3s;
}
.jsSkills{
  width: 60%;
  animation: jsSkills 3s;
}
.phpSkills{
  width: 80%;
  animation: phpSkills 3s;
}
.laravelSkills{
  width: 55%;
  animation: laravelSkills 3s;
}
.networkSkills{
  width: 75%;
  animation: networkSkills 3s;
}
.mikrotikSkills{
  width:65%;
  animation: mikrotikSkills 3s;
}

@keyframes html {
  0%{
    width: 0%;
  }100%{
    width: 70%;
  }
}
@keyframes jsSkills {
  0%{
    width: 0%;
  }100%{
    width: 60%;
  }
}
@keyframes phpSkills {
  0%{
    width: 0%;
  }100%{
    width: 80%;
  }
}
@keyframes laravelSkills {
  0%{
    width: 0%;
  }100%{
    width: 55%;
  }
}
@keyframes networkSkills {
  0%{
    width: 0%;
  }100%{
    width: 75%;
  }
}
@keyframes mikrotikSkills {
  0%{
    width: 0%;
  }100%{
    width: 65%;
  }
}

@media (max-width:756px) {
  .skillParts{
    grid-template-columns:repeat(1, 1fr)
  }
}


/* service section start */

section#serviceSection {
  background: rgb(12 22 32);
  padding-bottom: 5rem;
}

h2.serviceTitle {
  padding: 3rem 0px 0px;
}

.serviceWrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.serviceBox {
  background: rgb(20 36 51);
  padding: 3rem;
  border-radius: 0.5rem;
  width: calc(31.6667%);
  cursor: pointer;
  color: var(--blue);
  box-shadow: 0px 0px 12px 5px rgba(0,0,0,0.59);
}

h3.serviceTitle {
  text-align: center;
  font-size: 2rem;
  padding: 2rem;
}

.serviceLogo {
  padding: 4rem 0px;
}

.serviceLogo img {
  max-height: 188px;
}

p.singleDetail {
  padding: 1.5rem 0px;
  font-size: 1.7rem;
  font-weight: 500;
}

p.singleDetail i {
  margin-right: 1rem;
}

.serviceBox:hover {
  background: rgb(39, 64, 103);
  color: rgb(255, 255, 255);
  clip-path: polygon(10% 0%, 10% 2%, 90% 2%, 90% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
}

@media (max-width: 856px) {
  .serviceBox {
    width: 47%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 560px) {
  .serviceBox {
    width: 98%;
  }
  p.singleDetail {
    font-size: 1.9rem;
  }
}

/* contact section start */
section#contactMe {
  background: #121f34;
}
.contactWrapper {
  display: flex;
  align-items: center;
  padding-bottom: 4rem;
}

.singleContactSide {
  flex-grow: 1;
}

.singleContactSide:nth-child(2) {
  flex-grow: 2;
}

.contactItems i {
  font-size: 4rem;
  color: var(--blue);
}

.contactItems {
  text-align: center;
  padding: 2rem 0px;
  cursor: pointer;
  color: var(--blue);
}

.contactItems h4 {
  padding: 0.5rem;
  font-size: 1.5rem;
}

.contactItems p {
  font-size: 1.5rem;
  text-transform: none;
  font-weight: 500;
}

.contactItems:hover {
  color: var(--blue);
}

.contactItems:hover>i {
  color: rgb(51, 81, 251);
}

.singleContactSide.messageBox {
  padding: 2rem;
}

.singleContactSide.messageBox h3 {
  font-size: 3rem;
}

.singleContactSide.messageBox p {
  font-size: 1.5rem;
  padding: 2rem 0px;
}

.singleContactSide.messageBox {
  padding: 2rem;
  color: #ddd;
} 

.singleContactSide.messageBox h3 {
  font-size: 3rem;
}


.singleContactSide:first-child {
  position: relative;
  padding: 0 5rem;
}

.singleContactSide:first-child::after {
  position: absolute;
  content: "";
  width: 3px;
  height: 20rem;
  background: #ddd;
  top: 25%;
  right: 0px;
}

.singleFormBox input,.singleFormBox textarea {
  width: 100%;
  padding: .7rem;
  resize: none;
  font-size: 1.5rem;
  border-radius: .3rem;
  text-transform: none;
  border: 1px solid #444;
  font-weight: 500;
  background: none;
  color: #4bb8e0;
}

.singleFormBox {
  padding: 2rem 0;
  position: relative;
  padding-bottom: .2rem;
}
.singleFormBox label {
    margin-left: .5rem;
    position: absolute;
    left: 0;
    top: 48%;
    transform: translateY(-50%);
    background:#121f34;
    padding: 0 .5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.singleFormBox input:focus,.singleFormBox input:valid,.singleFormBox textarea:focus,.singleFormBox textarea:valid{
  border: 2px solid var(--blue);
}

.singleFormBox input:focus ~ label,.singleFormBox input:valid ~ label,.singleFormBox textarea:focus ~ label,.singleFormBox textarea:valid ~ label{
    color: var(--blue);
    font-size: 1.3rem;
    top: 17%;
    transform: translateY(0%);
}

.singleFormBox.textAreaBox label{
  top: 22%;
}

.singleFormBox.textAreaBox textarea:focus ~ label,.singleFormBox.textAreaBox textarea:valid ~ label{
  top: 9%;
}

.singleFormBox #sendBtn {
    padding: 1rem 3rem;
    background: var(--blue);
    cursor: pointer;
    border-radius: .2rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
}

.singleFormBox #sendBtn i {
    margin-left: 1rem;
}
span.validitionAlert {
    display: block;
    color: #ed4343;
    margin-top: .3rem;
    visibility: hidden;
    font-size: 1.4rem;
    font-weight: 500;
}


.singleFormBox.invalidInput span.validitionAlert::before {
  font: var(--fa-font-solid);
  content: "\f00d";
  margin-right: 0.5rem;
}
.singleFormBox.validInput span.validitionAlert::before {
  font: var(--fa-font-solid);
  content: "\f00c";
  margin-right: 0.5rem;
}


.singleFormBox.invalidInput input,.singleFormBox.invalidInput textarea {
  border-color: red !important;
}
.singleFormBox.invalidInput label {
  color: red !important;
}
.singleFormBox.invalidInput span {
  color: red !important;
}

.singleFormBox.validInput input,.singleFormBox.validInput textarea {
  border-color: #15af15;
}
.singleFormBox.validInput label {
  color: #15af15 !important;
}
.singleFormBox.validInput span {
  color: #15af15 !important;
}

.g-recaptcha {
    margin-top: 2rem;
}

/* message status */
.messageStatusText {
  display: none;
  border: 2px solid #35b835;
  background: #b5f8b5;
  color: #444;
  text-align: center;
  border-radius: .3rem;
  font-weight: 600;
  padding: 1.5rem .5rem !important;
  font-size: 1.4rem !important;
  
}

@media (max-width: 765px) {
  .contactWrapper{
    display: block;
  }
  
  .singleContactSide:first-child{
    padding: 0;
    border-bottom: 3px solid #ddd;
  }
  .singleContactSide:first-child::after{
    display: none;
  }
  .contactItems p {
    font-size: 2rem;
  }
  .singleContactSide.messageBox h3{
    margin-top: 5rem;
  }
  .singleContactSide.messageBox p{
    padding-top: 1rem;
  }
  .singleFormBox input,.singleFormBox textarea{
    padding: 1rem;
  }
  .singleContactSide.messageBox{
    padding: 0;
  }
}

/* footer section end */
footer#footer {
  background: #061828;
  text-align: center;
  color: #ddd;
}

h2.footerHeader {
  padding: 1rem;
  letter-spacing: .1rem;
  font-size: 2.5rem;
}

p.headerDetail {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 2.5rem;
  font-weight: 500;
}

.footerIcons i {
  font-size: 2.5rem;
  margin: 0 1rem;
  cursor: pointer;
  color: #ddd;
}

.footerIcons i:hover {
  color: var(--blue);
}

footer#downFooter {
  background: #121111;
  color: #e6e1e1;
  padding: 1rem 0;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
}
/* media query */
@media (max-width: 425px) {
  /* p.headerDetail{

  } */
  p.headerDetail{
    line-height: 3rem;
    font-size: 1.8rem;
  }
}