/* =========================================================
   Rekhatama Clients Page
========================================================= */

.rc-clients {
  --rc-navy: #102b5c;
  --rc-navy-dark: #081e43;
  --rc-blue: #0875e1;
  --rc-cyan: #08a7ee;
  --rc-text: #0f2b5b;
  --rc-muted: #526985;
  --rc-border: #d8e4f2;
  --rc-soft: #f3f8fe;
  --rc-white: #ffffff;

  color: var(--rc-text);
  background: var(--rc-white);
  font-family: Inter, var(--bs-font-sans-serif);
  overflow: hidden;
}

.rc-clients *,
.rc-clients *::before,
.rc-clients *::after {
  box-sizing: border-box;
}

.rc-clients h1,
.rc-clients h2,
.rc-clients h3,
.rc-clients p,
.rc-clients figure,
.rc-clients blockquote {
  margin-top: 0;
}

.rc-clients h1,
.rc-clients h2,
.rc-clients h3 {
  color: var(--rc-text);
  font-family: Poppins, Inter, sans-serif;
}

.rc-container {
  width: min(100% - 48px, 1380px);
  margin-inline: auto;
}

.rc-section {
  padding: 68px 0;
}

.rc-section--white {
  background: var(--rc-white);
}

.rc-section--soft {
  background: var(--rc-soft);
}

.rc-section--navy {
  color: #fff;
  background:
    radial-gradient(circle at 95% 10%, rgba(22, 154, 238, 0.2), transparent 35%),
    linear-gradient(135deg, var(--rc-navy-dark), var(--rc-navy));
}


/* HERO */

.rc-clients__hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(8, 117, 225, 0.15), transparent 32%),
    linear-gradient(135deg, #f8fbff, #edf5ff);
}

.rc-clients__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.rc-clients__hero-content {
  max-width: 850px;
}

.rc-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 8px 15px;
  color: #075aae;
  background: #e3f0ff;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.rc-eyebrow--light {
  color: #8fd8ff;
  background: rgba(255, 255, 255, 0.09);
}

.rc-clients__hero h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.rc-lead {
  max-width: 790px;
  margin-bottom: 28px;
  color: var(--rc-muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.75;
}

.rc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
}

.rc-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.rc-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rc-blue), var(--rc-cyan));
  box-shadow: 0 12px 28px rgba(8, 117, 225, 0.2);
}

.rc-btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 32px rgba(8, 117, 225, 0.28);
}

.rc-btn--secondary {
  color: var(--rc-text);
  background: #fff;
  border-color: var(--rc-border);
}

.rc-btn--secondary:hover {
  color: var(--rc-blue);
  border-color: #9bc8f3;
}

.rc-trust-card {
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(20, 157, 240, 0.35), transparent 42%),
    linear-gradient(145deg, var(--rc-navy), var(--rc-navy-dark));
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(13, 43, 92, 0.18);
}

.rc-trust-card__label {
  display: block;
  margin-bottom: 12px;
  color: #86d5ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.rc-trust-card h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.3;
}

.rc-check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-check-list li {
  position: relative;
  padding-left: 31px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.rc-check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--rc-navy-dark);
  background: #86d5ff;
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
}


/* HEADINGS */

.rc-section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.rc-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.rc-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  max-width: none;
  gap: 50px;
  align-items: end;
}

.rc-section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.rc-section-heading p {
  margin-bottom: 0;
  color: var(--rc-muted);
  font-size: 16px;
  line-height: 1.75;
}

.rc-section-heading--light h2 {
  color: #fff;
}

.rc-section-heading--light p {
  color: rgba(255, 255, 255, 0.72);
}


/* SEGMENTS */

.rc-segment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rc-segment-card {
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(20, 52, 96, 0.06);
  transition: 0.2s ease;
}

.rc-segment-card:hover {
  border-color: #9bc8f3;
  box-shadow: 0 18px 36px rgba(20, 52, 96, 0.1);
  transform: translateY(-4px);
}

.rc-segment-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--rc-blue);
  background: #e9f4ff;
  border-radius: 13px;
  font-weight: 900;
}

.rc-segment-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.rc-segment-card p {
  margin-bottom: 0;
  color: var(--rc-muted);
  font-size: 14px;
  line-height: 1.7;
}


/* LOGOS */

.rc-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.rc-logo {
  display: grid;
  min-height: 116px;
  margin-bottom: 0;
  padding: 18px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 15px;
}

.rc-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 58px;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: 0.2s ease;
}

.rc-logo:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.rc-logo-note {
  margin: 18px 0 0;
  color: var(--rc-muted);
  font-size: 12px;
  text-align: center;
}


/* SOLUTIONS */

.rc-solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rc-solution-card {
  position: relative;
  display: flex;
  min-height: 265px;
  padding: 26px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 18px;
}

.rc-solution-card__number {
  margin-bottom: 28px;
  color: var(--rc-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.rc-solution-card h3 {
  margin-bottom: 11px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.rc-solution-card p {
  margin-bottom: 24px;
  color: var(--rc-muted);
  font-size: 14px;
  line-height: 1.7;
}

.rc-solution-card a {
  display: inline-flex;
  margin-top: auto;
  gap: 8px;
  align-items: center;
  color: var(--rc-blue);
  font-weight: 800;
  text-decoration: none;
}

.rc-solution-card a:hover {
  color: var(--rc-navy);
}


/* TESTIMONIALS */

.rc-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rc-testimonial {
  display: flex;
  min-height: 250px;
  margin-bottom: 0;
  padding: 26px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
}

.rc-testimonial p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.75;
}

.rc-testimonial footer {
  display: grid;
  margin-top: auto;
  gap: 4px;
}

.rc-testimonial strong {
  color: #fff;
  font-size: 15px;
}

.rc-testimonial span {
  color: #86d5ff;
  font-size: 13px;
}


/* PROCESS */

.rc-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 18px;
  list-style: none;
  counter-reset: none;
}

.rc-process__item {
  padding: 24px;
  background: var(--rc-soft);
  border: 1px solid var(--rc-border);
  border-radius: 17px;
}

.rc-process__item > span {
  display: block;
  margin-bottom: 25px;
  color: var(--rc-blue);
  font-size: 13px;
  font-weight: 900;
}

.rc-process__item h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
}

.rc-process__item p {
  margin-bottom: 0;
  color: var(--rc-muted);
  font-size: 14px;
  line-height: 1.65;
}


/* CTA */

.rc-clients__cta {
  padding: 0 0 68px;
  background: #fff;
}

.rc-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 42px;
  gap: 40px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 95% 5%, rgba(0, 174, 255, 0.32), transparent 35%),
    linear-gradient(135deg, var(--rc-navy-dark), var(--rc-navy));
  border-radius: 24px;
}

.rc-cta-box h2 {
  max-width: 760px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
}

.rc-cta-box p {
  max-width: 750px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.rc-btn--white {
  color: var(--rc-navy);
  background: #fff;
}

.rc-btn--white:hover {
  color: var(--rc-blue);
  background: #f4f9ff;
}

.rc-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.rc-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}


/* RESPONSIVE */

@media (max-width: 1100px) {
  .rc-clients__hero-grid {
    grid-template-columns: 1fr;
  }

  .rc-trust-card {
    max-width: 760px;
  }

  .rc-segment-grid,
  .rc-solution-grid,
  .rc-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rc-cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .rc-container {
    width: min(100% - 28px, 1380px);
  }

  .rc-section,
  .rc-clients__hero {
    padding: 44px 0;
  }

  .rc-clients__hero h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .rc-section-heading--split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rc-segment-grid,
  .rc-solution-grid,
  .rc-testimonial-grid,
  .rc-process {
    grid-template-columns: 1fr;
  }

  .rc-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rc-segment-card,
  .rc-solution-card,
  .rc-testimonial {
    min-height: auto;
  }

  .rc-actions,
  .rc-btn {
    width: 100%;
  }

  .rc-cta-box {
    padding: 28px 22px;
  }

  .rc-clients__cta {
    padding-bottom: 44px;
  }
}

@media (max-width: 480px) {
  .rc-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-logo {
    min-height: 96px;
    padding: 14px;
  }

  .rc-logo img {
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc-clients *,
  .rc-clients *::before,
  .rc-clients *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}