.fees-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f4fbfb 0%, #ffffff 50%, #f4f8fb 100%);
    border-radius: 24px;
    padding: 28px 16px;
    border: 1px solid rgba(36, 64, 87, .06);
    box-shadow: 0 12px 35px rgba(36, 64, 87, .06);
}

.fees-wrap::before,
.fees-wrap::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.fees-wrap::before {
    width: 240px;
    height: 240px;
    left: -100px;
    top: -70px;
    background: radial-gradient(circle, rgba(42, 157, 143, .10), transparent 72%);
}

.fees-wrap::after {
    width: 220px;
    height: 220px;
    right: -90px;
    bottom: -90px;
    background: radial-gradient(circle, rgba(36, 64, 87, .08), transparent 70%);
}

.fee-card {
    position: relative;
    overflow: hidden;
    z-index: 2;
    min-height: 100%;
    background: #fff;
    border-radius: 22px !important;
    border: 1px solid rgba(36, 64, 87, .08);
    box-shadow: 0 14px 35px rgba(36, 64, 87, .08);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.fee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(36, 64, 87, .14);
}

.fee-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -55px;
    top: -55px;
    border-radius: 50%;
    background: rgba(42, 157, 143, .07);
}

.fee-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.membership-type {
    background: rgba(42, 157, 143, .10);
    color: #2a9d8f;
}

.service-type {
    background: rgba(36, 64, 87, .08);
    color: #244057;
}

.fee-card h3 {
    color: #183047;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.5;
    margin: 14px 0 10px;
}

.fee-price {
    font-size: 16.5px;
    font-weight: 900;
    color: #183047;
    margin-bottom: 14px;
}

.fee-validity {
    font-size: .92rem;
    color: #5f7385;
    line-height: 1.7;
    margin-bottom: 14px;
}

.fee-description,
.fee-card .text-muted {
    color: #6a7d8d !important;
    line-height: 1.9;
    font-size: .92rem;
    margin-bottom: 14px;
    flex-grow: 1;
}

.fee-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    margin-top: auto;
}

.fee-btn,
.fee-cta {
    flex: 1;
    border-radius: 12px;
    padding: 10px 12px !important;
    font-size: .76rem;
    font-weight: 700;
    text-align: center;
    transition: .25s ease;
    white-space: nowrap;
}

.fee-btn:hover,
.fee-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(36, 64, 87, .12);
}

.fee-btn-main,
.fee-cta:not(.fee-cta-outline) {
    background: #244057 !important;
    border: 1px solid #244057 !important;
    color: #fff !important;
}

.fee-btn-outline,
.fee-cta-outline {
    background: #fff !important;
    border: 1px solid rgba(36, 64, 87, .14) !important;
    color: #244057 !important;
}

.memberships-slider {
    position: relative;
    z-index: 2;
}

html[dir="rtl"] .memberships-slider {
    direction: rtl;
}

.memberships-slider .owl-stage,
.memberships-slider .owl-item {
    display: flex;
}

.memberships-slider .owl-item > div {
    width: 100%;
}

.memberships-slider .owl-nav {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.memberships-slider .owl-nav button.owl-prev,
.memberships-slider .owl-nav button.owl-next {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: #244057 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 28px !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(36, 64, 87, .18);
    transition: .25s ease;
}

.memberships-slider .owl-nav button:hover {
    background: #183047 !important;
    transform: translateY(-2px);
}

.memberships-slider .owl-dots {
    margin-top: 12px;
    text-align: center;
}

.memberships-slider .owl-dot span {
    width: 10px !important;
    height: 10px !important;
    background: rgba(36, 64, 87, .20) !important;
}

.memberships-slider .owl-dot.active span {
    background: #ffffff !important;
}

@media (max-width: 768px) {
    .fees-wrap {
        padding: 18px 8px;
        border-radius: 18px;
    }

    .fee-card {
        border-radius: 18px !important;
        padding: 18px;
    }

    .fee-card h3 {
        font-size: 1.25rem;
    }

    .fee-description,
    .fee-card .text-muted {
        font-size: .88rem;
        line-height: 1.8;
    }

    .fee-actions {
        flex-direction: row !important;
        gap: 8px;
    }

    .fee-btn,
    .fee-cta {
        font-size: .70rem;
        padding: 8px 6px !important;
    }

    .memberships-slider .owl-nav button.owl-prev,
    .memberships-slider .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 24px !important;
    }
}