/********** Template CSS **********/
:root {
  --primary: #EF5921;
  --secondary: #E93C05;
  --tertiary: #555555;
  --light: #DFE4FD;
  --dark: #011A41;
}

.back-to-top {
  background-color: var(--primary);
  border-color: var(--primary);
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

* {
  /* font-family: 'Playfair Display', cursive !important; */
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}


/*** Button ***/
.btn {
  transition: .5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
  
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
  transition: .5s;
}

.top-bar {
  /* height: 45px; */
  border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  padding: 25px 15px;
  color: var(--tertiary);
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, .07);
    background: #FFFFFF;
  }

  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: .5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
}


/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
  border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
  border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background: url(../img/header.jpg) top left no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-weight: 500;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: var(--tertiary);
}


/*** Facts ***/
.facts {
  background: linear-gradient(#EF5921, #EF5921), url(../img/bg.png);
}


/*** Callback ***/
.callback {
  position: relative;
}

.callback::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  top: 0;
  left: 0;
  background: linear-gradient(#EF5921, #EF5921), url(../img/bg.png);
  z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
  transition: .5s;
}

.feature .feature-box:hover {
  background: var(--primary);
  border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
  color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
  transition: .5s;
}

.service .nav .nav-link.active {
  border-color: var(--primary) !important;
  background: var(--primary);
}

.service .nav .nav-link.active h5 {
  color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
  color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
  position: relative;
}

.project-item .project-img a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  opacity: 0;
  transition: .5s;
}

.project-item:hover .project-img a {
  opacity: 1;
}

.project-item .project-title {
  position: absolute;
  top: 3rem;
  right: 0;
  bottom: 0;
  left: 3rem;
  border: 1px solid var(--light);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  z-index: -1;
  transition: .5s;
}

.project-item:hover .project-title {
  background: var(--primary);
  border-color: var(--primary);
}

.project-item .project-title h4 {
  transition: .5s;
}

.project-item:hover .project-title h4 {
  color: #FFFFFF;
}

.project-carousel .owl-nav {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--light);
  border-radius: 45px;
  font-size: 22px;
  transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: var(--light);
}


/*** Team ***/
.team-item {
  position: relative;
  padding: 4rem 0;
}

.team-item img {
  position: relative;
  z-index: 2;
}

.team-item .team-text {
  position: absolute;
  top: 0;
  right: 3rem;
  bottom: 0;
  left: 3rem;
  padding: 15px;
  border: 1px solid var(--light);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: .5s;
  z-index: 1;
}

.team-item:hover .team-text {
  background: var(--primary);
  border-color: var(--primary);
}

.team-item .team-text h4 {
  transition: .5s;
}

.team-item:hover .team-text h4 {
  color: #FFFFFF;
}

.team-item .team-social .btn {
  background: var(--light);
  color: var(--primary);
}

.team-item:hover .team-social .btn {
  background: #FFFFFF;
}

.team-item .team-social .btn:hover {
  background: var(--primary);
  color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
  position: relative;
  text-align: center;
  padding-top: 30px;
}

.testimonial-item .testimonial-text {
  position: relative;
  text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
  position: absolute;
  width: 60px;
  height: 60px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
  position: absolute;
  content: "";
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  border: 30px solid;
  border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
  position: absolute;
  content: "";
  bottom: -59px;
  left: 50%;
  transform: translateX(-50%);
  border: 30px solid;
  border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
  margin: 0 auto;
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--light);
  border-radius: 30px;
  transition: .5s;
}

.testimonial-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  top: 6px;
  left: 6px;
  border-radius: 16px;
  background: var(--light);
  transition: .5s;
}

.testimonial-carousel .owl-dot.active {
  border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
  background: var(--primary);
}


/*** Footer ***/
.footer {
  background-color: #87472f;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  color: var(--light);
  background: #000B1C;
}

.copyright a {
  color: var(--light);
}

.copyright a:hover {
  color: var(--primary);
}


/* portfolio grid */
.grid article {
  /* background-color: #ffffff; */
  display: block;
  float: left;
  margin: 1%;
  width: 23%;
}

@media (max-width: 1024px) {
  .grid article {
    width: 31.3%;
  }
}

@media (max-width: 767px) {
  .grid article {
    width: 48%;
  }
}

@media (max-width: 479px) {
  .grid article {
    margin: 2% 0;
    width: 100%;
  }
}


/* MISCLS */
.m-toggle::after {
  content: "M+";
}

.plus-toggle::after {
  content: "+";
}

.gallery-item {
  width: 200px;
  padding: 5px;
}



/* ******************************************************************************************************** */
/* Services Section */

.ServiceInner h3 {
  /* font-size: 35px; */
  color: #000000;
}

.ServiceInner p {
  font-size: 25px;
  padding: 30px;
  color: #313d4a;
  margin-bottom: 20px;
}

div#serviceMainBlock {
  text-align: center;
  margin: auto;
  display: inline-flex;
}

.ServiceBox.web i {
  color: white;
  background: #ff3a46;
  text-align: center;
  border-radius: 50%;
  padding: 18px;
  margin: 15px;
}

.ServiceBox.web {
  background: white;
  padding: 30px 10px;
}


.ServiceBox.web h3 {
  color: #ff3a46;
}

/* Graphic */
.ServiceBox.graphic i {
  color: white;
  background: #00a0f0;
  text-align: center;
  border-radius: 50%;
  padding: 18px;
  margin: 15px;
}

.ServiceBox.graphic {
  background: white;
  padding: 30px 10px;
}



.ServiceBox.graphic h3 {
  color: #00a0f0;
}

/* SEO */
.ServiceBox.seo i {
  color: white;
  background: #00ebac;
  text-align: center;
  border-radius: 50%;
  padding: 18px;
  margin: 15px;
}

.ServiceBox.seo {
  background: white;
  padding: 30px 10px;
}


.ServiceBox.seo h3 {
  color: #00ebac;
}

.ServiceBox {
  box-shadow: 4px 4px 20px #afafaf;
  transition-duration: 0.6s;
}

.fa {
  font-size: 25px;
}

.ServiceBox.web:hover {
  box-shadow: -3px 3px 15px #ff3a46;
  cursor: pointer;
}

.ServiceBox.graphic:hover {
  box-shadow: -3px 3px 15px #00a0f0;
  cursor: pointer;
}

.ServiceBox.seo:hover {
  box-shadow: -3px 3px 15px #00ebac;
  cursor: pointer;
}

.nav-link {
  color: var(--primary);
}

.nav-link:hover {
  color: var(--secondary);
}

.text-primary {
  color: var(--secondary) !important;
}

.btn-primary {
  color: white !important;
  background-color: var(--primary) !important;
  border-color: var(--secondary) !important;
}


/* ******************************************************************************************************************************************* */
/* navbar slider */
@media (max-width: 500px) {

  /* for small banner on mobile screens */
  .slider,
  .slide {
    height: auto;
  }

  .slider,
  .slide {
    height: 100vh;
  }



  .slide .slide__img {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .slide .slide__img img {
    max-width: 100%;
    height: 100vh !important;
    object-fit: cover;
    object-position: bottom;
  }

  .slide__content--headings p {
    /* font-size: 10px !important; */
  }

  .slide__content--headings h1 {
    /* display: none; */
    /* font-size: 10px !important; */
  }

  .slick-nav {
    display: none !important;
  }

  #team .team-social h5 {
    display: none;
  }

  .team-item .team-text {
    right: 0;
    left: 0;
    bottom: 56px;
  }

  .slide__content--headings a {
    font-size: 10px !important;
  }
}

@media (min-width: 992px) {

  .slider,
  .slide {
    height: 100vh;
  }

  .slide .slide__img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

.slide {
  position: relative;
  transition: 1s;
}

.slide .slide__img {
  width: 100%;
  height: auto;
  overflow: hidden;
}



.slide .slide__img img {
  width: 100%;
  height: auto;
  opacity: 1 !important;
  animation-duration: 3s;
  transition: all 1s ease;
}

.slide .slide__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide .slide__content.slide__content__left {
  left: 15%;
  transform: translate(-15%, -50%);
}

.slide .slide__content.slide__content__right {
  right: 15%;
  left: auto;
  transform: translate(5%, -50%);
}

.slide .slide__content--headings .animated {
  transition: all 0.5s ease;
}

.slide .slide__content--headings .top-title {
  font-size: 2.5rem;
}

.slide .slide__content--headings .title {
  font-size: 3.5rem;
}

.slider [data-animation-in] {
  opacity: 0;
  animation-duration: 1.5s;
  transition: opacity 0.5s ease 0.3s;
  transition: 1s;
}

.slick-dotted .slick-slider {
  margin-bottom: 30px;
}

.slick-dots {
  position: absolute;
  bottom: 25px;
  list-style: none;
  display: block;
  text-align: center;
  padding: 0;
  margin: 0;
  width: 100%;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.simple-dots .slick-dots li {
  width: 20px;
  height: 20px;
}

.stick-dots .slick-dots li {
  height: 3px;
  width: 50px;
}

/* /////////// IMAGE ZOOM /////////// */
.zoomInImage {
  animation-name: zoomInImage;
}

@keyframes zoomInImage {
  from {
    transform: scale3d(1, 1, 1);
    transition: 1s;
  }

  to {
    transform: scale3d(1.1, 1.1, 1.1);
    transition: 1s;
  }
}



@keyframes zoomOutImage {
  from {
    transform: scale3d(1.1, 1.1, 1.1);
    transition: 1s;
  }

  to {
    transform: scale3d(1, 1, 1);
    transition: 1s;
  }
}

.zoomOutImage {
  animation-name: zoomOutImage;
  transition: 1s;
}

.slick-nav {
  width: 44px;
  height: 44px;
  position: absolute;
  cursor: pointer;
  top: calc(50% - 44px);
}

.slick-nav.prev-arrow {
  left: 3%;
  transform: scaleX(-1);
  z-index: 999;
}

.slick-nav.next-arrow {
  left: auto;
  right: 3%;
}

.slick-nav i {
  display: block;
  position: absolute;
  margin: -10px 0 0 -10px;
  width: 20px;
  height: 20px;
  left: 50%;
  top: 50%;
}

.slick-nav i:before,
.slick-nav i:after {
  content: '';
  width: 10px;
  height: 2px;
  border-radius: 1px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--secondary);
  margin: -1px 0 0 -5px;
  display: block;
  transform-origin: 9px 50%;
}

.slick-nav i:before {
  transform: rotate(-40deg);
}

.slick-nav i:after {
  transform: rotate(40deg);
}

.slick-nav:before,
.slick-nav:after {
  content: '';
  display: block;
  position: absolute;
  left: 1px;
  right: 1px;
  top: 1px;
  bottom: 1px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
}

.slick-nav svg {
  width: 44px;
  height: 44px;
  display: block;
  position: relative;
  z-index: 1;
  color: var(--primary);
  stroke-width: 2px;
  stroke-dashoffset: 126;
  stroke-dasharray: 126 126 0;
  transform: rotate(0deg);
}

.slick-nav.animate svg {
  animation: stroke 1s ease forwards 0.3s;
}

.slick-nav.animate i {
  animation: arrow 1.6s ease forwards;
}

.slick-nav.animate i:before {
  animation: arrowUp 1.6s ease forwards;
}

.slick-nav.animate i:after {
  animation: arrowDown 1.6s ease forwards;
}

@keyframes stroke {
  52% {
    transform: rotate(-180deg);
    stroke-dashoffset: 0;
  }

  52.1% {
    transform: rotate(-360deg);
    stroke-dashoffset: 0;
  }

  100% {
    transform: rotate(-180deg);
    stroke-dashoffset: 126;
  }
}

@keyframes arrow {

  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  23% {
    transform: translateX(17px);
    opacity: 1;
  }

  24%,
  80% {
    transform: translateX(-22px);
    opacity: 0;
  }

  81% {
    opacity: 1;
    transform: translateX(-22px);
  }
}

@keyframes arrowUp {

  0%,
  100% {
    transform: rotate(-40deg) scaleX(1);
  }

  20%,
  80% {
    transform: rotate(0deg) scaleX(0.1);
  }
}

@keyframes arrowDown {

  0%,
  100% {
    transform: rotate(40deg) scaleX(1);
  }

  20%,
  80% {
    transform: rotate(0deg) scaleX(0.1);
  }
}


/* ****************************************************** */
/* Projects CSS */
#projects h1 {
  font-size: 40pt;
  font-weight: 500;
  color: #363638;
}

#projects .item {
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  /* min-width: 320px; */
  max-width: 410px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  border-radius: 10px;
}

#projects .item:hover {
  cursor: pointer;
}

#projects .item * {
  transition: all 0.35s ease-in-out;
}

#projects img {
  max-width: 100%;
  vertical-align: top;
  height: 310px;
}

#projects .item:hover img {
  opacity: 0.5;
}

#projects .text {
  width: 80%;
  height: 90%;
  position: absolute;
  top: -100px;
  left: 10%;
  color: #ef7405;
}

#projects .text h3 {
  color: black;
}

#projects .item:hover .text {
  top: 20%;
}

#projects .item:hover .learn-more-button {
  bottom: 20%;
}

#projects .item .learn-more-button {
  position: absolute;
  bottom: -100px;
  left: 25%;
  width: 50%;
  border: 3px solid #ef7405;
  padding: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

#projects .learn-more-button:hover {
  background-color: #ef7405;
  color: #F5F5F5;
}

/* Modal */
#projects .modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#projects .modal-content {
  background-color: #F5F5F5;
  margin: 5% auto;
  box-sizing: border-box;
  width: 700px;
  max-height: 714px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

#projects .scale {
  animation: scale 0.5s;
  animation-fill-mode: forwards;
}

@keyframes scale {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

#projects #img {
  width: 100%;
  height: 450px;
}

#projects #details {
  padding: 25px;
  text-align: left;
  position: relative;
  height: 264px;
  box-sizing: border-box;
  border-top: 1px solid #363638;
}

#projects #details * {
  transition: all .3s;
}

#projects #title {
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#projects #details .learn-more-button {
  position: absolute;
  width: 30%;
  background-color: #ef7405;
  color: #F5F5F5;
  text-align: center;
  left: 25px;
  bottom: 35px;
  padding: 15px;
}

#projects #details i {
  position: absolute;
  bottom: 30px;
  right: 25px;
  font-size: 3rem;
  color: #01A2AC;
}

#projects #details .learn-more-button:hover,
i:hover {
  cursor: pointer;
  opacity: 0.8;
}

#projects .close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 10px;
}

#projects .close:hover,
.close:focus {
  color: #363638;
  text-decoration: none;
  cursor: pointer;
}



/* TEAM */
#team .swiper-container {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
  box-shadow: none;
  overflow: hidden;

}

#team .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 320px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

#team .picture {
  width: 320px;
  height: 320px;
  overflow: hidden;
}

#team .picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#team .detail {
  padding: 25px 20px;
  font-weight: 600;
  text-align: center;
}

#team .detail h3 {
  margin: 0;
  font-size: 20px;
}

#team .detail span {
  display: block;
  font-size: 16px;
  color: #f44336;
}

.text-justify {
  text-align: justify;
}