/* =========================================
   LCNL PAGE-SPECIFIC STYLING
   -----------------------------------------
   Membership, About, Bereavement, 
   Section headers, CTA highlights,
   Decorative bottom cards & variations
   ========================================= */

/* --- Section Headings --- */
.text-center h2 {
    position: relative;
    display: inline-block;
    padding-bottom: .5rem;
}

.text-center h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent1), transparent);
    border-radius: 2px;
}

/* --- Price Highlight / Gradient Text --- */
.text-brand.fw-bold.fs-4 {
    background: linear-gradient(135deg, var(--brand) 0%, #9c2b52 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    display: inline-block;
    position: relative;
}

/* --- Enhanced CTA Cards --- */
.cta-card i.bi-person-plus-fill {
    color: var(--brand);
    filter: drop-shadow(0 4px 8px rgba(122, 29, 60, .2));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btn-brand.btn-lg {
    background: linear-gradient(135deg, var(--brand) 0%, #9c2b52 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(122, 29, 60, .3);
    position: relative;
    overflow: hidden;
    transition: all .3s ease;

    .btn-brand.btn-lg:hover {
        color: #fff !important;
        /* Forces white text on hover */
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(122, 29, 60, 0.4);
    }
}

.btn-brand.btn-lg::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    transform: translate(-50%, -50%);
    transition: width .6s, height .6s;
}

.btn-brand.btn-lg:hover::before {
    width: 300px;
    height: 300px;
}

.btn-brand.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(122, 29, 60, .4);
    color: #fff;
}

/* --- Bottom Cards (info sections) --- */
.lcnl-card {
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.lcnl-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(122, 29, 60, .02) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.lcnl-card:hover::after {
    opacity: 1;
}

.lcnl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* --- Icon Animations for Bottom Cards --- */
.lcnl-card i.bi {
    transition: transform .3s ease, color .3s ease;
}

.lcnl-card:hover i.bi-box-arrow-in-right {
    transform: translateX(5px);
    color: var(--brand) !important;
}

.lcnl-card:hover i.bi-question-circle-fill {
    transform: rotate(15deg);
}

.lcnl-card:hover i.bi-envelope-fill {
    transform: scale(1.1);
    color: var(--brand) !important;
}

/* --- Warning / Info Variants --- */
.border-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(255, 193, 7, .2);
}

/* --- Button Hover Enhancements --- */
.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-outline-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

/* --- Decorative CTA Section (dashed highlight) --- */
.my-4.py-3 {
    background: linear-gradient(135deg, rgba(122, 29, 60, 0.03), rgba(212, 175, 55, 0.03));
    border-radius: 20px;
    padding: 2rem !important;
    border: 2px dashed rgba(122, 29, 60, 0.1);
    position: relative;
    overflow: hidden;
}

.my-4.py-3::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.my-4.py-3 h3 {
    position: relative;
    z-index: 1;
    color: var(--brand);
    font-weight: 800;
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
    .text-brand.fw-bold.fs-4 {
        font-size: 2rem !important;
    }

    .cta-card .card-body {
        padding: 1.5rem !important;
    }
}