/* CASE-STUDIES.CSS - Page Scoped Styles */

/* ── Reset & Global Scope Rules ── */
  body { font-family:'Avenir Next','Avenir',sans-serif!important; margin:0!important; background:#ffffff!important; color:#3d4a5c; }
  footer a,header a { text-decoration:none!important; color:inherit!important; }
  footer ul { list-style:none!important; padding:0!important; margin:0!important; }
  footer h4 { font-size:1rem!important; font-weight:700!important; margin-bottom:1rem!important; color:#000!important; }
  footer p  { margin:0!important; }
  footer > div { display:grid!important; }
  footer .flex { display:flex!important; }
  footer > div.border-t { text-align:center!important; }
  header { text-align:left!important; }

  #case-studies-scope { background:#ffffff; overflow-x:hidden; }

  #case-studies-scope h1,
  #case-studies-scope h2,
  #case-studies-scope h3,
  #case-studies-scope h4,
  #case-studies-scope .heading-font {
    font-family: 'Urbanist', 'Helvetica Neue', sans-serif !important;
    font-weight: 700;
  }
  #case-studies-scope p,
  #case-studies-scope span,
  #case-studies-scope a,
  #case-studies-scope input,
  #case-studies-scope button,
  #case-studies-scope div,
  #case-studies-scope .body-font {
    font-family: 'Avenir Next', 'Avenir', sans-serif;
  }

  /* ── Page Container Matching Header & Footer Width (1280px max-w-7xl, 5% px) ── */
  #case-studies-scope .container {
    max-width: 1280px !important;
    padding-left: 5% !important;
    padding-right: 5% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ── Hero Banner ── */
  #case-studies-scope .cs-hero {
    background: linear-gradient(135deg, #091e6b 0%, #0d38d3 55%, #051652 100%);
    padding: 80px 0 90px;
    position: relative;
    color: #ffffff;
    overflow: hidden;
  }
  #case-studies-scope .cs-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
  }
  #case-studies-scope .cs-hero h1 {
    font-size: 46px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 700;
  }
  #case-studies-scope .cs-hero p.cs-hero-sub {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 580px;
    margin: 0;
  }

  /* Hero Vector Illustration Card */
  #case-studies-scope .hero-illustration-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    text-align: center;
    position: relative;
    max-width: 380px;
    margin: 0 auto;
  }

  /* ── Section Titles ── */
  #case-studies-scope .section-title {
    font-size: 30px;
    color: #1c222b;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
  }

  /* ── Case Study Card ── */
  #case-studies-scope .cs-card {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  #case-studies-scope .cs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(15, 60, 217, 0.1);
    border-color: #0f3cd9;
  }

  #case-studies-scope .cs-card-img-wrap {
    height: 240px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0f172a;
  }
  #case-studies-scope .cs-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
  }
  #case-studies-scope .cs-card:hover .cs-card-img-wrap img {
    transform: scale(1.06);
  }

  #case-studies-scope .cs-card-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  /* ── CATEGORY BADGE COLOR: #FFC759 ── */
  #case-studies-scope .cs-badge {
    background: #FFC759 !important;
    color: #1c222b !important;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(255, 199, 89, 0.3);
  }
  #case-studies-scope .cs-date {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  #case-studies-scope .cs-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1c222b;
    line-height: 1.35;
    margin-top: 14px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
  }
  #case-studies-scope .cs-card:hover .cs-card-title {
    color: #0f3cd9;
  }

  #case-studies-scope .cs-card-excerpt {
    font-size: 14px;
    color: #5e718d;
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
  }

  #case-studies-scope .cs-read-btn {
    color: #0f3cd9;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 50px;
    width: fit-content;
    transition: all 0.25s ease;
  }
  #case-studies-scope .cs-read-btn:hover {
    background: #0f3cd9;
    color: #ffffff;
    border-color: #0f3cd9;
  }

  /* ── Pagination ── */
  #case-studies-scope .cs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    margin-bottom: 90px;
  }
  #case-studies-scope .cs-page-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  #case-studies-scope .cs-page-link.active,
  #case-studies-scope .cs-page-link:hover {
    background: #0f3cd9;
    color: #ffffff;
    border-color: #0f3cd9;
    box-shadow: 0 4px 12px rgba(15, 60, 217, 0.25);
  }

  /* Filter Tabs */
  #case-studies-scope .cs-filter-btn {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  #case-studies-scope .cs-filter-btn.active,
  #case-studies-scope .cs-filter-btn:hover {
    background: #0f3cd9;
    color: #ffffff;
  }

  /* Responsive Adjustments */
  @media (max-width: 991px) {
    #case-studies-scope .cs-hero h1 { font-size: 32px !important; }
    #case-studies-scope .hero-illustration-card { margin-top: 30px; }
  }

