/* ==========================================================================
   WARISANTECHQ - Case Studies Listing Page Stylesheet
   Matches wireframe design with enterprise-grade aesthetics
   ========================================================================== */

/* --------------------------------------------------
   0. BREADCRUMBS BANNER (Matches Services page header)
   -------------------------------------------------- */
.rs-breadcrumbs.bg-case-studies {
    background-image: linear-gradient(rgba(10, 28, 46, 0.45), rgba(10, 28, 46, 0.45)), url('../images/case-studies/case-studies-banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.rs-breadcrumbs.bg-case-studies .content-part {
    padding: 120px 0;
}

.rs-breadcrumbs.bg-case-studies .breadcrumbs-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-size: 46px;
    font-weight: 700;
    line-height: 56px;
    font-family: 'Poppins', sans-serif;
}

/* --------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------- */
.cs-hero-section {
    position: relative;
    background: linear-gradient(180deg, #f8fafd 0%, #f1f5f9 100%);
    padding: 70px 0 80px 0;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.cs-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.45;
    pointer-events: none;
}

.cs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid #fde68a;
    margin-bottom: 20px;
}

.cs-hero-badge::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #d97706;
    border-radius: 50%;
}

.cs-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.22;
    color: #0a1c2e;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.cs-hero-desc {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 620px;
}

.cs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.cs-btn-primary {
    background: #ffbe00;
    color: #0a1c2e !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 32px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 190, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    border: 2px solid #ffbe00;
}

.cs-btn-primary:hover {
    background: #e6ab00;
    border-color: #e6ab00;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 190, 0, 0.45);
    color: #0a1c2e !important;
}

.cs-btn-secondary {
    background: #ffffff;
    color: #0a1c2e !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 30px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.cs-btn-secondary:hover {
    border-color: #106eea;
    background: #f8fafd;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(16, 110, 234, 0.12);
    color: #106eea !important;
}

.cs-hero-graphic-wrap {
    position: relative;
    text-align: center;
    padding: 15px;
}

.cs-hero-graphic {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(16, 43, 97, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.5s ease;
    animation: csFloatSlow 5s ease-in-out infinite;
}

@keyframes csFloatSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* --------------------------------------------------
   2. INTRO PHILOSOPHY SECTION
   -------------------------------------------------- */
.cs-intro-section {
    padding: 70px 0 50px 0;
    background: #ffffff;
}

.cs-intro-title {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #0a1c2e;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
}

.cs-intro-text {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* --------------------------------------------------
   3. CASE STUDY SHOWCASE CARDS (HORIZONTAL SPLIT)
   -------------------------------------------------- */
.cs-list-section {
    padding: 20px 0 80px 0;
    background: #ffffff;
}

.cs-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 36px 32px 36px;
    margin-bottom: 48px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.cs-card-category {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cs-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.cs-card-img-box {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #0f172a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.cs-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-card-item:hover .cs-card-img-box img {
    transform: scale(1.05);
}

.cs-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.cs-card-desc {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

.cs-card-result {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
    padding: 12px 18px;
    margin-bottom: 20px;
}

.cs-card-result-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e40af;
    margin-bottom: 3px;
}

.cs-card-result-value {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.35;
}

.cs-highlights-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.cs-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.cs-highlights-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}

.cs-highlights-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}

.cs-card-action {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.cs-btn-action {
    background: #106eea;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 11px 24px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 110, 234, 0.25);
    transition: all 0.25s ease;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
}

.cs-btn-action:hover {
    background: #0954b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 110, 234, 0.35);
    color: #ffffff !important;
}

.cs-btn-action i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.cs-btn-action:hover i {
    transform: translateX(3px);
}

/* --------------------------------------------------
   4. END-TO-END TECHNOLOGY CAPABILITIES
   -------------------------------------------------- */
.cs-capabilities-section {
    background: #f8fafd;
    padding: 90px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.cs-cap-header {
    text-align: left;
    margin-bottom: 45px;
}

.cs-cap-title {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #0a1c2e;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.cs-cap-desc {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.75;
    max-width: 860px;
    margin-bottom: 0;
}

.cs-cap-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 36px;
    transition: transform 0.25s ease;
}

.cs-cap-item:hover {
    transform: translateX(4px);
}

.cs-cap-icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    margin-top: 2px;
}

.cs-cap-icon-circle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.cs-cap-info {
    flex: 1;
}

.cs-cap-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18.5px;
    font-weight: 700;
    color: #0a1c2e;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.cs-cap-info p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Footer Newsletter & Button Breathing Space */
.rs-footer .footer-newsletter {
    padding: 55px 0 50px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.rs-footer .footer-newsletter .title {
    color: #0a1c2e !important;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.4px;
    margin: 0;
}

/* --------------------------------------------------
   5. BOTTOM CTA SECTION ("Have a Similar Business Challenge?")
   -------------------------------------------------- */
.cs-cta-section {
    padding: 90px 0 110px 0;
    background: #ffffff;
}

.cs-cta-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.cs-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #0a1c2e;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

.cs-cta-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 640px;
}

.cs-cta-img-wrap {
    text-align: center;
    position: relative;
}

.cs-cta-img {
    max-width: 280px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------
   6. MODAL DETAILS POPUP
   -------------------------------------------------- */
.cs-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.cs-modal .modal-header {
    background: #0a1c2e;
    color: #ffffff;
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-modal .modal-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.cs-modal .modal-header .close {
    color: #ffffff;
    opacity: 0.8;
    font-size: 28px;
    font-weight: 300;
    text-shadow: none;
    transition: opacity 0.2s;
}

.cs-modal .modal-header .close:hover {
    opacity: 1;
}

.cs-modal .modal-body {
    padding: 30px;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.cs-modal-tag {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.cs-modal-highlight-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 20px 0;
}

.cs-modal-highlight-box strong {
    color: #15803d;
    display: block;
    margin-bottom: 4px;
}

.cs-modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.cs-tech-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.cs-modal .modal-footer {
    padding: 18px 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.cs-modal .modal-footer .btn,
.cs-modal .modal-footer .cs-btn-primary {
    border-radius: 3px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.rs-footer .footer-newsletter .readon {
    background: #ffbe00 !important;
    color: #0a1c2e !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 3px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 16px 36px !important;
    display: inline-block !important;
    margin: 8px 0 !important;
    box-shadow: 0 4px 14px rgba(255, 190, 0, 0.35);
    transition: all 0.25s ease-in-out !important;
    border: none !important;
    text-decoration: none !important;
}

.rs-footer .footer-newsletter .readon:hover {
    background: #e6ab00 !important;
    color: #0a1c2e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 190, 0, 0.45);
}

/* CTA Box Buttons Breathing Space */
.cs-cta-box .cs-hero-actions {
    margin-top: 30px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.cs-cta-box .cs-btn-primary,
.cs-cta-box .cs-btn-secondary {
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --------------------------------------------------
   7. RESPONSIVE BREAKPOINTS
   -------------------------------------------------- */
@media only screen and (max-width: 991px) {
    .rs-breadcrumbs.bg-case-studies .content-part {
        padding: 90px 0;
    }
    .rs-breadcrumbs.bg-case-studies .breadcrumbs-title {
        font-size: 38px;
        line-height: 48px;
    }
    .cs-hero-section {
        padding: 60px 0;
    }
    .cs-hero-title {
        font-size: 36px;
    }
    .cs-card-item {
        padding: 24px;
    }
    .cs-card-title {
        font-size: 22px;
    }
    .cs-cta-box {
        padding: 36px 28px;
    }
    .cs-cta-img-wrap {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .rs-breadcrumbs.bg-case-studies .content-part {
        padding: 70px 0;
    }
    .rs-breadcrumbs.bg-case-studies .breadcrumbs-title {
        font-size: 32px;
        line-height: 40px;
    }
    .cs-hero-section {
        padding: 50px 0;
    }
    .cs-hero-title {
        font-size: 28px;
    }
    .cs-intro-title,
    .cs-cap-title,
    .cs-cta-title {
        font-size: 26px;
    }
    .cs-btn-secondary {
        margin-left: 0;
        width: 100%;
    }
    .cs-btn-primary {
        width: 100%;
    }
    .cs-card-action {
        justify-content: flex-start;
    }
    .cs-card-img-box {
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   8. DETAILED CASE STUDY 1: IBS MEDIC SPECIFIC STYLING
   ========================================================================== */

/* Breadcrumb Trail */
.cs-breadcrumbs-trail {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Poppins', sans-serif;
}
.cs-breadcrumbs-trail a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.cs-breadcrumbs-trail a:hover {
    color: #ffbe00;
}
.cs-breadcrumbs-trail .separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}
.cs-breadcrumbs-trail .active {
    color: #ffbe00;
    font-weight: 500;
}

/* Detail Hero Meta */
.cs-detail-category {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #106eea;
    margin-bottom: 12px;
}
.cs-detail-result-callout {
    background: #eff6ff;
    border-left: 4px solid #106eea;
    padding: 14px 20px;
    border-radius: 0 8px 8px 0;
    margin: 22px 0 28px 0;
}
.cs-detail-result-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e40af;
    margin-bottom: 4px;
}
.cs-detail-result-val {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0;
}

/* Overview Section */
.cs-overview-section {
    padding: 80px 0 60px 0;
    background: #ffffff;
}
.cs-sec-title {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #0a1c2e;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
}
.cs-sec-intro {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Challenge vs Our Solution (Image 2 Parity) */
.cs-versus-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(10, 28, 46, 0.08);
    border-radius: 4px;
    margin-bottom: 40px;
    overflow: hidden;
}

.cs-challenge-box {
    flex: 1;
    border: 2px solid #ef4444;
    border-right: none;
    padding: 36px 32px;
    background: #ffffff;
    border-radius: 4px 0 0 4px;
}
.cs-challenge-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 14px;
}
.cs-challenge-box p {
    font-size: 15px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 14px;
}
.cs-challenge-sub {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.cs-challenge-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.cs-challenge-list li {
    position: relative;
    padding-left: 20px;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}
.cs-challenge-list li::before {
    content: '•';
    position: absolute;
    left: 2px;
    top: 0;
    color: #dc2626;
    font-size: 20px;
    line-height: 1;
}

.cs-versus-chevron {
    width: 38px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    margin-left: -2px;
    margin-right: -2px;
}

.cs-solution-box {
    flex: 1.15;
    border: 2px solid #2563eb;
    border-left: none;
    padding: 36px 36px;
    background: #ffffff;
    border-radius: 0 4px 4px 0;
}
.cs-solution-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 14px;
}
.cs-solution-box p {
    font-size: 15.5px;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 16px;
}
.cs-solution-box strong {
    color: #0f172a;
    font-weight: 700;
}

/* Impact & Outcomes */
.cs-outcomes-section {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.cs-outcomes-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.cs-outcomes-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15.5px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 12px;
}
.cs-outcomes-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dbeafe;
    color: #2563eb;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cs-outcomes-list strong {
    color: #0f172a;
    font-weight: 700;
}
.cs-outcomes-banner {
    background: #ffffff;
    border-left: 4px solid #10b981;
    padding: 16px 22px;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    color: #065f46;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.cs-outcomes-graphic-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.cs-outcomes-graphic-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Technology Capabilities Grid */
.cs-tech-section {
    padding: 70px 0;
    background: #ffffff;
}
.cs-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.cs-tech-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.25s ease;
}
.cs-tech-card:hover {
    background: #ffffff;
    border-color: #106eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 110, 234, 0.1);
}
.cs-tech-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    background: #eff6ff;
    color: #106eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.cs-tech-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
}

/* Key Features Delivered Table */
.cs-features-section {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.cs-features-table-wrap {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin-top: 25px;
}
.cs-features-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}
.cs-features-table thead th {
    background: #1e3a8a;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 16px 20px;
    border: none;
}
.cs-features-table tbody td {
    padding: 18px 20px;
    vertical-align: top;
    border-top: 1px solid #f1f5f9;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
}
.cs-features-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
.cs-features-table tbody tr:hover {
    background: #f1f5f9;
}
.cs-features-table td.col-no {
    width: 60px;
    font-weight: 700;
    color: #1e40af;
    text-align: center;
}
.cs-features-table td.col-overview {
    width: 280px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
}
.cs-features-table td.col-deliverables ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-features-table td.col-deliverables li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    color: #475569;
}
.cs-features-table td.col-deliverables li:last-child {
    margin-bottom: 0;
}
.cs-features-table td.col-deliverables li::before {
    content: '•';
    position: absolute;
    left: 2px;
    color: #106eea;
    font-size: 18px;
    line-height: 1;
}

/* Process Flow Diagram Section */
.cs-diagram-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}
.cs-diagram-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
    text-align: center;
}
.cs-diagram-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Detail Responsive */
@media only screen and (max-width: 991px) {
    .cs-versus-wrapper {
        flex-direction: column;
    }
    .cs-challenge-box,
    .cs-solution-box {
        border-radius: 4px;
        border: 2px solid;
    }
    .cs-challenge-box {
        border-color: #ef4444;
    }
    .cs-solution-box {
        border-color: #2563eb;
    }
    .cs-versus-chevron {
        width: 100%;
        height: 30px;
        clip-path: polygon(0 0, 50% 100%, 100% 0);
        margin: -2px 0;
    }
    .cs-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .cs-tech-grid {
        grid-template-columns: 1fr;
    }
    .cs-features-table td.col-overview {
        width: auto;
    }
    .cs-sec-title {
        font-size: 26px;
    }
}

/* ==========================================================================
   9. DETAILED CASE STUDY 2: HR2EAZY ONESTOP SPECIFIC STYLING
   ========================================================================== */

/* Multi-Module Solution Box (Image 2 Parity) */
.cs-solution-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    margin-top: 18px;
    margin-bottom: 16px;
}
.cs-sol-mod-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.cs-sol-mod-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cs-sol-mod-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-sol-mod-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 5px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}
.cs-sol-mod-list li::before {
    content: '•';
    position: absolute;
    left: 2px;
    color: #2563eb;
    font-size: 16px;
    line-height: 1;
}
.cs-sol-full-note {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1e40af;
    font-weight: 500;
    margin-top: 14px;
}

/* Interactive Customer Journey Diagram (Image 3 Parity) */
.cs-journey-diagram {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
}
.cs-journey-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    position: relative;
}
.cs-journey-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    color: #94a3b8;
}
.cs-journey-connector svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cs-journey-card {
    border-radius: 12px;
    padding: 18px 20px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.cs-journey-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.cs-journey-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}
.cs-journey-card-desc {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Level 1: Inputs */
.cs-card-input {
    background: #f0f7ff;
    border: 1.5px solid #bae6fd;
    color: #0369a1;
    flex: 1;
    max-width: 320px;
}
.cs-card-input .cs-journey-card-title {
    color: #0369a1;
}
.cs-card-input .cs-journey-card-desc {
    color: #075985;
}

/* Level 2: Core Hub */
.cs-card-core {
    background: linear-gradient(135deg, #0b2545 0%, #173d67 100%);
    border: 2px solid #2563eb;
    color: #ffffff;
    max-width: 380px;
    width: 100%;
    padding: 22px 26px;
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.25);
}
.cs-card-core .cs-journey-card-title {
    font-size: 18px;
    color: #ffbe00;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}
.cs-card-core ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cs-card-core li {
    font-size: 13.5px;
    color: #e2e8f0;
    font-weight: 500;
}

/* Level 3: 4 Pillars */
.cs-journey-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
}
.cs-card-pillar {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 16px 14px;
    text-align: left;
}
.cs-card-pillar .cs-journey-card-title {
    color: #1e3a8a;
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}
.cs-card-pillar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-card-pillar li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 5px;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.45;
}
.cs-card-pillar li::before {
    content: '•';
    position: absolute;
    left: 2px;
    color: #106eea;
    font-size: 14px;
}

/* Level 4: Outcome Box */
.cs-card-outcome {
    background: #fefce8;
    border: 2px solid #fef08a;
    border-top: 4px solid #eab308;
    color: #854d0e;
    max-width: 440px;
    width: 100%;
    padding: 20px 24px;
    box-shadow: 0 6px 18px rgba(234, 179, 8, 0.12);
}
.cs-card-outcome .cs-journey-card-title {
    font-size: 16px;
    color: #a16207;
    margin-bottom: 8px;
}
.cs-card-outcome ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cs-card-outcome li {
    font-size: 13.5px;
    color: #713f12;
    font-weight: 500;
}

.cs-journey-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
    width: 100%;
}

@media only screen and (max-width: 991px) {
    .cs-solution-grid-4 {
        grid-template-columns: 1fr;
    }
    .cs-journey-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .cs-journey-row {
        flex-direction: column;
        align-items: center;
    }
    .cs-card-input {
        max-width: 100%;
        width: 100%;
    }
    .cs-journey-pillars,
    .cs-journey-2col {
        grid-template-columns: 1fr;
    }
}

/* AI Dual-Provider Branching Styles (Image 2 Parity) */
.cs-card-dashed {
    border: 1.5px dashed #0284c7 !important;
    background: #f0f7ff !important;
}

.cs-branch-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cs-branch-fork-svg,
.cs-branch-join-svg {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.cs-branch-fork-svg svg,
.cs-branch-join-svg svg {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
}

.cs-branch-cols {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
}

.cs-branch-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.cs-branch-pill {
    display: inline-block;
    padding: 3px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    background: #ffffff;
    border: 1.5px solid #7dd3fc;
    border-radius: 20px;
    margin: 2px 0 6px 0;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.cs-branch-stem-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 0 8px 0;
    color: #94a3b8;
}

.cs-branch-stem-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #94a3b8;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cs-card-branch {
    max-width: 195px !important;
    width: 100%;
    padding: 16px 14px !important;
}

@media only screen and (max-width: 575px) {
    .cs-branch-wrapper {
        max-width: 100%;
    }
    .cs-branch-cols {
        gap: 12px;
    }
    .cs-card-branch {
        max-width: 100% !important;
        padding: 14px 10px !important;
    }
    .cs-card-branch .cs-journey-card-title {
        font-size: 13.5px !important;
    }
}

/* Flow Diagram Multi-Branch Connector SVGs (Image 1 Parity) */
.cs-flow-connector-svg {
    width: 100%;
    max-width: 660px;
    margin: 4px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs-flow-connector-svg svg {
    width: 100%;
    max-width: 660px;
    height: 38px;
    display: block;
    overflow: visible;
}

@media only screen and (max-width: 767px) {
    .cs-flow-connector-svg {
        display: none !important;
    }
    .cs-flow-connector-mobile {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        color: #94a3b8;
    }
    .cs-flow-connector-mobile svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}

@media only screen and (min-width: 768px) {
    .cs-flow-connector-mobile {
        display: none !important;
    }
}

/* HR2eazy OneStop Flow Diagram Multi-Branch Connector SVGs */
.cs-flow-connector-svg-840 {
    width: 100%;
    max-width: 840px;
    margin: 4px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs-flow-connector-svg-840 svg {
    width: 100%;
    max-width: 840px;
    height: 42px;
    display: block;
    overflow: visible;
}

@media only screen and (max-width: 991px) {
    .cs-flow-connector-svg-840 {
        display: none !important;
    }
    .cs-flow-connector-mobile-991 {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        color: #94a3b8;
    }
    .cs-flow-connector-mobile-991 svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}

@media only screen and (min-width: 992px) {
    .cs-flow-connector-mobile-991 {
        display: none !important;
    }
}




