/* ============================================================
   use-case.css — LegalAI Use Case Page Styles
   Google Font: Playfair Display (title) + DM Sans (body)
   Brand Colors:
     #93D095  — Primary Green
     #A2D99F  — Light Green
     #94A8BB  — Steel Blue / Muted
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --uc-bg:          #f5f8f5;
  --uc-bg-hero:     #1a2e1c;
  --uc-dark:        #1a2e1c;
  --uc-dark-2:      #213624;
  --uc-dark-3:      #2b4530;
  --uc-card-bg:     #ffffff;

  --uc-green:       #2374E7;
  --uc-green-light: #A2D99F;
  --uc-blue:        #94A8BB;

  --uc-accent:      #93D095;
  --uc-accent-2:    #A2D99F;
  --uc-accent-dim:  rgba(147, 208, 149, 0.15);
  --uc-accent-dim2: rgba(147, 208, 149, 0.08);

  --uc-white:       #ffffff;
  --uc-text-dark:   #011F53;
  --uc-muted:       #375281;
  --uc-muted-dark:  #5a7a6a;

  --uc-border:      rgba(147, 208, 149, 0.22);
  --uc-border-card: rgba(148, 168, 187, 0.2);

  --uc-radius:      18px;
  --uc-radius-sm:   10px;

  --uc-transition:  cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--uc-bg);
  color: var(--uc-text-dark);
  overflow-x: hidden;
}

/* ============================================================
   HERO
   ============================================================ */
.uc-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
radial-gradient(
  ellipse 90% 70% at 50% -10%,
  rgba(35,116,231,0.45),
  rgba(1,31,83,0.65)
),
url("/assets/img/hero-img/use-case-hero.webp");
background-size: cover;
background-position: center;
  margin-top: 100px;
  padding: 50px;
}

.uc-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(162,217,159,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162,217,159,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.uc-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,208,149,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.uc-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,168,187,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.uc-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.uc-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Badge */
.uc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F6F9FE;
  border: 1px solid rgba(147,208,149,0.3);
  color: #2374E7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--uc-transition) 0.2s forwards;
}

.uc-hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2374E7;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.5; }
}

/* Title */
.uc-hero__title {
  font-size: clamp(42px, 7vw, 40px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--uc-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.uc-hero__line {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.uc-hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(64px);
}

.uc-hero__word--accent {
  color: white;
  font-style: italic;
}

.uc-hero__word--rotate {
  position: relative;
  min-width: 400px;
  height: 60px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#rotatingWord {
  opacity: 1 !important;
  transform: none !important;
  position: relative;
  display: inline-block;
  height: 70px;
  overflow: hidden;
}

/* Rotating items */
.uc-rotate-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.55s ease;
}

.uc-rotate-item.active {
  opacity: 1;
  transform: translateY(0);
}

.uc-rotate-item.leaving {
  opacity: 0;
  transform: translateY(-100%);
}

.uc-hero__word.revealed {
  animation: wordReveal 0.7s var(--uc-transition) forwards;
}

@keyframes wordReveal {
  from { opacity: 0; transform: translateY(64px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Description */
.uc-hero__desc {
  font-size: 16px;
  color: white;
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.75;
}

.uc-hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--uc-transition) 1.4s forwards;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.uc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--uc-transition),
              box-shadow 0.25s var(--uc-transition),
              background 0.25s, color 0.25s;
  border: none;
}

.uc-btn--primary {
  background: #2374E7;
  color: var(--uc-white);
  box-shadow: 0 4px 20px rgba(35,116,231,0.38);
}

.uc-btn--primary:hover {
  background: #011F53;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(35,116,231,0.38);
  text-decoration: none;
}

.uc-btn__arrow {
  display: inline-block;
  animation: bounce 1.4s ease-in-out infinite;
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

.uc-btn--ghost {
  background: transparent;
  color: var(--uc-white);
  border: 1.5px solid rgba(162,217,159,0.35);
}

.uc-btn--ghost:hover {
  border-color: var(--uc-green);
  color: var(--uc-green);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ============================================================
   STATS
   ============================================================ */
.uc-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 70px;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--uc-transition) 1.6s forwards;
}

.uc-stat { text-align: center; }

.uc-stat__num {
  display: block;
  font-size: 44px;
  font-weight: 900;
  color: var(--uc-green);
  line-height: 1;
}

.uc-stat__suffix {
  font-size: 38px;
  font-weight: 900;
  color: var(--uc-green);
}

.uc-stat__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--uc-blue);
  margin-top: 5px;
}

.uc-stat__divider {
  width: 1px; height: 50px;
  background: rgba(162,217,159,0.2);
}

/* Scroll hint */
.uc-hero__scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 2.2s forwards;
  z-index: 2;
}

.uc-hero__scroll-line {
  width: 1.5px; height: 48px;
  background: linear-gradient(to bottom, var(--uc-green), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.uc-hero__scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--uc-blue);
}

/* ============================================================
   CARDS SECTION
   ============================================================ */
.uc-cards-section {
  padding: 50px 0 50px;
  background: #ffffff;
}

.uc-section-header {
  text-align: center;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}

.uc-section-header.visible {
  opacity: 1; transform: translateY(0);
}

.uc-section-header__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2374E7;
  background: #F6F9FE;
  border: 1px solid #2374E7;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.uc-section-header__title {
  font-size: 30px;
  font-weight: 900;
  color: var(--uc-text-dark);
}

.uc-section-header__sub {
  font-size: 14px;
  color: var(--uc-muted);
  margin: 0 auto;
}

/* Filter bar */
.uc-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}

.uc-filter-bar.visible { opacity: 1; transform: translateY(0); }

.uc-filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--uc-border-card);
  background: #ffffff;
  color: var(--uc-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--uc-transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.uc-filter-btn:hover {
  border-color: var(--uc-green);
  color: var(--uc-text-dark);
  background: rgba(147,208,149,0.08);
}

.uc-filter-btn.active {
  background: var(--uc-green);
  border-color: var(--uc-green);
  color: var(--uc-text-dark);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(147,208,149,0.35);
}

/* Grid */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* Card */
.uc-card {
  background: var(--uc-card-bg);
  border: 1px solid var(--uc-border-card);
  border-radius: var(--uc-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.6s var(--uc-transition),
    transform 0.6s var(--uc-transition),
    border-color 0.3s,
    box-shadow 0.3s;
}

.uc-card.visible { opacity: 1; transform: translateY(0); }

.uc-card:hover {
  border-color: var(--uc-green);
  box-shadow: 0 20px 60px rgba(35,116,231,0.18),0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-6px);
}

.uc-card.hidden { display: none; }

/* Card image */
.uc-card__image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.uc-card__image {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--uc-transition);
}

.uc-card:hover .uc-card__image { transform: scale(1.06); }

/* Image backgrounds with brand color overlays */
.uc-card__image--1 {
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=600&q=80') center/cover no-repeat;
}
/* .uc-card__image--2 {
  background: url('../img/use-case-images/litigation.svg') center/cover no-repeat;
}
.uc-card__image--3 {
  background: url('https://images.unsplash.com/photo-1523292562811-8fa7962a78c8?w=600&q=80') center/cover no-repeat;
}
.uc-card__image--4 {
  background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=600&q=80') center/cover no-repeat;
}
.uc-card__image--5 {
  background: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=600&q=80') center/cover no-repeat;
}
.uc-card__image--6 {
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=600&q=80') center/cover no-repeat;
}
.uc-card__image--7 {
  background: url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=600&q=80') center/cover no-repeat;
}
.uc-card__image--8 {
  background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=600&q=80') center/cover no-repeat;
}
.uc-card__image--9 {
  background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=600&q=80') center/cover no-repeat;
} */

/* Icon badge */
.uc-card__icon-badge {
  position: absolute;
  top: 16px; right: 16px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--uc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s, color 0.3s;
}

.uc-card:nth-child(even) .uc-card__icon-badge { color: var(--uc-blue); }
.uc-card:hover .uc-card__icon-badge { transform: scale(1.1) rotate(8deg); }

/* Card body */
.uc-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.uc-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--uc-green);
  margin-bottom: 10px;
}

.uc-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--uc-text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.uc-card__desc {
  font-size: 14px;
  color: var(--uc-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Features */
.uc-card__features {
  list-style: none;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding-bottom: 20px;
  padding-left: 0px !important;
  border-bottom: 1px solid rgba(148,168,187,0.15);
  margin-bottom: 18px;
}

.uc-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #375281;
  line-height: 1.4;
  white-space: nowrap;
}

.uc-card__features li i {
  color: var(--uc-green);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Card link */
.uc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--uc-green);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.25s, color 0.25s;
  cursor: none;
}

.uc-card__link:hover {
  gap: 14px;
  color: var(--uc-text-dark);
  text-decoration: none;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.uc-cta-band {
  background: linear-gradient(135deg, #e8f5e9 0%, #eef4f8 50%, #e8f5e9 100%);
  border-top: 1px solid rgba(147,208,149,0.3);
  border-bottom: 1px solid rgba(147,208,149,0.3);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.uc-cta-band::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,208,149,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.uc-cta-band::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148,168,187,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.uc-cta-band__inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.uc-cta-band__text h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--uc-text-dark);
  margin-bottom: 8px;
}

.uc-cta-band__text p {
  font-size: 15px;
  color: var(--uc-muted);
}

.uc-cta-band__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.uc-cta-band .uc-btn--ghost {
  color: var(--uc-text-dark);
  border-color: rgba(26,46,28,0.22);
}

.uc-cta-band .uc-btn--ghost:hover {
  border-color: var(--uc-green);
  color: var(--uc-green);
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .uc-cta-band__inner { flex-direction: column; text-align: center; }
  .uc-cta-band__actions { justify-content: center; }
  .uc-hero { margin-top: 95px;}
}

@media (max-width: 600px) {
  .uc-grid { grid-template-columns: 1fr; }
  .uc-hero__stats { flex-direction: column; gap: 24px; }
  .uc-stat__divider { width: 60px; height: 1px; }
  .uc-hero__title { font-size: 33px; }
  .uc-card__features { grid-template-columns: 1fr; }
  .uc-hero__word--rotate { min-width: 300px; }
}

/* ================================================================
  Use cases pages
================================================================ */

/* ── Body override ── */
.uc-detail-page { background: #fff; }

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.ucd-hero {
  position: relative;
  background: #89a1cb;
  overflow: hidden;
  margin: 100px 0 0px;
  padding: 60px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ucd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      ellipse 90% 70% at 50% -10%,
      rgba(35,116,231,0.45),
      rgba(1,31,83,0.65)
    );
    z-index: 1;
}

.law-firm-hero {
  background-image: url('../img/use-case-images/law-firm/hero-bg.webp');
}

.corporate-legal-hero {
  background-image: url('../img/use-case-images/corporate-legal/hero-bg.webp');
}

.litigation-hero {
  background-image: url('../img/use-case-images/litigation/hero-bg.webp');
}

.legal-service-hero {
  background-image: url('../img/use-case-images/legal-service/hero-bg.webp');
}

.financial-compliance-hero {
  background-image: url('../img/use-case-images/financial-compliance/hero-bg.webp');
}

.real-estate-hero {
  background-image: url('../img/use-case-images/real-estate/hero-bg.webp');
}

.legal-research-hero {
  background-image: url('../img/use-case-images/legal-research/hero-bg.webp');
}

.training-hero {
  background-image: url('../img/use-case-images/training/hero-bg.webp');
}

.intellectual-property-hero {
  background-image: url('../img/use-case-images/intellectual-property/hero-bg.webp');
}

/* Soft radial swirl background */
.ucd-hero__swirl {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 55% at 75% 55%,
    rgba(35,116,231,0.18) 0%,
    rgba(55,82,129,0.08) 50%,
    transparent 75%
  );
  pointer-events: none;
  animation: swirlPulse 7s ease-in-out infinite alternate;
}
@keyframes swirlPulse {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.06) rotate(5deg); }
}

/* ── Floating icon chips ── */
.ucd-chip {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: #F6F9FE;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #375281;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  animation: chipFloat 5s ease-in-out infinite;
}
.ucd-chip--green {
  background: #2374E7;
  color: #fff;
  box-shadow: 0 6px 20px rgba(35,116,231,0.38);
}

/* Positions (mirrors Image 1 exactly) */
.ucd-chip--tl { top: 100px; left: 6%;   animation-delay: 0s;    animation-duration: 5.5s; }
.ucd-chip--tr { top: 100px; right: 6%;  animation-delay: 0.7s;  animation-duration: 4.8s; }
.ucd-chip--ml { top: 46%;   left: 3%;   animation-delay: 1.1s;  animation-duration: 5.2s; }
.ucd-chip--bl { bottom: 90px; left: 10%;animation-delay: 0.4s;  animation-duration: 6s; }
.ucd-chip--br { bottom: 90px; right: 7%;animation-delay: 1.5s;  animation-duration: 5s; }

@keyframes chipFloat {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-10px) rotate(3deg); }
  66%      { transform: translateY(6px) rotate(-2deg); }
}

/* Hero inner */
.ucd-hero__inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumb */
.ucd-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #94A8BB; margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .5s ease .1s forwards;
}
.ucd-breadcrumb a { color: #93D095; text-decoration: none; font-weight: 500; }
.ucd-breadcrumb a:hover { text-decoration: underline; }
.ucd-breadcrumb i { font-size: 10px; }

/* Badge pill (green filled, like "Best Marketing Agency" in Image 1) */
.ucd-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #011F53;
  color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 7px 20px; border-radius: 50px;
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp .5s ease .25s forwards;
}
.ucd-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; opacity: .5;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.6); opacity: 1; }
}

/* Title */
.ucd-hero__title {
  font-size: 42px;
  font-weight: 900; line-height: 1.08;
  color: white;
  margin-bottom: 20px;
}

/* Animated words */
.ucd-w {
  display: inline-block;
  opacity: 0; transform: translateY(38px);
  margin-right: 10px;
}
.ucd-w--green { color: white; }
.ucd-w.on { animation: wordIn .65s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(38px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sub paragraph */
.ucd-hero__sub {
  font-size: 16px;
  color: white; max-width: 620px;
  margin: 0 auto 0px; line-height: 1.75;
}

/* CTA row */
.ucd-hero__cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp .6s ease 1.35s forwards;
}

/* Outline button for light pages */
.ucd-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px;
  border: 1.5px solid rgba(26,46,28,.2);
  color: #1a2e1c; font-size: 15px; font-weight: 600;
  text-decoration: none; background: transparent;
  transition: border-color .25s, color .25s, transform .25s;
}
.ucd-btn-outline:hover {
  border-color: #93D095; color: #93D095;
  transform: translateY(-3px); text-decoration: none;
}

/* Hero stats */
.ucd-hero__stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  opacity: 0;
  animation: fadeUp .6s ease 1.55s forwards;
}
.ucd-hstat { text-align: center; }
.ucd-hstat__n {
  display: inline-block;
  font-size: 40px; font-weight: 900; color: #1a2e1c; line-height: 1;
}
.ucd-hstat__sfx {
  font-size: 34px; font-weight: 900; color: #93D095;
}
.ucd-hstat__l {
  display: block; font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: #94A8BB; margin-top: 4px;
}
.ucd-hstat__sep {
  width: 1px; height: 44px;
  background: rgba(148,168,187,.3);
}


/* ════════════════════════════════════════════════
   FEATURES SECTION
════════════════════════════════════════════════ */
.ucd-features {
  padding: 80px 0 100px;
  background: #ffffff;
}

/* ── Generic 2-col block ── */
.ucd-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 28px;
  opacity: 0; transform: translateY(48px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.ucd-block.on { opacity: 1; transform: translateY(0); }

/* Bottom block (photo + fn list) — align items to stretch */
.ucd-block--bottom { align-items: stretch; margin-bottom: 0; }

/* Column */
.ucd-col { display: flex; flex-direction: column; height: 100%; }

/* Block title — left-aligned, like "Recruitment Process" in image */
.ucd-block__title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900; line-height: 1.15;
  color: #011F53;
  margin-bottom: 16px;
}

/* Block description */
.ucd-block__desc {
  font-size: 14.5px; color: #375281;
  line-height: 1.75; margin-bottom: 28px;
}

.ucd-ccard {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #F6F9FE;           /* off-white, matches image */
  border: 1px solid rgba(55,82,129,0.15);
  border-radius: 14px;
  padding: 22px 22px 22px 24px;
  margin-bottom: 0;

  /* animation start state */
  opacity: 0; transform: translateY(28px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1),
              transform .55s cubic-bezier(.4,0,.2,1),
              box-shadow .3s, border-color .3s;
}
.ucd-ccard--top { margin-bottom: 28px; }

.ucd-ccard.on { opacity: 1; transform: translateY(0); }

.ucd-ccard:hover {
  border-color: rgba(35,116,231,0.4);
  box-shadow: 0 8px 28px rgba(35,116,231,0.13);
}

/* Text area */
.ucd-ccard__text { flex: 1; }
.ucd-ccard__text h4 {
  font-size: 15px; font-weight: 700;
  color: #011F53; margin-bottom: 8px;
}
.ucd-ccard__text p {
  font-size: 13.5px; color: #375281;
  line-height: 1.65; margin: 0;
}

/* Green circle check — right side (exact match to image) */
.ucd-ccard__check {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #2374E7;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  font-size: 17px;
  box-shadow: 0 4px 16px rgba(35,116,231,.38);
  margin-top: 2px;
  transition: transform .3s;
}
.ucd-ccard:hover .ucd-ccard__check { transform: scale(1.1); }


/* ════════════════════════════════════════════════
   PHOTO (bottom-left of Image 2)
════════════════════════════════════════════════ */
.ucd-photo-wrap {
  height: 500px;
  position: relative;
  border-radius: 60px 0px 60px 0px;
  overflow: hidden;
  opacity: 0; transform: translateX(-32px);
  transition: opacity .7s .15s cubic-bezier(.4,0,.2,1),
              transform .7s .15s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
}
.ucd-photo-wrap.on { opacity: 1; transform: translateX(0); }

.ucd-photo {
  height: 100%;
  width: 100%;
  object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.ucd-photo-wrap:hover .ucd-photo { transform: scale(1.04); }

/* Floating badge over photo */
.ucd-photo-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #F6F9FE;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 12.5px; font-weight: 600; color: #011F53;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.ucd-photo-badge i { color: #2374E7; }

.ucd-fn-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 22px;
}

.ucd-fn {
  display: flex; gap: 16px; align-items: flex-start;
  opacity: 0; transform: translateX(28px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1),
              transform .55s cubic-bezier(.4,0,.2,1);
}
.ucd-fn.on { opacity: 1; transform: translateX(0); }

/* Green circle with diagonal arrow — exact match to image */
.ucd-fn__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #2374E7;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff;
  margin-top: 2px;
  box-shadow: 0 3px 10px rgba(35,116,231,.38);
  transition: transform .3s;
}
.ucd-fn:hover .ucd-fn__icon { transform: scale(1.12) rotate(8deg); }

.ucd-fn__text strong {
  display: block; font-size: 15px; font-weight: 700;
  color: #011F53; margin-bottom: 5px;
}
.ucd-fn__text p {
  font-size: 13.5px; color: #375281;
  line-height: 1.65; margin: 0;
}


/* ════════════════════════════════════════════════
   SHARED KEYFRAMES
════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 900px) {

  .ucd-chip--tl, .ucd-chip--tr { display: none; }
  .ucd-chip--ml { left: 1%; }
  .ucd-chip--br { right: 1%; }

  .ucd-block__desc { max-width: 100%; }
}

@media (max-width: 1200px) {
  .ucd-block,
  .ucd-block--bottom { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .ucd-hero__title { font-size: 34px; }
  .ucd-hero__stats { flex-direction: column; gap: 18px; }
  .ucd-hstat__sep { width: 48px; height: 1px; }
  .ucd-chip { display: none; }
  .ucd-photo { min-height: 220px; }
}

/* ════════════════════════════════════════════════
   LEFT SIDEBAR NAVIGATION — Use Case Detail Page
════════════════════════════════════════════════ */

.ucd-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  margin: 0 auto;
}

/* Sidebar */
.ucd-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ucd-sidebar__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #011F53;
  margin-bottom: 8px;
  padding-left: 4px;
}

/* Nav item */
.ucd-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px 0 12px 0;
  background: #F6F9FE;
  border: 1px solid transparent;
  color: #375281;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
  line-height: 1.3;
}

.ucd-nav-item i.ucd-nav-item__arrow {
  font-size: 12px;
  color: #94A8BB;
  flex-shrink: 0;
  transition: transform 0.25s, color 0.25s;
}

.ucd-nav-item:hover {
  background: #eef3fd;
  border-color: rgba(35, 116, 231, 0.2);
  color: #011F53;
  transform: translateX(3px);
  text-decoration: none;
}

.ucd-nav-item:hover i.ucd-nav-item__arrow {
  color: #2374E7;
  transform: translateX(2px);
}

/* Active state */
.ucd-nav-item.active {
  background: #2374E7;
  border-color: #2374E7;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(35, 116, 231, 0.35);
  transform: translateX(0);
}

.ucd-nav-item.active i.ucd-nav-item__arrow {
  color: rgba(255, 255, 255, 0.8);
}

/* Content area */
.ucd-content { max-height: 56rem; overflow: auto; }
.ucd-content::-webkit-scrollbar {
  display: none;             
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .ucd-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ucd-sidebar {
    position: static;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ucd-sidebar__title { width: 100%; }

  .ucd-nav-item {
    flex: 1 1 auto;
    min-width: 140px;
    font-size: 13px;
    padding: 12px 16px;
  }

  .ucd-nav-item:hover { transform: none; }
}

@media (max-width: 600px) {
  .ucd-nav-item { min-width: 100%; }
}

/* ════════════════════════════════════════════════
   NEED ANY HELP — Sidebar Card
════════════════════════════════════════════════ */
.ucd-help-card {
  margin-top: 14px;
  background: #F6F9FE;
  border: 1px solid rgba(35, 116, 231, 0.15);
  border-radius: 16px 0 16px 0;
  padding: 24px 20px;
}

.ucd-help-card__title {
  font-size: 18px;
  font-weight: 800;
  color: #011F53;
  margin-bottom: 6px;
  line-height: 1.2;
}

.ucd-help-card__sub {
  font-size: 13px;
  color: #375281;
  line-height: 1.5;
  margin-bottom: 22px;
}

.ucd-help-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ucd-help-item:last-child {
  margin-bottom: 0;
}

.ucd-help-item__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(35, 116, 231, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #011F53;
  box-shadow: 0 2px 8px rgba(1, 31, 83, 0.06);
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.ucd-help-item:hover .ucd-help-item__icon {
  background: #2374E7;
  color: #ffffff;
  border-color: #2374E7;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(35, 116, 231, 0.35);
}

.ucd-help-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ucd-help-item__text span {
  font-size: 12px;
  color: #94A8BB;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.ucd-help-item__text strong {
  font-size: 14px;
  font-weight: 700;
  color: #011F53;
}