/* ---------------------------
Fonts Settings
----------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap");

/* ---------------------------
Variables Settings
----------------------------*/
:root {
  --main-color: #8b00d5;
  --blue: #0000ff;
  --blue-dark: #18293c;
  --orange: #ffa500;
  --green-yellow: #cddc39;
  --pink-light: #efa2b4;
  --cyan-light: #aef1ee;
  --white: #ffffff;
  --white-alpha-40: rgba(255, 255, 255, 0.4);
  --white-alpha-25: rgba(255, 255, 255, 0.25);
  --backdrop-filter-blur: blur(15px);
  --background-new: linear-gradient(135deg, #153677, #4e085f);
}

/* ---------------------------
Global Settings
----------------------------*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}
::before,
::after {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background-image: linear-gradient(135deg, #2d73ff, #ff00b3);
/* 
  background-image: linear-gradient(
    to bottom right,
    var(--pink-light),
    var(--cyan-light) 
  );
  */
  background-attachment: fixed;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: var(--blue-dark);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding: 35px 15px;
}
body.hide-scrolling{
  overflow-y: hidden;
}
body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--green-yellow);
  z-index: -1;
  opacity: 0.12;
}
a{
  text-decoration: none;
}
h1,h2{
  font-weight: 600;
}
h3,h4,h5,h6{
  font-weight: 500;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
ul{
  list-style: none;
}
section {
  background-color: var(--white-alpha-25);
  border: 1px solid var(--white-alpha-40);
  min-height: calc(100vh - 70px);
  border-radius: 30px;
  backdrop-filter: var(--backdrop-filter-blur);
  display: none;
}
section.active{
  display: block;
  animation: fadeIn 0.5s ease-in-out forwards;

}
section.fade-out{
  animation: fadeOut 0.5s ease-in-out forwards;
}
.main {
  max-width: 1200px;
  margin: auto;
  transition: all 0.5s ease-in-out;
  position: relative;
}
.main.fade-out{
  opacity: 0;
}
.container {
  padding: 0 40px;
  width: 100%;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.align-items-center {
  align-items: center;
}
.hidden{
  display: none !important;
}
.sec-padding{
  padding: 80px 0;
}
.flex-end{
  justify-content: flex-end;
}

/* Section Title */
.section-title{
  padding: 0 15px;
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2{
  font-size: 40px;
  text-transform: capitalize;
}

/* Custom Scroll Bar */
::-webkit-scrollbar{
  width: 5px;
}
::-webkit-scrollbar-track{
  background-color: var(--white);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb{
  background-color: var(--main-color);
  border-radius: 10px;
}

/* ---------------------------
Buttons Settings
----------------------------*/
button{
  font-family: inherit;
  user-select: none;
}
.btn{
  line-height: 1.5;
  background-color: var(--white-alpha-25);
  border: 1px solid var(--white-alpha-40);
  padding: 10px 28px;
  display: inline-block;
  border-radius: 30px;
  color: var(--main-color);
  font-weight: 500;
  text-transform: capitalize;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  position: relative;
  vertical-align: middle;
  overflow: hidden;
}
.btn::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 30px;
  background-color: var(--main-color);
  z-index: -1;
  transition: width 0.5fs ease;
}
.btn:hover::before{
  width: 100%;
}
.btn:hover{
  color: var(--white);
}

/* Animation Keyframes */
@keyframes fadeIn{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
@keyframes fadeOut{
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}
@keyframes zoomInOut{
  0%,100%{
    transform: scale(0.5);
  }
  50%{
    transform: scale(1);
  }
}
@keyframes bounceTop{
  0%,100%{
    transform: translateY(-50px);
  }
  50%{
    transform: translateY(0px);
  }
}
@keyframes spin{
  0%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(360deg);
  }
}

/* Background Circles */
.bg-circles{
  position: fixed;
  top: 0;
  height: 100%;
  max-width: 1200px;
  width: calc(100% - 30px);
  left: 50%;
  transform: translateX(-50%);
}
.bg-circles div{
  position: absolute;
  border-radius: 50%;
}
.bg-circles .circle-1{ 
  height: 80px;
  width: 80px;
  background-color: var(--blue);
  left: 5%;
  top: 10%;
  opacity: 0.3;
  animation: zoomInOut 8s linear infinite;
}
.bg-circles .circle-2{
  height: 100px;
  width: 100px;
  background-color: var(--main-color);
  left: 30%;
  top: 50%;
  opacity: 0.4;
  animation: bounceTop 4s ease-in-out infinite;
}
.bg-circles .circle-3{
  height: 120px;
  width: 120px;
  background-color: var(--white);
  right: -60px;
  top: 60%;
  opacity: 0.6;
}
.bg-circles .circle-4{
  height: 60px;
  width: 60px;
  background-color: var(--orange);
  top: 6%;
  right: 50px;
  opacity: 0.4;
  animation: zoomInOut 8s linear infinite;
}
.bg-circles .circle-5{
  height: 60px;
  width: 60px;
  background-color: var(--cyan-light);
  top: 80%;
  left: -30px;
  opacity: 0.4;
  animation: bounceTop 10s ease-in-out infinite;
}

/* Overlays */
.overlay{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 200;
  opacity: 0.5;
  visibility: hidden;
  background-color: transparent;
}
.overlay.active{
  visibility: visible;
}

/* Page Loader */
.page-loader{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 999;
  background-color: var(--white-alpha-25);
  backdrop-filter: var(--backdrop-filter-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
.page-loader.fade-out{
  opacity: 0;
}
.page-loader div{
  border: 2px solid transparent;
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  animation: spin 1s linear infinite;
}
.page-loader div:nth-child(1){
  height: 60px;
  width: 60px;
  border-color: var(--blue);
}
.page-loader div:nth-child(2){
  height: 45px;
  width: 45px;
  border-color: var(--orange);
  animation-duration: 1.2s;
}.page-loader div:nth-child(3){
  height: 30px;
  width: 30px;
  border-color: var(--main-color);
  animation-duration: 1.5s;
}

/* Header */
.header{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  padding: 20px 0 0;
}
.header.active{
  position: fixed;
  top: 35px;
  padding: 20px 15px;
}
.header.active .container{
  max-width: 1200px;
  margin: auto;
}
.header .nav-toggler{
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--white-alpha-25);
  border: 1px solid var(--white-alpha-40);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 15px;
  z-index: 1;
  transition: opacity 0.5s ease-in-out; 
}
.header .nav-toggler.hide{
  opacity: 0;
  transition: none;
}
.header .nav-toggler span{
  height: 2px;
  width: 24px;
  background-color: var(--main-color);
  position: relative;
  transition: background-color 0.5s ease;
}
.header.active .nav-toggler span{
  background-color: transparent;
}
.header .nav-toggler span::before,
.header .nav-toggler span::after{
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  transition: all 0.5s ease;
}
.header .nav-toggler span::before{
  left: 0;
  transform: translateY(-8px);
}
.header.active .nav-toggler span::before{
  transform: rotate(45deg);
}
.header .nav-toggler span::after{
  right: 0;
  transform: translateY(8px);
}
.header.active .nav-toggler span::after{
  transform: rotate(-45deg);
}
.header:not(.active) .nav-toggler:hover span::before,
.header:not(.active) .nav-toggler:hover span::after{
  width: 50%;
}
.header .nav{
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  padding: 35px 15px;
  overflow-y: auto;
  visibility: hidden;
}
.header.active .nav{
  visibility: visible;
}
.header .nav-inner{
  min-height: calc(100vh - 70px);
  max-width: 1200px;
  margin: auto;
  background-color: var(--white-alpha-25);
  border: 1px solid var(--white-alpha-40);
  backdrop-filter: var(--backdrop-filter-blur);
  padding: 50px 0;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease;
}
.header.active .nav-inner{
  opacity: 1;
}
.header .nav-inner ul li{
  text-align: center;
}
.header .nav-inner ul li a{
  font-size: 40px;
  text-transform: capitalize;
  color: var(--blue-dark);
  display: block;
  font-weight: 500;
  padding: 8px 15px;
  transition: color 0.5s ease;
  position: relative;
}
.header .nav-inner ul li a::before{
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  height: 50%;
  width: 0%;
  background-color: var(--white-alpha-25);
  z-index: -1;
  transition: width 0.5s ease;
}
.header .nav-inner ul li a:hover::before{
  width: 100%;
}
.header .nav-inner ul li a:hover{
  color: var(--main-color);
}


/* Responsive Section */
@media(max-width: 990px){
    .container{
      padding: 0;
    }
    .home-text,
    .home-img{
      width: 100%;
    }
    .home-text{
      text-align: center;
    }
    .home-img{
      order: -1;
    }
    .home-img .img-box{
      max-width: 300px;
    }
    .home-text .btn{
      margin: 0 7px 15px;
    }
    .bg-circles .circle-4{
      top: 6%;
      right: 10px;
    }
    .portfolio-item{
      width: calc(50% - 30px);
    }
  }
  
  @media(max-width:720px){
    .contact-form,
    .contact-info,
    .about-img,
    .about-text{
      width: 100%;
    }
    .about-text{
      margin-top: 30px;
    }
    .bg-circles .circle-4{
      top: 6%;
      right: 10px;
    }
    .portfolio-item{
      width: calc(100% - 30px);
    }
    .pp-inner{
      padding: 30px 15px;
    }
    .contact-info{
      order: -1;
      margin-bottom: 15px;
    }
    .contact-info-item{
      padding: 0;
    }
  }
  @media(max-width:575px){
    .section-title h2,
    .header .nav-inner ul li a{
      font-size: 35px;
    }
    .home-text h1{
      font-size: 40px;
    }
    .home-text h2{
      font-size: 18px;
    }
    .pp-header{
      font-size: 20px;
    }
  }
  
  
  
  