/********** Template CSS **********/
:root {
  /* --primary: #FD5D14;
    --secondary: #FDBE33; */
  --primary: #3876b8;
  --secondary: #0f71b9;
  --secondary-2: #ffffff;
  --secondary-3: #3081aa;
  --light: #f4f6f8;
  --dark: #040f28;
}

/* Banner Text - Camel Case */
.banner-text {
  text-transform: capitalize !important;
}

/* Dropdown Items - Camel Case */
.dropdown-item {
  text-transform: capitalize !important;
}

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

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

.py-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;
  right: 50%;
  bottom: 12px;
  border-radius: 0;
  z-index: 99;
  transform: translateX(50%);
}

.whatsapp-chat {
  position: fixed;
  right: 50px;
  bottom: 50px;
  border-radius: 50%;
  z-index: 99;
  background-color: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  font-size: 30px;
}

.whatsapp-chat:hover {
  color: white !important;
  transform: scale(1.1);
}

.whatsapp-chat:hover::after {
  display: none;
}

@media (max-width: 992px) {
  .whatsapp-chat {
    right: 20px;
    bottom: 20px;
  }
}

.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: 35px 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);
}

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

/* Carousel/Banner Styling */
#header-carousel {
  position: relative;
  overflow: hidden;
}

#header-carousel .carousel-inner {
  height: 100%;
}

#header-carousel .carousel-item {
  height: 500px; /* Desktop height */
  position: relative;
  overflow: hidden;
}

#header-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

/* Tablet screens */
@media (max-width: 991.98px) {
  #header-carousel .carousel-item {
    height: 400px;
  }
}

/* Mobile screens */
@media (max-width: 576px) {
  #header-carousel .carousel-item {
    height: 300px;
  }

  .carousel-caption h4 {
    font-size: 18px;
    font-weight: 500 !important;
  }

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

/* Large desktop screens */
@media (min-width: 1400px) {
  #header-carousel .carousel-item {
    height: 600px;
  }
}

.page-header {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(4, 15, 40, 0.7), rgba(4, 15, 40, 0.7)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.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%;
}

/* header */
/* footer */
.header-logo,
.footer-logo {
  max-width: 150px;
}

/* reCAPTCHA Responsive Styling */
.g-recaptcha {
  transform: scale(1);
  transform-origin: 0 0;
  margin: 20px 0;
}

@media (max-width: 576px) {
  .g-recaptcha {
    transform: scale(0.77);
    transform-origin: 0 0;
  }
}

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.65);
    transform-origin: 0 0;
  }
}

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

  /* header */
  /* footer */
  .header-logo,
  .footer-logo {
    max-width: 250px;
  }
}

/* @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);
}

/* Contact Information Styling */
.footer p {
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .footer p {
    font-size: 0.95rem;
  }
}

/* Brand Slider Styling */
.brand-slider-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
  overflow: hidden;
}

.brand-scroll-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brand-scroll-track {
  display: flex;
  width: fit-content;
  animation: scroll 30s linear infinite;
}

.brand-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  transition: all 0.3s ease;
  height: 150px;
  flex-shrink: 0;
  min-width: 200px;
}

.brand-item img {
  max-width: 180px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s ease;
}

.brand-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .brand-item {
    height: 100px;
    padding: 15px 25px;
    min-width: 150px;
  }

  .brand-item img {
    max-width: 120px;
    max-height: 80px;
  }

  .brand-scroll-track {
    animation: scroll 20s linear infinite;
  }
}
