/* ==========================================================================
   PRAYER REQUEST & COUNSELING GATEWAY STYLES
   ========================================================================== */

/* ── Floating Fast-Action FAB ── */
.prayer-counseling-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e0a41, #002d82);
    color: #ffffff;
    border: 2px solid #F3CC3C;
    border-radius: 50px;
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(243, 204, 60, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.prayer-counseling-fab:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(243, 204, 60, 0.4);
    color: #F3CC3C;
}

.prayer-counseling-fab i {
    font-size: 1.25rem;
    color: #F3CC3C;
}

/* ── In-Page Gateway Action Section ── */
.prayer-counseling-hub {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.prayer-counseling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.prayer-card, .counseling-card {
    background: linear-gradient(145deg, #ffffff, #f7f9fc);
    border: 1px solid rgba(243, 204, 60, 0.4);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.prayer-card:hover, .counseling-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border-color: #F3CC3C;
}

.prayer-card-header, .counseling-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.gateway-icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e0a41, #002d82);
    color: #F3CC3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(30, 10, 65, 0.25);
}

.gateway-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e0a41;
    line-height: 1.25;
}

.gateway-card-desc {
    color: #4a5568;
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.gateway-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}

.gateway-features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: #2d3748;
    margin-bottom: 0.6rem;
}

.gateway-features-list li i {
    color: #28a745;
    font-size: 1.05rem;
}

.gateway-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gateway-btn-prayer {
    background: linear-gradient(135deg, #1e0a41, #002d82);
    color: #ffffff;
    border: 1px solid #F3CC3C;
}

.gateway-btn-prayer:hover {
    background: linear-gradient(135deg, #2b0e5d, #003db3);
    color: #F3CC3C;
    box-shadow: 0 8px 25px rgba(30, 10, 65, 0.3);
}

.gateway-btn-counseling {
    background: linear-gradient(45deg, #F3CC3C, #f8de84);
    color: #1a0533;
    box-shadow: 0 6px 20px rgba(243, 204, 60, 0.35);
}

.gateway-btn-counseling:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 204, 60, 0.5);
    color: #000000;
}

/* ── Modals Overlay ── */
.gateway-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 25, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gateway-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gateway-modal-container {
    background: #ffffff;
    border-radius: 24px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(243, 204, 60, 0.5);
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gateway-modal-overlay.active .gateway-modal-container {
    transform: scale(1) translateY(0);
}

.gateway-modal-header {
    background: linear-gradient(135deg, #1e0a41, #002d82);
    color: #ffffff;
    padding: 1.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 2px solid #F3CC3C;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gateway-modal-header-text h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gateway-modal-header-text p {
    margin: 0.3rem 0 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.gateway-modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gateway-modal-close:hover {
    background: #e53e3e;
    border-color: #e53e3e;
    color: #ffffff;
    transform: rotate(90deg);
}

.gateway-modal-body {
    padding: 2rem;
}

.gateway-form-group {
    margin-bottom: 1.35rem;
}

.gateway-form-group label {
    display: block;
    font-weight: 600;
    color: #1e0a41;
    margin-bottom: 0.5rem;
    font-size: 0.94rem;
}

.gateway-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2d3748;
    background: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.gateway-form-control:focus {
    outline: none;
    border-color: #002d82;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 45, 130, 0.15);
}

.gateway-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.gateway-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #002d82;
    cursor: pointer;
}

.gateway-checkbox-row label {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}

.gateway-privacy-notice {
    background: rgba(243, 204, 60, 0.12);
    border-left: 4px solid #F3CC3C;
    padding: 0.85rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
    font-size: 0.86rem;
    color: #1e0a41;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.gateway-privacy-notice i {
    color: #c99e00;
    font-size: 1.1rem;
    margin-top: 2px;
}

.gateway-submit-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gateway-submit-wa {
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gateway-submit-wa:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.gateway-submit-email {
    background: #1e0a41;
    color: #ffffff;
    border: 1px solid #F3CC3C;
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gateway-submit-email:hover {
    background: #002d82;
    color: #F3CC3C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 45, 130, 0.4);
}

@media (max-width: 768px) {
    .prayer-counseling-fab {
        bottom: 18px;
        right: 18px;
        padding: 10px 18px;
        font-size: 0.88rem;
    }
    .gateway-modal-container {
        max-height: 95vh;
        border-radius: 18px;
    }
    .gateway-modal-header {
        padding: 1.25rem 1.5rem;
    }
    .gateway-modal-body {
        padding: 1.5rem;
    }
    .gateway-submit-options {
        grid-template-columns: 1fr;
    }
}
