/* ============================================
   INCLUDED CARDS — Hover effects
   Add these rules into style.css (or a
   sections/included.css file)
   ============================================ */

/* Wrap the icon so we can position the glow behind it */
.inc-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
}

.inc-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,160,90,0.35) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

/* Card base — add transition for lift + border glow */
.inc-card {
    cursor: default;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.35s ease,
        background 0.35s ease;
}

/* Hover state */
.inc-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(196,160,90,0.25),
        inset 0 1px 0 rgba(196,160,90,0.1);
    background: rgba(196,160,90,0.05);
}

/* Glow fires on card hover */
.inc-card:hover .inc-glow {
    opacity: 1;
    transform: scale(1);
}

/* Icon colour shift on hover */
.inc-card:hover .inc-icon svg {
    stroke: #c01b1b;
    transition: stroke 0.3s ease;
}

/* Heading colour shift */
.inc-card:hover h4 {
    color: #c01b1b;
    transition: color 0.3s ease;
}

/* Subtle underline sweep on heading */
.inc-card h4 {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.inc-card h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c01b1b;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.inc-card:hover h4::after {
    width: 100%;
}
