/* case-studies.css */
/* Styles for the Case Studies page */

/* ── HEADING & LEAD ─────────────────────────────────── */
.fv-cs-h2 {
  color: #111827 !important;
  font-family: 'Rubik', sans-serif !important;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 12px 0 20px;
}

.fv-cs-lead {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #6f7075;
  max-width: 580px;
  margin: 0 auto;
}

/* ── SERVICES TYPE GRID ─────────────────────────────── */
.fv-cs-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #e5e7eb;
  margin-bottom: 60px;
}

.fv-cs-type-card {
  padding: 44px 36px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.fv-cs-type-card:hover {
  background: #f9f9f8;
}

.fv-cs-type-card:nth-child(3n) {
  border-right: none;
}

.fv-cs-type-card:nth-child(n+4) {
  border-bottom: none;
}

.fv-cs-type-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.fv-cs-type-icon i {
  color: #fb383b;
  font-size: 20px;
}

.fv-cs-type-card h3 {
  color: #111827 !important;
  font-family: 'Rubik', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.fv-cs-type-card p {
  color: #6f7075;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.fv-cs-type-link {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fb383b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.fv-cs-type-link:hover {
  color: #e02020;
  text-decoration: none;
  gap: 10px;
}

/* ── NOTIFY BANNER ──────────────────────────────────── */
.fv-cs-notify {
  background: #111827;
  border-radius: 4px;
  padding: 2px;
}

.fv-cs-notify-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 36px 40px;
  flex-wrap: wrap;
}

.fv-cs-notify-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(251, 56, 59, 0.15);
  border: 1px solid rgba(251, 56, 59, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fv-cs-notify-icon i {
  color: #fb383b;
  font-size: 20px;
}

.fv-cs-notify-text {
  flex: 1;
  min-width: 200px;
}

.fv-cs-notify-text h4 {
  color: #ffffff !important;
  font-family: 'Rubik', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.fv-cs-notify-text p {
  color: #9ca3af;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.fv-cs-notify-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fb383b;
  color: #ffffff !important;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, gap 0.2s ease;
}

.fv-cs-notify-btn:hover {
  background: #e02020;
  color: #ffffff !important;
  text-decoration: none;
  gap: 12px;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 991px) {
  .fv-cs-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fv-cs-type-card:nth-child(3n) {
    border-right: 1px solid #e5e7eb;
  }
  .fv-cs-type-card:nth-child(2n) {
    border-right: none;
  }
  .fv-cs-type-card:nth-child(n+5) {
    border-bottom: none;
  }
  .fv-cs-type-card:nth-child(n+4) {
    border-bottom: 1px solid #e5e7eb;
  }
  .fv-cs-h2 { font-size: 38px; }
}

@media (max-width: 575px) {
  .fv-cs-types-grid { grid-template-columns: 1fr; }
  .fv-cs-type-card { border-right: none; }
  .fv-cs-type-card:last-child { border-bottom: none; }
  .fv-cs-notify-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .fv-cs-h2 { font-size: 32px; }
}
