/* Program Fee Box Styling */
.pricing-box {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.price-header {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.price-header h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.price-header .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
    letter-spacing: -0.05em;
}

.price-header .period {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
    display: block;
}

.price-includes {
    list-style: none;
    margin-bottom: 2.5rem;
}

.price-includes li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-includes li:last-child {
    border-bottom: none;
}

.price-includes li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    background: rgba(46, 139, 87, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Impact Levels Styling */
.impact-level-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.impact-level-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 139, 87, 0.3);
}

.impact-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.impact-desc {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.impact-level-card p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

/* Fix emoji alignment */
.perk-icon,
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
    line-height: 1;
}

/* Large Donations Section */
.large-donations {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 0;
}

.large-donations h3 {
    margin-bottom: 1rem;
    color: #1a202c;
    font-size: 1.5rem;
}

.large-donations p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.large-donations .btn-outline {
    display: inline-block;
    margin-top: 2rem;
}

/* Sticky WhatsApp Button */
/* Sticky Button Base */
.sticky-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.sticky-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sticky-text {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

/* Specific styling for Donate Sticky */
.donate-sticky {
    background-color: var(--accent-color);
    color: #333;
}

.donate-sticky .sticky-text {
    color: #333;
}

/* Specific styling for WhatsApp Sticky (Legacy support if needed, or repurposed) */
.whatsapp-sticky {
    background-color: #25D366;
}

.whatsapp-sticky .whatsapp-text {
    color: white;
}

@media (max-width: 768px) {
    .sticky-btn {
        bottom: 80px;
        right: 20px;
        padding: 10px 20px;
    }

    .sticky-text {
        font-size: 0.9rem;
    }
}

/* --- Click-to-Flip Cards for Benefits --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.benefit-card {
    background-color: transparent;
    height: 380px;
    /* Taller to fit content comfortably */
    perspective: 1000px;
    cursor: pointer;
    position: relative;
}

.benefit-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy flip */
    transform-style: preserve-3d;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
}

/* Flip on Click Class */
.benefit-card.flipped .benefit-inner {
    transform: rotateY(180deg);
}

.benefit-front,
.benefit-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.benefit-front {
    background-color: white;
    border: 1px solid #edf2f7;
}

.benefit-back {
    background-color: #f7fafc;
    transform: rotateY(180deg);
    padding: 0;
    border: 1px solid #edf2f7;
}

.benefit-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Add a hint icon for flipping */
.flip-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.05);
    color: #a0aec0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    pointer-events: none;
}

/* Front Styling matches original design */
.benefit-front .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 16px;
}

.benefit-front h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #1a202c;
    font-weight: 700;
}

.benefit-front p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
}