.feature {
    position: relative;

    display: flex;
    align-items: center;
    gap: 40px;

    padding-top: 30px;
    padding-bottom: 30px;

    padding-left: 52px;
    padding-right: 52px;

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.02)
        );

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(12px);

    overflow: hidden;

    transition: .3s ease;
}

.feature::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(243,179,61,.05),
            transparent
        );

    opacity: 0;
    transition: .3s;
}

.feature:hover {
    transform: translateY(-4px);

    border-color: rgba(243, 179, 61, 0.171);

    box-shadow:
        0 0 30px rgba(243,179,61,.08),
        0 20px 50px rgba(0,0,0,.4);
}

.feature:hover::before {
    opacity: 1;
}

.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-media {
    flex: 0 0 540px;
    height: 300px;

    border-radius: 20px;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
}


.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .4s ease;
}

.feature:hover img {
    transform: scale(1.04);
}

.feature-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border-radius: 14px;

    font-size: 22px;
}

.feature:nth-child(1) .feature-icon {
    background: linear-gradient(
        135deg,
        rgba(52,211,153,.18),
        rgba(52,211,153,.05)
    );

    border-color: rgba(52,211,153,.3);

    color: #34d399;
}

.feature:nth-child(2) .feature-icon {
    background: linear-gradient(
        135deg,
        rgba(243,179,61,.18),
        rgba(243,179,61,.05)
    );

    border-color: rgba(243,179,61,.3);

    color: #f3b33d;
}

.feature:nth-child(3) .feature-icon {
    background: linear-gradient(
        135deg,
        rgba(168,85,247,.18),
        rgba(168,85,247,.05)
    );

    border-color: rgba(247, 85, 107, 0.3);

    color: #ee3e73;
}

.feature:nth-child(1) {
    border-left: 4px solid #34d399;
}

.feature:nth-child(2) {
    border-left: 4px solid #f3b33d;
}

.feature:nth-child(3) {
    border-left: 4px solid #f7557e;
}

.feature:nth-child(1):hover {
    border-color: rgba(52,211,153,.4);
    box-shadow: 0 0 40px rgba(52,211,153,.15);
}

.feature:nth-child(2):hover {
    border-color: rgba(243,179,61,.4);
    box-shadow: 0 0 40px rgba(243,179,61,.15);
}

.feature:nth-child(3):hover {
    border-color: rgba(247, 85, 134, 0.4);
    box-shadow: 0 0 40px rgba(168,85,247,.15);
}

.feature-body h3 {
    margin: 0 0 10px;

    font-size: 1.8rem;
    font-weight: 800;

    text-transform: uppercase;

    line-height: 1.1;
}

.feature-body p {
    margin: 0;
    font-family: 'Manrope', sans-serif;

    font-size: 0.98rem;
    line-height: 1.7;

    color: #b9b9b9;

    max-width: 500px;
}

@media (max-width: 900px) {
    .feature,
    .feature:nth-child(even) {
        flex-direction: column;
    }

    .feature-media {
        width: 100%;
        flex: none;
        height: 220px;
    }

    .feature-body {
        text-align: center;
    }
}