/* =========================================================
   CAOI Case Study — Custom CSS  (CAOI Brand Theme)
   ========================================================= */

:root {
  --cs-blue:      #1a56db;
  --cs-blue2:     #2563eb;
  --cs-sky:       #0ea5e9;
  --cs-dark:      #0c1d4a;
  --cs-purple:    #6c40cc;
  --cs-light:     #f5f8ff;
  --cs-border:    #dce8f8;
  --cs-text:      #475569;
  --cs-head:      #0f172a;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(23,86,210,.09);
  --shadow-h:     0 8px 40px rgba(23,86,210,.16);
  --ease:         all .3s ease;
}

/* ── Hero ─────────────────────────────────────────────── */
.cs-hero {
  background: #fff;
  padding: 90px 0 4px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--cs-border);
}
.cs-hero-blob1 {
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: linear-gradient(135deg, #eef3ff 0%, #dbeafe 100%);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
.cs-hero-blob2 {
  position: absolute; top: 40px; right: 60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,86,210,.08) 0%, transparent 70%);
  pointer-events: none;
}

.cs-hero-inner { padding-bottom: 0; }
.cs-hero .row { align-items: flex-start !important; }
.cs-hero .col-lg-7 { padding-top: 56px; }

.cs-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eef3ff;
  border: 1px solid var(--cs-border);
  color: var(--cs-blue);
  font-size: 12px; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 22px;
}
.cs-hero-tag i { font-size: 13px; }

.cs-hero-title {
  font-family: 'Muli', sans-serif;
  font-size: 44px; font-weight: 900;
  color: var(--cs-head); line-height: 1.15;
  margin-bottom: 18px;
}
.cs-hero-title .hl { color: var(--cs-blue); }

.cs-hero-desc {
  font-size: 15px; color: var(--cs-text);
  line-height: 1.8; margin-bottom: 30px; max-width: 500px;
}

.cs-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cs-pill {
  background: #eef3ff;
  border: 1px solid var(--cs-border);
  color: var(--cs-head); border-radius: 50px;
  padding: 6px 16px; font-size: 13px; font-weight: 600;
}
.cs-pill i { color: var(--cs-blue); margin-right: 5px; font-size: 12px; }

.cs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.cs-hero-btn-primary {
  display: inline-flex; align-items: center;
  background: var(--cs-blue); color: #fff;
  padding: 12px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: var(--ease);
}
.cs-hero-btn-primary:hover { background: var(--cs-blue2); color: #fff; text-decoration: none; transform: translateY(-2px); }
.cs-hero-btn-outline {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--cs-head);
  border: 1.5px solid var(--cs-border);
  padding: 12px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: var(--ease);
}
.cs-hero-btn-outline:hover { border-color: var(--cs-blue); color: var(--cs-blue); text-decoration: none; }

.cs-hero-meta {
  display: flex; gap: 0;
  border-top: 1px solid var(--cs-border);
  padding-top: 28px; margin-top: 8px;
  flex-wrap: wrap;
}
.cs-hmeta {
  flex: 1; min-width: 90px;
  padding-right: 24px;
  border-right: 1px solid var(--cs-border);
  margin-right: 24px;
}
.cs-hmeta:last-child { border-right: none; margin-right: 0; }
.cs-hmeta h3 {
  font-family: 'Muli', sans-serif;
  font-size: 30px; font-weight: 900; color: var(--cs-blue); margin: 0 0 4px;
}
.cs-hmeta p { font-size: 11px; color: var(--cs-text); margin: 0; text-transform: uppercase; letter-spacing: .5px; }

/* ── Hero Screenshot Frame ────────────────────────────── */
.cs-dash-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(23,86,210,.18), 0 4px 16px rgba(23,86,210,.10);
}

.cs-browser {
  background: #1e3a8a;
  border-radius: 12px 12px 0 0;
  padding: 12px 16px 0;
  border: 1px solid #1e3a8a;
  border-bottom: none;
}
.cs-browser-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.cs-dot { width: 10px; height: 10px; border-radius: 50%; }
.cs-dot.r { background: #ff5f57; }
.cs-dot.y { background: #febc2e; }
.cs-dot.g { background: #28c840; }
.cs-url-bar {
  flex: 1; background: rgba(255,255,255,.10);
  border-radius: 6px; padding: 5px 12px;
  font-size: 11px; color: rgba(255,255,255,.50);
  font-family: monospace;
}

.cs-dash-body {
  background: #f0f4fa;
  border: 1px solid #dce8f8;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 16px;
  min-height: 320px;
}

.cs-dash-layout { display: flex; gap: 12px; height: 100%; }
.cs-dash-sidebar {
  width: 110px; flex-shrink: 0;
  background: #fff; border-radius: 8px;
  padding: 12px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cs-dash-sidebar .s-logo {
  font-size: 10px; font-weight: 800; color: var(--cs-blue);
  text-align: center; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid #eee;
}
.cs-dash-sidebar .s-item {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 8px; border-radius: 6px;
  font-size: 10px; color: #718096;
  margin-bottom: 3px; cursor: default;
}
.cs-dash-sidebar .s-item i { font-size: 10px; }
.cs-dash-sidebar .s-item.active { background: var(--cs-blue); color: #fff; }

.cs-dash-main { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.cs-dash-stats { display: flex; gap: 8px; }
.cs-dstat {
  flex: 1; background: #fff; border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cs-dstat .ds-label { font-size: 9px; color: #a0aec0; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.cs-dstat .ds-value { font-size: 18px; font-weight: 800; color: var(--cs-head); margin: 2px 0; }
.cs-dstat .ds-sub { font-size: 9px; }
.cs-dstat .ds-sub.up { color: #16a34a; }
.cs-dstat .ds-sub.teal { color: var(--cs-sky); }
.cs-dstat .ds-sub.blue { color: var(--cs-blue); }

.cs-dash-table { background: #fff; border-radius: 8px; padding: 12px; flex: 1; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cs-dash-table .dt-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.cs-dash-table .dt-title { font-size: 11px; font-weight: 700; color: var(--cs-head); }
.cs-dash-table .dt-badge {
  background: #eef3ff; color: var(--cs-blue);
  font-size: 9px; font-weight: 600; border-radius: 50px; padding: 2px 8px;
}
.cs-drow {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid #f7fafc;
  font-size: 10px; color: #4a5568;
}
.cs-drow:last-child { border-bottom: none; }
.cs-drow .dr-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.cs-drow .dr-name { flex: 1; font-weight: 600; }
.cs-drow .dr-status { border-radius: 50px; padding: 2px 8px; font-size: 9px; font-weight: 600; }
.dr-status.done { background: #f0fff4; color: #16a34a; }
.dr-status.prog { background: #fff7ed; color: #ea580c; }
.dr-status.pend { background: #eef3ff; color: var(--cs-blue); }

/* ── Force white header on light hero ───────────────────── */
#header.tra-menu {
  background: #fff !important;
  box-shadow: 0 2px 16px rgba(23,86,210,.08) !important;
}
#header.tra-menu .logo-white { display: none !important; }
#header.tra-menu .logo-black { display: block !important; }
#header.tra-menu .wsmenu-list > li > a { color: #0f172a !important; }
#header.tra-menu .wsmenu-list > li > a:hover { color: var(--cs-blue) !important; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.cs-breadcrumb { background: #fff; border-bottom: 1px solid var(--cs-border); padding: 13px 0; }
.cs-breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.cs-breadcrumb li { font-size: 13px; color: var(--cs-text); }
.cs-breadcrumb li a { color: var(--cs-blue); text-decoration: none; }
.cs-breadcrumb li a:hover { text-decoration: underline; }
.cs-breadcrumb li.sep { color: #cbd5e0; }

/* ── Section helpers ────────────────────────────────────── */
.cs-sec       { padding: 80px 0 32px; }
.cs-sec-white { background: #fff; }
.cs-sec-light { background: #f5f8ff; }
.cs-hero + .cs-sec,
.cs-overview-sec { padding-top: 0 !important; }
.cs-overview-sec { padding-bottom: 0 !important; }
.cs-overview-sec > .container > .row:first-child { margin-top: 0 !important; margin-bottom: 48px !important; }
.cs-overview-sec + .cs-sec { padding-top: 8px !important; }
.cs-roles-sec { padding-bottom: 8px !important; }
.cs-roles-sec + .cs-sec { padding-top: 8px !important; }
.cs-features-sec { padding-top: 8px !important; padding-bottom: 0 !important; }
.cs-features-sec + .cs-sec { padding-top: 0 !important; }
.cs-process-sec { padding-bottom: 8px !important; }
.cs-results-sec { padding-top: 8px !important; padding-bottom: 8px !important; }
.cs-quote-sec { padding-top: 8px !important; padding-bottom: 8px !important; }

/* ── Section label / heading ─────────────────────────────── */
.cs-stag {
  display: inline-block; color: var(--cs-blue);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 10px;
  background: #eef3ff; padding: 4px 14px; border-radius: 50px;
}
.cs-stitle {
  font-family: 'Muli', sans-serif; font-size: 34px; font-weight: 900;
  color: var(--cs-head); margin-bottom: 14px; line-height: 1.2;
}
.cs-stitle .hl { color: var(--cs-blue); }
.cs-stitle.w   { color: var(--cs-head); }
.cs-stitle.w .hl { color: var(--cs-blue); }
.cs-sdesc { font-size: 15px; color: var(--cs-text); line-height: 1.75; }
.cs-sdesc.w { color: var(--cs-text); }

/* ── Overview Cards ─────────────────────────────────────── */
.cs-ov-card {
  background: #fff; border: 1px solid var(--cs-border);
  border-radius: var(--radius); padding: 36px 30px;
  height: 100%; box-shadow: var(--shadow); transition: var(--ease);
}
.cs-ov-card:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.cs-ov-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.cs-ov-icon.red  { background: #fff5f5; color: #e53e3e; }
.cs-ov-icon.blue { background: #eef3ff; color: var(--cs-blue); }
.cs-ov-card h4   { font-family: 'Muli', sans-serif; font-size: 19px; font-weight: 800; color: var(--cs-head); margin-bottom: 16px; }
.cs-ov-card ul   { list-style: none; padding: 0; margin: 0; }
.cs-ov-card ul li {
  padding: 9px 0; border-bottom: 1px solid #f1f5f9;
  font-size: 14px; color: var(--cs-text);
  display: flex; align-items: flex-start; gap: 10px;
}
.cs-ov-card ul li:last-child { border-bottom: none; }
.cs-ov-card ul li i.bad  { color: #e53e3e; margin-top: 3px; flex-shrink: 0; }
.cs-ov-card ul li i.good { color: #16a34a; margin-top: 3px; flex-shrink: 0; }

/* ── Role Cards ─────────────────────────────────────────── */
.cs-role {
  background: #fff; border: 1px solid var(--cs-border);
  border-radius: var(--radius); padding: 32px 26px;
  height: 100%; box-shadow: var(--shadow);
  transition: var(--ease); position: relative; overflow: hidden;
}
.cs-role::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; border-radius: var(--radius) var(--radius) 0 0;
}
.cs-role.admin::before  { background: linear-gradient(90deg, #1756d2, #3b82f6); }
.cs-role.client::before { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.cs-role.consult::before{ background: linear-gradient(90deg, #1756d2, #60a5fa); }
.cs-role:hover { box-shadow: var(--shadow-h); transform: translateY(-6px); }

.cs-role-ico {
  width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.cs-role-ico.admin  { background: #eef3ff; color: var(--cs-blue); }
.cs-role-ico.client { background: #e0f2fe; color: var(--cs-sky); }
.cs-role-ico.consult{ background: #eef3ff; color: #3b82f6; }

.cs-role h4 { font-family: 'Muli', sans-serif; font-size: 19px; font-weight: 800; color: var(--cs-head); margin-bottom: 6px; }
.cs-role .rs { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 18px; }
.rs.admin  { color: var(--cs-blue); }
.rs.client { color: var(--cs-sky); }
.rs.consult{ color: #3b82f6; }

.cs-role ul { list-style: none; padding: 0; margin: 0; }
.cs-role ul li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid #f1f5f9;
  font-size: 13px; color: var(--cs-text);
}
.cs-role ul li:last-child { border-bottom: none; }
.cs-role ul li .li-dot {
  width: 20px; height: 20px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0; margin-top: 1px;
}
.li-dot.admin  { background: #eef3ff; color: var(--cs-blue); }
.li-dot.client { background: #e0f2fe; color: var(--cs-sky); }
.li-dot.consult{ background: #eef3ff; color: #3b82f6; }

/* ── Info list ───────────────────────────────────────────── */
.cs-info-list { list-style: none; padding: 0; margin: 20px 0 0; }
.cs-info-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--cs-border);
  font-size: 14px; color: var(--cs-text); line-height: 1.6;
}
.cs-info-list li:last-child { border-bottom: none; }
.cs-info-list .il-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: #eef3ff; color: var(--cs-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; margin-top: 2px;
}
.cs-info-list li strong { color: var(--cs-head); }

/* ── Feature Cards ──────────────────────────────────────── */
.cs-feat {
  background: #fff; border: 1px solid var(--cs-border);
  border-radius: var(--radius); padding: 28px 24px;
  height: 100%; box-shadow: var(--shadow); transition: var(--ease);
}
.cs-feat:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.cs-feat-ico {
  width: 48px; height: 48px; border-radius: 11px;
  background: #eef3ff; color: var(--cs-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px; transition: var(--ease);
}
.cs-feat:hover .cs-feat-ico { background: var(--cs-blue); color: #fff; }
.cs-feat h5 { font-family: 'Muli', sans-serif; font-size: 15px; font-weight: 800; color: var(--cs-head); margin-bottom: 8px; }
.cs-feat p  { font-size: 13px; color: var(--cs-text); margin: 0; line-height: 1.65; }

/* ── Process Steps (Light bg) ────────────────────────────── */
.cs-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.cs-step {
  flex: 1; min-width: 140px; max-width: 200px;
  text-align: center; padding: 0 16px; position: relative;
}
.cs-step::after {
  content: ''; position: absolute;
  top: 26px; right: -10%;
  width: 20%; height: 2px;
  background: var(--cs-border);
}
.cs-step:last-child::after { display: none; }
.cs-step-num {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--cs-blue);
  background: #eef3ff;
  color: var(--cs-blue); font-family: 'Muli', sans-serif;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; transition: var(--ease);
}
.cs-step:hover .cs-step-num { background: var(--cs-blue); color: #fff; }
.cs-step-icon { font-size: 26px; color: var(--cs-blue); margin-bottom: 10px; }
.cs-step h5   { font-family: 'Muli', sans-serif; font-size: 14px; font-weight: 800; color: var(--cs-head); margin-bottom: 6px; }
.cs-step p    { font-size: 12px; color: var(--cs-text); margin: 0; line-height: 1.6; }

/* ── Results Cards (Light bg) ────────────────────────────── */
.cs-res-card {
  background: #fff; border: 1px solid var(--cs-border);
  border-radius: var(--radius); padding: 36px 20px;
  text-align: center; transition: var(--ease);
  box-shadow: var(--shadow);
}
.cs-res-card:hover { box-shadow: var(--shadow-h); transform: translateY(-4px); }
.cs-res-card .ri { font-size: 34px; color: var(--cs-blue); margin-bottom: 14px; }
.cs-res-card h3 { font-family: 'Muli', sans-serif; font-size: 40px; font-weight: 900; color: var(--cs-blue); margin-bottom: 4px; }
.cs-res-card h3 span { color: var(--cs-sky); }
.cs-res-card p { font-size: 13px; color: var(--cs-text); margin: 0; font-weight: 500; }

/* ── Quote ──────────────────────────────────────────────── */
.cs-quote {
  background: linear-gradient(135deg, #1756d2, #2563eb);
  border-radius: var(--radius); padding: 44px 38px;
  position: relative; overflow: hidden;
}
.cs-quote::before {
  content: '"'; position: absolute;
  top: -30px; left: 16px;
  font-size: 200px; line-height: 1;
  color: rgba(255,255,255,.07);
  font-family: Georgia, serif; pointer-events: none;
}
.cs-quote-text { font-size: 17px; font-style: italic; color: rgba(255,255,255,.92); line-height: 1.75; margin-bottom: 22px; position: relative; }
.cs-quote-author { display: flex; align-items: center; gap: 14px; }
.cs-quote-av { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #bfdbfe; }
.cs-quote-author strong { display: block; color: #fff; font-size: 14px; }
.cs-quote-author span   { color: rgba(255,255,255,.60); font-size: 12px; }

/* ── Tech badges ────────────────────────────────────────── */
.cs-tech-cloud { margin-top: 20px; display: flex; flex-wrap: nowrap; justify-content: center; overflow-x: auto; }
.cs-tbadge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--cs-border);
  border-radius: 50px; padding: 8px 18px;
  font-size: 13px; font-weight: 600; color: var(--cs-head);
  box-shadow: var(--shadow); transition: var(--ease); margin: 5px 4px;
}
.cs-tbadge:hover { background: var(--cs-blue); color: #fff; border-color: var(--cs-blue); }
.cs-tbadge i { font-size: 15px; }

/* ── CTA ────────────────────────────────────────────────── */
.cs-cta {
  background: var(--cs-blue);
  padding: 32px 0 40px; text-align: center; position: relative; overflow: hidden;
}
.cs-cta::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.06); pointer-events: none;
}
.cs-cta::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}
.cs-cta h2 { font-family: 'Muli', sans-serif; font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cs-cta h2 span { color: #bfdbfe; }
.cs-cta p  { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cs-cta-btn-primary {
  background: #fff; color: var(--cs-blue); border: none;
  padding: 14px 36px; border-radius: 8px;
  font-family: 'Muli', sans-serif; font-size: 15px; font-weight: 700;
  text-decoration: none; display: inline-block; transition: var(--ease);
  box-shadow: 0 6px 24px rgba(0,0,0,.15); position: relative; z-index: 1;
}
.cs-cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.22); color: var(--cs-blue); text-decoration: none; }
.cs-cta-btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.50);
  padding: 13px 32px; border-radius: 8px;
  font-family: 'Muli', sans-serif; font-size: 15px; font-weight: 700;
  text-decoration: none; display: inline-block; transition: var(--ease); margin-left: 12px;
  position: relative; z-index: 1;
}
.cs-cta-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .cs-hero { padding: 64px 0 14px; }
  .cs-hero + .cs-sec,
  .cs-overview-sec { padding-top: 5px !important; }
  .cs-overview-sec { padding-bottom: 4px !important; }
  .cs-hero-title { font-size: 32px; }
  .cs-dash-notif, .cs-dash-notif2 { display: none; }
  .cs-steps { gap: 20px; }
  .cs-step::after { display: none; }
  .cs-stitle { font-size: 26px; }
  .cs-cta h2 { font-size: 26px; }
}
@media (max-width: 575px) {
  .cs-hero-title { font-size: 26px; }
  .cs-hero-meta  { gap: 0; }
  .cs-hmeta { min-width: 80px; }
  .cs-cta-btn-outline { margin-left: 0; margin-top: 10px; }
}
