/********** Template CSS **********/
:root {
  --primary: #f4d73c;
  --secondary: #fd5d14;
  --light: #f4f6f8;
  --dark: rgb(4, 37, 4);
}

.z-1000 {
  z-index: -1;
}

.overflow {
  overflow-x: hidden;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease;
  z-index: 999;
}

.loader-spinner {
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo image */
.loader-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  z-index: 2;
  animation-name: spin;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-direction: normal;
}

/* Spin animation */
@keyframes spin {
  0% {
    transform: scale(1)
  }
  25% {
    transform: scale(1.7);
  }
  50% {
    transform: scale(1.4);
  }
  75% {
    transform: scale(1.7);
  }
  100% {
    transform: scale(1);
  }
}


#page-content {
  display: block
}



.spin-on-hover:hover {
  transform: rotate(180deg);
  transition: 0.3s ease;
}

.scrollable {
  overflow-y: auto;
  height: 120vh;
}

.hide-content {
  display: none !important;
}

.text-gray {
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: 400; 
  color: #333232 !important;
}

.txt__color {
  color: var(--primary);
}

.pt-6 {
  padding-top: 90px;
}

.pb-6 {
  padding-bottom: 90px;
}

.py-6 {
  padding-top: 90px;
  padding-bottom: 90px;
}

.py-md-6 {
  padding-top: 90px;
  padding-bottom: 90px;
} 

.btn {
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn::after {
  position: absolute;
  content: "";
  width: 0;
  height: 5px;
  bottom: -1px;
  left: 50%;
  background: var(--primary);
  transition: 0.5s;
}

.btn.btn-primary::after {
  background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
  width: 50%;
  left: 25%;
}

.btn-primary {
  color: #ffffff;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  left: 50%;
  bottom: 0;
  margin-left: -22px;
  border-radius: 0;
  z-index: 99;
}

.bg-dark-radial {
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -o-repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 100%
  );
  background-size: 3px 3px;
}

/* .bg-light-radial {
  background-image: -webkit-repeating-radial-gradient(
    center center,
    rgba(256, 256, 256, 0.2),
    rgba(256, 256, 256, 0.2) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -moz-repeating-radial-gradient(
    center center,
    rgba(256, 256, 256, 0.2),
    rgba(256, 256, 256, 0.2) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -ms-repeating-radial-gradient(
    center center,
    rgba(256, 256, 256, 0.2),
    rgba(256, 256, 256, 0.2) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: -o-repeating-radial-gradient(
    center center,
    rgba(256, 256, 256, 0.2),
    rgba(256, 256, 256, 0.2) 1px,
    transparent 1px,
    transparent 100%
  );
  background-image: repeating-radial-gradient(
    center center,
    rgba(256, 256, 256, 0.2),
    rgba(256, 256, 256, 0.2) 1px,
    transparent 1px,
    transparent 100%
  );
  background-size: 3px 3px;
} */

.navbar-dark .navbar-nav .nav-link {
  position: relative;
  padding: 25px 15px;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--light);
  outline: none;
  transition: 0.5s;
}

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

.navbar-brand {
  opacity: 0;
  transform: translateX(-150px);
}

.navbar-nav {
  opacity: 0;
  transform: translateX(200px);
}

.top-text {
  font-size: 14px;
}

.navbar-brand h1 {
  font-size: 2rem;
}

.nav-link {
  font-size: 14px !important;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.img__slider {
  height: 90vh;
}

.slide-text {
  opacity: 0;
  transform: translateY(150px);
}

.slide-btn {
  opacity: 0;
  
}

.display-5,
.h4,
.sub-title {
  color: #173a22;
}

.sub-title, .h4 {
    font-size: 1.2rem
}

.display-5 {
  font-size: 2rem;
}

.about-section {
  opacity: 0;
  transform: translateY(200px);
}

.service-section {
  background-image: url('/img/IMG-20250716-WA0007.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
  position: relative;
}

.service-section::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.service-item {
  border:5px solid #f4d73c;
  opacity: 0;
  transform: translateY(150px);
}

.service-img {
  /* height: 30%; */
  width: 100%;
}

/* Portfolio section */
.animate-from-top {
  opacity: 0;
  transform: translateY(-150px)
}

.portfolio-summary {
  opacity: 0;
  transform: translateX(-300px);
}

.project-count h1{
  color: #173a22;
}

.animate-from-left {
  opacity: 0;
  transform: translateX(-400px);
}

.animate-from-right {
  opacity: 0;
  transform: translateX(400px);
}

.animate-from-down, .about-text {
  opacity: 0;
  transform: translateY(80px);
}

.fade-in, .fade-out {
  opacity: 0;
}

/* client section */
.bajej-img {
  height: 25rem
}

/* footer section */
.footer, .f-links a {
  color: var(--light) !important;
}

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

/* about */

.about__us-text {
  color: #236b3a;
  font-size: 1.5rem;
  /* position: relative;
  white-space: nowrap;
  animation: slide 10s linear infinite; */
  text-shadow: 4px 4px 7px rgba(0, 0, 0, 0.5)
}

/* services */
.service-list:hover {
  background-color: var(--primary) !important;
  color: var(--dark) !important;
}

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

/* .service-content {
  opacity: 0;
  transition: all 0.5s ease;
} */


.mission-background {
  background-image: url('/img/IMG-20250716-WA0007.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
  position: relative;
}

.mission-background::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(214, 210, 210, 0.8);
  z-index: -1;
}

.mission-item {
  border: 8px solid gainsboro;
  background-color: white;
}

.mission-item:hover {
  border: 8px solid var(--primary);
}

.management {
  background-image: url("/img/connected.png");
  background-position: center;
  background-repeat: repeat;
}

.clients {
  background-image: url("/img/IMG-20250716-WA0007.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
  position: relative;
}

.clients::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(119, 121, 119, 0.8);
  z-index: -1;
}

/* the team */

.flip-card {
  position: relative;
  height: 100%;
  perspective: 1000px;
}

.flip__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip__card-inner {
  transform: rotateY(180deg);
}

.flip__card-front, .flip__card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden
}

.flip__card-back {
  background: #223f17;
  color: white;
  transform: rotateY(180deg);
  overflow-y: auto
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }

  .scrollable {
    overflow-y: visible;
    height: auto;
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(52, 52, 58, 0.7);
  z-index: 1;
}

.carousel-caption h1 {
  font-size: 2rem;
}

@media (max-width: 576px) {
  .carousel-caption h4 {
    font-size: 18px;
    font-weight: 500 !important;
  }

  .fs-5 {
    font-size: 1rem !important
  }

  .display-5 {
    font-size: 1.2rem !important
  }

  .fs-4 {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  .client-img {
    width: 40% !important;
  
  }

    .img__slider {
    height: 65vh;
  }

  .carousel-caption h1 {
    font-size: 20px !important;
    font-weight: 600 !important;
  }

  .display-5 {
    font-size: 1.5rem
  }

  /* project */
  .p-title {
    font-size: 0.9rem !important;
  }

  .page-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .client-img {
    width: 60% !important;
    height: 150px !important;
    align-self: center;
  }

  .request-form {
    display: none
  }

  /* project */
  .p-title {
    font-size: 0.9rem !important;
  }

  .img__height-sm {
    width: 100%;
    height: 28rem
  }

}

.page-header {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(2, 6, 15, 0.9), rgba(1, 3, 8, 0.9)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.contact__page-header {
  background: linear-gradient(rgba(2, 6, 15, 0.9), rgba(1, 3, 8, 0.9)),
    url(/img/contact-photo.jpg) center center no-repeat;
}

.project__page-header {
  background: linear-gradient(rgba(2, 6, 15, 0.9), rgba(1, 3, 8, 0.9)),
    url(/img/IMG-20250716-WA0042.jpg) center center no-repeat;
}

.about__page-header {
  background: linear-gradient(rgba(2, 6, 15, 0.9), rgba(1, 3, 8, 0.9)),
    url(/img/IMG-20250716-WA0032.jpg) center center no-repeat;
}

.team__page-header {
  background: linear-gradient(rgba(2, 6, 15, 0.9), rgba(1, 3, 8, 0.9)),
    url(/img/the-team.jfif) center center no-repeat;
}

.equipment__page-header {
  background: linear-gradient(rgba(2, 6, 15, 0.9), rgba(1, 3, 8, 0.9)),
    url(/img/equipment.jpg) center center no-repeat;
}

.company__page-header {
  background: linear-gradient(rgba(2, 6, 15, 0.9), rgba(1, 3, 8, 0.9)),
    url(/img/company-ebook-cover.jpg) center center no-repeat;
}

.page__header {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
}


.service-item .service-icon {
  margin-top: -50px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

.service-item .service-icon i {
  transition: 0.2s;
}

.service-item:hover .service-icon i {
  font-size: 60px;
}

.portfolio-item {
  margin-bottom: 60px;
}

.portfolio-title {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 120px;
  padding: 0 30px;
  right: 30px;
  left: 30px;
  bottom: -60px;
  background: #ffffff;
  z-index: 3;
}

.portfolio-btn {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-top: -60px;
  margin-left: -60px;
  font-size: 120px;
  line-height: 0;
  transition: 0.1s;
  transition-delay: 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  transition: 0.5s;
  z-index: 1;
  background: rgba(4, 15, 40, 0.7);
}

.portfolio-box::before {
  left: 0;
}

.portfolio-box::after {
  right: 0;
}

.portfolio-item:hover .portfolio-box::before {
  left: 0;
  width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
  right: 0;
  width: 50%;
}

@media (min-width: 992px) {
  .testimonial,
  .contact-form {
    margin-left: -90px;
  }

  .sticky {
    position: sticky;
    top: 0;
    z-index: 100;
  }
}

@media (min-width: 992px) {
  .footer::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: 50%;
    background: var(--primary);
  }
}

.footer-shape::before {
  position: absolute;
  content: "";
  width: 80px;
  height: 100%;
  top: 0;
  left: -40px;
  background: var(--primary);
  transform: skew(40deg);
}
