/*
Description: 
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used 
--------------------------------------------------------------*/



/* fonts family */
:root {
  font-family: "roboto", sans-serif;
  --body-font: "roboto", sans-serif;
}

/* fonts color */
:root {
  --bs-red: #F0756C;
  --bs-orange: #F9A01F;
  --bs-yellow: #FFCB39;
  --bs-green: #F5F8F1;
  --bs-teal: #EFE8EF;
  --bs-cyan: #F5F5F5;
  --bs-black: #111111;
  --bs-white: #F0FAFC;
  --bs-gray: #666666;
  --bs-link-color: #FFFFFF;
  --bs-success: #FFCB39;
  --bs-secondary: #F9A11E;
  --bs-danger: #1A213D;
  --bs-light: #198F9F;
  --bs-primary: #1A2C6A;
  --bs-info: #F0FAFC;
  --bs-info-rgb: 240, 250, 252;
  --bs-primary-rgb: 28, 44, 108;
  --bs-light-rgb: 25, 143, 159;
  --bs-danger-rgb: 26, 33, 61;
  --bs-secondary-rgb: 249, 161, 30;
  --bs-success-rgb: 255, 203, 57;
  --bs-link-color-rgb: 255, 255, 255;
  --bs-link-hover-color: #F5E9E9;
  --bs-link-hover-color-rgb: 245, 233, 233;
  --bs-body-color: #111111;
  --bs-border-color: #F0FAFC;

}

body,
body [data-bs-theme=light] {
  --bs-blue: #1A2C6A;
  --bs-red: #F0756C;
  --bs-orange: #F9A01F;
  --bs-yellow: #EFEAEA;
  --bs-green: #F5F8F1;
  --bs-teal: #EFE8EF;
  --bs-cyan: #F5F5F5;
  --bs-black: #111111;
  --bs-white: #F0FAFC;
  --bs-gray: #555865;
  --bs-info: #C3C3C3;
}

body {
  font-family: var(--body-font);
  font-size: calc(1rem);
  color: var(--bs-gray);
  font-weight: 400;
}

/* From Uiverse.io by satyamchaudharydev */ 
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.spinner {
 --size: 30px;
 --first-block-clr: #005bba;
 --second-block-clr: #fed500;
 --clr: #111;
 width: 100px;
 height: 100px;
 position: relative;
}

.spinner::after,.spinner::before {
 box-sizing: border-box;
 position: absolute;
 content: "";
 width: var(--size);
 height: var(--size);
 top: 50%;
 animation: up 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
 left: 50%;
 background: var(--first-block-clr);
}

.spinner::after {
 background: var(--second-block-clr);
 top: calc(50% - var(--size));
 left: calc(50% - var(--size));
 animation: down 2.4s cubic-bezier(0, 0, 0.24, 1.21) infinite;
}

@keyframes down {
 0%, 100% {
  transform: none;
 }

 25% {
  transform: translateX(100%);
 }

 50% {
  transform: translateX(100%) translateY(100%);
 }

 75% {
  transform: translateY(100%);
 }
}

@keyframes up {
 0%, 100% {
  transform: none;
 }

 25% {
  transform: translateX(-100%);
 }

 50% {
  transform: translateX(-100%) translateY(-100%);
 }

 75% {
  transform: translateY(-100%);
 }
}

/* back top */
.back-to-top {
    position: fixed;
    padding: 10px 15px;
    text-align: center;
    width: 45px;
    height: 45px;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* cookies */
.cookie-banner {
  position: fixed;
  bottom: 15px;
  left: 10px;
  width: 350px;
}


/* sticky social icon */

.sticky-social {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 45px;
  height: auto;
  z-index: 999;
}

.sticky-social .social {
  position: relative;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 45px;
  padding: 12px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.35s ease, width 0.35s ease;
}

.sticky-social .social i {
  font-size: 18px;
}

.sticky-social .social-name {
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  font-size: 14px;
}

.sticky-social .social:hover {
  width: 120px;
  transform: translateX(-80px);
}

.sticky-social .social:hover .social-name {
  opacity: 1;
  transform: translateX(0);
}

/* social Colors */
.sticky-social .instagram { background: #E1306C; }
.sticky-social .linkedin  { background: #0077b5; }
.sticky-social .facebook  { background: #1877f2; }
.sticky-social .whatsapp  { background: #25D366; }

/*.whatsapp-btn {*/
/*   position: fixed;*/
/*    bottom: 20px;*/
/*    right: 2px;*/
/*    background: #25D366;*/
/*    color: white;*/
/*    font-size: 23px;*/
/*    padding: 10px 15px;*/
/*    border-radius: 50%;*/
/*    text-decoration: none;*/
/*    z-index: 999;*/
/*}*/

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

/* sectiton titles & sub titles */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-blue);
}

h2 {
  font-weight: 700;
}

h5 {
  font-weight: 700;
}


/* general styles */
.text-primary {
  color: var(--bs-primary);
}

.text-secondary {
  color: var(--bs-secondary);
}

.text-light {
  color: var(--bs-light)
}

.text-info {
  color: var(--bs-info);
}

.text-bg-success {
  color: var(--bs-blue) !important;
}

.bg-color {
  background-color: var(--bs-success);
}

/*--------------------------------------------------------------
/** 2.3 Section
--------------------------------------------------------------*/
/* - Section Padding
--------------------------------------------------------------*/
.padding-small {
  padding-top: 5em;
  padding-bottom: 5em;
}

.padding-medium {
  padding-top: 6em;
  padding-bottom: 6em;
}

.padding-large {
  padding-top: 12em;
  padding-bottom: 12em;
}

/* - Section Margin
  --------------------------------------------------------------*/
.margin-small {
  margin-top: 8.125em;
  margin-bottom: 8.125em;
}

.margin-medium {
  margin-top: 10em;
  margin-bottom: 10em;
}

.margin-large {
  margin-top: 12em;
  margin-bottom: 12em;
}

/*--------------------------------------------------------------
/** Buttons
--------------------------------------------------------------*/
.btn {
  --bs-btn-padding-x: 2.5rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s ease-in-out;
  border-radius: 50px;
}

.btn-sm {
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.5rem;
}

.btn-primary {
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bs-blue);
  --bs-btn-border-color: var(--bs-blue);
  --bs-btn-hover-color: var(--bs-black);
  --bs-btn-hover-bg: var(--bs-orange);
  --bs-btn-hover-border-color: var(--bs-orange);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: 0;
  --bs-btn-active-border-color: 0;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: 0;
  --bs-btn-disabled-border-color: 0;
}

.btn-secondary {
  --bs-btn-color: var(--bs-blue);
  --bs-btn-bg: var(--bs-orange);
  --bs-btn-border-color: var(--bs-orange);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: var(--bs-blue);
  --bs-btn-hover-border-color: var(--bs-blue);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: 0;
  --bs-btn-active-border-color: 0;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: 0;
  --bs-btn-disabled-border-color: 0;
}

/* facts */

@media (min-width: 991.99px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/* Pagination
------------------------------------------------------------- */
.pagination {
  --bs-pagination-color: var(--bs-black);
  --bs-pagination-hover-color: #fff;
  --bs-pagination-hover-bg: var(--bs-blue);
  --bs-pagination-hover-border-color: var(--bs-blue);
  --bs-pagination-focus-color: #fff;
  --bs-pagination-focus-bg: var(--bs-blue);
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-active-bg: var(--bs-blue);
  --bs-pagination-active-border-color: var(--bs-blue);
}


/* Accordion
------------------------------------------------------------- */
.accordion {
  --bs-accordion-btn-icon: url('https://api.iconify.design/ion/caret-down.svg?color=%23F2B821&width=30');
  --bs-accordion-btn-active-icon: url('https://api.iconify.design/ion/caret-down.svg?color=%23F2B821&width=30');
  --bs-accordion-border-radius: 0px;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
}


/* Form
------------------------------------------------------------- */
.form-control {
  border: 1px solid #e4e4e4;
  box-shadow: none;
}

.form-control:focus {
  border: 1px solid #acacac;
  box-shadow: none;
}


/*----------------------------------------------*/
/* SITE STRUCTURE */
/*----------------------------------------------*/

/* Header Section
/*----------------------------------------------*/

.navbar-nav .nav-link {
  color: var(--bs-primary);
  font-weight: 600;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.focus {
  color: var(--accent-color);
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
  outline: none;
}

#primary-header .dropdown .search::after {
  content: none;
}

#primary-header .search-dropdown .dropdown-menu {
  width: 260px;
}

#primary-header .search-dropdown .dropdown-menu input {
  min-width: 100%;
}

#primary-header .search-dropdown .dropdown-menu button {
  padding: 0 12px;
  min-height: -webkit-fill-available;
  border-radius: 0.25rem;
}

/* Services Section
/*----------------------------------------------*/
.sectiontitle {
  font-family: var(--body-font);
  font-size: calc(8rem);
  font-weight: 100;
}

/* Work Section
/*----------------------------------------------*/
.work-slider {
  padding-bottom: 20px;
}
.work-slider .swiper-slide {
  padding: 0;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.work-slider .swiper-pagination {
  display: none;
  position: relative;
  margin-top: 20px;
  text-align: center;
}


/* mobile responsive */
@media (max-width: 576px) {
  .work-slider .swiper-pagination {
    display: block;
  }

  .work-slider .swiper-button-prev,
  .work-slider .swiper-button-next {
    display: none;
  }
}

.work-item img {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.work-item {
  position: relative;
  min-width: 250px;
  width: 100%;
  height: auto;
}

.sectiontext {
  font-family: var(--body-font);
  font-size: calc(17rem);
  font-weight: 900;
  line-height: 50%;
  color: var(--bs-cyan);
}

@media screen and (max-width: 1100px) {
  .sectiontext {
    display: none;
  }
}

/* Testimonial Section
/*----------------------------------------------*/
.swiper-pagination-bullet {
  background-color: #22222231;
  opacity: 1;
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 10px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 10px));
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--bs-body-color);
  background: var(--bs-body-color);
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}



/*----------------------------------------------*/
/* PAGES STYLE */
/*----------------------------------------------*/


/* Projects Page
/*----------------------------------------------*/

button.filter-button {
  border: 0;
  background: transparent;
  text-transform: uppercase;
  transition: all 0.5s ease-in-out;
  border-radius: 20px;
}

button.filter-button.active,
button.filter-button:hover {
  color: var(--bs-light);
  background: var(--primary-color);
}


.project-content .portfolio-img {
  transition: all 0.5s ease-in-out;
}

.project-content:hover .portfolio-img {
  opacity: 0.3;
}

.portfolio-description {
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.project-content:hover .portfolio-description {
  opacity: 1;
}