/* Home Page Specific Styles */

#hero {
    position: relative;
    height: 80vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-brand-dark);
}

#hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    mix-blend-mode: overlay;
    object-position: top;
}

#hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(27, 30, 38, 0.9) 0%, rgba(10, 25, 47, 0.4) 50%);
}

#hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 var(--space-xl);
    color: var(--color-white);
}

#hero .hero-content .badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    color: var(--color-blue-300);
}

#hero h1 {
    margin-bottom: var(--space-md);
}

#hero h1 span {
    display: block;
    background: linear-gradient(to right, var(--color-blue-400), var(--color-teal-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero p {
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
}

#accreditations {
    position: relative;
    z-index: 20;
    margin-top: -3rem;
    margin-left: var(--space-xl);
    margin-right: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-white);
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

#accreditations .stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-brand-gray);
    font-weight: 500;
    font-size: 0.875rem;
}

#accreditations .stat-item i {
    font-size: 1.5rem;
    color: var(--color-brand-blue);
}

/* Logo Swiper Styles */
.logoSwiper {
    padding: 20px 0;
    width: 100%;
}

.logoSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logoSwiper .swiper-slide img {
    max-width: 160px;
    height: auto;
    width: auto;
}


#accreditations .divider {
    width: 1px;
    height: 1.5rem;
    background: var(--color-soft-gray);
}

@media (max-width: 768px) {
    #accreditations .divider {
        display: none;
    }
    #hero {
        height: 70vh;
    }
    #accreditations {
        margin-top: -1rem;
    }
}

.testimonialSwiper .swiper-slide .testimonial-container{ 
    height: 320px !important; 
} 

/*--------------new banner slider ---------*/ 

.fs-root {
  position: relative;
  width: 100%;
  min-height: 90vh;
  height: 90vh;

  overflow: hidden;

}

/* BG IMAGE */
.fs-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fs-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fs-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgb(0 37 90) 0%, rgb(0 0 0 / 0%) 50%, rgb(0 0 0 / 0%) 100%);
}

/* CONTENT */
.fs-content {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: min(440px, 40%);
}

.fs-num {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
  display: block;
  font-weight: 500;
}

.fs-title {

  font-size: clamp(36px, 5vw, 60px);
  color: #fff;
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.fs-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  max-height: 110px;
  overflow-y: auto;
  padding-right: 6px;
}

.fs-desc::-webkit-scrollbar {
  width: 3px;
}

.fs-desc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* PROGRESS BAR */
.fs-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  z-index: 20;
  width: 0%;
}

/* THUMB TRACK WRAPPER */
.fs-thumb-outer {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(620px, 52%);
  z-index: 15;
  padding-bottom: 16px;
  margin-bottom: 40px; ;
}

/* ARROWS */
.fs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.25s;
  user-select: none;
  line-height: 1;
}

.fs-arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.fs-arrow-left {
  left: 4px;
}

.fs-arrow-right {
  right: 4px;
}

/* THUMB SCROLL TRACK */
.fs-thumb-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 36px 0 36px;
}

.fs-thumb-track::-webkit-scrollbar {
  display: none;
}


/* CARD */
.fs-card {
  flex: 0 0 140px;
  width: 140px;
  height: 185px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(.22, 1, .36, 1), border-color 0.3s;
  position: relative;
  background: #111;
}

.fs-card.active {
  transform: translateY(-12px);
  border-color: rgba(255, 255, 255, 0.4);
}

.fs-card:hover:not(.active) {
  transform: translateY(-5px);
}

.fs-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}

.fs-card:hover img {
  transform: scale(1.06);
}

.fs-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.fs-card-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

.fs-card-info span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
  font-weight: 500;
  text-transform: uppercase;
}

.fs-card-info h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* DOTS */
.fs-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  left: 5%;
  bottom: 22px;
  z-index: 15;
}

.fs-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s;
  cursor: pointer;
}

.fs-dot.active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}

/* MOBILE */
@media(max-width:700px) {
  .immersive-visual {
    display: none;
  }

  .brand-hero-section {
    height: 70vh !important;
  }

  .fs-root {
    height: auto;
    min-height: 70vh;
    padding-bottom: 215px;
  }

  .fs-content {
    left: 0;
    right: 0;
    width: 100%;
    top: auto;
    bottom: 200px;
    transform: none;
    padding: 0 20px;
  }

  .fs-thumb-outer {
    width: 100%;
    left: 0;
    right: 0;
    padding-bottom: 12px;
  }

  .fs-thumb-track {
    padding: 0 32px;
  }

  .fs-card {
    flex: 0 0 110px;
    width: 110px;
    height: 148px;
    border-radius: 14px;
  }

  .fs-card.active {
    transform: translateY(-7px);
  }

  .fs-dots {
    bottom: 12px;
  }

  .fs-title {
    font-size: 34px;
    word-break: keep-all;
  }
  
  /* Hospital Slider - Hide on Mobile */
  @media (max-width: 768px) {
    .hospitalSwiper {
      display: none !important;
    }
    /* Make content take full width on mobile when slider is hidden */
    #hospital > div > div:first-child {
      width: 100% !important;
    }
  }
  
  /* Hospital Slider Responsive Fix (for larger screens) */
  .hospitalSwiper {
    width: 100%;
  }
  .hospitalSwiper .swiper-wrapper {
    height: auto !important;
  }
  .hospitalSwiper .swiper-slide {
    height: auto !important;
  }
  .hospitalSwiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  /* CTA Ribbon Padding for Mobile */
  #cta-ribbon {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Testimonial & Hospital Arrows Fix */
  .testimonialSwiper .swiper-button-next,
  .testimonialSwiper .swiper-button-prev,
  .hospitalSwiper .swiper-button-next,
  .hospitalSwiper .swiper-button-prev {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Hide Swiper's default pseudo-element arrows */
  .testimonialSwiper .swiper-button-next::after,
  .testimonialSwiper .swiper-button-prev::after,
  .hospitalSwiper .swiper-button-next::after,
  .hospitalSwiper .swiper-button-prev::after {
    content: "";
  }
  /* Ensure Swiper arrows are visible on all screen sizes */
  @media (max-width: 768px) {
    .testimonialSwiper .swiper-button-next,
    .testimonialSwiper .swiper-button-prev,
    .hospitalSwiper .swiper-button-next,
    .hospitalSwiper .swiper-button-prev {
      width: 40px;
      height: 40px;
    }
  }
}