/* ============================================================
   HelpStar Home Page — Reference-Based Redesign Styles
   Stack: Bootstrap 5.3 + CSS Custom Properties
   ============================================================ */

/* --- Utility Bar (Top Bar Above Navbar) --- */
.hs-utility-bar {
    background-color: var(--color-hs-navy, #1B2A4A);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.hs-utility-bar a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.15s;
}
.hs-utility-bar a:hover {
    color: #fff;
}
.hs-utility-bar .bi {
    font-size: 0.85rem;
}
@media (max-width: 767.98px) {
    .hs-utility-bar {
        font-size: 0.72rem;
        padding: 0.35rem 0;
    }
}

/* --- Hero Section (Reference-Inspired) --- */
.hs-hero-section {
    background-color: var(--color-hs-cream-bg, #FAF8F5);
    padding-top: 3.5rem;
    padding-bottom: 3rem;
    min-height: 65vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hs-hero-heading {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: var(--color-hs-navy, #1B2A4A);
    margin-bottom: 1rem;
}
.hs-hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #00838F;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}
.hs-hero-desc {
    font-size: 0.95rem;
    color: var(--color-hs-text-body, #555);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 1.5rem;
}
.hs-hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}
.hs-hero-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}
.hs-hero-image-grid .hs-grid-img-1 { grid-row: 1 / 3; grid-column: 1; border-radius: 1.5rem; }
.hs-hero-image-grid .hs-grid-img-2 { border-radius: 1rem; }
.hs-hero-image-grid .hs-grid-img-3 { border-radius: 1rem; }

/* Global Buttons Matching Reference UI */
/* Primary Action: Solid Teal (#00838F) */
.btn-hs-start {
    background-color: #00838F !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.75rem;
    border-radius: 50rem;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 131, 143, 0.25);
}
.btn-hs-start:hover {
    background-color: #006064 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 131, 143, 0.35);
}

/* Secondary Action: Solid Purple (#6A1B9A) */
.btn-hs-refer {
    background-color: #6A1B9A !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.75rem;
    border-radius: 50rem;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(106, 27, 154, 0.25);
}
.btn-hs-refer:hover {
    background-color: #4A148C !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 27, 154, 0.35);
}

/* Program Specific Accent Buttons */
.btn-hs-teal {
    background-color: #00838F !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem 1.5rem;
    border-radius: 50rem;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}
.btn-hs-teal:hover {
    background-color: #006064 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-hs-green {
    background-color: #2E7D32 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem 1.5rem;
    border-radius: 50rem;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}
.btn-hs-green:hover {
    background-color: #1B5E20 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-hs-purple {
    background-color: #6A1B9A !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem 1.5rem;
    border-radius: 50rem;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}
.btn-hs-purple:hover {
    background-color: #4A148C !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-hs-orange {
    background-color: #E65100 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem 1.5rem;
    border-radius: 50rem;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}
.btn-hs-orange:hover {
    background-color: #BF360C !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Service Area Badge */
.hs-service-area-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #E0F2F1;
    color: #006064;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    margin-top: 1.5rem;
}

/* --- Service Category Banner (Deep Navy Sub-banner Below Hero) --- */
.hs-service-tiles {
    background-color: #1B264F; /* Deep Navy banner from reference */
    padding: 2.2rem 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(11, 19, 42, 0.2);
}
.hs-service-tile {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 1.4rem 1.25rem;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
    text-decoration: none;
    display: block;
    color: #fff;
}
.hs-service-tile:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #fff;
}
.hs-service-tile .tile-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.85rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.hs-service-tile h6 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}
.hs-service-tile p {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.45;
}

/* --- Our Programs Section --- */
.hs-programs-section {
    background-color: #fff;
    padding: 5rem 0;
}
.hs-section-heading {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-hs-navy, #1B2A4A);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}
.hs-section-subtitle {
    font-size: 0.95rem;
    color: var(--color-hs-text-body, #555);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}
.hs-program-card {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid #E8E8E8;
    transition: all 0.25s ease;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}
.hs-program-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.hs-program-card .program-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.hs-program-card .program-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hs-program-card .program-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.hs-program-card .program-body h4.title-omhc { color: #00838F; }
.hs-program-card .program-body h4.title-prp { color: #2E7D32; }
.hs-program-card .program-body h4.title-sep { color: #6A1B9A; }
.hs-program-card .program-body h4.title-substance { color: #E65100; }

.hs-program-card .program-body p {
    font-size: 0.86rem;
    color: var(--color-hs-text-body, #555);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* --- How Can We Help You Today Section --- */
.hs-help-section {
    background-color: #FAF8F5;
    padding: 4.5rem 0;
}
.hs-help-card {
    background-color: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid #E8E8E8;
    transition: all 0.25s ease;
    height: 100%;
}
.hs-help-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.hs-help-card .help-icon {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.25rem;
}
.hs-help-card .help-icon.icon-service {
    background-color: #E0F2F1;
    color: #00838F;
    border: 2px solid #00838F;
}
.hs-help-card .help-icon.icon-refer {
    background-color: #F3E8FF;
    color: #6A1B9A;
    border: 2px solid #6A1B9A;
}
.hs-help-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-hs-navy, #1B2A4A);
    margin-bottom: 0.6rem;
}
.hs-help-card p {
    font-size: 0.88rem;
    color: var(--color-hs-text-body, #555);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Why HelpStar Section --- */
.hs-why-section {
    background-color: #fff;
    padding: 5rem 0;
}
.hs-why-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    transition: all 0.25s ease;
    height: 100%;
}
.hs-why-card:hover {
    background-color: #F5F5F5;
    transform: translateY(-3px);
}
.hs-why-card .why-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
    background-color: #E0F2F1;
    color: #00838F;
    transition: transform 0.2s;
}
.hs-why-card:hover .why-icon {
    transform: scale(1.1);
}
.hs-why-card h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-hs-navy, #1B2A4A);
    margin-bottom: 0.4rem;
}
.hs-why-card p {
    font-size: 0.8rem;
    color: var(--color-hs-text-body, #555);
    line-height: 1.5;
    margin: 0;
}

/* --- Employment Is Part of Recovery Section (SEP Purple Theme) --- */
.hs-employment-section {
    background-color: #F8F5FC;
    padding: 5rem 0;
}
.hs-employment-section h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--color-hs-navy, #1B2A4A);
    margin-bottom: 1rem;
}
.hs-employment-section .emp-desc {
    font-size: 0.92rem;
    color: var(--color-hs-text-body, #555);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.hs-step-card {
    text-align: center;
    padding: 1.25rem 0.5rem;
    position: relative;
    z-index: 1;
}
.hs-step-card .step-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 0.85rem;
    background-color: #6A1B9A;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
    transition: all 0.25s;
}
.hs-step-card:hover .step-icon {
    background-color: #4A148C;
    transform: scale(1.1);
}
.hs-step-card h6 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #6A1B9A;
    margin-bottom: 0.3rem;
}
.hs-step-card p {
    font-size: 0.78rem;
    color: var(--color-hs-text-body, #555);
    margin: 0;
    line-height: 1.45;
}

/* --- Who We Serve + Our Impact + Testimonials Row --- */
.hs-impact-section {
    background-color: #fff;
    padding: 5rem 0;
}
.hs-serve-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hs-serve-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-hs-text-body, #555);
    line-height: 1.6;
}
.hs-serve-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00838F;
    font-weight: 700;
}
.hs-stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    background-color: #E0F2F1;
    border: 1px solid #B2DFDB;
    transition: transform 0.2s;
}
.hs-stat-card:hover {
    transform: translateY(-3px);
}
.hs-stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #00838F;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.hs-stat-card .stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #004D40;
    line-height: 1.35;
}
.hs-testimonial-card {
    background-color: #FAF8F5;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    position: relative;
    border: 1px solid #E0F2F1;
}
.hs-testimonial-card p {
    font-size: 0.9rem;
    color: #37474F;
    font-style: italic;
    line-height: 1.65;
}

/* --- "Your Next Step Can Start Today" CTA Band --- */
.hs-cta-band {
    background-color: #1B264F;
    padding: 4.5rem 0;
    color: #fff;
    text-align: center;
}
.hs-cta-band h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}
.hs-cta-band p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* --- Partner Logos Section --- */
.hs-partners-section {
    background-color: #fff;
    padding: 3.5rem 0;
    border-top: 1px solid #E8E8E8;
}
.hs-partners-section h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.75rem;
}

/* --- Redesigned Footer (Deep Navy Reference Footer) --- */
.hs-footer {
    background-color: #0B132A; /* Deep Dark Navy */
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding-top: 4rem;
}
.hs-footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: 0.3px;
}
.hs-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hs-footer-links li {
    margin-bottom: 0.65rem;
}
.hs-footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s ease;
}
.hs-footer-links a:hover {
    color: #00B5AD;
}
.hs-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}
.hs-footer-contact i {
    color: #00B5AD;
    font-size: 1rem;
    margin-top: 0.15rem;
}
.hs-footer-bottom {
    background-color: #070D1E;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}
.hs-footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.15s;
}
.hs-footer-bottom a:hover {
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hs-hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
        min-height: auto;
    }
    .hs-hero-heading {
        font-size: 2rem;
    }
    .hs-hero-image-grid {
        max-width: 350px;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hs-hero-heading { font-size: 1.75rem; }
    .hs-section-heading { font-size: 1.6rem; }
    .hs-cta-band h2 { font-size: 1.6rem; }
    .hs-employment-section h2 { font-size: 1.5rem; }
}
