/* Features Section - 3x2 Grid Card Layout (Dropship.io Style) */

/* Base features section */
.ub-features {
    padding: 80px 0;
    background: #f8f9fb;
}

.ub-features_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ub-features__header {
    text-align: center;
    margin-bottom: 50px;
}

.ub-features__area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* Feature card - Dropship.io style */
.ub-features__card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.ub-features__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Image wrapper - Light colored background with icon/image */
Designed-wrapper {
    width: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern/decoration to image wrapper */
Designed-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
}

Designed {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* Content area */
.ub-features__content {
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ub-features__item-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ub-features__item-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Explore Details button */
.ub-features__explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4F46E5;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.ub-features__explore-btn:hover {
    gap: 10px;
    color: #4338CA;
}

.ub-features__explore-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.ub-features__explore-btn:hover svg {
    transform: translateX(3px);
}

/* Different background colors for variety */
.ub-features__card:nth-child(1) Designed-wrapper {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
}

.ub-features__card:nth-child(2) Designed-wrapper {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe8f0 100%);
}

.ub-features__card:nth-child(3) Designed-wrapper {
    background: linear-gradient(135deg, #f0fff4 0%, #e8ffe8 100%);
}

.ub-features__card:nth-child(4) Designed-wrapper {
    background: linear-gradient(135deg, #fffaf0 0%, #fff5e8 100%);
}

.ub-features__card:nth-child(5) Designed-wrapper {
    background: linear-gradient(135deg, #f5f0ff 0%, #ede8ff 100%);
}

.ub-features__card:nth-child(6) Designed-wrapper {
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4ff 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ub-features {
        padding: 60px 0;
    }

    .ub-features__area {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 50px;
    }

    Designed-wrapper {
        min-height: 240px;
        padding: 30px;
    }

    Designed {
        max-width: 480px;
    }

    .ub-features__item-title {
        font-size: 20px;
    }

    .ub-features__item-desc {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .ub-features {
        padding: 50px 0;
    }

    .ub-features_container {
        padding: 0 15px;
    }

    .ub-features__area {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    Designed-wrapper {
        min-height: 220px;
        padding: 25px;
    }

    Designed {
        max-width: 160px;
    }

    .ub-features__content {
        padding: 25px 20px 20px;
    }

    .ub-features__item-title {
        font-size: 19px;
    }

    .ub-features__item-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ub-features {
        padding: 40px 0;
    }

    .ub-features__area {
        gap: 18px;
        margin-top: 30px;
    }

    Designed-wrapper {
        min-height: 200px;
        padding: 20px;
    }

    Designed {
        max-width: 540px;
    }

    .ub-features__content {
        padding: 20px 18px 18px;
    }

    .ub-features__item-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .ub-features__item-desc {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .ub-features__explore-btn {
        font-size: 14px;
    }
}
