/********** Template CSS **********/
.body-bg-color-1 {
  position: relative;
  background-color: #0a0c09;
  /* background-color: #0f2447 ; */
}
.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}
/*----------------------------------------------
	34. Preloader CSS
----------------------------------------------*/
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px; /* Similar to Bootstrap’s g-1 */
}

.gallery-grid .gallery-item {
  width: 30%; /* 5 columns = 100 / 5 */
}
.footer-gallery-img {
  flex: 1 1 calc(20% - 10px);
  max-width: calc(20% - 10px);
}

.footer-gallery-img img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .footer-gallery-img {
    flex: 1 1 48%;
    max-width: 48%;
  }
}
.gallery-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.offwrap {
  cursor: url(../img/Logo.png), auto;
  width: 100%;
  left: 100%;
  transition: all 0.8s ease-out 0s;
  position: fixed;
  background: #000000;
  height: 100vh;
  top: 0;
  bottom: 0;
  opacity: 0.8;
  z-index: 999;
}
#pre-load {
  background-color: #000000;
  height: 100%;
  width: 100%;
  position: fixed;
  margin-top: 0px;
  top: 0px;
  z-index: 9999;
}
.loader .loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 3px solid #ebebec;
  border-radius: 50%;
}
.loader .loader-container:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-top: 3px solid #ffb703;
  border-radius: 50%;
  animation: loaderspin 1.8s infinite ease-in-out;
  -webkit-animation: loaderspin 1.8s infinite ease-in-out;
}
.loader .loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  text-align: center;
}
.loader .loader-icon img {
  animation: loaderpulse alternate 900ms infinite;
  width: 40px;
}
.contact-details {
  background: #000;
}
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.bg-light {
  background-color: #f8f9fa !important;
}

/* Ensures the logo fits 120px in height */
.logo-img {
  height: 60px;
  width: auto; /* Maintains the aspect ratio */
}
video.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.fw-medium {
  font-weight: 600;
}
.equal-image-box {
  width: 100%;
  aspect-ratio: 1 / 1; /* Makes square container */
  overflow: hidden;
  position: relative;
}

.equal-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mt-6 {
  margin-top: 5rem;
}

.mb-6 {
  margin-bottom: 5rem;
}

.pt-6 {
  padding-top: 5rem;
}

.pb-6 {
  padding-bottom: 5rem;
}

/*** 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 {
  transition: 0.5s;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
  background-color: #000000;
  color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: #fcd315;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-xl-square {
  width: 60px;
  height: 60px;
}

.btn-xxl-square {
  width: 75px;
  height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: var(--bs-dark);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel .carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  text-align: left;
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem;
  padding-left: 11rem;
  z-index: 1;
}

.carousel .carousel-indicators {
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 80px;
  flex-direction: column;
  margin: 0;
  margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
  width: 70px;
  height: 70px;
  text-indent: 0;
  margin: 5px 0;
  border: 2px solid #ffffff;
  overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .carousel .carousel-item {
    position: relative;
    min-height: 600px;
  }

  .carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
  }

  .carousel .carousel-caption {
    padding-left: 10rem;
  }
}

@media (max-width: 768px) {
  .carousel .carousel-item {
    min-height: 500px;
  }

  .carousel .carousel-indicators [data-bs-target] {
    width: 50px;
    height: 50px;
  }

  .carousel .carousel-caption {
    padding-left: 9rem;
  }
}

@media (min-width: 1200px) {
  .carousel .carousel-item .display-1 {
    font-size: 3rem;
  }
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

/*** About ***/
.about-img {
  position: relative;
  padding-left: 45px;
}

.about-img::before {
  position: absolute;
  content: "";
  width: 200px;
  height: 300px;
  top: 0;
  left: 0;
  border: 5px solid var(--bs-primary);
  animation: animateUpDown 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes animateUpDown {
  0% {
    top: -25px;
  }
  50% {
    top: -45px;
  }
  100% {
    top: -25px;
  }
}

/*** Features ***/
.feature {
  background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 1) 50%
    ),
    url(../img/carousel-1.jpg) left center no-repeat;
  background-size: cover;
}

.feature-row {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.feature-item {
  border-color: rgba(0, 0, 0, 0.03) !important;
}

.feature-icon {
  position: relative;
  transition: 0.5s;
}

.feature-item:hover .feature-icon {
  margin-left: 3rem;
}

.feature-item a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background: var(--bs-secondary);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.feature-item a:hover {
  color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
  background: var(--bs-primary);
}

.experience .progress {
  height: 5px;
}

.experience .progress .progress-bar {
  width: 0px;
  transition: 3s;
}

/* ** Service **
.service .service-item {
  position: relative;
  margin-top: 45px;
}

.service .service-inner {
  position: relative;
  height: 100%;
  margin-top: 45px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.service .service-inner::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: 1s;
  background: var(--bs-primary);
}

.service .service-inner:hover::before {
  height: 100%;
  top: 0;
}

.service .service-item img {
  margin-top: -45px;
  padding-left: 45px;
}

.service .service-item * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
  color: var(--bs-white);
}

.service .service-item:hover a {
  padding-left: 45px !important;
} */

/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
  position: relative;
  width: 100%;
  padding: 45px 0 15px 0;
}

.service .service-item {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.service .service-img {
  position: relative;
  overflow: hidden;
}

.service .service-img img {
  width: 100%;
}

.service .service-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  transition: 0.5s;
  opacity: 0;
}

.service .service-item:hover .service-overlay {
  opacity: 1;
}

.service .service-overlay p {
  margin: 0;
  color: #ffffff;
}

.service .service-text {
  display: flex;
  align-items: center;
  height: 60px;
  background: #000000;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.service .service-text h3 {
  margin: 0;
  padding: 0 15px 0 25px;
  width: calc(100% - 60px);
  font-size: 20px;
  font-weight: 700;
  color: #fcd315;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.service .service-item a.btn {
  width: 60px;
  height: 60px;
  padding: 3px 0 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  line-height: 60px;
  font-weight: 100;
  color: #000000;
  background: #fcd315;
  border-radius: 0;
  transition: 0.3s;
}

.service .service-item:hover a.btn {
  color: #ffffff;
}

/*** Appoinment ***/
.appoinment {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/carousel-2.jpg) left center no-repeat;
  background-size: cover;
}

/*** Team ***/
.team .team-item {
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.team .team-item .team-social {
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  right: 0;
  transition: 0.5s;
  background: var(--bs-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .team-item:hover .team-social {
  width: 100%;
  left: 0;
}

.team .team-item .team-social .btn {
  opacity: 0;
  transition: 0.5s;
}

.team .team-item:hover .team-social .btn {
  opacity: 1;
}

/*** Testimonial ***/
.testimonial-img {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.testimonial-img div {
  position: absolute;
  width: 100px;
  height: 100px;
  animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0.1s;
}

.testimonial-img div:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 0.4s;
}

.testimonial-img div:nth-child(3) {
  top: 20%;
  left: 60%;
  animation-delay: 0.7s;
}

.testimonial-img div:nth-child(4) {
  bottom: 10%;
  right: 10%;
  animation-delay: 1s;
}

.testimonial-img div::after {
  position: absolute;
  content: "";
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  box-shadow: 0 0 10px 10px var(--bs-white) inset;
  z-index: 1;
}

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-nav {
  margin-top: 15px;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  color: var(--bs-primary);
  font-size: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--bs-dark);
}

/*** Contact ***/
@media (min-width: 992px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 0px;
    height: 100%;
    top: 0;
    left: 50%;
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 991.98px) {
  .contact-info::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0px;
    top: 50%;
    left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
  }
}

/*** Appoinment ***/
.newsletter {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/carousel-3.jpg) left center no-repeat;
  background-size: cover;
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--bs-secondary);
  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(--bs-primary);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  background: #222222;
}

.copyright a {
  color: var(--bs-white);
}

.copyright a:hover {
  color: var(--bs-primary);
}
