/*
 * SKR site components layered on top of the theme (style.css):
 *  - .rts-breadcrumb-area : page title strip on inner pages, restyled as a photo header
 *  - .skr-about-hero : About Us top photo slider (Views/About/Index.cshtml)
 *  - .skr-logos  : scrolling logo strip (Views/Shared/Components/LogoSlider/Default.cshtml)
 */

/* ---------- Page title strip (photo header) ----------
 * Same markup on every inner page: .rts-breadcrumb-area > .container > .breadcrumb-area-wrapper
 * Photo: images/breadcrumb/skr-page-header.jpg (lobby / building / ward collage)
 */
.rts-breadcrumb-area {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 280px;
  padding: 0 !important;
  background: #06203f url(../images/breadcrumb/skr-page-header.jpg) center / cover no-repeat !important;
}

/* soft darkening so the white title reads on any part of the photo */
.rts-breadcrumb-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6, 32, 63, 0.55) 0%, rgba(6, 32, 63, 0.25) 70%);
}

.rts-breadcrumb-area > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.rts-breadcrumb-area .breadcrumb-area-wrapper h1.title {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 64px);
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.rts-breadcrumb-area .breadcrumb-area-wrapper .nav-bread-crumb a,
.rts-breadcrumb-area .breadcrumb-area-wrapper .nav-bread-crumb i {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 767px) {
  .rts-breadcrumb-area {
    min-height: 170px;
  }

  .rts-breadcrumb-area .container.ptb--40 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

/* ---------- About Us hero slider ---------- */
.skr-about-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #06203f;
  color: #fff;
}

.skr-about-hero__swiper,
.skr-about-hero__swiper .swiper-wrapper,
.skr-about-hero__swiper .swiper-slide {
  height: 100%;
}

.skr-about-hero__photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}

/* slow "Ken Burns" zoom on the photo that is showing */
.skr-about-hero__swiper .swiper-slide-active .skr-about-hero__photo {
  animation: skr-about-zoom 7s ease-out forwards;
}

@keyframes skr-about-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}

/* deep-blue shade: darker at the bottom/centre where the text is */
.skr-about-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 32, 63, 0.35) 0%, rgba(6, 32, 63, 0.55) 55%, rgba(6, 32, 63, 0.85) 100%),
    radial-gradient(ellipse at center, rgba(6, 32, 63, 0.35) 0%, rgba(6, 32, 63, 0) 70%);
}

.skr-about-hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.skr-about-hero__content .container {
  pointer-events: auto;
}

.skr-about-hero__eyebrow {
  display: inline-block;
  padding: 7px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skr-about-hero__title {
  color: #fff;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  margin: 0 0 10px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.skr-about-hero__tagline {
  color: #8fd36a;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 26px;
}

.skr-about-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.skr-about-hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-heading-1, #111032);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.skr-about-hero__chips li i {
  color: var(--color-primary);
}

.skr-about-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.skr-about-hero__crumb a,
.skr-about-hero__crumb span,
.skr-about-hero__crumb i {
  color: rgba(255, 255, 255, 0.9);
}

.skr-about-hero__crumb i {
  font-size: 11px;
}

.skr-about-hero__crumb a:hover {
  color: #fff;
  text-decoration: underline;
}

/* slider dots */
.skr-about-hero__swiper .skr-about-hero__dots {
  z-index: 4;
  bottom: 22px;
}

.skr-about-hero__dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #fff;
  opacity: 0.55;
  transition: width 0.3s ease, opacity 0.3s ease;
}

.skr-about-hero__dots .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 6px;
  opacity: 1;
  background: #fff;
}

@media only screen and (max-width: 767px) {
  .skr-about-hero {
    height: 440px;
  }

  .skr-about-hero__eyebrow {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .skr-about-hero__tagline {
    margin-bottom: 18px;
  }

  .skr-about-hero__chips {
    gap: 8px;
    margin-bottom: 18px;
  }

  .skr-about-hero__chips li {
    padding: 7px 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skr-about-hero__swiper .swiper-slide-active .skr-about-hero__photo {
    animation: none;
  }
}

/* ---------- Scrolling logo strip ---------- */
.skr-logos {
  padding: 56px 0;
  background: linear-gradient(180deg, #f3f7fd 0%, #ffffff 100%);
}

.skr-logos__heading {
  text-align: center;
  margin-bottom: 28px;
}

.skr-logos__heading .pre {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.skr-logos__heading .title {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
}

.skr-logos__viewport {
  overflow: hidden;
  /* soft fade at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* The track holds the logo list twice; sliding it by half its width loops seamlessly */
.skr-logos__track {
  display: flex;
  width: max-content;
  animation: skr-logos-ltr var(--skr-logos-duration, 30s) linear infinite;
}

.skr-logos__viewport:hover .skr-logos__track {
  animation-play-state: paused;
}

.skr-logos__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 110px;
  margin: 0 14px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(4, 72, 174, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skr-logos__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(4, 72, 174, 0.14);
}

.skr-logos__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* left -> right */
@keyframes skr-logos-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media only screen and (max-width: 767px) {
  .skr-logos {
    padding: 40px 0;
  }

  .skr-logos__item {
    width: 160px;
    height: 84px;
    margin: 0 8px;
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skr-logos__track {
    animation: none;
  }
}
