/**
 * Project Emmaus - Homepage Styles
 */

/* ========================================
   Quick Actions
======================================== */

.emmaus-quick-actions {
    position: relative;
    overflow: hidden;
    padding: 68px 0 78px;
    background:
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #ffffff 100%
        );
}

.emmaus-quick-actions::before {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    content: "";
    pointer-events: none;
}

.emmaus-quick-actions::after {
    position: absolute;
    bottom: -170px;
    left: -170px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(8, 35, 75, 0.05);
    content: "";
    pointer-events: none;
}

.emmaus-quick-actions .emmaus-container {
    position: relative;
    z-index: 1;
}

/* Section heading */

.emmaus-quick-actions .emmaus-section-header {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.emmaus-quick-actions .emmaus-section-eyebrow {
    margin: 0 0 8px;
    color: #b18b2d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.emmaus-quick-actions .emmaus-section-title {
    margin: 0;
    color: #08234b;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.3;
}

.emmaus-quick-actions .emmaus-section-description {
    max-width: 680px;
    margin: 13px auto 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.8;
}

/* Cards grid */

.emmaus-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Card */

.emmaus-quick-action-card {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px 24px;
    overflow: hidden;
    border: 1px solid rgba(8, 35, 75, 0.10);
    border-radius: 18px;
    color: #252525;
    background: #ffffff;
    box-shadow:
        0 18px 42px rgba(8, 35, 75, 0.08);
    text-decoration: none;
    transition:
        transform 240ms ease,
        border-color 240ms ease,
        box-shadow 240ms ease;
}

.emmaus-quick-action-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            #0b3d91,
            #d4af37
        );
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

.emmaus-quick-action-card:hover {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow:
        0 28px 60px rgba(8, 35, 75, 0.15);
    transform: translateY(-10px);
}

.emmaus-quick-action-card:hover::before {
    transform: scaleX(1);
}

/* Icon */

.emmaus-quick-action-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 17px;
    color: #0b3d91;
    background: #eaf1fc;
    transition:
        color 240ms ease,
        background 240ms ease,
        transform 240ms ease;
}

.emmaus-quick-action-icon svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.emmaus-quick-action-card:hover
.emmaus-quick-action-icon {
    color: #ffffff;
    background: #0b3d91;
    transform: scale(1.06);
}

/* Content */

.emmaus-quick-action-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.emmaus-quick-action-title {
    display: block;
    margin-bottom: 9px;
    color: #08234b;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.45;
}

.emmaus-quick-action-text {
    display: block;
    color: #667085;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Arrow */

.emmaus-quick-action-arrow {
    display: grid;
    width: 36px;
    height: 36px;
    margin-top: 20px;
    place-items: center;
    align-self: flex-end;
    border-radius: 50%;
    color: #0b3d91;
    background: #eaf1fc;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    transition:
        color 240ms ease,
        background 240ms ease,
        transform 240ms ease;
}

.emmaus-quick-action-card:hover
.emmaus-quick-action-arrow {
    color: #ffffff;
    background: #b18b2d;
    transform: translateX(4px);
}