



        .medconnect-card {
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 1px solid #e0e0e0;
            background: #fff;
            height: 100%;
            padding: 20px;
            position: relative;
        }

            .medconnect-card::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 2px;
                background: linear-gradient(90deg, #dddddd, #e0e0e0);
            }

            .medconnect-card p {
                font-size: 14px
            }

        .medconnect-image-frame {
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 20px;
            border: 1px solid #e0e0e0;
        }

            .medconnect-image-frame img {
                display: block;
                width: 100%;
                height: auto;
                transition: transform 0.5s ease;
            }

            .medconnect-image-frame:hover img {
                transform: scale(1.03);
            }

        .medconnect-title {
            margin: 20px 0 15px;
            position: relative;
            padding-bottom: 12px;
            font-size: 17px
        }

            .medconnect-title::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100px;
                height: 2px;
                background: #286fb7;
            }

        .medconnect-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }

            .medconnect-list li {
                padding: 7px 0 7px 30px;
                position: relative;
                border-bottom: 1px solid #f5f5f5;
                transition: background 0.2s ease;
                font-size: 14px
            }

                .medconnect-list li:last-child {
                    border-bottom: none;
                }

                .medconnect-list li::before {
                    content: '✓';
                    position: absolute;
                    left: 0;
                    top: 50%;
                    transform: translateY(-50%);
                    width: 18px;
                    height: 18px;
                    background: #f0f9ff;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #286fb7;
                    font-weight: bold;
                }

                .medconnect-list li:hover {
                    background-color: #fafafa;
                    border-radius: 6px;
                }

        .medconnect-highlight {
            background: linear-gradient(135deg, #f8fafc 0%, #c0d9f2 100%);
            border-radius: 12px;
            padding: 30px;
            margin: 40px 0;
            border-left: 5px solid #3498db;
        }

        .medconnect-pt-30 {
            padding-top: 30px;
        }

        .medconnect-mb-20 {
            margin-bottom: 20px;
        }
    


        .course-category__card__icon-container {
            position: relative;
            margin-bottom: 20px;
        }

        .course-category__card__image-container {
            width: 100%;
            height: 300px;
            overflow: hidden;
            /*box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);*/
            position: relative;
            margin-bottom: 20px;
            border: 1px solid #c8c8c8;
        }

        .course-category__card__image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            opacity: 0.82;
            /* border: 2px solid #00706e;
                border-radius: 12px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                box-sizing: border-box;
                transition: all 0.3s ease;
                background-color: #00706e;*/
        }

        .course-category__card__image-container .course-category__card__icon-box {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }


        .course-category__card:hover .course-category__card__image {
            transform: scale(1.05);
        }
    


        :root {
            --medbase-blue: #215d9a;
            --medbase-border: #5C5F71;
            --medbase-light-blue: #5087c7;
            --medbase-orange: #545454;
            --medbase-light-orange: #787878;
        }

        .medbase-branch-container {
            perspective: 1000px;
            margin-bottom: 5px;
            height: 500px;
        }

        .medbase-branch-card {
            width: 100%;
            height: 100%;
            position: relative;
            transition: transform 0.8s;
            transform-style: preserve-3d;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .medbase-branch-card.flipped {
            transform: rotateY(180deg);
        }

        .medbase-card-front, .medbase-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border: 1px solid #dddddd;
            overflow: hidden;
        }

        .medbase-card-front {
            display: flex;
            flex-direction: column;
        }

        .medbase-card-back {
            transform: rotateY(180deg);
            background: #fff;
            padding: 15px 8px;
            display: flex;
            flex-direction: column;
        }

        .medbase-branch-img {
            max-height: 180px;
            min-height: 180px;
            object-fit: cover;
            width: 100%;
        }

        .medbase-branch-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--medbase-blue);
            color: white;
            padding: 9px 9px;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 4px;
        }

        .medbase-card-body {
            padding: 15px;
            background: white;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .medbase-card-title {
            color: var(--medbase-border);
            font-weight: 600;
            font-size: 0.85em;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #dddddd;
            line-height: 1.4;
        }

        .medbase-branch-info {
            margin-bottom: 5px;
        }

        .medbase-info-item {
            display: flex;
            margin-bottom: 3px;
            font-size: 11px;
        }

        .medbase-info-item i {
            color: var(--medbase-border);
            font-size: 0.8rem;
            min-width: 20px;
            padding-top: 3px;
        }

        .medbase-info-item a {
            color: var(--medbase-border);
        }

        /* ======= بخش حمل و نقل ======= */
        .medbase-transport-info {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 8px 10px;
            margin-top: auto;
            font-size: 10px;
            line-height: 1.5;
        }

        .medbase-transport-item {
            display: flex;
            margin-bottom: 5px;
        }

        .medbase-transport-item:last-child {
            margin-bottom: 0;
        }

        .medbase-transport-item i {
            color: var(--medbase-blue);
            min-width: 18px;
            padding-top: 2px;
            font-size: 0.75rem;
        }

        .medbase-transport-item small {
            color: #888;
            font-size: 9px;
        }
        /* ============================= */

        .medbase-btn-container {
            margin-top: 8px;
        }

        .medbase-btn-medpoints {
            background-color: #fff;
            color: var(--medbase-orange);
            border: 1px solid #dddddd;
            font-weight: 500;
            transition: all 0.3s ease;
            width: 100%;
            cursor: pointer;
            font-size: 0.6rem;
            padding: 5px 8px;
            margin-top: 5px;
        }

        .medbase-btn-medpoints:hover {
            background-color: var(--medbase-orange);
            color: #fff;
            transform: translateY(-2px);
        }

        .medbase-medpoints-title {
            color: var(--medbase-orange);
            font-weight: 600;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            text-align: center;
            font-size: 0.9rem;
            padding-left: 15px;
        }

        .medbase-medpoints-title i {
            margin-right: 10px;
        }

        .medbase-cities-container {
            flex-grow: 1;
            overflow-y: auto;
            padding: 10px;
            margin-bottom: 60px;
        }

        .medbase-city-item {
            display: flex;
            align-items: center;
            padding: 8px 10px;
            background: white;
            border: 1px solid #dddddd;
            margin-bottom: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            font-size: 0.88rem;
        }

        .medbase-city-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .medbase-city-item div i, .medbase-city-item i {
            color: var(--medbase-orange);
            margin-right: 10px;
            width: 12px;
            font-size: 0.8rem;
        }

        .medbase-back-btn {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #fff;
            color: var(--medbase-orange);
            border: 1px solid #dddddd;
            font-size: 0.6rem;
            padding: 6px 10px;
            font-weight: 500;
            transition: all 0.3s ease;
            width: calc(100% - 50px);
            cursor: pointer;
            border-radius: 6px;
        }

        .medbase-back-btn:hover {
            background-color: var(--medbase-orange);
            color: white;
            transform: translateX(-50%) translateY(-2px);
        }

        .medbase-img-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding-left: 20px;
        }

        .medbase-overlay-item {
            display: flex;
            align-items: center;
            font-size: 0.8rem;
        }

        .medbase-overlay-item i {
            margin-right: 8px;
            font-size: 0.8rem;
        }

        .medbase-flip-instruction {
            text-align: center;
            color: var(--medbase-orange);
            font-weight: 400;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            margin-top: 5px;
        }

        .medbase-flip-instruction i {
            margin-right: 8px;
            animation: medbase-bounce 2s infinite;
        }

        @keyframes medbase-bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        .medbase-service-banner {
            background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
            border: 1px solid #e0e5ec;
            padding: 20px 10px;
            width: 100%;
        }

        .medbase-service-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .medbase-service-text {
            color: #666;
            font-size: 0.8rem;
            margin-bottom: 10px;
        }

        .medbase-service-phone {
            display: inline-block;
            font-size: 1rem;
            font-weight: 700;
            color: var(--medbase-blue);
            text-decoration: none;
            padding: 10px 20px;
            border: 1px solid var(--medbase-blue);
            transition: all 0.3s ease;
            margin-bottom: 10px;
        }

        .medbase-service-phone i {
            margin-right: 10px;
            font-size: 0.9rem;
        }

        .medbase-service-phone:hover {
            background-color: var(--medbase-blue);
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(33, 93, 154, 0.25);
        }

        .medbase-service-hours {
            font-size: 0.7rem;
            color: var(--medbase-orange);
            font-weight: 500;
        }

        .medbase-service-hours i {
            margin-right: 6px;
        }
    