/* RAK Hospital case study — sab styles .rak-cs ke andar scoped hain. Koi font-family set nahi hai. */
.rak-cs {
    --rcs-g: #84e01a;
    --rcs-card: #120d1f;
    --rcs-line: #2a2140;
    --rcs-tx: #f4f1fa;
    --rcs-mu: #a9a0bd;
    --rcs-p: #7c3aed;
    --rcs-p2: #b44cf0;
    background: radial-gradient(900px 500px at 85% -5%, rgba(91, 33, 182, .33), transparent), radial-gradient(700px 400px at -5% 30%, rgba(91, 31, 165, .14), transparent), #09060f;
    color: var(--rcs-tx);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden
}

.rak-cs img {
    max-width: 100%;
    height: auto
}

.rak-cs h1,
.rak-cs h2,
.rak-cs h3 {
    color: var(--rcs-tx);
    line-height: 1.15;
    margin: 0;
    font-weight: 800
}

.rak-cs h1 {
    font-size: clamp(30px, 5vw, 56px);
    letter-spacing: -.02em
}

.rak-cs h2 {
    font-size: clamp(25px, 3.5vw, 38px);
    margin-bottom: 14px;
    letter-spacing: -.01em
}

.rak-cs h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px
}

.rak-cs p {
    margin: 0;
    color: var(--rcs-mu)
}

.rak-cs .rcs-hl {
    color: var(--rcs-g)
}

.rak-cs .rcs-section {
    padding: 30px 0
}

.rak-cs .rcs-hero {
    padding: 64px 0 30px
}

.rak-cs .rcs-pt0 {
    padding-top: 0
}

.rak-cs .rcs-pb {
    padding-bottom: 80px
}

.rak-cs .rcs-eyebrow {
    color: var(--rcs-g);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 14px
}

.rak-cs .rcs-lead {
    max-width: 780px;
    margin-bottom: 30px
}

.rak-cs .rcs-hero .rcs-lead {
    margin: 20px 0 28px
}

.rak-cs .rcs-sub {
    font-size: clamp(20px, 2.6vw, 26px);
    margin: 34px 0 22px
}

.rak-cs .rcs-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

/* buttons */
.rak-cs .rcs-btn {
    border-radius: 999px;
    padding: 13px 26px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s
}

.rak-cs .rcs-btn:hover {
    transform: translateY(-2px)
}

.rak-cs .rcs-btn:focus {
    box-shadow: 0 0 0 3px rgba(132, 224, 26, .45);
    outline: 0
}

.rak-cs .rcs-btn-primary {
    background: var(--rcs-g);
    border-color: var(--rcs-g);
    color: #0b1403
}

.rak-cs .rcs-btn-primary:hover {
    color: #0b1403;
    box-shadow: 0 8px 28px rgba(132, 224, 26, .35)
}

.rak-cs .rcs-btn-outline {
    background: transparent;
    border-color: var(--rcs-g);
    color: var(--rcs-tx)
}

.rak-cs .rcs-btn-outline:hover {
    background: var(--rcs-g);
    color: #0b1403;
    text-decoration: none
}

.rak-cs .rcs-btn-dark {
    background: #0b0813;
    border-color: #0b0813;
    color: #fff
}

.rak-cs .rcs-btn-dark:hover {
    color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .4)
}

/* cards */
.rak-cs .rcs-snap,
.rak-cs .rcs-card,
.rak-cs .rcs-org,
.rak-cs .rcs-sol {
    background: var(--rcs-card);
    border: 1px solid var(--rcs-line);
    border-radius: 16px
}

.rak-cs .rcs-snap {
    padding: 16px 20px
}

.rak-cs .rcs-label {
    display: block;
    color: var(--rcs-g);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px
}

.rak-cs .rcs-snap strong,
.rak-cs .rcs-tech strong {
    display: block;
    font-weight: 700
}

.rak-cs .rcs-card {
    padding: 22px 24px;
    border-left: 3px solid var(--rcs-g);
    transition: transform .2s, border-color .2s
}

.rak-cs .rcs-card:hover {
    transform: translateY(-3px);
    border-color: var(--rcs-p2);
    border-left-color: var(--rcs-g)
}

.rak-cs .rcs-step {
    border-left: 1px solid var(--rcs-line);
    border-top: 3px solid var(--rcs-g)
}

.rak-cs .rcs-tech {
    padding: 18px 20px;
    border-left-width: 1px
}

.rak-cs .rcs-tech strong {
    font-size: 17px
}

.rak-cs .rcs-kpi {
    background: linear-gradient(160deg, #1a1033, var(--rcs-card));
    border: 1px solid var(--rcs-line);
    border-radius: 16px;
    padding: 24px
}

.rak-cs .rcs-kpi strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--rcs-g);
    line-height: 1.15;
    margin-bottom: 6px
}

.rak-cs .rcs-kpi p {
    font-size: 15px
}

.rak-cs .rcs-org {
    padding: 30px
}

.rak-cs .rcs-logo {
    flex: 0 0 auto;
    width: 200px;
    max-width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 16px
}

.rak-cs .rcs-logo img {
    display: block;
    width: 100%
}

.rak-cs .rcs-sol {
    padding: 28px;
    margin-bottom: 20px
}

.rak-cs .rcs-sol h3 {
    font-size: 22px;
    margin-bottom: 10px
}

.rak-cs .rcs-shot {
    display: block;
    border-radius: 14px
}

.rak-cs .rcs-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rcs-g);
    color: #0b1403;
    font-weight: 800;
    margin-bottom: 12px
}

.rak-cs .rcs-results {
    background: linear-gradient(135deg, #4c1d95, #7c3aed 55%, #a23fd4);
    border-radius: 28px;
    padding: 48px 36px
}

.rak-cs .rcs-results p {
    color: #e9ddff
}

.rak-cs .rcs-kpi-dark {
    background: rgba(11, 8, 20, .5);
    border-color: rgba(255, 255, 255, .14)
}

.rak-cs .rcs-final {
    background: linear-gradient(135deg, #2a1260, #6d28d9);
    border-radius: 28px;
    padding: 56px 32px
}

.rak-cs .rcs-final p {
    color: #eadcff;
    margin-bottom: 28px
}

.rak-cs .rcs-float {
    animation: rcs-float 6s ease-in-out infinite
}

@keyframes rcs-float {
    50% {
        transform: translateY(-10px)
    }
}

/* scroll reveal (sirf tab jab JS chale) */
.rak-cs.rcs-js .rcs-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease
}

.rak-cs.rcs-js .rcs-reveal.rcs-in {
    opacity: 1;
    transform: none
}

@media(max-width:991.98px) {
    .rak-cs .rcs-section {
        padding: 30px 0
    }

    .rak-cs .rcs-hero {
        padding: 44px 0 30px
    }
}

@media(max-width:575.98px) {
    .rak-cs .rcs-sol {
        padding: 20px
    }

    .rak-cs .rcs-results,
    .rak-cs .rcs-final {
        padding: 32px 20px;
        border-radius: 20px
    }

    .rak-cs .rcs-cta-row .btn,
    .rak-cs .rcs-final .btn {
        width: 100%
    }

    .rak-cs .rcs-logo {
        width: 150px
    }

    .rak-cs .rcs-org {
        padding: 22px
    }
}

@media(prefers-reduced-motion:reduce) {
    .rak-cs .rcs-float {
        animation: none
    }

    .rak-cs.rcs-js .rcs-reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .rak-cs .rcs-btn,
    .rak-cs .rcs-card {
        transition: none
    }
}

.rak-cs .rcs-kpi-sm strong {
    font-size: 22px
}

.rak-cs .rcs-final p strong {
    color: #fff
}

/* technology stack logos */
.rak-cs .rcs-tech {
    display: flex;
    flex-direction: column
}

.rak-cs .rcs-tech-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px
}

.rak-cs .rcs-tech-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 7px 10px;
    background: #fff;
    border-radius: 10px
}

.rak-cs .rcs-tech-logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: none
}