/* SOLUTIONS PAGE STYLES */

/* ── Service Overview Cards ───────────────────────── */
.svc-overview-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.svc-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
  color: inherit;
  text-decoration: none;
}
.svc-ov-icon {
  width: 70px; height: 70px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.svc-ov-title {
  font-size: 15px; font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.svc-ov-desc {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.7; margin: 0;
}

/* ── Split Section Layout ─────────────────────────── */
.svc-split {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 40px rgba(0,0,0,0.09);
}
.svc-split-img {
  flex: 0 0 44%;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.svc-split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Image placeholder */
.img-placeholder {
  width: 100%; height: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, #e8f0f8 0%, #d0dde8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px dashed #a8bcce;
}
.img-placeholder i { font-size: 44px; color: #8aa5bc; }
.img-placeholder span { font-size: 13px; font-weight: 600; color: #8aa5bc; letter-spacing: .5px; }
.svc-split-body {
  flex: 1;
  background: #fff;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-split.reverse .svc-split-img { order: 2; }
.svc-split.reverse .svc-split-body { order: 1; }

.svc-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 16px; width: fit-content;
}
.svc-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800; color: var(--navy);
  line-height: 1.2; margin-bottom: 14px;
}
.svc-divider {
  height: 3px; width: 48px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.svc-desc {
  font-size: 14px; color: #555;
  line-height: 1.85; margin-bottom: 24px;
}
.svc-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.svc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: #444; line-height: 1.6;
}
.svc-list li i {
  font-size: 13px; margin-top: 3px; flex-shrink: 0;
}

/* Client badges */
.client-badges {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.client-badge {
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 8px;
  background: var(--light-gray);
  color: var(--text-muted);
}

/* ── Flip Cards (Learning Center) ────────────────── */
.flip-card {
  perspective: 1000px;
  height: 340px;
}
.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.65s cubic-bezier(.4,0,.2,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* FRONT — image + title bar */
.flip-card-front {
  background: #e8eff5;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}
.flip-card-front .fc-img {
  flex: 1;
  overflow: hidden;
}
.flip-card-front .fc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.flip-card-front .fc-img .img-placeholder {
  height: 100%; min-height: unset;
  border: none; border-radius: 0;
}
.flip-card-front .fc-label {
  padding: 16px 20px;
  background: #fff;
  border-top: 3px solid var(--teal-dark);
}
.flip-card-front .fc-label h5 {
  font-size: 13.5px; font-weight: 800;
  color: var(--navy); margin: 0;
  line-height: 1.35;
}
.flip-card-front .fc-hint {
  font-size: 11px; color: var(--teal-dark);
  font-weight: 600; margin-top: 4px;
  display: flex; align-items: center; gap: 5px;
}
/* BACK — info */
.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, var(--teal-dark) 0%, #002B5E 40%, var(--navy-mid) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.flip-card-back h5 {
  font-size: 14px; font-weight: 800;
  color: #fff; margin-bottom: 14px;
  line-height: 1.3;
}
.flip-card-back p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.75; margin: 0;
}
.flip-card-back .fc-back-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 12px;
}

.training-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ── R&D Cards ────────────────────────────────────── */
.rnd-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.rnd-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.13); }
.rnd-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.rnd-card-img img { width:100%; height:100%; object-fit:cover; }
.rnd-card-img .img-placeholder { min-height: 200px; border: none; }
.rnd-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(0,0,0,0.55); color: #fff;
  backdrop-filter: blur(4px);
}
.rnd-card-body { padding: 24px 22px; }
.rnd-card-body h5 {
  font-size: 15px; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}
.rnd-card-body p {
  font-size: 13px; color: #666;
  line-height: 1.75; margin: 0;
}
.rnd-first {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  color: var(--gold); background: rgba(249,163,48,0.12);
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 10px; letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Joint Venture ───────────────────────────────── */
.jv-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 36px 32px;
  transition: background .3s;
}
.jv-card:hover { background: rgba(255,255,255,0.12); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 991px) {
  .svc-split { flex-direction: column; }
  .svc-split-img { flex: none; min-height: 280px; }
  .svc-split.reverse .svc-split-img { order: 0; }
  .svc-split.reverse .svc-split-body { order: 1; }
  .svc-split-body { padding: 32px 28px; }
}
@media (max-width: 576px) {
  .svc-split-body { padding: 24px 20px; }
}

/* ── Our Facilities (removed) ────────────────────── */
.facilities-heading {
  font-size: 26px;
  font-weight: 800;
  color: #1a2a3a;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.facilities-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, #1a5276, #2e86c1);
  border-radius: 2px;
}

/* Main slide container */
.fac-slider { user-select: none; }

.fac-main {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1220;
}

/* Slides */
.fac-slides { width: 100%; height: 100%; }

.fac-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.fac-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

/* Label on slide */
.fac-slide-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(8, 16, 32, 0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  letter-spacing: 0.2px;
}

/* Arrows */
.fac-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, transform 0.25s;
}
.fac-arrow:hover {
  background: rgba(26, 82, 118, 0.85);
  transform: translateY(-50%) scale(1.08);
}
.fac-prev { left: 18px; }
.fac-next { right: 18px; }

/* Counter badge */
.fac-counter {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(8,16,32,0.65);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* Thumbnail strip */
.fac-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.fac-thumbs::-webkit-scrollbar { display: none; }

.fac-thumb {
  flex: 0 0 calc(20% - 8px);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
  background: #0a1220;
}
.fac-thumb:hover { transform: translateY(-2px); }
.fac-thumb.active { border-color: #2e86c1; }

.fac-thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
  transition: filter 0.25s;
}
.fac-thumb.active img,
.fac-thumb:hover img { filter: brightness(1); }

.fac-thumb span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  text-align: center;
  padding: 5px 4px 6px;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s;
}
.fac-thumb.active span { color: #1a5276; }

/* Responsive */
@media (max-width: 767px) {
  .fac-main { height: 260px; }
  .fac-thumb { flex: 0 0 calc(33.33% - 8px); }
  .fac-thumb img { height: 60px; }
  .fac-slide-label { font-size: 12px; padding: 6px 14px; bottom: 14px; left: 14px; }
  .fac-arrow { width: 36px; height: 36px; font-size: 13px; }
}
