/*=============================
Carousel Section Styling
=============================== */
/* Ensures full height across all screen sizes */
#aboutUs-hero-carousel {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.aboutUs-carousel-wrapper,
#aboutUs-homeCarousel,
.carousel-inner,
.carousel-item {
  height: auto !important;
  max-height: auto !important;
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

/* Picture tag and image take full space */
.carousel-item picture,
.carousel-item img {
  width: 100%; /* 👈 full width */
  height: auto; /* 👈 height auto so image ratio stay same */
  object-fit: unset; /* 👈 no cropping */
  object-position: center;
  display: block;
}

/* Smooth transition effect for carousel */
.aboutUs-carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Carousel controls - next/prev buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  padding: 20px;
  border-radius: 50%;
}

/* Indicators (dots) styling */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.7;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #ff5555;
}

.aboutUs-carousel-item video {
  height: 100vh;
  width: 100vw;
  object-fit: contain;
}

@media (max-width: 767px) {
  .aboutUs-carousel-wrapper,
  #aboutUs-homeCarousel,
  .aboutUs-carousel-inner,
  .aboutUs-carousel-item {
    height: calc(100vh - 70px); /* 👈 header height minus */
    max-height: calc(100vh - 70px);
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background-color: papayawhip;
  }

  .aboutUs-carousel-item picture,
  .aboutUs-carousel-item img {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 70px); /* 👈 mobile pe bhi reserve */
    object-fit: contain;
    object-position: center;
    display: block;
  }

  body {
    overflow-x: hidden;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  #aboutUs-hero-carousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
/*=============================
Carousel Section Styling
=============================== */
/* Ensures full height across all screen sizes */
#aboutUs-hero-carousel {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.aboutUs-carousel-wrapper,
#aboutUs-homeCarousel,
.carousel-inner,
.carousel-item {
  height: auto !important; /* 👈 fix height hatao */
  max-height: none !important;
  overflow: hidden;
  position: relative;
  background-color: #fff;
}

/* Picture tag and image take full space */
.carousel-item picture,
.carousel-item img {
  width: 100%; /* 👈 full width */
  height: auto; /* 👈 height auto so image ratio stay same */
  object-fit: unset; /* 👈 no cropping */
  object-position: center;
  display: block;
}

/* Smooth transition effect for carousel */
.aboutUs-carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Carousel controls - next/prev buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  padding: 20px;
  border-radius: 50%;
}

/* Indicators (dots) styling */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.7;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #ff5555;
}

.aboutUs-carousel-item video {
  height: 100vh;
  width: 100vw;
  object-fit: contain;
}

/* Desktop carousel only */
#aboutUs-carousel-desktop {
  display: block;
}

@media (max-width: 767px) {
  #aboutUs-carousel-desktop {
    display: none !important;
  }
}

/* Mobile carousel only */
#aboutUs-carousel-mobile {
  display: none;
}

@media (max-width: 767px) {
  #aboutUs-carousel-mobile {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .aboutUs-carousel-wrapper,
  #aboutUs-homeCarousel,
  .aboutUs-carousel-inner,
  .aboutUs-carousel-item {
    height: calc(100vh - 70px); /* 👈 header height minus */
    max-height: calc(100vh - 70px);
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background-color: papayawhip;
  }

  .aboutUs-carousel-item picture,
  .aboutUs-carousel-item img {
    width: 100%;
    height: auto;
    min-height: calc(100vh - 70px); /* 👈 mobile pe bhi reserve */
    object-fit: contain;
    object-position: center;
    display: block;
  }

  body {
    overflow-x: hidden;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  #aboutUs-hero-carousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
