/*===================================================
Project: techida | IT Solutions & Business Services HTML landing page template  
Author: ERRAMIX
====================================================*/

/* start global classes */
:root {
  --fmono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --f: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  /* body bg color */
  --bodyColor: #151515;

  /* box bg color */
  --boxColor: #1e1e1e;

  /* dark brand color */
  --dark-brand-color: #202020;

  /* brand color */
  --brand-color: #10754e;

  /* pretitle (WCAG on dark bg) */
  --pretitle-color: #8ee4a8;

  /* Primary Text Color */
  --primaryColor: #e4e6e4;

  /* title 2 Color (subtitle-color) */
  --title-2-color: #ebebeb;

  /* Secondary Text Color */
  --secendaryColor: #ffffff;

  /* border radius */
  --border-radius: 5px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--f);
  color: var(--primaryColor);
  background-color: var(--bodyColor);
  text-align: left;
  text-transform: capitalize;
  position: relative;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.home-rtl {
  font-family: "Tajawal", sans-serif;
}

/* ========== start light-mode colors ============ */

body.light-mode {
  --bodyColor: #f8f6f4;
  /* box bg color */
  --boxColor: #eff0ef;

  /* Primary Text Color */
  --primaryColor: #404742;

  /* brand color */
  --brand-color: #10754e;

  /* pretitle (WCAG on light bg) */
  --pretitle-color: #0d6846;

  /* Secondary Text Color */
  --secendaryColor: #1e1e1e;

  /* title 2 Color (subtitle-color) */
  --title-2-color: #292836;
}

/* ========== end light-mode colors ============ */

.switch-button {
  border-radius: 50%;
  border: none;
  outline: none;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-left: 10px;
  border: 0.5px solid var(--brand-color);
}

.btn-light-mode {
  background-color: var(--boxColor);
  color: var(--primaryColor);
}

::selection {
  color: var(--bodyColor);
  background-color: var(--brand-color);
}

.title {
  color: var(--primaryColor);
  font-size: 45px;
  font-weight: bold;
  position: relative;
  text-transform: capitalize;
}

.title-2 {
  color: var(--title-2-color);
  font-size: 26px;
  font-weight: bold;
  position: relative;
  text-transform: capitalize;
}

.pretitle {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  color: var(--pretitle-color);
}

.unique-text {
  color: var(--brand-color);
}

body.home-rtl .heading {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: end;
  text-align: end;
}

body.home-rtl .heading > * {
  justify-self: end;
  text-align: end;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.box {
  background-color: var(--boxColor);
  padding: 20px;
  border-radius: var(--border-radius);
  position: relative;
  height: 100%;
  z-index: 1;
  transition: color 300ms ease-in-out;
}

.box.box-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: var(--brand-color);
  transition: transform 400ms ease-in-out;
  transform: scaleX(0);
  transform-origin: left;
  color: #f3f3f3;
  border-radius: var(--border-radius);
}

.box.box-hover:hover:before,
.box.box-hover:focus:before {
  transform: scaleX(1);
}

.box.box-hover:hover,
.box.box-hover:focus,
.box.box-hover:hover a i,
.box.box-hover:hover .box-icon i,
.box.box-hover:hover > * {
  color: #f9f9f9;
}

.box.box-hover:hover > p {
  color: #def3de;
}

.home-rtl .box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: end;
}

/* start buttons style */
.btn,
.btn-sec {
  border: 1px solid var(--brand-color);
  background: var(--brand-color);
  color: #ffffff;
  font-weight: 800;
  border-radius: 40px;
  padding: 8px 25px;
  font-size: 20px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  text-transform: capitalize;
  align-items: center;
  text-align: center;
  letter-spacing: 0.5px;
  outline: none;
  font-weight: bold;
  transition: 0.8s all ease;
  cursor: pointer;
  z-index: 1;
}

.btn-sec {
  background-color: var(--boxColor);
  border: 1px solid var(--brand-color);
  color: var(--primaryColor);
}

.btn-sec:hover {
  color: var(--bodyColor);
}

.btn::before,
.btn-sec::before {
  background: var(--boxColor);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: all 0.6s ease;
  width: 100%;
  height: 0%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-sec::before {
  background: var(--brand-color);
}

.btn:hover::before,
.btn-sec:hover::before {
  height: 380%;
}

.learn-more {
  text-transform: capitalize;
  color: var(--brand-color);
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
}

.learn-more .bi {
  font-size: 25px;
}

/* end main button style */

@media (max-width: 768px) {
  .btn {
    padding: 6px 18px;
    font-size: 16px;
  }

  .title {
    font-size: 35px;
  }

  .title-2 {
    font-size: 20px;
  }

  .pretitle {
    font-size: 14px;
  }

  p {
    font-size: 14;
    line-height: 28;
  }
}

p {
  color: var(--secendaryColor);
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

/* ====== start breadcrumbs style========= */

.breadcrumbs {
  background: var(--dark-brand-color);
  min-height: 40px;
  margin-top: 82px;
  color: var(--bodyColor);
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 57px;
  }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
}

.breadcrumbs h2 {
  color: #eaf0ec;
}

.breadcrumbs ol a {
  color: #f8f6f4;
  transition: 0.3s;
}

.breadcrumbs p {
  color: #b6b6b6;
}

.breadcrumbs ol a:hover {
  color: var(--brand-color);
}

.breadcrumbs ol li + li {
  padding-left: 10px;
  color: #f9f9f9;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #f8f6f4;
  content: "/";
}

/* ====== end breadcrumbs style ========= */

/* end global classes */

/* ======== start scroll-to-top button style  =========== */

#progress {
  --progress-size: 48px;
  --progress-ring: 14px;
  position: fixed;
  bottom: 20px;
  right: 10px;
  height: var(--progress-size);
  width: var(--progress-size);
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 800;
}

#progress-value {
  display: grid;
  height: calc(100% - var(--progress-ring));
  width: calc(100% - var(--progress-ring));
  border-radius: 50%;
  background-color: var(--bodyColor);
  place-items: center;
  font-size: 1.5rem;
  color: var(--brand-color);
}

/* ======== end scroll-to-top button style  =========== */

/*================== start navbar section ==================*/
.navbar {
  z-index: 900;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: none;
  box-shadow: none !important;
}

.navbar > .container {
  align-items: center;
}

.navbar-theme-toggle {
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .navbar > .container {
    flex-wrap: wrap;
  }

  .navbar-brand {
    order: 1;
  }

  .navbar-theme-toggle {
    order: 2;
    margin-left: auto;
    margin-right: 0.35rem;
  }

  .navbar .navbar-toggler {
    order: 3;
    margin-left: 0;
  }

  .navbar-collapse {
    order: 4;
    flex-basis: 100%;
  }
}

@media (min-width: 992px) {
  .navbar-brand {
    order: 1;
  }

  .navbar-collapse {
    order: 2;
    flex-grow: 1;
    justify-content: center;
  }

  #navbarNav .navbar-nav {
    margin-left: auto;
    margin-right: auto;
  }

  .navbar-theme-toggle {
    order: 3;
  }

  .navbar-toggler {
    order: 4;
  }
}

@media (max-width: 991.98px) {
  #navbarNav .navbar-nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 990px) {
  .navbar .dropdown-menu {
    max-height: 75vh; /* 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: 50vh; /* Limit the height to 50% of the viewport height in landscape mode */
    overflow-y: auto; /* Enable vertical scrolling */
  }
}

@media (max-width: 990px) {
  .navbar {
    background-color: var(--boxColor);
  }

  .home-rtl .navbar #navbar {
    display: flex;
    flex-direction: column !important;
  }
}

.navbar #menu {
  color: var(--title-2-color);
  font-size: 30px;
}

.navbar .logo {
  width: 7rem;
}

.navbar .logo-clayi-svg {
  width: 7rem;
  height: auto;
  display: block;
}

.navbar .logo-clayi-svg path {
  fill: var(--brand-color);
}

.navbar.sticky {
  background-color: var(--boxColor);
  transition: 1s;
}

.navbar ul li a:focus {
  background-color: transparent;
}

.navbar ul li a {
  font-weight: 600;
  text-transform: capitalize;
  color: var(--secendaryColor) !important;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: var(--brand-color) !important;
}

.navbar .dropdown-menu {
  background-color: var(--boxColor) !important;
}

.navbar .dropdown-menu .dropdown-item {
  color: var(--title-2-color);
  background-color: var(--boxColor);
}

/*================== End navbar section ==================*/

/*================== start hero section ==================*/
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
}

.error-message {
  color: red;
  font-size: 0.8em;
  margin-top: 4px;
  margin-bottom: 4px;
  display: none;
}


@media (max-width: 990px) {
  .home-1 .hero,
  .home-rtl .hero {
    margin-top: 55px;
  }
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#content {
  position: relative;
  z-index: 1;
}

.hero .hero-text .title {
  line-height: 65px;
  font-size: 52px;
}

.hero .hero-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius);
  background-color: var(--boxColor);
}
.hero .hero-icons a:hover {
  background-color: var(--brand-color);
}

.hero .hero-icons a:hover > i {
  color: var(--boxColor);
}

.hero .hero-icons i {
  font-size: 20px;
  color: var(--secendaryColor);
  cursor: pointer;
}

@media (max-width: 990px) {
  .hero .hero-text .title {
    line-height: 65px;
    font-size: 44px;
  }
}

/*================== end hero section =====================*/

/*============== Start About section ==========*/
.about .box .title-2 {
  text-transform: capitalize;
  font-size: 18px;
}

.about .box {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  padding: 15px;
}

.about .box i {
  font-size: 35px;
  color: var(--brand-color);
}

.about .bars {
  margin: 0;
  padding: 0;
}

@keyframes load {
  from {
    width: 0%;
  }
}

@-webkit-keyframes load {
  from {
    width: 0%;
  }
}

@-o-keyframes load {
  from {
    width: 0%;
  }
}

@-moz-keyframes load {
  from {
    width: 0%;
  }
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--boxColor);
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--brand-color);
  border-radius: 5px;
  transition: width 0.2s ease-in-out;
  animation: load 3s 0s;
  -webkit-animation: load 3s 0s;
  -moz-animation: load 3s 0s;
  -o-animation: load 3s 0s;
}

.progress-bar-fill.progress-bar-fill-1 {
  width: 70%;
}

.progress-bar-fill.progress-bar-fill-2 {
  width: 20%;
}

.progress-bar-fill.progress-bar-fill-3 {
  width: 55%;
}

.home-rtl .about .box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: end;
}

/*============== End About section ==========*/


/*============== Start Why us section ==========*/
.why-choose-us .box h1 {
  font-size: 50px;
  color: var(--brand-color);
  font-weight: bold;
}

/*============== End Why us section ==========*/

/*============== Start project section ==========*/

.project-row > .is-hidden {
  display: none !important;
}

.filters {
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .filters {
    gap: 1.25rem;
  }

  .filters .project-btn {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.project-btn {
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  color: var(--secendaryColor);
  border: none;
  background-color: var(--bodyColor);
}

.project-item img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
}

.project ul {
  margin: 0 !important;
  padding: 1rem 0 !important;
}

@media screen and (max-width: 768px) {
  .project ul li a {
    font-size: 17px;
  }
}

.project .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.5s;
}

.project .img-overlay .content {
  padding: 1.5rem;
  width: 100%;
  color: #c9e8d2;
}

.project .img-overlay .content h3,
.project .img-overlay .content .project-type {
  color: #f9f9f9;
}

.project .img-overlay .content .project-type {
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: none;
  margin: 0;
}

.project .img-overlay > * {
  transform: translateY(40px);
  transition: transform 25ms;
}

.project .img-overlay:hover > * {
  transform: translateY(0);
}

.project .img-overlay:hover {
  opacity: 1;
}

.project .img-overlay h3 {
  font-size: 25px;
  font-weight: bold;
  text-transform: uppercase;
}

.project .img-overlay .link {
  padding: 8px 16px;
  color: var(--brand-color);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--boxColor);
  cursor: pointer;
  border-radius: var(--border-radius);
}

.project .img-overlay .link a {
  font-size: 16px;
  font-weight: 500;
}

.project .img-overlay .tags span {
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: var(--brand-color);
  margin: 0 0.5rem;
}

.project-btn .active,
.project-btn:hover {
  color: var(--brand-color) !important;
}

.project-item {
  transition: ease-in-out 50ms;
  position: relative;
}

.client-side {
  height: fit-content;
}

.client-side .box .icon {
  flex: 0.25;
}

.client-side .box .icon i {
  font-size: 45px;
  color: var(--brand-color);
}

.client-side .box .text {
  flex: 0.75;
}

.client-side .box .text h3 {
  color: var(--primaryColor);
  margin: 0;
  font-size: 18px;
}

.client-side .social .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brand-color);
}

.client-side .social .icon i {
  font-size: 18px;
  color: var(--bodyColor);
}

/*============== End project section ==========*/

/*============== start clients section ==========*/

.clients {
  background-color: var(--boxColor);
}

.clients img {
  filter: grayscale(100%);
}

.clients img:hover {
  filter: grayscale(0);
}

/*============== End clients section ==========*/

/*============== Start numbers section ==========*/

.counter-up {
  padding: 60px 0;
  background-color: var(--dark-brand-color);
  color: #f9f9f9;
  text-align: center;
}

.home-3 .counter-up {
  background-color: transparent;
}

.counter-up .counter {
  font-size: 50px;
  font-weight: bold;
  color: var(--brand-color);
}

.counter-up .title-2 {
  color: #f9f9f9;
}

.counter-up i {
  font-size: 50px;
  color: var(--brand-color);
}

/*============== End numbers section ==========*/

/*============== start FAQ section ==========*/
.faq .box h3 {
  color: var(--title-2-color);
  font-size: 20px;
  font-weight: 600;
}

.faq .box i {
  font-size: 25px;
  color: var(--brand-color);
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

/*============== End FAQ section ==========*/


/*============== Start Footer section ==========*/
.footer {
  background-color: #1c1d1c;
}

.footer .box {
  background-color: var(--dark-brand-color);
}

.footer .box p {
  color: var(--secendaryColor);
}

.footer .box .logo img {
  width: 5rem;
}

.footer .box .logo .logo-clayi-footer {
  width: 5rem;
  height: auto;
  display: block;
}

.footer .box .logo .logo-clayi-svg path {
  fill: var(--brand-color);
}

.footer .box .icon {
  color: #fff;
  background-color: var(--brand-color);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.footer .box h4 {
  color: #b6b6b6;
}

.footer .box p {
  color: #ffffff;
}

.footer h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.footer ul {
  margin: 0;
  padding: 0;
}

.footer ul li {
  color: #ddd;
  cursor: pointer;
}

.footer ul li a {
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
  color: #ddd;
}

.footer ul li i {
  font-size: 12px;
}

.footer .copyrights a {
  color: #ffffff;
}

.footer hr {
  color: #ffffff;
}

/*============== End Footer section ==========*/

/* ================= start 404 page ===================== */
.fzf {
  width: 100%;
  overflow: hidden;
  height: 100%;
  display: grid;
  place-items: center;
  place-content: center;
}

.fzf .content {
  margin-top: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fzf .content img {
  width: 70%;
}

.fzf .content h1 {
  font-size: 60px;
  text-transform: uppercase;
  font-weight: bold;
  margin-block: 1rem;
}

/* ================= end 404 page ===================== */

/* Legal pages: normal sentence case (body uses capitalize globally) */
section.privacy,
section.privacy p,
section.privacy li,
section.privacy a,
section.privacy h1,
section.privacy h2,
section.privacy h3,
section.privacy .sub-title {
  text-transform: none;
}
