﻿/* From Uiverse.io by gharsh11032000 */
/*موبايل */
@media (max-width: 991.98px) {
    .card {
        width: 100% !important;
        height: 405px !important;
    }

        .card::before {
            width: 100% !important;
            inset: -5px !important;
            left: initial !important;
        }

        .card::after {
            inset: -5px !important;
        }

    .col-sm-12 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

    .card {
        position: relative;
        width: 405px;
        height: 405px;
/*        background-color: #161c1c;*/
        /*    display: flex;
    flex-direction: column;
    justify-content: inherit;*/
        padding: 20px;
        margin-bottom: 20px;
        gap: 12px;
        border-radius: 8px;
        cursor: default;
    }

        .card::before {
            content: '';
            position: absolute;
            inset: 0;
            left: -13px;
            margin: auto;
            width: 425px;
            height: 425px;
            border-radius: 10px;
            background: linear-gradient(-45deg, #f48900 0%, #00c7a9 100% );
            z-index: -10;
            pointer-events: none;
            transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .card::after {
            content: "";
            z-index: -1;
            position: absolute;
            inset: 0;
            background: linear-gradient(-45deg, #f8b200 0%, #00c8a9 100% );
            transform: translate3d(0, 0, 0) scale(0.95);
            filter: blur(20px);
        }

    .heading-card {
        font-size: 20px;
        text-transform: capitalize;
        font-weight: 700;
        margin-bottom: 0px
    }

    .card p:not(.heading) {
        font-size: 14px;
    }

    .card p:last-child {
        color: #e81cff;
        font-weight: 600;
    }

    .card:hover::after {
        filter: blur(30px);
    }

    .card:hover::before {
        transform: rotate(-90deg) scale(1);
    }



.center-container {
    display: flex;
    flex-direction: column; /*  تصف العناصر رأسياً */
    justify-content: center; /*  توسيط عمودي */
    align-items: center; /*  توسيط أفقي */
    gap: 60px;
}

    .btn-card {
        color: #12110f;
        background-color: #ffffff !important;
        position: absolute;
        bottom: 30px;
        left: 20px;
        right: 20px;
    }

/*    body {
        font-family: 'Poppins', sans-serif;
        font-weight: normal;
        font-style: normal;
        font-size: 15px;
        line-height: 1.5;
        color: #5f5f5f;
    }

    .container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    .row {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }

    .card.card-style {
        background-color: #fffffb !important;
    }

    .form-control {
        height: 50px;
        border-radius: 5px;
        border: solid gray 5px;
        font-size: 13px;
        color: #1c1d3e;
        background: #fafaff;
        border: 1px solid transparent;
        box-shadow: revert-layer;
    }

    .lables {
        font-size: 15px;
        color: black;
        font-weight: 600;
    }

    .option:hover {
        background-color: ButtonHighlight;
    }

    section {
        padding: 40px 0;
    }

    .custom-mt-10 {
        margin-top: -42px;
    }

    .z-index-1 {
        z-index: 1;
        position: relative;
    }

    .o-hidden {
        overflow: hidden;
    }

    .p-0 {
        padding: 0 !important;
    }

    .align-items-center {
        -ms-flex-align: center !important;
        align-items: center !important;
    }

    .img-center {
        display: inline-block !important;
        max-width: 100%;
    }

    img {
        vertical-align: middle;
        border-style: none;
    }

    .section-title {
        margin-bottom: 50px;
        position: relative;
    }*/

    .card.card-style.card-PaidTraining {
    }

    .ribbon {
        width: 75px;
        height: 75px;
        overflow: hidden;
        position: absolute;
    }

    .ribbon-top-left {
        top: -5px;
        left: -5px;
    }

    .ribbon span {
        position: absolute;
        display: block;
        width: 100px;
        padding: 5px 0;
        background-color: gold;
        color: black;
        font-weight: bold;
        text-align: center;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    .description-scroll-box {
        max-height: 120px;
        /* Enable vertical scrolling only when content overflows the max-height */
    overflow-y: auto;
    /* Add some padding for aesthetics */
    padding-right: 10px; /* To prevent text from touching the scrollbar */
    margin-bottom: 10px; /* Space between description and button */
}