/**
 * Involved Card Elementor Widget Styles
 * Charity Donation Manager / MPFoundation
 */

.mpf-involved-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    padding: 40px 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Alignments */
.mpf-involved-card.align-left {
    align-items: flex-start;
    text-align: left;
}

.mpf-involved-card.align-center {
    align-items: center;
    text-align: center;
}

.mpf-involved-card.align-right {
    align-items: flex-end;
    text-align: right;
}

/* Icon Badge */
.mpf-involved-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    background: #fff5ed;
    color: #f47c20;
    margin-bottom: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-sizing: border-box;
}

.mpf-involved-icon-badge.shape-rounded {
    border-radius: 18px;
}

.mpf-involved-icon-badge.shape-circle {
    border-radius: 50%;
}

.mpf-involved-icon-badge.shape-square {
    border-radius: 0;
}

.mpf-involved-icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 30px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.mpf-involved-icon-inner svg {
    width: 1em;
    height: 1em;
    display: block;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.mpf-involved-icon-inner i {
    font-size: inherit;
    line-height: 1;
    display: block;
    transition: transform 0.3s ease;
}

.mpf-involved-icon-inner img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Title */
.mpf-involved-title {
    font-family: inherit;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.25;
    color: #0c3b5e;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 14px 0;
    padding: 0;
}

/* Description */
.mpf-involved-description {
    font-family: inherit;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 28px 0;
    padding: 0;
}

/* Button CTA */
.mpf-involved-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f47c20;
    color: #ffffff !important;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 15px 28px;
    border-radius: 9999px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(244, 124, 32, 0.32);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mpf-involved-btn:hover {
    background: #e06b12;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(244, 124, 32, 0.45);
    text-decoration: none !important;
}

.mpf-involved-btn svg,
.mpf-involved-btn i {
    font-size: 12px;
    display: inline-block;
    transition: transform 0.25s ease;
    fill: currentColor;
    width: 24px;
}

.mpf-involved-btn:hover svg,
.mpf-involved-btn:hover i {
    transform: translateX(3px);
}

/* Card Hover Lift Animation */
.mpf-involved-card.has-hover-lift:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 18px 40px rgba(12, 59, 94, 0.08); */
    border-color: #e2e8f0;
}

.mpf-involved-card.has-hover-lift:hover .mpf-involved-icon-badge {
    transform: scale(1.05);
}

.mpf-involved-card.has-hover-scale:hover .mpf-involved-icon-inner svg,
.mpf-involved-card.has-hover-scale:hover .mpf-involved-icon-inner i {
    transform: scale(1.15);
}