/* Homepage features: prayer times, notices ticker, courses CTA, volunteer */

.hf-notice-bar {
    background: linear-gradient(90deg, rgba(255, 170, 0, 0.12), rgba(0, 200, 104, 0.08));
    border-bottom: 1px solid rgba(255, 170, 0, 0.25);
    padding: 14px 0;
    overflow: hidden;
}

.hf-notice-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 40px;
}

.hf-notice-bar .hc-link {
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap;
}

.hf-notice-bar__label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--f-accent-gold, #ffaa00);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.hf-notice-ticker {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.hf-notice-ticker__track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: hfTicker 42s linear infinite;
}

.hf-notice-ticker__track:hover {
    animation-play-state: paused;
}

.hf-notice-ticker__item {
    color: var(--f-text-main, #111);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.hf-notice-ticker__item:hover {
    color: var(--f-primary-neon, #00c868);
}

@keyframes hfTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hf-band {
    padding: var(--hp-section-pad-y, 3.5rem) 0;
}

.hf-band--light {
    background: linear-gradient(180deg, #fff 0%, #f8faf9 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.hf-band--soft {
    background: var(--f-bg-base, #0a0b10);
}

.hf-prayer-only {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hf-prayer-impact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: stretch;
}

.hf-prayer-card {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.hf-prayer-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hf-prayer-card__head h2 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 6px;
    color: var(--f-text-main, #111);
}

.hf-prayer-card__head p {
    margin: 0;
    font-size: 13px;
    color: var(--f-text-muted, #666);
}

.hf-prayer-city {
    flex-shrink: 0;
    margin-left: auto;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--f-primary-neon, #00c868);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 200, 104, 0.08);
    border: 1px solid rgba(0, 200, 104, 0.2);
}

.hf-prayer-times {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hf-prayer-slot {
    padding: 14px 12px;
    border-radius: 12px;
    background: #f6fbf8;
    border: 1px solid rgba(0, 200, 104, 0.12);
    text-align: center;
}

.hf-prayer-slot span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--f-text-muted, #666);
    margin-bottom: 6px;
}

.hf-prayer-slot strong {
    font-size: 18px;
    font-weight: 900;
    color: var(--f-primary-neon, #146f38);
}

.hf-prayer-slot--jummah {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.08), rgba(0, 200, 104, 0.06));
    border-color: rgba(255, 170, 0, 0.25);
}

.hf-impact-panel {
    background: var(--f-glass-bg, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--f-glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(12px);
}

.hf-impact-panel__head {
    margin-bottom: 20px;
}

.hf-impact-panel__head .hf-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--f-accent-gold, #ffaa00);
    margin-bottom: 10px;
}

.hf-impact-panel__head h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: var(--f-text-main, #fff);
    margin: 0 0 8px;
}

.hf-impact-panel__head p {
    margin: 0;
    color: var(--f-text-muted, #9ca3af);
    font-size: 14px;
    max-width: 520px;
}

.hf-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hf-impact-stat {
    padding: 18px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.hf-impact-stat:hover {
    border-color: var(--f-primary-neon, #00c868);
    transform: translateY(-4px);
}

.hf-impact-stat strong {
    display: block;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 950;
    line-height: 1;
    color: var(--f-primary-neon, #00ff88);
    margin-bottom: 8px;
}

.hf-impact-stat span {
    font-size: 12px;
    font-weight: 700;
    color: var(--f-text-main, #e5e7eb);
}

.hf-courses {
    padding: var(--hp-section-pad-y, 3.5rem) 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 50%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.hf-courses__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.hf-courses__head > div {
    flex: 1 1 280px;
    min-width: 0;
}

.hf-courses__head .btn-futuristic {
    flex-shrink: 0;
    align-self: flex-end;
    margin: 0;
}

.hf-courses__head h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin: 0 0 10px;
    color: var(--f-text-main, #111);
}

.hf-courses__head p {
    margin: 0;
    max-width: 560px;
    color: var(--f-text-muted, #555);
}

.hf-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hf-course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hf-course-card:hover {
    color: inherit;
    transform: translateY(-8px);
    border-color: var(--f-primary-neon, #00c868);
    box-shadow: 0 16px 40px rgba(0, 200, 104, 0.15);
}

.hf-course-card__image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.hf-course-card__body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hf-course-card__badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--f-accent-gold, #b58c35);
    margin-bottom: 8px;
}

.hf-course-card__body h3 {
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 10px;
}

.hf-course-card__body p {
    font-size: 14px;
    color: var(--f-text-muted, #666);
    margin: 0 0 16px;
    flex: 1;
}

.hf-course-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    color: var(--f-primary-neon, #146f38);
}

.hf-volunteer {
    padding: var(--hp-section-pad-y, 3.5rem) 0;
    background: var(--f-bg-surface, #11141c);
    border-top: 1px solid var(--f-glass-border, rgba(255, 255, 255, 0.08));
}

.hf-volunteer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: start;
}

.hf-volunteer__intro h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    color: var(--f-text-main, #fff);
    margin: 0 0 14px;
}

.hf-volunteer__intro p {
    color: var(--f-text-muted, #9ca3af);
    margin-bottom: 16px;
}

.hf-volunteer__occasion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    color: var(--f-accent-gold, #ffaa00);
    font-size: 12px;
    font-weight: 800;
}

.hf-volunteer-form {
    background: var(--f-glass-bg, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--f-glass-border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 28px;
}

.hf-volunteer-form .form-label {
    color: var(--f-text-muted, #cbd5e1);
    font-weight: 700;
    font-size: 13px;
}

.hf-volunteer-form .form-control,
.hf-volunteer-form .form-select {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--f-text-main, #fff);
}

.hf-volunteer-form .form-control:focus,
.hf-volunteer-form .form-select:focus {
    border-color: var(--f-primary-neon, #00c868);
    box-shadow: 0 0 0 3px rgba(0, 200, 104, 0.15);
}

@media (max-width: 991px) {
    .hf-prayer-impact-grid,
    .hf-volunteer__grid {
        grid-template-columns: 1fr;
    }
    .hf-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hf-course-grid {
        grid-template-columns: 1fr;
    }
    .hf-prayer-times {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hf-notice-bar__inner {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .hf-notice-bar .hc-link {
        margin-left: 0;
        width: 100%;
    }

    .hf-prayer-city {
        margin-left: 0;
        margin-top: 8px;
    }

    .hf-courses__head {
        flex-direction: column;
        align-items: stretch;
    }

    .hf-courses__head .btn-futuristic {
        align-self: stretch;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hf-prayer-times {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
