/* ============================================================
   Case Study Hub Page  —  css/case-study-hub.css
   Design tokens match case-study.css / service-page.css
   Prefix: csh-
   Colors: teal #079393, brown #7a4010, orange #e8952a, dark #1c2b2b
   ============================================================ */


/* ============================================================
   Hero Section
   ============================================================ */
#cshHeroSection {
    position: relative;
    background: #1c2b2b;
    padding: 100px 0 90px;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.csh-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.csh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(12, 25, 25, 0.92) 0%,
        rgba(12, 25, 25, 0.75) 55%,
        rgba(12, 25, 25, 0.35) 100%
    );
    z-index: 1;
}

#cshHeroSection .container {
    position: relative;
    z-index: 2;
}

.csh-hero-content {
    padding-right: 20px;
}

.csh-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e8952a;
    background: rgba(232, 149, 42, 0.15);
    border: 1px solid rgba(232, 149, 42, 0.4);
    border-radius: 3px;
    padding: 5px 12px;
    margin-bottom: 20px;
}

.csh-hero-h1 {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.22 !important;
    margin: 0 0 20px !important;
    letter-spacing: -0.3px !important;
}

.csh-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin: 0 0 32px;
    max-width: 580px;
}

.csh-hero-btn {
    display: inline-block;
    background: #e8952a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
}

.csh-hero-btn:hover,
.csh-hero-btn:focus {
    background: #c97c1e;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}


/* ============================================================
   Intro Section
   ============================================================ */
#cshIntroSection {
    background: #ffffff;
    padding: 70px 0 36px;
    text-align: center;
}

.csh-intro-heading {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #079393 !important;
    margin: 0 0 18px !important;
    letter-spacing: -0.2px !important;
}

.csh-intro-text {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

.csh-intro-icon-wrap {
    text-align: center;
    margin-bottom: 22px;
}

.csh-intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 2px solid #e8952a;
    color: #e8952a;
    font-size: 40px;
}


/* ============================================================
   Case Study Cards Section
   ============================================================ */
#cshCardsSection {
    background: #ffffff;
    padding: 40px 0 70px;
}

.csh-cards-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.csh-card-col {
    padding: 0 12px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
}

.csh-card {
    background: #ffffff;
    border: 1px solid #e0eaea;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.csh-card:hover {
    box-shadow: 0 10px 32px rgba(7, 147, 147, 0.14);
    transform: translateY(-4px);
}

/* Card logo header bar */
.csh-card-header {
    background: #ffffff;
    padding: 22px 24px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 80px;
    border-bottom: 1px solid #f0f0f0;
}

.csh-card-logo-wrap img {
    max-height: 44px;
    width: auto;
    display: block;
}

.csh-card-company-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.90);
    margin: 0;
    line-height: 1.3;
}

/* Card thumbnail image */
.csh-card-thumb {
    overflow: hidden;
    height: 200px;
}

.csh-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.csh-card:hover .csh-card-thumb img {
    transform: scale(1.04);
}

/* Card body */
.csh-card-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.csh-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #079393 !important;
    line-height: 1.4 !important;
    margin: 0 0 14px !important;
}

.csh-card-summary {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin: 0 0 18px;
    flex: 1;
}

/* Tags / Pills */
.csh-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.csh-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #555;
    background: #f2f4f4;
    border: 1px solid #dde3e3;
    border-radius: 20px;
    padding: 4px 12px;
}

/* Card CTA */
.csh-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #079393;
    text-decoration: none;
    letter-spacing: 0.2px;
    margin-top: auto;
    transition: color 0.2s;
}

.csh-card-cta .fa {
    font-size: 13px;
    transition: transform 0.2s;
}

.csh-card-cta:hover,
.csh-card-cta:focus {
    color: #056868;
    text-decoration: none;
}

.csh-card-cta:hover .fa {
    transform: translateX(3px);
}


/* ============================================================
   Proof / Why Section
   ============================================================ */
#cshProofSection {
    background: #f4fafa;
    padding: 70px 0 74px;
    border-top: 1px solid #cde0e0;
    border-bottom: 1px solid #cde0e0;
}

.csh-section-heading-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 44px;
}

.csh-section-heading-row::before,
.csh-section-heading-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #b0d0d0;
}

.csh-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #079393;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.csh-proof-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.csh-proof-col {
    padding: 0 12px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.csh-proof-tile {
    background: #ffffff;
    border: 1px solid #d4e8e8;
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
}

.csh-proof-tile:hover {
    box-shadow: 0 6px 20px rgba(7, 147, 147, 0.12);
    transform: translateY(-3px);
}

.csh-proof-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(7, 147, 147, 0.08);
    border: 1px solid rgba(7, 147, 147, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.csh-proof-icon .fa {
    font-size: 24px;
    color: #079393;
}

.csh-proof-heading {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #079393 !important;
    margin: 0 0 10px !important;
}

.csh-proof-copy {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}


/* ============================================================
   Bottom CTA Band
   ============================================================ */
#cshCtaBand {
    background: #1c2b2b;
    padding: 0;
}

.csh-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 52px 0;
}

.csh-cta-text-block {
    flex: 1;
    min-width: 0;
}

.csh-cta-band-heading {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 10px !important;
    line-height: 1.28 !important;
    letter-spacing: -0.2px !important;
}

.csh-cta-band-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0;
}

.csh-cta-action-block {
    flex-shrink: 0;
    text-align: right;
}

.csh-cta-pre-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.60);
    margin-bottom: 10px;
}

.csh-cta-primary-btn {
    display: inline-block;
    background: #e8952a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 16px 34px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    margin-bottom: 12px;
}

.csh-cta-primary-btn:hover,
.csh-cta-primary-btn:focus {
    background: #cf7e1c;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.csh-cta-phone-line {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.60);
    letter-spacing: 0.2px;
    text-align: center;
}

.csh-cta-phone-line a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.csh-cta-phone-line a:hover {
    color: #ffffff;
    text-decoration: none;
}

.csh-cta-lead-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.csh-cta-icon-badge {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px solid #e8952a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.csh-cta-icon-badge .fa {
    font-size: 48px;
    color: #e8952a;
}


/* ============================================================
   Responsive — Tablet (max 991px)
   ============================================================ */
@media (max-width: 991px) {
    #cshHeroSection {
        padding: 70px 0 60px;
        min-height: 400px;
    }

    .csh-hero-h1 { font-size: 32px !important; }

    .csh-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 44px 0;
        gap: 24px;
    }

    .csh-cta-lead-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .csh-cta-lead-row > div {
        text-align: center;
    }

    .csh-cta-action-block {
        text-align: center;
    }

    .csh-section-title {
        font-size: 22px;
    }
}


/* ============================================================
   Responsive — Mobile (max 767px)
   ============================================================ */
@media (max-width: 767px) {
    #cshHeroSection {
        padding: 52px 0 44px;
        min-height: unset;
    }

    .csh-hero-overlay {
        background: rgba(12, 25, 25, 0.88);
    }

    .csh-hero-h1 { font-size: 26px !important; }
    .csh-hero-subtitle { font-size: 15px; }

    #cshIntroSection { padding: 50px 0 28px; }
    .csh-intro-heading { font-size: 24px !important; }
    .csh-intro-text { font-size: 15px; }

    .csh-cards-row,
    .csh-proof-row { margin: 0; }
    .csh-card-col,
    .csh-proof-col { padding: 0; margin-bottom: 20px; }

    .csh-section-heading-row::before,
    .csh-section-heading-row::after { display: none; }
    .csh-section-title { white-space: normal; text-align: center; }

    .csh-cta-band-heading { font-size: 22px !important; }
    .csh-cta-band-sub { font-size: 15px; }
    .csh-cta-primary-btn { font-size: 14px; padding: 14px 24px; width: 100%; text-align: center; }

    .csh-cta-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 44px 0;
        gap: 24px;
    }

    .csh-cta-lead-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .csh-cta-lead-row > div {
        text-align: center;
    }

    .csh-cta-action-block {
        width: 100%;
        text-align: center;
    }
}
