/**
 * Our Work Card Elementor Widget Styles
 * Charity Donation Manager / MPFoundation
 */

.mpf-our-work-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 38px 32px;
    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;
    height: 100%;
}

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

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

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

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

/* Badge Shapes */
.mpf-our-work-badge.shape-rounded {
    border-radius: 18px;
}

.mpf-our-work-badge.shape-circle {
    border-radius: 50%;
}

.mpf-our-work-badge.shape-square {
    border-radius: 4px;
}

/* Badge Views */
.mpf-our-work-badge.view-clean {
    background: transparent !important;
    padding: 0;
    width: auto;
    height: auto;
    min-width: unset;
    min-height: unset;
}

.mpf-our-work-badge.view-framed {
    background: transparent;
    border: 2px solid #0284c7;
}

/* Icon Inner */
.mpf-our-work-icon-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    line-height: 1;
    transition: transform 0.35s ease;
}

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

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

.mpf-our-work-icon-inner img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Tag / Sector Pill */
.mpf-our-work-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0284c7;
    background: #e0f2fe;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

/* Title */
.mpf-our-work-title {
    font-family: inherit;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.3;
    color: #073859;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 14px 0;
    padding: 0;
    transition: color 0.3s ease;
}

/* Description */
.mpf-our-work-desc {
    font-family: inherit;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.65;
    color: #556987;
    margin: 0;
    padding: 0;
    transition: color 0.3s ease;
}

/* Button / CTA */
.mpf-our-work-btn-wrap {
    margin-top: 24px;
    width: 100%;
}

.mpf-our-work-card.align-left .mpf-our-work-btn-wrap {
    text-align: left;
}

.mpf-our-work-card.align-center .mpf-our-work-btn-wrap {
    text-align: center;
}

.mpf-our-work-card.align-right .mpf-our-work-btn-wrap {
    text-align: right;
}

.mpf-our-work-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0284c7;
    color: #ffffff !important;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: 9999px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mpf-our-work-btn:hover {
    background: #0369a1;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.38);
}

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

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

/* Entire Card Clickable Link Overlay */
.mpf-our-work-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    text-indent: -9999px;
    overflow: hidden;
}

/* Hover Animations */
.mpf-our-work-card.has-hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(7, 56, 89, 0.08);
    border-color: #cbd5e1;
}

.mpf-our-work-card.has-hover-lift:hover .mpf-our-work-badge {
    transform: translateY(-2px) scale(1.05);
}

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

.mpf-our-work-card.has-hover-glow:hover {
    box-shadow: 0 12px 35px rgba(2, 132, 199, 0.16);
    border-color: #93c5fd;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .mpf-our-work-card {
        padding: 30px 24px;
    }

    .mpf-our-work-badge {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        margin-bottom: 20px;
    }

    .mpf-our-work-icon-inner {
        font-size: 24px;
    }

    .mpf-our-work-title {
        font-size: 18px;
    }

    .mpf-our-work-desc {
        font-size: 14px;
    }
}
