/********** Template CSS **********/
:root {
  --primary: #b78d65;
  --light: #f8f8f8;
  --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
  font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
  font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
  font-weight: 400 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.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;
}

.btn-outline-body {
  color: var(--primary);
  border-color: #777777;
}

.btn-outline-body:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

/*** Navbar ***/
.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 {
  margin-right: 30px;
  padding: 30px 0;
  color: var(--dark);
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}
.navbar .navbar-brand {
  /* border: 1px solid red; */
  padding: 10px 0px 10px 0px;
}
.navbar .navbar-brand img {
  /* border: 1px solid red; */
  width: 300px;
  height: 100px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.owl-carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
    font-size: 16px !important;
  }
}

.header-carousel .owl-dots {
  position: absolute;
  width: 60px;
  height: 100%;
  top: 0;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
  position: relative;
  width: 45px;
  height: 45px;
  margin: 5px 0;
  background: var(--dark);
  transition: 0.5s;
}

.header-carousel .owl-dots .owl-dot.active {
  width: 60px;
  height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 2px;
  transition: 0.5s;
  opacity: 0.3;
}

.header-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/*** Section Title ***/
.section-title {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}

/*** Facts ***/
.fact-item .fact-icon {
  width: 120px;
  height: 120px;
  margin-top: -60px;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 120px;
  transition: 0.5s;
}

.fact-item:hover .fact-icon {
  background: var(--dark);
}

.fact-item .fact-icon i {
  color: var(--primary);
  transition: 0.5;
}

.fact-item:hover .fact-icon i {
  color: #ffffff;
}

/*** About & Feature ***/
.about-img,
.feature-img {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.about-img img,
.feature-img img {
  position: absolute;
  width: 60%;
  height: 80%;
  object-fit: cover;
}
.about-img img {
  object-position: right;
}
.about-img img:last-child,
.feature-img img:last-child {
  margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
  position: absolute;
  content: "";
  width: 60%;
  height: 80%;
  top: 10%;
  left: 20%;
  border: 5px solid var(--primary);
  z-index: -1;
}

/*** Service ***/
.service-item .bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.service-item .service-text {
  background: var(--light);
  transition: 0.5s;
}

.service-item:hover .service-text {
  background: rgba(0, 0, 0, 0.7);
}

.service-item * {
  transition: 0.5;
}

.service-item:hover * {
  color: #ffffff;
}

.service-item .btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  background: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  transition: 0.5s;
}

.service-item:hover .btn {
  width: 140px;
}

/*** Project ***/
.project .nav .nav-link {
  background: var(--light);
  transition: 0.5s;
}

.project .nav .nav-link.active {
  background: var(--primary);
}

.project .nav .nav-link.active h3 {
  color: #ffffff !important;
}

/* logo sliders */
.logo_sliders_section {
  width: 85%;
  overflow: hidden;
  background: #fff;
  /* border: 1px solid #ddd; */
  margin: 60px 0px 60px 0px;
  justify-self: center;
}

.logo_sliders_section .slider {
  width: 100%;
  position: relative;
  padding: 10px;
}

.logo_sliders_section .slide-track {
  display: flex;
  align-items: center;
  width: calc(
    200px * 12
  ); /* number of total slides (original + duplicate) × slide width */
  animation: scroll 40s linear infinite;
}

.logo_sliders_section .slide {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.logo_sliders_section .slide img {
  width: 100px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.logo_sliders_section .slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6)); /* half the total width */
  }
}

/* about-info-grid */
.about-info-grid {
  background: linear-gradient(135deg, #252525, #2d3547);
  color: #fff;
  margin: 50px 0px 0px 0px;
}
/* --primary: #b78d65;
  --light: #f8f8f8;
  --dark: #252525; */

.about-info-grid .info-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-info-grid .info-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-info-grid .icon i {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.about-info-grid .info-box:hover .icon i {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* about-info-grid */

/* our values */
/* :root {
  --primary: #b78d65;
  --light: #f8f8f8;
  --dark: #252525;
} */

.our-values-section {
  background-color: var(--light);
  padding: 80px 0;
  color: var(--dark);
}

.our-values-section .section-header {
  margin-bottom: 50px;
}

.our-values-section .section-title {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.our-values-section .display-6 {
  font-weight: 700;
  color: var(--dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.value-box {
  background: #fff;
  border: 1px solid rgba(183, 141, 101, 0.2);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.value-box i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
}

.value-box h3 {
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.value-box p {
  font-size: 15px;
  color: rgba(37, 37, 37, 0.8);
  line-height: 1.6;
}

.value-box:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(183, 141, 101, 0.2);
}
/* end */

/* industries we serve */
.industries-slider-section {
  background: var(--light);
  padding: 80px 0;
  overflow: hidden;
}

.industries-slider-section .section-title {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.industries-slider-section h1 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 40px;
}

/* Slider container */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  /* border: 1px solid red; */
  padding: 30px 0px 30px 0px;
}

/* Track */
.industries-slider {
  display: flex;
  gap: 25px;
  animation: slide 30s linear infinite;
  width: max-content;
}

.industry-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 280px;
  padding: 40px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card img {
  width: 70px;
  margin-bottom: 20px;
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.industry-card:hover img {
  filter: grayscale(0%);
}

.industry-card h4 {
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.industry-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Animation for continuous scroll */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .industry-card {
    min-width: 220px;
    padding: 30px 20px;
  }
  .industries-slider-section h1 {
    font-size: 1.8rem;
  }
}
/* end */

.clients-section {
  background-color: var(--dark);
  color: var(--light);
  /* border-radius: 15px; */
}

.clients-section img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.client-feature h5 {
  color: var(--light);
  font-weight: 600;
}

.client-feature p {
  font-size: 0.95rem;
  color: #ddd;
}

@media (max-width: 767px) {
  .clients-section {
    text-align: center;
  }
  .client-feature {
    flex-direction: column;
    align-items: center;
  }
  .client-feature i {
    margin-bottom: 10px;
  }
}

/*** Team ***/
.team-items {
  margin: -0.75rem;
}

.team-item {
  padding: 0.75rem;
}

.team-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: #ffffff;
  transition: 0.5s;
  z-index: -1;
}

.team-item:hover::after {
  height: 100%;
  background: var(--primary);
}

.team-item .team-social {
  position: absolute;
  width: 100%;
  bottom: -20px;
  left: 0;
}

.team-item .team-social .btn {
  display: inline-flex;
  margin: 0 2px;
  color: var(--primary);
  background: var(--light);
}

.team-item .team-social .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/* ***certifications */

.certifications {
  background-color: var(--dark);
  border-radius: 15px;
  margin: 50px 0px 50px 0px;
}

.cert-box {
  background-color: #2f2f2f;
  border-radius: 12px;
  transition: 0.3s;
}

.cert-box:hover {
  background-color: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
}

.cert-box h5 {
  color: var(--light);
}

.cert-box p {
  color: #ccc;
}

@media (max-width: 767px) {
  .certifications {
    text-align: center;
  }
}
/* end */

/* quotation */

:root {
  --primary: #b78d65;
  --light: #f8f8f8;
  --dark: #252525;
}

.quotation-section {
  background-color: var(--dark);
  color: var(--light);
  border-radius: 10px;
}

.quotation-section .section-title {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.quotation-section .form-control,
.quotation-section .form-select {
  background-color: #2f2f2f;
  border: 1px solid #3a3a3a;
  color: var(--light);
}

.quotation-section .form-control::placeholder,
.quotation-section .form-select {
  color: #ccc;
}

.quotation-section .form-control:focus,
.quotation-section .form-select:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.quotation-section .btn-primary {
  background-color: var(--primary);
  border: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.quotation-section .btn-primary:hover {
  background-color: #a17650;
}

.icon-box {
  background-color: #2f2f2f;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/*** Testimonial ***/
.testimonial-carousel {
  display: flex !important;
  flex-direction: column-reverse;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-carousel .owl-dots {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 5px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
  position: absolute;
  width: 40px;
  height: 40px;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
  transition: 0.5s;
  opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
  opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
  opacity: 0.4;
  transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
  opacity: 1;
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #777777;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: #777777;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}

/* products */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: left;
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
