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

.hf-ads-showcase {
    position: relative;
    isolation: isolate;
    padding: clamp(26px, 4vw, 44px) 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(211, 164, 69, 0.18), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(18, 132, 103, 0.16), transparent 28%),
        linear-gradient(135deg, #f7faf8 0%, #eef7f2 48%, #fff8e6 100%);
    border-top: 1px solid rgba(16, 79, 56, 0.1);
    border-bottom: 1px solid rgba(16, 79, 56, 0.1);
    overflow: hidden;
}

.hf-ads-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 75, 54, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 75, 54, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
    opacity: .34;
    z-index: -1;
}

.hf-ads-showcase__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.hf-ads-showcase__head span,
.hf-ad-popup__content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b9821f;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hf-ads-showcase__head h2 {
    color: #10251d !important;
    font-size: clamp(20px, 2.8vw, 30px) !important;
    font-weight: 950;
    line-height: 1.05;
    margin: 6px 0 0;
}

.hf-ads-showcase__head p {
    max-width: 620px;
    color: #5d6f68;
    margin: 7px 0 0;
    font-size: 14px;
}

.hf-ads-showcase__head strong {
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #0a5c3c, #00ff88);
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.hf-ad-carousel {
    position: relative;
    border-radius: 16px;
    padding: 1px;
    background:
        linear-gradient(135deg, rgba(15, 107, 77, .35), rgba(199, 146, 42, .4));
    box-shadow: 0 18px 50px rgba(20, 52, 39, .14);
}

.hf-ad-carousel__stage {
    position: relative;
    min-height: clamp(215px, 24vw, 300px);
    overflow: hidden;
    border-radius: 15px;
    background: #0e2019;
}

.hf-ad-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity .65s ease, transform 1.2s ease;
    pointer-events: none;
}

.hf-ad-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hf-ad-slide__media {
    position: absolute;
    inset: 0;
}

.hf-ad-slide__media img,
.hf-ad-slide__media video,
.hf-ad-popup__media img,
.hf-ad-popup__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hf-ad-slide__shade {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 22, 17, .94), rgba(7, 22, 17, .58) 56%, rgba(7, 22, 17, .1)),
        linear-gradient(0deg, rgba(7, 22, 17, .82), transparent 58%);
}

.hf-ad-slide__content {
    position: relative;
    z-index: 3;
    min-height: inherit;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: clamp(22px, 4vw, 38px);
}

.hf-ad-slide__status {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #10251d;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    padding: 6px 11px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 850;
}

.hf-ad-slide__status i {
    color: #0f9f6f;
    font-size: 8px;
}

.hf-ad-slide__eyebrow,
.hf-ad-popup__content span {
    display: inline-flex;
    align-items: center;
    color: #d29a2e;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hf-ad-slide__content h3,
.hf-ad-popup__content h3 {
    color: #fff;
    font-weight: 950;
    line-height: 1.03;
    margin: 7px 0;
}

.hf-ad-slide__content h3 {
    color: #fff !important;
    font-size: clamp(24px, 3.8vw, 42px) !important;
    max-width: 14ch;
    text-shadow: 0 10px 32px rgba(0, 0, 0, .36);
}

.hf-ad-slide__content p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.55;
    max-width: 520px;
    margin: 0 0 16px;
}

.hf-ad-slide__cta,
.hf-ad-popup__content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #06100b;
    background: linear-gradient(135deg, #d7a43a, #26b386);
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 18px 46px rgba(255, 195, 77, .22);
}

.hf-ad-slide__cta:hover,
.hf-ad-popup__content a:hover {
    color: #06100b;
    transform: translateY(-1px);
}

.hf-ad-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .88);
    color: #123027;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .24);
    transform: translateY(-50%);
}

.hf-ad-carousel__nav--prev {
    left: 14px;
}

.hf-ad-carousel__nav--next {
    right: 14px;
}

.hf-ad-carousel__dots,
.hf-ad-popup__controls {
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(-50%);
}

.hf-ad-carousel__dots button,
.hf-ad-popup__controls button {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    transition: width .24s ease, background .24s ease;
}

.hf-ad-carousel__dots button.is-active,
.hf-ad-popup__controls button.is-active {
    width: 28px;
    background: #00ff88;
}

.hf-ad-popup[hidden] {
    display: none;
}

.hf-ad-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: clamp(14px, 4vw, 28px);
    opacity: 0;
    transition: opacity .24s ease;
}

.hf-ad-popup.is-visible {
    opacity: 1;
}

.hf-ad-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 10, .78);
    backdrop-filter: blur(12px);
}

.hf-ad-popup__dialog {
    position: relative;
    width: min(760px, calc(100vw - 28px));
    max-height: min(520px, calc(100vh - 36px));
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 34px 110px rgba(0, 0, 0, .52);
    transform: translateY(18px) scale(.98);
    transition: transform .24s ease;
}

.hf-ad-popup.is-visible .hf-ad-popup__dialog {
    transform: translateY(0) scale(1);
}

.hf-ad-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: #10251d;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.hf-ad-popup__media {
    min-height: 100%;
    background: #10251d;
}

.hf-ad-popup__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(22px, 4vw, 38px);
    background:
        radial-gradient(circle at 100% 0, rgba(215, 164, 58, .14), transparent 34%),
        #fff;
}

.hf-ad-popup__content h3 {
    color: #10251d !important;
    font-size: clamp(24px, 3.2vw, 34px) !important;
    max-width: 14ch;
}

.hf-ad-popup__content p {
    color: #5d6f68;
    line-height: 1.55;
    margin: 0 0 18px;
}

.hf-ad-popup__controls {
    position: static;
    margin-top: 24px;
    transform: none;
}

@media (max-width: 991px) {
    .hf-ad-popup__dialog {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .hf-ad-popup__media {
        min-height: 280px;
    }
}

@media (max-width: 575px) {
    .hf-ads-showcase__head {
        display: block;
    }

    .hf-ads-showcase__head strong {
        display: inline-flex;
        margin-top: 14px;
    }

    .hf-ad-carousel {
        padding: 6px;
    }

    .hf-ad-carousel__stage {
        min-height: 360px;
    }

    .hf-ad-slide__content {
        padding: 22px;
        padding-bottom: 62px;
    }

    .hf-ad-slide__content h3 {
        font-size: clamp(28px, 10vw, 38px);
    }

    .hf-ad-carousel__nav {
        top: auto;
        bottom: 18px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .hf-ad-carousel__nav--prev {
        left: 18px;
    }

    .hf-ad-carousel__nav--next {
        right: 18px;
    }

    .hf-ad-popup__dialog {
        width: min(100%, calc(100vw - 20px));
        max-height: calc(100vh - 24px);
        min-height: 0;
        border-radius: 18px;
    }

    .hf-ad-popup__media {
        min-height: 190px;
    }

    .hf-ad-popup__content {
        padding: 24px;
    }

    .hf-ad-popup__content h3 {
        max-width: none;
        font-size: clamp(26px, 9vw, 36px);
    }
}

.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-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);
}

/* ── Volunteer Custom Form ── */
.hf-volunteer {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(0, 255, 136, 0.06), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(255, 170, 0, 0.05), transparent 50%),
        var(--f-bg-surface, #11141c);
    border-top: 1px solid var(--f-glass-border, rgba(255, 255, 255, 0.08));
}

/* Section header — centered */
.hf-volunteer__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

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

.hf-volunteer__header p {
    color: var(--f-text-muted, #9ca3af);
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.6;
}

.hf-volunteer__dates {
    color: var(--f-text-muted, #9ca3af) !important;
    font-size: 13px !important;
}

.hf-volunteer__occasion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.25);
    color: var(--f-accent-gold, #ffaa00);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Card container */
.hf-custom-form-card {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    backdrop-filter: blur(16px);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

/* Field grid */
.hf-custom-form__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hf-custom-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hf-custom-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.hf-custom-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hf-custom-form__field--full {
    grid-column: 1 / -1;
}

.hf-custom-form__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hf-custom-form__choices label {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    line-height: 1.35;
}

.hf-custom-form__choices input {
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: var(--f-primary-neon, #00c868);
}

.hf-custom-form__help {
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    line-height: 1.4;
}

/* Labels */
.hf-custom-form__label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2px;
}

.hf-custom-form__req {
    color: #ff6b6b;
    font-weight: 700;
}

.hf-custom-form__opt {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
}

/* Inputs */
.hf-custom-form__input,
.hf-custom-form__select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.hf-custom-form__input:focus,
.hf-custom-form__select:focus {
    border-color: var(--f-primary-neon, #00c868);
    box-shadow: 0 0 0 3px rgba(0, 200, 104, 0.12);
}

.hf-custom-form__input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.hf-custom-form__select option {
    background: #1a1e2e;
    color: #fff;
}

.hf-custom-form__textarea {
    resize: vertical;
    min-height: 80px;
}

.hf-custom-form__file {
    padding: 10px 14px;
}

.hf-custom-form__file::file-selector-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    margin-right: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.hf-custom-form__file::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* OTP Box */
.hf-custom-form__otp-box {
    border: 1px solid rgba(0, 200, 104, 0.2);
    border-radius: 14px;
    padding: 18px 20px;
    background: rgba(0, 200, 104, 0.04);
}

.hf-custom-form__otp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 14px;
    color: #00c868;
}

.hf-custom-form__otp-head i {
    font-size: 18px;
}

.hf-custom-form__otp-status {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px;
    line-height: 1.5;
}

.hf-custom-form__otp-status--ok {
    color: #00ff88 !important;
    font-weight: 700;
}

.hf-custom-form__otp-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.hf-custom-form__otp-input {
    width: 130px !important;
    flex-shrink: 0;
    letter-spacing: 3px;
    text-align: center;
    font-weight: 700;
    font-size: 16px !important;
}

.hf-custom-form__otp-btn {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.hf-custom-form__otp-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.hf-custom-form__otp-btn--verify {
    background: rgba(0, 200, 104, 0.15);
    border-color: rgba(0, 200, 104, 0.3);
    color: #00ff88;
}

.hf-custom-form__otp-btn--verify:hover {
    background: rgba(0, 200, 104, 0.25);
}

/* Submit button */
.hf-custom-form__submit {
    padding-top: 8px;
}

.hf-custom-form__submit-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00c868 0%, #00a855 60%, #089048 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 32px rgba(0, 200, 104, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}

.hf-custom-form__submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 200, 104, 0.35);
}

.hf-custom-form__submit-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Direct link */
.hf-volunteer__link {
    text-align: center;
    margin-top: 20px;
}

.hf-volunteer__link a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

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

/* Alert styling inside the form card */
.hf-custom-form-card .alert {
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hf-custom-form-card .alert-success {
    background: rgba(0, 200, 104, 0.1);
    border: 1px solid rgba(0, 200, 104, 0.25);
    color: #00ff88;
}

.hf-custom-form-card .alert-danger {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.25);
    color: #ff6b6b;
}

@media (max-width: 991px) {
    .hf-custom-form__grid,
    .hf-custom-form__row {
        grid-template-columns: 1fr;
    }
    .hf-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hf-course-grid {
        grid-template-columns: 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-courses__head {
        flex-direction: column;
        align-items: stretch;
    }

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