/*!
 * Author: Akash Bhadange
 */

html {
  scroll-behavior: smooth;
}

::selection {
  background: #7447ae;
  color: #ffffff;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f2f2f2;
  font-size: 16px;
  color: #222;
  font-weight: normal;
  letter-spacing: 0.03em;
}

a {
  color: #7447ae;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

section {
  width: 100%;
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
  outline: none;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

img {
  max-width: 100%;
}

.galimg {
  width: 25%;
  height: 25%;
}

.purple {
  color: #7447ae;
}

.purple::selection {
  background: #7447ae;
  color: #ffffff
}

.counter-purple::selection {
  background: #7447ae;
  color: #ffffff
}

.pink {
  color: #ff2a75;
}

.pink::selection {
  background: #ff2a75;
  color: #ffffff
}

.counter-pink::selection {
  background: #ff2a75;
  color: #ffffff
}

.blue {
  color: #37a7ff;
}

.counter-blue::selection {
  background: #37a7ff;
  color: #ffffff
}

.blue::selection {
  background: #37a7ff;
  color: #ffffff
}

.white {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 1em;
  position: relative;
  padding-bottom: 0px;
}

.gallery-white {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 1em;
  padding-bottom: 0px;
  position: fixed;
  align-items: center;
  text-wrap-mode: wrap;
}

@keyframes Top {
  from {
    color: rgba(255, 255, 255, 0);
    top: -40px;
    opacity: 0%;
  }

  to {
    color: rgba(255, 255, 255, 1);
    top: 0px;
    opacity: 100%;
  }
}

@keyframes Hero-Start {
  from {
    color: rgba(0, 0, 0, 0);
    top: -40px;
    opacity: 0%;
  }

  to {
    color: rgba(0, 0, 0, 1);
    top: 0px;
    opacity: 100%;
  }
}

@keyframes bg-fade {
  from {
    opacity: 0%;
  }

  to {
    opacity: 100%;
  }
}

/* custom box */

.gallery-popup-box {
  position: relative;
  background: rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
  max-width: 1000px;
  max-height: 80vh;
}

.gallery-popup-box h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: larger;
  color: #ffffff;
  font-size: 2em;
  position: relative;
  top: 10
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: all 0.2s;
}

.popup-box {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
  max-width: 700px;
  max-height: 80vh;
  overflow: auto;
}

.popup-box h3:after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #7447ae;
  display: block;
  position: absolute;
  left: 50%;
  padding-bottom: -4px;
  transform: translate(-40px, 10px);
}

.popup-box-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.popup-box-close:hover {
  opacity: 0.7;
}

.noblur {
  filter: blur(0rem);
  transition: all 0.2s;
}

.blur {
  filter: blur(1rem);
  transition: all 0.2s;
}

/* learn more */

/* base footer */

base-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 3em;
  position: relative;
  padding-bottom: 10px;
}

base-name span {
  font-weight: 600;
}

base-name:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 100px;
}

base-name.purple:after {
  background-color: #7447ae;
}

/* custom paragraphs */

purple-underlined-p {
  color: #7447ae;
  font-weight: bold;
  text-decoration: underline;
}

/* Hero Section */

header.hero {
  background: url(../assets/test-bg.png) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: #fff;
  padding-bottom: 80px;
  animation-name: bg-fade;
  animation-duration: 1s;

}

header.hero .hero-text {
  position: relative;
  margin-top: 20%;
  margin-bottom: 20%;
  animation-name: Top;
  animation-duration: 1s;
}

header.hero .row {
  position: relative;
}

a.menu {
  position: absolute;
  right: 0;
  top: 3em;
}

a.menu img {
  max-width: 40px;
}

a.menu:hover {
  transform: translateX(-5px);
  -webkit-transform: translateX(-5px);
}

header.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4.5em;
  font-weight: 600;
  line-height: 1.4em;
}

header.hero h1 span,
header.hero h3 {
  font-weight: 300;
}

header.hero .btn {
  animation-name: Top;
  animation-duration: 1s;
  margin: 3em 0;
}

ul.social-links li {
  display: inline-block;
}

ul.social-links li a {
  padding: 5px;
  opacity: 0.6;
}

ul.social-links li.label {
  font-size: 20px;
  opacity: 0.6;
  font-weight: 400;
}

ul.social-links li a:hover {
  opacity: 1;
}

ul.social-links li a img {
  max-height: 30px;
}


/* Case study */
.case-study .col-md-12 {
  transform: translateY(-70px);
  -webkit-transform: translateY(-70px);
  padding: 5em 5em;
  background-color: #fff;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.3);
  margin-bottom: 2em;
  animation-name: Hero-Start;
  animation-duration: 1s;
}

h4.sub-heading {
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #4e4c58;
}

h1.heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #4e4c58;
  font-size: 3em;
  position: relative;
  padding-bottom: 10px;
}

h1.heading span {
  font-weight: 600;
}

h1.heading:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 3px;
  width: 100px;
}

h1.heading.purple:after {
  background-color: #7447ae;
}

h1.heading.pink:after {
  background-color: #ff2a75;
}


h1.boldwhite {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 3em;
  position: relative;
  padding-bottom: 10px;
}

.swiper-container {
  width: 100%;
  height: 100%;
  padding: 4em 1em;
}

.swiper-slide {
  font-size: 18px;
  background: #fff;
}

.client-box {
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
  padding: 3.5em 1em;
  border-radius: 5px;
  border: 1px solid #eee;
  text-align: center;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.client-box:hover {
  -ms-transform: scale(1.15);
  /* IE 9 */
  -webkit-transform: scale(1.15);
  /* Safari */
  transform: scale(1.15);
  transition: all 0.2s;
}

.client-box .client-logo {
  max-height: 120px;
}

.client-box h3.title {
  color: #4e4c58;
  margin-bottom: 2em;
}

.client-box p.tag {
  color: #7447ae;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1em;
}

.client-box a {
  color: #333;
  font-style: italic;
  opacity: 0.5;
}

.client-box.swiper-slide-next {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.swiper-button-next,
.swiper-button-prev {
  width: 80px;
  height: 80px;
  background-size: 80px 80px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
  border-radius: 5em;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background-image: url(../assets/arrow-right.png);
  right: -40px;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  background-image: url(../assets/arrow-left.png);
  left: -40px;
}

/* gallery */

.gallery-button-next,
.gallery-button-prev {
  width: 80px;
  height: 80px;
  background-size: 75px 75px;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
  border-radius: 5em;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  position: relative;
  top: 110px;
}

.gallery-button-next:hover,
.gallery-button-prev:hover {
  box-shadow: 0 0 40px rgba(56, 52, 52, 0.25);
}

.gallery-button-prev {
  background-image: url(../assets/arrow-left.svg);
  left: -40px;
}

.gallery-button-next {
  background-image: url(../assets/arrow-right.svg);
  right: -40px;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.gallery-section {
  text-align: center;
}

.image-gallery {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
  max-height: 700px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

/* Statistics */
.stats {
  margin: 2em 0;
}

.stat-box {
  padding: 1em;
  margin-top: -5em;
  margin-bottom: 2em;
}

.stat-box h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 5.6em;
}

.stat-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #4e4c58;
  font-size: 2em;
}


/* Contact Banner */
.contact-banner {
  background: url(../assets/bg-pat.png) #664fee repeat;
  color: #fff;
  padding: 6em;
}

.contact-banner h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 3em;
  margin-top: 0;
  margin-bottom: 1em;
}


/* Footer */
.footer {
  background-color: #37324b;
  padding: 1em;
}

.footer h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 0.5em;
}

.footer h1 span {
  color: #fff;
  font-weight: 300;
}

.footer h1:after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #37a7ff;
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-40px, 10px);
}

.footer ul.social-links li a {
  padding-left: 12px;
  padding-right: 12px;
}

.footer ul.social-links li a img {
  max-height: 40px;
}

/* Sub-footer */
.sub-footer {
  background-color: #322e45;
  padding: 2em;
  color: #a3a1ac;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

.sub-footer p {
  margin: 0;
  font-size: 1.2em;
}

.sub-footer p a {
  color: #fff;
}

.sub-footer p a:hover {
  opacity: 0.8;
}

/* Gallery Buttons */


/* Main navigation */
nav {
  height: 40px;
  width: 100%;
  position: absolute;
  right: 0;
  top: 3em;
  cursor: pointer;
  transition: .25s ease-in-out;
}

#menu-toggle {
  width: 40px;
  clear: both;
  float: right;
}

#menu-toggle span.line {
  display: block;
  height: 4px;
  width: 40px;
  background-color: #fff;
  transition: .25s ease-in-out;
}

#menu-toggle .hamburger span.line {
  margin-bottom: 0.45em;
  clear: both;
  float: right;
}

#menu-toggle .hamburger span.line:nth-child(1) {
  width: 30px;
  transition-delay: .25s;
}

#menu-toggle .hamburger span.line:nth-child(2) {
  transition-delay: .325s;
}

#menu-toggle .hamburger span.line:nth-child(3) {
  width: 20px;
  transition-delay: .475s;
}

#menu-toggle .cross span.line {
  width: 0px;
  position: absolute;
  top: 10px;
  right: 0;
}

#menu-toggle .cross span.line:nth-child(1) {
  transform: rotate(45deg);
  transition-delay: .0s;
}

#menu-toggle .cross span.line:nth-child(2) {
  transform: rotate(-45deg);
  transition-delay: .25s;
}

#menu-toggle.open .hamburger span.line {
  width: 0px;
}

#menu-toggle.open #hamburger span:nth-child(1) {
  transition-delay: 0s;
}

#menu-toggle.open #hamburger span:nth-child(2) {
  transition-delay: .125s;
}

#menu-toggle.open #hamburger span:nth-child(3) {
  transition-delay: .25s;
}

#menu-toggle.open .cross span.line:nth-child(1) {
  width: 40px;
  transition-delay: 1s;
}

#menu-toggle.open .cross span.line:nth-child(2) {
  width: 40px;
  transition-delay: 1.25s;
}

ul.main-nav {
  padding-right: 20px;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: .25s all;
}

ul.main-nav li {
  display: inline-block;
}

ul.main-nav li a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  padding: 5px 15px;
}

ul.main-nav li a:hover {
  color: #7447ae;
}

ul.main-nav.show-it {
  opacity: 1;
  visibility: visible;
  transition-delay: .25s;
}

/* Let's optimise it for mobile devices */

@media (max-width: 720px) {
  .btn-lg {
    padding: .8em 3em;
    font-size: .8em;
  }

  h1.heading {
    font-size: 2em;
  }

  header.hero {
    text-align: center;
    padding-bottom: 0;
  }

  header.hero h1 {
    font-size: 2em;
    margin-top: 1.5em;
  }

  header.hero h3 {
    font-size: 1.2em;
    line-height: 1.6em;
  }

  ul.social-links li.label {
    display: block;
    font-size: 16px;
    margin-bottom: 1em;
  }

  ul.social-links li a {
    opacity: 1;
  }

  .testimonial {
    padding-top: 3rem;
  }

  .case-study .col-md-12 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .case-study .col-md-12 {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
  }

  /*Swiper classes*/
  .client-box.swiper-slide-next {
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
    box-shadow: none;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .gallery-swiper-button-prev,
  .gallery-swiper-button-next {
    display: none;
  }

  .swiper-container {
    padding: 4em 0em;
  }

  .client-box {
    padding: 1em;
    text-align: center;
  }

  .gallery-image {
    padding: 1em;
    text-align: center;
  }

  .stat-box {
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  .stat-box h1 {
    font-size: 3.6em;
  }

  .stat-box h3 {
    font-size: 1.4em;
  }

  .contact-banner {
    padding: 2em;
  }

  .contact-banner h1 {
    font-size: 2em;
  }

  .footer {
    padding: 1em 0em;
  }
}