/********** Template CSS **********/
:root {
  --primary: #e1ece6;
  --secondary: #8d9297;
  --light: #f8f9fa;
  --dark: #182333;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}
body {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*** 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;
}
ul li,
p {
  color: #000;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
  border-radius: 12px;
}
.header-text {
  color: #000;
}
a.header-text:hover {
  color: var(--bs-green);
}
.top-header .far {
  color: #000;
}
.fa-phone-alt:before {
  color: #000;
}
.fa-facebook-f:before,
.fa-twitter:before,
.fa-linkedin-in:before,
.fa-instagram:before {
  color: var(--bs-green);
}
a.btn.btn-lg.btn-primary.btn-lg-square.back-to-top {
  border-radius: 0;
}

.btn-square {
  width: 38px;
  height: 38px;
}
button.footer-signup {
  border-radius: 0;
  line-height: 28px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 40px;
  height: 40px;
  background-color: var(--bs-green);
  border-color: var(--bs-green);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-left: 30px;
  padding: 25px 0;
  color: #000;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #12603b;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}
.logo {
  max-width: 120px;
}
.footer-logo {
  max-width: 100px;
  margin: 0 0 1rem 0;
}
.bg-light {
  background-color: #e1ece6 !important;
}

/* Service tab start */
.tab-button {
  cursor: pointer;
  padding: 1rem;
  border: none;
  width: 100%;
  text-align: left;
  background: white;
  font-size: 1.1rem;
}

.tab-button.active {
  background-color: #eee;
  color: var(--bs-green);
  font-weight: 500;
}

.tab-content-item {
  display: none;
}

.tab-content-item.active {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.arrow {
  font-size: 1.2rem;
  color: var(--bs-green);
  display: inline-block;
  font-weight: 600;
}
.service-box {
  background-color: #f8f8f8;
  padding: 6px 1rem;
  color: #000;
  width: calc(50% - 0.5rem);
  border-radius: 5px;
  justify-content: space-between;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Add a ::after pseudo-element for animated bottom border */
.service-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: var(--bs-green); /* Yellow border */
  transition: width 0.3s ease-in-out;
}

.service-box:hover::after {
  width: 100%;
}
.service-bab-border-right {
  border-right: 5px solid var(--bs-green);
  padding: 0;
}
/* Service tab end */

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 25px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: start;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--bs-green);
  border: 15px solid var(--bs-green);
  border-radius: 50px;
}
.bg-primary {
  background-color: var(--bs-green);
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-width: 12px;
  }
  .service-box {
    width: calc(100% - 0.5rem);
  }
}

.page-header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}
.align-items-start {
  color: #000;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/* Welcome section YouTube video - same size as image, responsive */
.welcome-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
@media (min-width: 992px) {
  .welcome-video-wrap {
    height: 400px;
    min-height: 400px;
    aspect-ratio: auto;
  }
}
.welcome-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*** Facts ***/
.facts-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
}

.facts-overlay h1 {
  font-size: 100px;
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
  color: var(--primary) !important;
}

/*** Service ***/
.service-text::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: var(--primary);
  opacity: 0;
  transition: 0.5s;
}

.service-item:hover .service-text::before {
  height: 100%;
  opacity: 1;
}

.service-text * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover .service-text * {
  color: #009145;
}

/*** Appointment ***/
.appointment {
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url(../img/carousel-2.jpg) center center no-repeat;
  background-size: cover;
}

/*** Team ***/
.team-text {
  position: absolute;
  width: 75%;
  bottom: 30px;
  left: 0;
  transition: 0.5s;
}

.team-item:hover .team-text {
  width: 100%;
}

.team-text * {
  transition: 0.5s;
}

.team-item:hover .team-text * {
  letter-spacing: 2px;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: var(--primary);
}
p {
  color: #444;
}
/*** Footer ***/
.footer {
  background-color: #e1ece6;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #444;
  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: #999999;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: #8d9297;
  letter-spacing: 1px;
  box-shadow: none;
}

.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);
}
.footer h4.text-light.mb-4 {
  color: #444 !important;
}
/* Make navbar fixed and animate slide */
.animated-navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1055;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.hero-section {
  background-color: #f8f9fa;
  padding: 100px 0;
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}
.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}
.feature-box {
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  height: 100%;
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.team-member {
  text-align: center;
  margin-bottom: 30px;
}
.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 5px solid #f8f9fa;
}
.member-position {
  font-weight: 500;
}
.compliance-badge {
  height: 60px;
  margin: 10px;
}

/* Animate collapse menu */
@media (max-width: 991.98px) {
  .mobile-slide.collapse:not(.show) {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }

  .navbar-nav .nav-link:hover {
    background: #f8f8f8;
  }
}

/* Custom styles for the banner section */
.banner-container-service {
  position: relative;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  overflow: hidden;
}

.banner-container-service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
}

.banner-container-service {
  z-index: 2;
}

.page-header {
  background: linear-gradient(90deg, #1f8241, #037c70);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  margin-top: 5rem;
}

/* Equal top and bottom space for banner heading and subheading */
.page-header .container.text-center {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  color: #fff;
}
.service-fixed-bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background-repeat: no-repeat;
  background-position: center left;
  z-index: -1;
  opacity: 0.7;
}

.banner-subtitle {
  font-size: 1.25rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
}
.marketing-Strategies-imag {
  max-width: 150px;
  max-height: 150px;
  width: 100%;
}
.testimonial-home {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}
.marketing-Strategies-imag {
  width: 100%;
  max-width: 130px;
  margin: auto;
  display: block;
  object-fit: contain;
}

.logo-slider {
  overflow: hidden;
  width: 100%;
  background: #fff;
}

.logo-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll-right 20s linear infinite;
}

.logo-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* smooth left → right */
@keyframes scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 95px; /* moved up so it won't overlap back-to-top */
  right: 22px;
  background: #25d366;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  font-size: 22px; /* smaller icon */
  line-height: 40px;
  z-index: 9999;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  color: #fff;
  transform: scale(1.08);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .banner-container-service {
    height: 350px;
  }

  .banner-title {
    font-size: 2.2rem;
  }

  .banner-subtitle {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .banner-container-service {
    height: 300px;
  }

  .banner-title {
    font-size: 1.8rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .banner-overlay {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .banner-container-service {
    height: 250px;
  }

  .banner-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .banner-subtitle {
    font-size: 0.9rem;
  }

  .banner-overlay {
    padding: 10px;
  }
}
