/*===================================================
Project: Pixo - IT Solutions & Digital Agency HTML website template
Auther: ERRAMIX
Version: 1.0
====================================================*/

@import url("../../css2-3");

/* start global classes */
:root {
  /* body bg color */
  --bodyColor: #fff;

  /* primary brand color */
  --primary-color: #232425;

  /* primary brand color */
  --box-color: #f9fafb;

  /* primary brand color */
  --brand-color: #7e36f4;

  /* grey color */
  --grey: #646464;

  /* border radius */
  --border-radius: 15px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Archivo", sans-serif;
  color: var(--primary-color);
  background-color: var(--bodyColor);
  text-align: left;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}

::selection {
  color: var(--box-color);
  background-color: var(--brand-color);
}

.grey-text {
  color: var(--grey, #cecece) !important;
}

.b-radius {
  border-radius: var(--border-radius);
}

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

.heading-1,
.heading-2,
.heading-3,
.heading-4 {
  color: var(--primary-color);
  text-transform: capitalize;
  font-weight: bold;
}

.heading-1 {
  font-size: 48px;
}

.heading-2 {
  font-size: 36px;
}

.heading-3 {
  font-size: 24px;
}

.heading-4 {
  font-size: 20px;
}

.pre-title {
  display: flex;
  gap: 8px;
  /* align-items: center; */
  justify-content: center;
}

.pre-title p {
  font-size: 16px;
  font-weight: 400px;
  color: var(--brand-color);
  text-transform: capitalize;
}

.pre-title i {
  color: var(--brand-color);
  font-size: 22px;
}

.body-1 {
  font-size: 18px;
  font-weight: 300;
  color: var(--grey);
}

.body-2 {
  font-size: 16px;
  font-weight: 300;
  color: var(--grey);
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

input,
textarea {
  font-family: "Archivo", sans-serif !important;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-32 {
  gap: 32px;
}

.gap-64 {
  gap: 64px;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius);
  background-color: var(--bodyColor);
}

.icon-container a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-container.lg {
  width: 72px;
  height: 72px;
}

.icon-container.md {
  width: 56px;
  height: 56px;
}

.bg-box {
  background-color: var(--box-color);
}

.bg-brand {
  background-color: var(--brand-color);
}

@media (max-width: 990px) {
  .heading-1 {
    font-size: 36px;
  }

  .heading-2 {
    font-size: 24px;
  }

  .heading-3 {
    font-size: 20px;
  }

  .heading-4 {
    font-size: 18px;
  }

  .body-1 {
    font-size: 16px;
  }

  .body-2 {
    font-size: 14px;
  }

  .gap-8 {
    gap: 4px;
  }

  .gap-16 {
    gap: 8px;
  }

  .gap-32 {
    gap: 16px;
  }

  .padding-32 {
    padding: 16px;
  }

  .padding-16 {
    padding: 8px;
  }

  .padding-8 {
    padding: 4px;
  }

  .icon-lg {
    font-size: 48px;
  }

  .icon-md {
    font-size: 32px;
  }

  .icon-sm {
    font-size: 24px;
  }

  .section {
    padding-block: 3rem;
  }
}

a {
  text-decoration: none;
  text-transform: capitalize;
}

.w-fit {
  width: fit-content;
}

.padding-32 {
  padding: 32px;
}

.padding-16 {
  padding: 16px;
}

.padding-8 {
  padding: 8px;
}

.icon-lg {
  font-size: 48px;
}

.icon-md {
  font-size: 32px;
}

.icon-sm {
  font-size: 24px;
}

p {
  color: var(--grey);
}

.section {
  padding-block: 6rem;
}

input,
textarea {
  border: 0;
  outline: 0;
  color: var(--grey);
  background-color: var(--box-color);
}

/* start buttons style */
.btn,
.btn-outline {
  background-color: var(--brand-color);
  color: var(--bodyColor);
  font-weight: 800;
  border-radius: var(--border-radius);
  padding: 12px 24px;
  margin: 0;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  text-transform: capitalize;
  align-items: center;
  text-align: center;
  letter-spacing: 0.5px;
  outline: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  z-index: 1;
  transition: color 300ms ease-in-out;
}

.btn-outline {
  background-color: var(--box-color);
  color: var(--primary-color);
}

.btn:hover {
  color: var(--primary-color);
  background-color: var(--box-color);
}

.learn-more {
  text-transform: capitalize;
  color: var(--brand-color);
  display: flex;
  gap: 16px;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.learn-more i {
  font-size: 18px;
  margin-top: 4px;
  color: var(--brand-color);
}

.learn-more:hover {
  gap: 24px;
  transition: all 0.5s;
}

.unique-text {
  color: var(--brand-color);
}

/* end main button style */

ul {
  list-style: none;
}

img {
  width: 100%;
}

/* end global classes */

/* ==== start  preloader style  ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bodyColor);
  z-index: 9999;
}

.spinner {
  position: absolute;
  top: 45%;
  left: 45%;
  border: 12px solid var(--box-color);
  border-top: 12px solid var(--brand-color);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ==== end  preloader style  ===== */

/* ======== start scroll-to-top button style  =========== */

#progress {
  position: fixed;
  bottom: 20px;
  right: 10px;
  height: 70px;
  width: 70px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
}

#progress i {
  color: var(--grey);
  font-size: 20px;
}

#progress-value {
  display: block;
  height: calc(100% - 15px);
  width: calc(100% - 15px);
  border-radius: 50%;
  display: grid;
  background-color: var(--bodyColor);
  place-items: center;
  font-size: 35px;
  color: var(--blueColor);
}

.breadcrumb {
  margin-top: 80px;
  padding-block: 56px;
}

@media (max-width: 980px) {
  .breadcrumb {
    margin-top: 60px;
  }
}

/* ======== end scroll-to-top button style  =========== */

/*================== start navbar section ==================*/

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: none;
  box-shadow: none !important;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  width: 100%;
}

.navbar {
  background-color: rgba(255, 255, 255, 0.601);
  backdrop-filter: blur(8px);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 99;
  width: 100%;
  border-radius: 0;
  border-bottom: solid 0.5px #bfbfbf;
  padding-block: 16px;
}

@media (max-width: 990px) {
  .navbar .dropdown-menu {
    max-height: 45vh; /* Limit the height to 75% of the viewport height */
    overflow-y: auto; /* Enable vertical scrolling */
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .navbar .dropdown-menu {
    max-height: 30vh; /* Limit the height to 50% of the viewport height in landscape mode */
    overflow-y: auto; /* Enable vertical scrolling */
  }
}

.navbar.bg-box {
  background-color: var(--box-color) !important;
}

.navbar i {
  font-size: 20px;
  color: var(--grey);
}

.navbar > * {
  z-index: 999;
}

.navbar .logo {
  width: 9rem;
}

.navbar ul a {
  font-weight: 500;
  color: var(--grey);
}

.navbar .dropdown-menu {
  background-color: var(--box-color) !important;
}

.navbar .dropdown-menu li a:hover {
  background-color: transparent !important;
}

.navbar ul a:hover,
.navbar ul a.active {
  color: var(--brand-color) !important;
}

.navbar i {
  font-size: 24px;
  color: var(--grey);
  z-index: 999 !important;
}

/*================== End navbar section ==================*/

/*================== start hero section ==================*/
.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.scroller img {
  width: 160px;
}

.scroller {
  width: 100%;
}

.scroller__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}

.scroller[data-animated="true"] {
  overflow: hidden;
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s)
    var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 35s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

.about .about-box {
  background-color: var(--box-color);
  border-radius: var(--border-radius);
  padding: 32px;
}

.line {
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--brand-color);
  top: 35%;
  right: 0;
}

@media (max-width: 1020px) {
  .line {
    visibility: hidden;
  }
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
}

.portfolio .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.272);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: var(--border-radius);
}

.portfolio .img-overlay .content {
  padding: 1rem 1.5rem;
  width: 80%;
  background-color: rgba(0, 0, 0, 0.404);
  border-radius: var(--border-radius);
  color: #f6f6f6 !important;
  margin-bottom: 2rem;
}

.portfolio .img-overlay > * {
  transform: translateY(40px);
  transition: transform 25ms;
}

.portfolio .img-overlay:hover > * {
  transform: translateY(0);
}

.portfolio .img-overlay:hover {
  opacity: 1;
}

.portfolio-item {
  transition: ease-in-out 50ms;
  position: relative;
}

.services .bg-box {
  height: 360px;
}

.services img {
  width: 56px;
  height: 56px;
}

.career .bg-box {
  height: 370px;
}

@media (max-width: 760px) {
  .services-page .bg-box {
    height: auto;
  }

  .services .bg-box {
    height: auto;
  }

  .career .bg-box {
    height: auto;
  }
}

.team .bg-box {
  border-radius: var(--border-radius);
}

/*================== end hero section =====================*/

.cta {
  height: 450px;
}

.cta h2,
.cta p {
  z-index: 9;
}

.cta img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.cta .backdrop {
  background-color: rgba(245, 245, 245, 0.39);
  backdrop-filter: blur(8px);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 1;
  left: 0;
}

/*============== Start testimonials section ==========*/

.testimonials .bg-box i {
  font-size: 20px;
  color: #f4ca36;
}

.testimonials .img {
  width: 55px;
  height: 55px;
}

.testimonials .img img {
  border-radius: var(--border-radius);
}

.testimonials .bg-box {
  height: 370px;
}

/*============== End testimonials section ==========*/

/*============== start FAQ section ==========*/

.faq .btn {
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: transparent !important;
  border: none !important;
}

.faq i {
  font-size: 20px;
  color: var(--brand-color) !important;
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

/*============== End FAQ section ==========*/

/*============== Start contact section ==========*/

.contact input[type="text"],
.contact input[type="email"],
.contact input[type="text"]:focus,
.contact input[type="email"]:focus,
.contact input[type="text"]:active,
.contact input[type="email"]:active,
.contact textarea,
.contact textarea:focus {
  outline: none !important;
  border: none;
  box-shadow: none !important;
  color: var(--primary-color) !important;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #646464;
}

.contact img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 200px;
  right: 0;
  z-index: -1;
}

.done-msg {
  color: var(--primary-color);
}

.toast-success {
  background-color: #0d9700 !important;
  opacity: 1 !important;
}

.toast-error {
  background-color: #8b0500 !important;
  opacity: 1 !important;
}

.toast {
  border-radius: var(--border-radius) !important;
  color: var(--bodyColor) !important;
  box-shadow: none !important;
}

.contact-map {
  width: 100%;
  height: 360px;
}

/*============== End contact section ==========*/

/*============== start Footer section ==========*/

.footer .icon-sm {
  color: var(--brand-color);
}

.footer .input-box input,
.footer .input-box input:focus {
  background-color: transparent !important;
  border-radius: 0 !important;
  outline: none !important;
  border: none;
  box-shadow: none !important;
  color: var(--primary-color) !important;
  border-radius: var(--border-radius);
  padding: 0 16px;
}

.footer .input-box .btn {
  height: 100%;
}

.footer input::placeholder {
  color: #646464;
}

.footer h6 {
  color: var(--grey);
  font-size: 14px;
}

.footer .links a {
  font-size: 16px;
  color: var(--grey);
}

.footer h4 {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
}

/*============== End Footer section ==========*/
