/* preloader */

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Nav Start  ================================================ */

.sticky-header.stuck {
  top: 5px;
  left: 0px;
  right: 0px;
  z-index: 999;
  position: fixed;
  padding: 13px 0px;
  margin: 0px 10px 0px 10px;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.423) 0%,
      rgba(255, 255, 255, 0.65) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInDown 0.5s ease-in-out;
  transition: all 0.3s ease;
  border-radius: 20px;
  border: 1.5px solid white;
}

.card.bg-light {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.bg-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Nav End  ================================================ */

/* Home Slider Start  ================================================ */



.child-image img {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.child-image img {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.glossy-image {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glossy-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.1) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: shine 2s infinite linear;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

.glosy-testimonial {
  position: relative;
  /* needed for pseudo element */
  /* background: rgba(255, 255, 255, 0.08); */
  border-radius: 24px;
  backdrop-filter: blur(14px);
  /* -webkit-backdrop-filter: blur(14px); */
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); */
  padding: 3rem 2rem;
  margin: 0px 0;
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  /* clip background */
  z-index: 0;
  max-width: 1500px;
}

.glosy-testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: url('/assets/images/our-works/our-works (11).webp') center/cover no-repeat; */
  /* filter: blur(1px) brightness(0.5); */
  z-index: -1;
  border-radius: 24px;
  /* Optional: reduce background opacity with an overlay */
  /* background-color: rgba(0, 0, 0, 0.2); */
  color: white;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating-img {
  animation: floatImage 4s ease-in-out infinite;
  transition: transform 0.3s ease-in-out;
}

/* Home Slider End  ================================================ */

/* portfolio Start ================================================*/


.swiper-button-prev {}

.portfolio-swiper {
  padding: 20px 0;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.blog-fullimage.add-effect::before {
  top: 50%;
  left: 50%;
  width: 0%;
  height: 85%;
  z-index: 1;
  content: "";
  position: absolute;
  transition: all 0.3s ease-in-out;
  transform: translate(-50%, -50%);
  border-radius: 20px;

  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(3px);

}

.portfolio-fullimage.add-effect::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 90%;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
  border-radius: 20px;

  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.126),
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(8px);
  pointer-events: none;
}

/* portfolio end ================================================*/



/* Our Product Categories start ================================================ */

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 20px;
}

.carousel {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 auto;
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 0 15px;
  background: linear-gradient(145deg, #d5d3d3, #737373);
  border-radius: 20px;
  opacity: 0.4;
  transform: scale(0.8);
  transition: transform 0.5s ease, opacity 0.5s ease, background 0.5s ease;
  color: #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.carousel-item.active {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(145deg, #d5d3d3, #5b5b5b);
}


.carousel-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}


.nav.prev {
  left: 0;
}

.nav.next {
  right: 0;
}

.dots {
  display: none;
  text-align: center;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  margin: 0 5px;
  display: inline-block;
  cursor: pointer;
}

.dot.active-dot {
  background: #a6a6a6;
}

.hover-box {
  position: relative;
  display: inline-block;
}

.hover-box img {
  width: 300px;
  /* or your preferred size */
  transition: opacity 0.1s ease;
}

.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(92, 87, 87);
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  font-size: 1.2rem;
  pointer-events: none;
}

.hover-box:hover img {
  opacity: 0.3;
}

.hover-box:hover .hover-text {
  opacity: 1;
}

/* Our Product Categories end ================================================ */

/* Why Choise Us Start ================================================*/


.why-choose-section {
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.why-choose-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}


.glass-card {
  background: transparent;
  border-radius: 20px;
  padding: 35px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Why Choise Us end ================================================*/

/* FAQ Start ================================================*/
*/ .glossy-faq-bg {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}


.accordion-item {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 30px;

}


.accordion-button {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px !important;
  font-weight: 600;
  color: #0d1b2a;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}


.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06);
  color: #000;
}


.accordion-body {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 20px;
  padding: 1rem;
  color: #111;
}


.accordion-button:focus,
.accordion-button:focus-visible {
  outline: none;
  box-shadow: none;
}

.glossy-faq-border {
  height: 2px;
  margin: 30px 0;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.5),
      transparent);
  border-radius: 2px;
  filter: blur(0.8px);
  animation: borderGlow 3s infinite alternate;
}


@keyframes borderGlow {
  0% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
    box-shadow: 0 1px 15px rgba(255, 255, 255, 0.3);
  }
}

/* FAQ End ================================================*/


/* why-choose-section */

/* CARD Start ================================================*/

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.glossy-card {
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glossy-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
  transform: rotate(25deg);
}

.glossy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.glossy-card h3 {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 10px;
}

.glossy-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* CARD End ================================================*/



/* Footer Start ================================================*/

footer {
  margin: 0 20px 20px 20px;
  padding: 200px 0;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: #007bff;
}

/* Footer End ================================================*/


/* ---------- For Global Codes ------------ */

/* .custom-padding{
    margin: 100px;
} */

@media (max-width: 576px) {
  /* #slider-section {
    margin: 10px 11px 10px 10px;
  } */

  .slider-section .item .row {
    flex-direction: column;
    text-align: center;
  }

  .slider-section .item .col-7 {
    width: 100%;
    padding: 20px 15px;
  }

  .slider-content h3,
  .slider-content p,
  .slider-content a {
    text-align: center;
  }

  .mobile-small-img {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .slider-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .absolute-social-wrap {
    text-align: center;
  }

}

.custom-banner-img-1 {
  background-image: url('../images/banner/banner-img-by-albums-zg-1.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Mobile-specific styles for .custom-banner-img-1 */
@media (max-width: 576px) {

  .custom-banner-img-1,
  .custom-banner-img-2,
  .custom-banner-img-3 {
    background-image: url('https://static.vecteezy.com/system/resources/thumbnails/001/874/132/small_2x/abstract-geometric-white-background-free-vector.jpg') !important;
  }
}


.custom-banner-img-2 {
  background-image: url('../images/banner/banner-img-by-albums-zg-2.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  /* Adds a subtle depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Optional: Add a hover effect */
  cursor: pointer;
}

.custom-banner-img-3 {
  background-image: url('../images/banner/banner-img-by-albums-zg-3.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  /* Adds a subtle depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* Optional: Add a hover effect */
  cursor: pointer;
}


/* Make image smaller and centered on small screens */
.slider-img {
  max-width: auto;
  height: 400px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 768px) {
  .slider-img {
    max-width: 100%;
    margin: 0;
  }


}


/* ================= */


.custom-slider-wrapper {
  position: relative;
  width: 100%;
  /* max-width: 1000px; */
  margin: auto;
  padding: 40px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.custom-card-slider {
  display: flex;
  gap: 20px;
  padding: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.custom-card-slider::-webkit-scrollbar {
  display: none;
}

.custom-card {
  flex: 0 0 auto;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  scroll-snap-align: center;
  text-align: center;
  line-height: 150px;
  font-weight: bold;
  color: #333;
  transition: transform 0.3s;
}



.gallery-tabs {
  width: 100%;
  max-width: 1800px;
}

.tab-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-toggle {
  background: #e0e0e0;
  border: none;
  padding: 0.5rem 1.7rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-toggle:hover {
  background: #ccc;
}

.tab-toggle.active {
  background-color: #040404;
  color: white;
  font-weight: bold;
}

.tab-panel {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  width: 100%;
}

.tab-panel.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 columns */
  grid-auto-rows: 350px;
  /* taller rows */
  gap: 1.2rem;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
}

/* Responsive flex direction for footer */
@media (max-width: 991.98px) {
  .footer-flex-row {
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-flex-row>div {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Style for swiper cards example */
.whyChooseSwiperCards {
  width: 350px;
  height: 520px;
  max-width: 100%;
  background: transparent;
}

.whyChooseSwiperCards .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  width: 100%;
  height: 100%;
  box-shadow: 0 2px 16px 0 rgba(44, 123, 235, 0.08) !important;
  font-size: 2rem;
  transition: box-shadow .2s;
}

.whyChooseSwiperCards .swiper-slide span {
  user-select: none;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .07);
}

.why-choose-us-medical {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
}

.why-choose-title {
  color: #23272b;
  font-size: 2.2rem;
  line-height: 1.16;
  letter-spacing: -0.5px;
}

.why-choose-title .highlight {
  color: #000000;
  font-weight: 800;
}

.why-choose-accent {
  color: #000000;
  letter-spacing: 1.5px;
  background: #eaf4fc;
  border-radius: 8px;
  padding: 4px 14px 4px 9px;
}

.feature-card {
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #eff2fa;
  background: #fff;
}

.feature-card:hover {
  box-shadow: 0 8px 32px 0 rgba(44, 123, 235, 0.14);
  transform: translateY(-4px) scale(1.025);
  z-index: 2;
}

.icon-box {
  background: linear-gradient(135deg, #eaf4fc 60%, #f5f8fb 100%);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.35rem;
  box-shadow: none;
  border: 1px solid #e1e1f2;
}

.feature-card .text-primary,
.icon-box .text-primary {
  color: #2397e8 !important;
}

.swiper.mySwiper {
  border-radius: 1.5rem !important;
  overflow: hidden;
}

.why-choose-img-slider {
  max-width: 820px;
}

@media (max-width: 991.98px) {
  .why-choose-us-medical {
    flex-direction: column;
    padding-top: 2rem !important;
    min-height: unset;
  }

  .why-choose-us-medical .row {
    flex-direction: column-reverse;
  }

  .why-choose-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 767.98px) {

  .why-choose-us-medical .col-lg-7,
  .why-choose-us-medical .col-lg-5 {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }

  .why-choose-title {
    font-size: 1.1rem !important;
  }

  .feature-card {
    flex-direction: row;
    padding: 1.2rem 1rem;
  }

  .why-choose-img-slider {
    max-width: 98vw;
  }
}