/* =============================================
   Counselling Support — Case Study CSS
   ============================================= */

:root {
  --cr: #d63b2f;          /* primary red */
  --cr-lt: #fdf2f1;       /* light red bg */
  --cr-dk: #b02e24;       /* dark red */
  --cream: #fdf8f3;       /* page cream */
  --cream2: #fef6ee;      /* section cream */
  --dark: #1a1a2e;
  --text: #374151;
  --gray: #6b7280;
  --border: #ede8e0;
  --white: #ffffff;
}

/* ── Force header solid on this page ────────── */
#header.tra-menu {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
}
#header.tra-menu .wsmenu-list > li > a {
  color: #333 !important;
}
#header.tra-menu .navbar-brand img,
#header.tra-menu .desktoplogo .logo-white { display: none !important; }
#header.tra-menu .desktoplogo .logo-black { display: block !important; }
a.free-quo,
a.free-quo:hover,
a.free-quo:visited,
#header a.free-quo,
.wsmenu-list li a.free-quo { color: #fff !important; }

/* ── HERO ──────────────────────────────────── */
.cs2-hero {
  background: var(--cream);
  padding: 90px 0 4px;
}

.cs2-breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 18px;
}

.cs2-breadcrumb a { color: var(--cr); text-decoration: none; }
.cs2-breadcrumb span { margin: 0 6px; }

.cs2-hero h1 {
  font-size: 50px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 8px;
}

.cs2-hero h1 span { color: var(--cr); }

.cs2-hero-sub {
  font-size: 16px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 16px;
}

.cs2-hero-desc {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 20px;
}

.cs2-pill {
  display: inline-block;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 0 5px 8px 0;
}

.cs2-stats {
  display: flex;
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 0;
}

.cs2-stat {
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid var(--border);
  margin-bottom: 8px;
}

.cs2-stat:last-child { border-right: none; }

.cs2-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 3px;
}

.cs2-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

/* Hero Actions */
.cs2-hero-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

.cs2-btn-red {
  display: inline-block;
  background: var(--cr);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 24px;
  border-radius: 7px;
  text-decoration: none;
  transition: background .2s;
}

.cs2-btn-red:hover { background: var(--cr-dk); color: #fff; text-decoration: none; }

.cs2-btn-outline {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  padding: 11px 24px;
  border-radius: 7px;
  text-decoration: none;
  transition: all .2s;
}

.cs2-btn-outline:hover { border-color: var(--cr); color: var(--cr); text-decoration: none; }

/* ── Device / Tablet Mockup ─────────────────── */
.cs2-device {
  background: #1c1c2e;
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28), 0 6px 20px rgba(0,0,0,.18);
  position: relative;
}

.cs2-device::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #2e2e44;
  border-radius: 2px;
}

.cs2-device-screen {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.cs2-device-screen img {
  width: 100%;
  display: block;
}

/* ── Section Common ─────────────────────────── */
.cs2-sec { padding: 80px 0; }
.cs2-overview-sec { padding: 8px 0 16px; }
.cs2-challenges-sec { padding-top: 8px !important; padding-bottom: 16px !important; }
.cs2-challenges-sec + .cs2-sec { padding-top: 8px !important; }
.cs2-solution-sec { padding-bottom: 16px !important; }
.cs2-solution-sec + .cs2-sec { padding-top: 8px !important; }
.cs2-features-sec { padding-bottom: 16px !important; }
.cs2-features-sec + .cs2-sec { padding-top: 8px !important; }
.cs2-screens-sec { padding-bottom: 16px !important; }
.cs2-screens-sec + .cs2-sec { padding-top: 8px !important; }
.cs2-tech-sec { padding-top: 8px !important; padding-bottom: 16px !important; }
.cs2-tech-sec + .cs2-sec { padding-top: 8px !important; }
.cs2-impact-sec { padding-bottom: 16px !important; }
.cs2-impact-sec + .cs2-sec { padding-top: 8px !important; }
.cs2-modules-sec { padding-bottom: 16px !important; }
.cs2-modules-sec + .cs2-sec { padding-top: 8px !important; }
.cs2-white  { background: var(--white); }
.cs2-cream  { background: var(--cream); }
.cs2-cream2 { background: var(--cream2); }

.cs2-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--cr);
  margin-bottom: 10px;
  position: relative;
  padding-left: 14px;
}

.cs2-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--cr);
  border-radius: 50%;
}

.cs2-h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.cs2-h2 span { color: var(--cr); }

.cs2-p {
  font-size: 15px;
  color: #4b5563 !important;
  line-height: 1.75;
  text-decoration: none !important;
}

/* ── Overview ──────────────────────────────── */
.cs2-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(214,59,47,.10);
}

.cs2-img-wrap img { width: 100%; display: block; }

/* ── Challenges ─────────────────────────────── */
.cs2-ch {
  background: #fff;
  border-radius: 10px;
  padding: 26px 22px 26px;
  border: 1px solid #f0ebe4;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.cs2-ch:hover {
  box-shadow: 0 8px 28px rgba(214,59,47,.10);
  transform: translateY(-2px);
}

.cs2-ch-ico {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--cr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  margin-bottom: 14px;
}

.cs2-ch h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.45;
}

/* ── Solution Tags ──────────────────────────── */
.cs2-sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.cs2-sol-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.cs2-sol-item i {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--cr-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cr);
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Feature Cards ──────────────────────────── */
.cs2-feat {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #f0ebe4;
  border-top: 3px solid var(--cr);
  height: 100%;
}

.cs2-feat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f5ede8;
}

.cs2-feat-ico {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--cr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
}

.cs2-feat h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.cs2-feat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs2-feat ul li {
  font-size: 13px;
  color: var(--text);
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid #faf5f2;
}

.cs2-feat ul li:last-child { border-bottom: none; }

.cs2-feat ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cr);
  font-weight: 700;
  font-size: 12px;
}

/* ── Project Screens ──────────────────────── */
.cs2-screens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cs2-screen-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #f0ebe4;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  background: #fff;
}

.cs2-screen-item img {
  width: 100%;
  display: block;
  transition: transform .3s;
}

.cs2-screen-item:hover img { transform: scale(1.03); }

.cs2-screen-cap {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  border-top: 1px solid #f5ede8;
}

/* ── Tech Stack ─────────────────────────────── */
.cs2-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 8px 8px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

/* ── Business Impact ─────────────────────────── */
.cs2-impact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.cs2-impact-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cr-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cs2-impact-dot i { font-size: 9px; color: var(--cr); }

.cs2-impact-item span {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

/* ── Modules Delivered ─────────────────────── */
.cs2-mod {
  background: #fff;
  border-radius: 12px;
  padding: 26px;
  border: 1px solid #f0ebe4;
  height: 100%;
}

.cs2-mod-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cs2-mod-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.cs2-mod h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.cs2-mod p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 14px;
}

.cs2-mod ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs2-mod ul li {
  font-size: 13px;
  color: var(--text);
  padding: 4px 0 4px 18px;
  position: relative;
  border-bottom: 1px solid #faf5f2;
}

.cs2-mod ul li:last-child { border-bottom: none; }

.cs2-mod ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cr);
  font-weight: 700;
}


/* ── CTA Card ────────────────────────────────── */
.cs2-cta-wrap {
  background: #fff;
  padding: 60px 0 24px;
}

.cs2-cta {
  background: #6b1a1a;
  border-radius: 20px;
  padding: 60px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Decorative circles */
.cs2-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}

.cs2-cta::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}

.cs2-cta-inner { position: relative; z-index: 1; }

.cs2-cta h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  color: #fff;
}

.cs2-cta p {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.cs2-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #6b1a1a;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  margin: 0 10px 10px 0;
  transition: all .2s;
}

.cs2-cta-btn:hover { background: #f5f0eb; color: #6b1a1a; text-decoration: none; transform: translateY(-2px); }

.cs2-cta-btn-out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  margin: 0 10px 10px 0;
  transition: all .2s;
}

.cs2-cta-btn-out:hover { border-color: rgba(255,255,255,.8); text-decoration: none; }

/* ── Mini Screen Mockups ─────────────────────── */
.cs2-mm {
  background: #f5ede6;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.cs2-mm-nav {
  height: 26px;
  background: var(--cr);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 6px;
  flex-shrink: 0;
}

.cs2-mm-logo   { width: 38px; height: 7px; background: rgba(255,255,255,.75); border-radius: 3px; }
.cs2-mm-gap    { flex: 1; }
.cs2-mm-navbtn { width: 26px; height: 12px; background: rgba(255,255,255,.3); border-radius: 3px; }

.cs2-mm-body { display: flex; flex: 1; }

.cs2-mm-sb {
  width: 46px;
  background: #2a2a3e;
  padding: 8px 6px;
  flex-shrink: 0;
}

.cs2-mm-sb span {
  display: block;
  height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  margin-bottom: 8px;
}

.cs2-mm-sb span.on { background: rgba(214,59,47,.8); }

.cs2-mm-cnt { flex: 1; padding: 10px 8px; overflow: hidden; }

.cs2-mm-title {
  height: 10px;
  background: #d0c4ba;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* stat row */
.cs2-mm-statrow { display: flex; gap: 5px; margin-bottom: 8px; }

.cs2-mm-scard {
  flex: 1;
  height: 34px;
  background: #fff;
  border-radius: 4px;
  border-left: 3px solid var(--cr);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

/* text bars */
.cs2-mm-bar {
  height: 9px;
  background: #fff;
  border-radius: 3px;
  margin-bottom: 5px;
  border: 1px solid #ede0d4;
}
.w60  { width: 60%; }
.w65  { width: 65%; }
.w70  { width: 70%; }
.w75  { width: 75%; }
.w80  { width: 80%; }
.w90  { width: 90%; }
.w100 { width: 100%; }

/* search */
.cs2-mm-search {
  height: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #ddd4cc;
  margin-bottom: 8px;
}

/* card grid */
.cs2-mm-cardrow { display: flex; gap: 5px; margin-bottom: 5px; }

.cs2-mm-ccard {
  flex: 1;
  height: 44px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ede0d4;
}

.cs2-mm-ccard.tall { height: 58px; }

/* announcement list */
.cs2-mm-ann {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 10px;
}

.cs2-mm-ann-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cr);
  flex-shrink: 0;
  margin-top: 3px;
}

.cs2-mm-ann-txt { flex: 1; }

/* filter tags */
.cs2-mm-filterrow { display: flex; gap: 5px; margin-bottom: 8px; }

.cs2-mm-ftag {
  height: 14px;
  width: 44px;
  background: #fff;
  border-radius: 7px;
  border: 1px solid #ede0d4;
}

.cs2-mm-ftag.act { background: var(--cr); border-color: var(--cr); }

/* table */
.cs2-mm-trow { display: flex; gap: 3px; margin-bottom: 4px; }
.cs2-mm-trow.hd .cs2-mm-th { background: #e8d8d0; }
.cs2-mm-th, .cs2-mm-td { flex: 1; height: 12px; background: #fff; border-radius: 2px; border: 1px solid #ede0d4; }

/* info boxes */
.cs2-mm-inforow { display: flex; gap: 6px; margin-bottom: 8px; }

.cs2-mm-infobox {
  flex: 1;
  background: #fff;
  border-radius: 5px;
  padding: 8px;
  border: 1px solid #ede0d4;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991px) {
  .cs2-hero { padding: 100px 0 50px; }
  .cs2-hero h1 { font-size: 34px; }
  .cs2-h2 { font-size: 26px; }
  .cs2-screens-grid { grid-template-columns: repeat(2, 1fr); }
  .cs2-cta h2 { font-size: 24px; }
  .cs2-sol-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .cs2-screens-grid { grid-template-columns: 1fr; }
}
