/* ============================================
   GoAccount – Case Studies Page Styles
   ============================================ */

/* ---- Filter Pills (Hero) ---- */
.cs-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    white-space: nowrap;
}
.cs-pill:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    color: #fff;
}

/* ---- Case Study Card ---- */
.cs-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(30, 64, 175, 0.08), 0 1px 4px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s, transform 0.3s;
    scroll-margin-top: 90px; /* offset for fixed navbar */
}
.cs-card:hover {
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.14), 0 2px 8px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

/* ---- Card Header ---- */
.cs-card-header {
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
}
.cs-card-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}
.cs-card-header::after {
    content: '';
    position: absolute;
    bottom: -60%;
    right: 10%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

/* ---- Business Icon Circle ---- */
.cs-biz-icon {
    width: 58px;
    height: 58px;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

/* ---- Card Body ---- */
.cs-card-body {
    padding: 2rem;
}

/* ---- Blockquote / Testimonial ---- */
.cs-quote {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border-left: 3px solid #3b82f6;
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    margin: 0;
}

/* ---- Result Metric Cards ---- */
.cs-result-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    padding: 1.125rem 1rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cs-result-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.1);
}

.cs-result-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e40af;
    line-height: 1.15;
    margin-bottom: 0.35rem;
}

.cs-result-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.35;
}

/* ---- Per-card CTA Button (WhatsApp green) ---- */
.cs-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    text-decoration: none;
    width: 100%;
    justify-content: center;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.cs-cta-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.38);
    color: #fff;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

/* Tablet */
@media (max-width: 1023px) {
    .cs-card-body {
        padding: 1.5rem;
    }
    .cs-card-header {
        padding: 1.4rem 1.5rem;
    }
    .cs-result-value {
        font-size: 1.35rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cs-card {
        border-radius: 1rem;
    }
    .cs-card-header {
        padding: 1.25rem 1.125rem;
    }
    .cs-card-body {
        padding: 1.25rem 1.125rem;
    }
    .cs-biz-icon {
        width: 48px;
        height: 48px;
    }
    .cs-result-value {
        font-size: 1.2rem;
    }
    .cs-result-card {
        padding: 0.875rem 0.75rem;
    }
    .cs-cta-btn {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
    .cs-pill {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }
}

/* Small mobile */
@media (max-width: 479px) {
    .cs-result-value {
        font-size: 1.1rem;
    }
    .cs-result-label {
        font-size: 0.68rem;
    }
    .cs-quote {
        padding: 1rem 1rem 1rem 1.125rem;
    }
}
