
        /* =================================
           إعدادات النمط العام
           ================================= */
           .booking{
                     display: inline-block;
                     margin-right: 2rem;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--purple), #443a57);
    color: #fff;
    text-decoration: none;
    border-radius: 22px;
    font-weight: 600;
 
    transition: all 0.4s ease;
    box-shadow: 0 12px 25px rgba(194, 116, 253, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
           }



           .subscribed{
            display: inline-block;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--orange), #ff9e40);
    color: #5c4f6e;
    text-decoration: none;
    border-radius: 22px;
    font-weight: 600;
 
    transition: all 0.4s ease;
    box-shadow: 0 12px 25px rgba(253, 186, 116, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
           }
        :root {
            --primary-color: #5c4f6e;
            /* بنفسجي */
            --secondary-color: #fdba74;
            /* برتقالي */
            --cloud-gradient-1: #ffffff;
            /* بداية التدرج */
            --cloud-gradient-2: #f0ebff;
            /* نهاية التدرج */
            --text-color-light: #fff;
            --text-color-dark: #333;
            --shadow-light: rgba(255, 255, 255, 0.8);
            --shadow-dark: rgba(92, 79, 110, 0.15);
        }

        @font-face {
            font-family: 'Tajawal';
            src: url('/assets_website/fonts/tajawal/Tajawal-Regular.ttf') format('truetype');
            font-weight: 400;
        }

        @font-face {
            font-family: 'Tajawal';
            src: url('/assets_website/fonts/tajawal/Tajawal-Medium.ttf') format('truetype');
            font-weight: 500;
        }


        @font-face {
            font-family: 'Tajawal';
            src: url('/assets_website/fonts/tajawal/Tajawal-Bold.ttf') format('truetype');
            font-weight: 700;
        }


        body,
        html,
        * {
            font-family: 'Tajawal', sans-serif !important;
        }

        body {
            background-color: #ffffff;
            padding: 0;
            margin: 0;
            font-family: 'Tajawal', sans-serif !important;
            font-size: 13px;
        }

        .fas,
        .fa-solid {
            font-family: "Font Awesome 6 Free" !important;
            font-weight: 900 !important;
        }

        .far,
        .fa-regular {
            font-family: "Font Awesome 6 Free" !important;
            font-weight: 400 !important;
        }

        .fal,
        .fa-light {
            font-family: "Font Awesome 6 Pro" !important;
            font-weight: 300 !important;
        }

        .fab,
        .fa-brands {
            font-family: "Font Awesome 6 Brands" !important;
            font-weight: 400 !important;
        }

      
        /* =================================
           تصميم الهيدر الثابت (Sticky Header)
           ================================= */
     

        .logo-container img {
            height: 40px;
        }

        /* =================================
           تصميم قائمة التنقل
           ================================= */
        .main-nav ul {
            margin: 0;
            padding: 0;
            list-style: none;
            display: flex;
            gap: 15px;
                align-items: anchor-center;
        }
/* 
        .main-nav {
            margin: 0 10%;
        } */

     
        /* أيقونة القائمة (همبرغر) */
        .menu-toggle {

            display: none;
            font-size: 1.8rem;
            color: var(--secondary-color);
            cursor: pointer;
            background: none;
            border: none;
        }

        /* =================================
           قسم الهيرو والفيديو
           ================================= */
        .hero {
            position: relative;
            height: calc(100vh - 62px);
            min-height: 500px;
            display: flex;
            align-items: center;
            overflow: hidden;
            background-color: var(--primary-color);
        }

        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: translate(-50%, -50%);
            z-index: 1;
        }
#aboutlarage{
 height: 31rem;
}
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            background: rgba(0, 0, 0, 0.903);
        }

        /* تعديل محتوى الهيرو ليكون على اليمين */
        .hero .container {
            position: relative;
            z-index: 3;
            justify-content: flex-start;
        }

        .hero-content {
            color: #fff;
            max-width: 50%;
            text-align: right;
            position: absolute;
            top: 10%;
        }

        .hero-content h1 {
            color: #ff9e4a;
            font-family: 'Tajawal', sans-serif;
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .hero-content p {
            font-family: 'Tajawal', sans-serif;
            font-size: 1.4rem;
            margin-bottom: 30px;
            opacity: 0.9;
              color: #fff;
        }

        .hero-button {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1rem;
            transition: background-color 0.3s, transform 0.3s;
            display: inline-block;
        }

        .hero-button:hover {
            background-color: #fff;
            transform: scale(1.05);
        }

        /* =================================
           أقسام المحتوى التالية
           ================================= */
        .content-section {
            padding: 80px 20px;
            text-align: center;
            color: var(--text-color-dark);
            position: relative;
            background: linear-gradient(135deg, #f9f7ff 0%, #f0ebff 50%, #ffffff 100%);
            overflow: hidden;
        }

        .content-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
            z-index: 1;
        }

        .content-section h2 {
            font-family: 'Tajawal', sans-serif;
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }

        .content-section>p {
            font-size: 1.2rem;
            color: #666;
            max-width: 800px;
            margin: 0 auto 70px;
            line-height: 1.6;
            position: relative;
            z-index: 2;
        }

        /* =================================
           تصميم غيمة "التعلم المصغر" المتطورة
           ================================= */
        .cloud-container {
            position: relative;
            margin: 50px auto 70px;
            width: 280px;
            height: 160px;
            perspective: 1000px;
        }

        .cloud-box {
            position: relative;
            width: 60%;
            height: 60%;
            transform-style: preserve-3d;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            animation: cloudFloat 4s ease-in-out infinite;
            filter: drop-shadow(0 10px 20px rgba(92, 79, 110, 0.2));
        }

        .ptb-100 {
            /* padding-top: 0 !important;
            padding-bottom: 0 !important; */
        }

        /* وجه الغيمة الأمامي */
        .cloud-front {
            position: absolute;
            
            backface-visibility: hidden;
            background: linear-gradient(145deg, var(--cloud-gradient-1), var(--cloud-gradient-2));
            border-radius: 100px 100px 100px 100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow:
                inset 5px 5px 10px var(--shadow-light),
                inset -5px -5px 10px var(--shadow-dark),
                0 15px 35px rgba(92, 79, 110, 0.15);
            overflow: hidden;
            z-index: 2;
        }

        /* تأثير الضوء على الغيمة */
        .cloud-front::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
            opacity: 0.6;
            animation: lightShine 8s linear infinite;
        }

        /* الفقاعات داخل الغيمة */
        .bubble {
            position: absolute;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.8),
                inset -2px -2px 5px rgba(0, 0, 0, 0.05);
            animation: bubbleFloat 20s infinite linear;
        }

        .bubble:nth-child(1) {
            width: 40px;
            height: 40px;
            top: 20px;
            right: 30px;
            animation-delay: 0s;
        }

        .bubble:nth-child(2) {
            width: 25px;
            height: 25px;
            top: 50px;
            left: 40px;
            animation-delay: -5s;
        }

        .bubble:nth-child(3) {
            width: 35px;
            height: 35px;
            bottom: 30px;
            right: 50px;
            animation-delay: -10s;
        }

        .bubble:nth-child(4) {
            width: 20px;
            height: 20px;
            bottom: 40px;
            left: 30px;
            animation-delay: -15s;
        }

        /* النص داخل الغيمة */
        .cloud-text {
            position: relative;
            z-index: 3;
            color: var(--primary-color);
            font-family: 'Tajawal', sans-serif;
            font-size: 1rem;
            font-weight: 800;
            text-align: center;
            padding: 0 25px;
            line-height: 1.3;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
            background: linear-gradient(135deg, var(--primary-color), #7a6a9a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* أيقونة التفاعل */
        .cloud-icon {
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--secondary-color), #ff9e4a);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 6px 15px rgba(253, 186, 116, 0.4);
            z-index: 4;
            transition: all 0.3s ease;
            animation: iconPulse 2s infinite;
            cursor: pointer;
        }

        /* تأثيرات النجوم */
        .stars {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
        }

        .star {
            position: absolute;
            background: white;
            border-radius: 50%;
            animation: starTwinkle 3s infinite;
        }

        .star:nth-child(1) {
            width: 3px;
            height: 3px;
            top: 15px;
            left: 40px;
            animation-delay: 0s;
        }

        .star:nth-child(2) {
            width: 2px;
            height: 2px;
            top: 35px;
            right: 60px;
            animation-delay: 0.5s;
        }

        .star:nth-child(3) {
            width: 4px;
            height: 4px;
            bottom: 25px;
            left: 70px;
            animation-delay: 1s;
        }

        .star:nth-child(4) {
            width: 2px;
            height: 2px;
            bottom: 15px;
            right: 30px;
            animation-delay: 1.5s;
        }

        /* أنيماشن الحركات */
        @keyframes cloudFloat {

            0%,
            100% {
                transform: translateY(0) rotateX(0) rotateY(0);
            }

            25% {
                transform: translateY(-10px) rotateX(2deg) rotateY(1deg);
            }

            50% {
                transform: translateY(-5px) rotateX(-1deg) rotateY(-1deg);
            }

            75% {
                transform: translateY(-8px) rotateX(1deg) rotateY(2deg);
            }
        }

        @keyframes bubbleFloat {
            0% {
                transform: translateY(0) translateX(0);
            }

            25% {
                transform: translateY(-5px) translateX(3px);
            }

            50% {
                transform: translateY(2px) translateX(-2px);
            }

            75% {
                transform: translateY(-3px) translateX(4px);
            }

            100% {
                transform: translateY(0) translateX(0);
            }
        }

        @keyframes lightShine {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes iconPulse {

            0%,
            100% {
                transform: translateX(-50%) scale(1);
                box-shadow: 0 6px 15px rgba(253, 186, 116, 0.4);
            }

            50% {
                transform: translateX(-50%) scale(1.1);
                box-shadow: 0 8px 20px rgba(253, 186, 116, 0.6);
            }
        }

        @keyframes starTwinkle {

            0%,
            100% {
                opacity: 0.3;
                transform: scale(1);
            }

            50% {
                opacity: 1;
                transform: scale(1.2);
            }
        }

        /* تأثيرات التفاعل */
        .cloud-box:hover {
            transform: translateY(-15px) scale(1.05);
            animation-play-state: paused;
        }

        .cloud-box:hover .cloud-front::before {
            animation-duration: 4s;
        }

        .cloud-icon:hover {
            transform: translateX(-50%) scale(1.2) rotate(360deg);
            background: linear-gradient(135deg, #ff9e4a, var(--secondary-color));
            animation-play-state: paused;
        }

        /* تأثير النقر */
        .cloud-box:active {
            transform: scale(0.98);
            transition: transform 0.1s;
        }

        /* =================================
           جعل التصميم متجاوبًا (Mobile)
           ================================= */
        @media (max-width: 992px) {
            .main-nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: var(--primary-color);
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
                margin: 0 !important;
            }

            .cloud-icon {
                display: none !important;
            }

            .lerni-section-title {
                font-size: 1.2rem !important;
            }

            .main-nav.active {
                display: block;
            }

            .main-nav ul {
                flex-direction: column;
                gap: 0;
                align-items:normal;
            }

            .main-nav ul li a {
                display: block;
                padding: 15px;
                border-bottom: 1px solid rgba(253, 186, 116, 0.2);
            }

            .main-nav ul li:last-child a {
                /* border-bottom: none; */
            }
.main-nav ul li:last-child {
order: -1;
}
.subscribed{
    padding: 6px 10px;
}
     
.menu-toggle {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .hero {
                height: 70vh;
            }
#aboutlarage{
 height: auto;
}
            .hero .container {
                justify-content: center;
            }

            .hero-content {
                max-width: 90%;
                text-align: center;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .hero-content p {
                font-size: 1.2rem;
            }

            .content-section h2 {
                font-size: 2.3rem;
            }

            .cloud-container {
                width: 250px;
                height: 140px;
                margin: 40px auto 50px;
                display: none;
            }

            .cloud-text {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 480px) {
            .hero-content h1 {
                font-size: 2rem;
            }

            .cloud-front {

                width: 50%;
                height: 50%;
            }

            .content-section h2 {
                font-size: 2rem;
            }

            .cloud-container {
                width: 220px;
                height: 130px;
                margin: 30px auto 40px;
            }

            .cloud-text {
                font-size: 1rem;
            }

            .cloud-icon {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }

            .bubble:nth-child(1) {
                width: 35px;
                height: 35px;
            }

            .bubble:nth-child(2) {
                width: 20px;
                height: 20px;
            }

            .bubble:nth-child(3) {
                width: 30px;
                height: 30px;
            }

            .bubble:nth-child(4) {
                width: 15px;
                height: 15px;
            }
        }

           /* =================================
           إعدادات النمط العام
           ================================= */


    /* CSS for the Modal */
    .trial-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: none;
        /* Hidden by default */
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .trial-modal-overlay.active {
        display: flex;
        opacity: 1;
    }

    .trial-modal-content {
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        max-width: 400px;
        width: 90%;
        text-align: center;
        transform: scale(0.8);
        transition: transform 0.3s ease-in-out;
    }
a{
    cursor: pointer;
}
    .trial-modal-overlay.active .trial-modal-content {
        transform: scale(1);
    }

    .trial-modal-content h3 {
        color: #fdba74;
        margin-bottom: 10px;
        font-size: 1.5rem;
        font-weight: bold;
    }

    .trial-modal-content p {
        color: #6c757d;
        margin-bottom: 20px;
    }

    .trial-modal-content input[type="email"] {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        border: 1px solid #ced4da;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .trial-modal-content button {
        background-color: #5c4f6e;
        color: white;
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        width: 100%;
        transition: background-color 0.2s;
    }

    .trial-modal-content button:hover {
        background-color: #463b54;
    }

    .modal-icon {
        font-size: 3rem;
        color: #ffc107;
        margin-bottom: 15px;
    }

/* end model */

        .lerni-video-section {
            /* padding: 80px 0; */
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        }

        .lerni-video-wrapper {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(92, 79, 110, 0.15);
            height: 400px;
            transform: perspective(1000px) rotateY(-5deg);
            /* تأثير 3D */
            transition: all 0.3s ease;
            /* حركة سلسة */
        }

        .lerni-video-wrapper:hover {
            transform: perspective(1000px) rotateY(0deg);
            /* العودة للوضع الطبيعي عند Hover */
            box-shadow: 0 25px 50px rgba(92, 79, 110, 0.2);
            /* ظل أقوى */
        }

        .lerni-video-wrapper video {
            width: 100%;
            height: 100%;
            border-radius: 20px;
            display: block;
            object-fit: cover;
        }

        .lerni-content-wrapper {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(92, 79, 110, 0.15);
            border: 1px solid rgba(92, 79, 110, 0.1);

            padding: 30px;
            display: flex;
            align-items: center;
        }

        .lerni-content-inner {
            width: 100%;
        }

        .lerni-section-title {
            color: #5c4f6e;
            margin-bottom: 15px;
            font-size: 1.6rem;
            font-weight: 700;
            line-height: 1.3;
        }

        .lerni-highlight {
            color: #fdba74;
            text-align: center;
            display: block;
    padding-bottom: 20px;
    font-size: 1.7rem;
        }

        .lerni-section-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
            font-size: 0.95rem;
            border-right: 3px solid #fdba74;
            padding-right: 15px;
        }

        .lerni-features-list {
            margin: 15px 0;
        }

        .lerni-feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            padding: 8px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .lerni-feature-item:hover {
            background: rgba(253, 186, 116, 0.05);
            transform: translateX(5px);
        }

        .lerni-feature-icon {
            width: 35px;
            height: 35px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
            color: white;
            font-size: 0.9rem;
        }

        .lerni-icon-orange {
            background: linear-gradient(135deg, #fdba74, #e6a861);
            position: relative;
            left: 20px;
        }

        .lerni-icon-purple {
            background: linear-gradient(135deg, #5c4f6e, #4a3f5a);
            position: relative;
            left: 20px;
        }

        .lerni-feature-content h4 {
            color: #5c4f6e;
            margin-bottom: 3px;
            font-size: 0.9rem;
            font-weight: 600;
            text-align: justify;
        }

        .lerni-feature-content p {
            color: #777;
            margin: 0;
            font-size: 0.8rem;
        }

        .lerni-cta-buttons {
            margin-top: 20px;
            display: flex;
            gap: 10px;
        }

        .lerni-btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 0.85rem;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            background-color: #5c4f6e;
        }

        .lerni-btn-primary {
            background: linear-gradient(135deg, #fdba74, #e6a861);
            color: white;
            box-shadow: 0 3px 10px rgba(253, 186, 116, 0.3);
        }

        .lerni-btn-secondary {
            background: transparent;
            color: #5c4f6e;
            border: 1.5px solid #5c4f6e;
        }

        .lerni-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }

        .lerni-btn-primary:hover {
            background: linear-gradient(135deg, #e6a861, #fdba74);
        }

        .lerni-btn-secondary:hover {
            background: #5c4f6e;
            color: white;
        }

        @media (max-width: 768px) {

            .lerni-video-wrapper,
            .lerni-content-wrapper {
                height: 300px;
            }

            .lerni-content-wrapper {
                /* margin-top: 20px; */
                margin-top: 19 !important;
                padding: 20px;
                height: 100%;
            }

            .lerni-section-title {
                font-size: 1.3rem;
            }

            .lerni-cta-buttons {
                flex-direction: column;
            }

            .lerni-video-wrapper {
                transform: none;
                /* إزالة التأثير على الموبايل */
            }

            .lerni-video-wrapper:hover {
                transform: none;
            }
        }

        .lerni-reels-style-section {
            padding: 80px 0;
            margin: 80px 0;
            background: linear-gradient(135deg, #5c4f6e 0%, #4a3f5a 100%);
            color: white;
        }

        .lerni-section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .lerni-section-title {
            color: white;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .lerni-highlight {
            color: #fdba74;
            display: block;
    padding-bottom: 20px;
    font-size: 1.7rem;
        }

        .lerni-section-subtitle {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.2rem;
        }

        .lerni-reels-style-container {
            display: flex;
            justify-content: center;
            align-items: center;
            
        }

        .lerni-reel-vertical {
            max-width: 350px;
            width: 100%;
            background: #000;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            position: relative;
        }

        .lerni-reel-video-container {
            position: relative;
            background: #000;
        }

        .lerni-reel-video-wrapper {
            position: relative;
            width: 100%;
            height: 600px;
            background: #000;
            overflow: hidden;
        }

        .lerni-vertical-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* التحكمات الجانبية */
        .lerni-reel-side-controls {
            position: absolute;
            right: 15px;
            bottom: 100px;
            display: flex;
            flex-direction: column;
            gap: 25px;
            align-items: center;
            z-index: 10;
        }

        .lerni-side-action {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .lerni-side-action:hover {
            transform: scale(1.1);
        }

        .lerni-action-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .lerni-side-action:hover .lerni-action-icon {
            background: rgba(253, 186, 116, 0.2);
            color: #fdba74;
        }

        .lerni-action-count {
            color: white;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .lerni-reel-avatar-side {
            position: relative;
            margin-top: 10px;
        }

        .lerni-reel-avatar-side img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid #fdba74;
            object-fit: cover;
        }

        .lerni-avatar-badge {
            position: absolute;
            bottom: -5px;
            right: -5px;
            width: 20px;
            height: 20px;
            background: #fdba74;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.7rem;
            border: 2px solid #000;
        }

        /* معلومات الفيديو */
        .lerni-reel-info-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
            z-index: 5;
        }

        .lerni-reel-author-info h3 {
            color: white;
            margin: 0 0 5px 0;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .lerni-reel-author-info p {
            color: rgba(255, 255, 255, 0.8);
            margin: 0 0 15px 0;
            font-size: 0.85rem;
        }

        .lerni-reel-caption {
            color: white;
            font-size: 0.9rem;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        .lerni-highlight-text {
            color: #fdba74;
            font-weight: 600;
        }

        .lerni-reel-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .lerni-tag {
            color: #fdba74;
            font-size: 0.8rem;
            opacity: 0.9;
        }

        /* شريط التقدم */
        .lerni-reel-progress {
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 10;
        }

        .lerni-progress-bar {
            flex: 1;
            height: 3px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 2px;
            overflow: hidden;
        }

        .lerni-progress-fill {
            width: 65%;
            height: 100%;
            background: #fdba74;
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .lerni-reel-time {
            color: white;
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* المعلومات الإضافية */
        .lerni-reel-meta-info {
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .lerni-meta-stats {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
        }

        .lerni-meta-stat {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85rem;
        }

        .lerni-meta-stat i {
            color: #fdba74;
        }

        .lerni-achievements-preview h4 {
            color: white;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .lerni-achievements-list {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .lerni-achievements-list span {
            background: rgba(253, 186, 116, 0.1);
            color: #fdba74;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            border: 1px solid rgba(253, 186, 116, 0.2);
        }

        .lerni-reels-cta {
            text-align: center;
            margin-top: 40px;
        }

        .lerni-reels-btn {
            background: linear-gradient(135deg, #fdba74, #e6a861);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 30px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 10px 30px rgba(253, 186, 116, 0.3);
        }

        .lerni-reels-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(253, 186, 116, 0.4);
        }

        /* تأثيرات التفاعل */
        .lerni-vertical-video {
            cursor: pointer;
        }

        .lerni-vertical-video::-webkit-media-controls {
            display: none !important;
        }

        @media (max-width: 768px) {
            .lerni-reel-vertical {
                max-width: 300px;
            }

            .lerni-reel-video-wrapper {
                height: 500px;
            }

            .lerni-section-title {
                font-size: 2rem;
            }
        }

        /* تأثيرات اللمس للجوال */
        @media (hover: none) {
            .lerni-reel-side-controls {
                opacity: 1;
            }

            .lerni-reel-info-overlay {
                opacity: 1;
            }
        }
  
 
        /* الحل الجذري لمنع الاصطفاف الجانبي */
        .lerni-reels-style-section .container {
            display: block !important;
            /* إلغاء أي فليكس موروث */
        }

        .lerni-reels-style-container {
            display: flex !important;
            flex-direction: column !important;
            /* إجبار العناصر داخل حاوية الفيديو على الترتيب الرأسي */
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
        }

        .lerni-reels-style-section {
            margin: 60px 0;
            padding: 60px 0;
            background: linear-gradient(135deg, #5c4f6e 0%, #4a3f5a 100%);
            color: white;
        }

        .lerni-reel-vertical {
            max-width: 320px;
            /* عرض الفيديو الموبايل */
            width: 100%;
            margin: 0 auto;
            /* للتوسيط */
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .lerni-reel-video-wrapper {
            height: 550px;
            position: relative;
        }

        .lerni-vertical-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* إصلاح العناوين */
        .lerni-section-title {
            font-size: 2.2rem;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .lerni-highlight {
            color: #fdba74;
            display: block;
    padding-bottom: 20px;
    font-size: 1.7rem;
        }

        @media (max-width: 768px) {
            .lerni-reel-vertical {
                max-width: 280px;
            }

            .lerni-reel-video-wrapper {
                height: 480px;
            }
        }



        /* --- التنسيقات الأصلية للشاشات الكبيرة --- */
        .motivation-categories-card .motivation-categories-list {
            padding-left: 0;
            /* لإزالة الحشوة الافتراضية للقائمة */
            list-style: none;
            /* لإزالة النقاط */
        }

        .motivation-categories-card .motivation-categories-list li {
            padding: 10.8px 63px 22.8px 20px;
            /* باقي التنسيقات الأصلية هنا */
        }

        .motivation-categories-card .motivation-categories-list li .icon {
            clip-path: circle(96% at 136% -27%);
            /* باقي التنسيقات الأصلية هنا */
        }

        a {
            text-decoration: none;
            color: #5c4f6e;
        }

        .py-5 {
            padding-top: 3rem !important;
            padding-bottom: 3rem !important;
        }

        .motivation-categories-card .motivation-categories-list li .icon i {
            right: -5.8px;
            left: auto;
            top: 32% !important;
            /* باقي التنسيقات الأصلية هنا */
        }

        .mb-30 {
            margin-bottom: 30px !important;
        }

        .container1 {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            /* باقي التنسيقات الأصلية هنا */
        }

        /* === التعديلات المحسّنة للهاتف === */
        @media(max-width: 767px) {
            .motivation-categories-list {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                /* يمكنك استخدام 'space-around' لنتائج مختلفة */
                margin: 0 -5px;
                /* هامش سلبي لتعويض الحشوة */
            }

            .motivation-categories-card .motivation-categories-list li {
              flex: 0 0 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        margin: 5px !important;
        padding: 12px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    height: 70px !important;
            }

            .motivation-categories-card .motivation-categories-list li .icon {
                  position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    display: inline-block !important;
    height: 50px !important;
    width: 50px !important;
    background-color: #fdba74 !important;
    color: #ffffff;
    font-size: 45px;
    text-align: center !important;
    -webkit-clip-path: circle(60% at 30% 50%);
    clip-path: circle(60% at 30% 50%);
    transition: 0.5s;
            }

            .motivation-categories-card .motivation-categories-list li .icon i {
                position: static;
                /* إزالة التموضع */
                transform: none;
                /* إزالة التحويل */
                color: #5c4f6e;
                font-size: 20px;
            }

            .motivation-categories-card .motivation-categories-list li h3 {
                font-size: 13px;
                /* تصغير الخط قليلاً */
                margin: 0;
            }

            .motivation-categories-card .motivation-categories-list li h3 a {
                color: #5c4f6e;
                /* تأكيد لون الرابط */
            }
        }
  
        .slider-section {
            padding: 40px 20px;
            position: relative;
            max-width: 1200px;
            margin: auto;
            width: 100%;
        }

        /* تأثير التدرج على الأطراف لإعطاء عمق */
        .slider-section::before,
        .slider-section::after {
            content: "";
            position: absolute;
            top: 0;
            width: 50px;
            height: 100%;
            z-index: 2;
            pointer-events: none;
        }

        .slider-section::before {
            left: 0;
            background: linear-gradient(to right, #eef2f7, transparent);
        }

        .slider-section::after {
            right: 0;
            background: linear-gradient(to left, #eef2f7, transparent);
        }

        .slider-wrapper {
            overflow: hidden;
            padding: 20px 5px;
        }

        .slider {
            display: flex;
            gap: 25px;
            transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        /* ===== كارد جذاب ===== */
        .card {
            min-width: calc(33.333% - 17px);
            background: #fff;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            flex-shrink: 0;
            transition: all 0.4s ease;
            position: relative;
            border: 1px solid rgba(0, 0, 0, 0.03);
        }

        /* تأثير عند تمرير الماوس (Hover) */
        .card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 25px 50px rgba(92, 79, 110, 0.2);
            border-color: #fdba74;
        }

        .card img {
            /* width: 100%; */
            height: 300px;
            object-fit: cover;
            transition: 0.5s ease;
        }

        .card:hover img {
            filter: brightness(1.1);
        }

        .card-content {
            padding: 25px;
            background: #fff;
            position: relative;
        }

        .card h3 {
            margin: 0 0 10px;
            color: #333;
            font-size: 22px;
            transition: 0.3s;
        }

        .card:hover h3 {
            color: #5c4f6e;
        }

        .card p {
            color: #777;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        /* زر تفاعلي */
        .card .btn {
            display: inline-block;
            padding: 10px 25px;
            background: #5c4f6e;
            color: #fff;
            text-decoration: none;
            border-radius: 12px;
            font-weight: bold;
            transition: 0.3s;
            display: none;
        }

        .card:hover .btn {
            background: #fdba74;
            color: #5c4f6e;
            box-shadow: 0 5px 15px rgba(253, 186, 116, 0.4);
        }

        /* ===== الأسهم المودرن ===== */
        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 55px;
            height: 55px;
            border: none;
            border-radius: 50%;
            background: #fff;
            color: #5c4f6e;
            font-size: 24px;
            cursor: pointer;
            z-index: 100;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .arrow:hover {
            background: #5c4f6e;
            color: #fff;
            transform: translateY(-50%) scale(1.1);
        }

        .arrow.prev {
            right: -25px;
        }

        .arrow.next {
            left: -25px;
        }

        /* التجاوب */
        @media (max-width: 992px) {
            .card {
                min-width: calc(50% - 13px);
            }
        }

        @media (max-width: 650px) {
            .card {
                min-width: 90%;
            }

            .arrow {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }

            .arrow.prev {
                right: 5px;
            }

            .arrow.next {
                left: 5px;
            }
        }

        :root {
            --purple: #5c4f6e;
            --orange: #fdba74;
            --light-purple: #756589;
            --dark-purple: #443a57;
            --gradient: linear-gradient(135deg, #5c4f6e 0%, #756589 50%, #443a57 100%);
        }

        /* تحسين الخلفية العامة */
        section[style*="background-color: #5c4f6e"] {
            background: var(--gradient) !important;
            padding: 40px 0;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
        }

        /* إضافة تأثيرات خلفية */
        section[style*="background-color: #5c4f6e"]::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 20% 80%, rgba(253, 186, 116, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            animation: float 20s infinite linear;
        }

        @keyframes float {

            0%,
            100% {
                transform: translate(0, 0);
            }

            25% {
                transform: translate(10px, 10px);
            }

            50% {
                transform: translate(-5px, 15px);
            }

            75% {
                transform: translate(15px, -5px);
            }
        }

        /* تحسين الأزرار */
        .coach-buttons {
            max-width: 1200px;
            margin: 30px auto 40px;
            padding: 0 15px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            position: relative;
            z-index: 2;
        }

        .coach-btn {
            position: relative;
            padding: 20px 12px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            color: #fff;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow:
                0 15px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(0, 0, 0, 0.1);
            overflow: hidden;
            z-index: 1;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 80px;
        }

        /* تأثير الخلفية المتحرك */
        .coach-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg,
                    transparent 30%,
                    rgba(255, 255, 255, 0.1) 50%,
                    transparent 70%);
            background-size: 300% 300%;
            animation: shimmer 3s infinite;
            border-radius: inherit;
            z-index: -1;
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        /* تأثير الحدود المتوهج */
        .coach-btn::after {
            content: "";
            position: absolute;
            inset: -2px;
            border-radius: inherit;
            background: linear-gradient(45deg, var(--orange), #ffd8b4, var(--orange));
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: -2;
            filter: blur(8px);
        }

        .coach-btn:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow:
                0 25px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 20px rgba(253, 186, 116, 0.4);
        }

        .coach-btn.active {
            background: linear-gradient(145deg, var(--orange), #ff9e40);
            color: var(--purple);
            transform: translateY(-4px);
            box-shadow:
                0 20px 35px rgba(253, 186, 116, 0.4),
                0 0 0 2px rgba(255, 255, 255, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.5);
        }

        .coach-btn.active::after {
            opacity: 0.7;
            animation: glow 2s infinite alternate;
        }

        @keyframes glow {
            from {
                opacity: 0.5;
            }

            to {
                opacity: 0.8;
            }
        }

        /* تحسين محتوى الكوتش */
        .coach-content {
            max-width: 1200px;
            margin: 20px auto;
            padding: 40px;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
            border-radius: 30px;
            box-shadow:
                0 30px 60px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
            display: none;
            gap: 40px;
            align-items: center;
            animation: contentIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            z-index: 2;
            overflow: hidden;
        }

        /* إضافة تأثير خلفية للبطاقة */
        .coach-content::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 0deg,
                    transparent,
                    rgba(253, 186, 116, 0.1),
                    transparent 30%);
            animation: rotate 20s linear infinite;
            z-index: 0;
        }

        @keyframes rotate {
            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes contentIn {
            0% {
                opacity: 0;
                transform: translateY(40px) scale(0.95);
                filter: blur(10px);
            }

            100% {
                opacity: 1;
                transform: none;
                filter: none;
            }
        }

        .coach-content.active {
            display: flex;
        }

        /* تحسين الصورة */
        .coach-content img {
            width: 45%;
            border-radius: 25px;
            object-fit: cover;
            box-shadow:
                0 25px 50px rgba(0, 0, 0, 0.2),
                0 0 25px rgba(253, 186, 116, 0.3);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            z-index: 1;
        }

        .coach-content:hover img {
            transform: scale(1.05);
            box-shadow:
                0 40px 80px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(253, 186, 116, 0.4);
        }

        /* تحسين النص */
        .coach-text {
            width: 55%;
            position: relative;
            z-index: 1;
        }

        .coach-text h2 {
            margin: 0 0 20px;
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--purple), var(--light-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 8px 20px rgba(92, 79, 110, 0.2);
        }

        .coach-text p {
            font-size: 18px;
            line-height: 1.7;
            color: #555;
            margin-bottom: 25px;
            position: relative;
            padding-right: 20px;
            border-right: 4px solid var(--orange);
        }

        /* إضافة أيقونة زخرفية */
        .coach-text::before {
            content: '✦';
            position: absolute;
            top: -15px;
            right: -15px;
            font-size: 50px;
            color: var(--orange);
            opacity: 0.2;
            transform: rotate(15deg);
        }

        /* زر اضافي للتفاصيل */
        .details-btn {
            display: inline-block;
            padding: 14px 28px;
            background: linear-gradient(135deg, var(--orange), #ff9e40);
            color: var(--purple);
            text-decoration: none;
            border-radius: 22px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.4s ease;
            box-shadow: 0 12px 25px rgba(253, 186, 116, 0.3);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .details-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: 0.5s;
        }

        .details-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 35px rgba(253, 186, 116, 0.5);
            border-color: var(--purple);
        }

        .details-btn:hover::before {
            left: 100%;
        }

        /* قسم المميزات */
        .features {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 25px;
        }

        .feature {
            text-align: center;
            padding: 15px;
            background: rgba(253, 186, 116, 0.1);
            border-radius: 15px;
            transition: 0.3s ease;
        }

        .feature:hover {
            transform: translateY(-5px);
            background: rgba(253, 186, 116, 0.2);
        }

        .feature i {
            font-size: 24px;
            color: var(--orange);
            margin-bottom: 10px;
        }

        .feature h4 {
            color: var(--purple);
            margin-bottom: 8px;
            font-size: 16px;
        }

        .feature p {
            font-size: 13px;
            color: #666;
            margin: 0;
            line-height: 1.5;
        }

        /* ===== Mobile Responsive ===== */

        /* للتابلت (أقل من 992px) */
        @media(max-width: 992px) {
            .coach-buttons {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                max-width: 600px;
            }

            .coach-btn {
                padding: 18px 10px;
                font-size: 15px;
                min-height: 70px;
            }

            .coach-content {
                flex-direction: column;
                padding: 30px;
                gap: 30px;
                margin: 15px;
            }

            .coach-content img,
            .coach-text {
                width: 100%;
            }

            .coach-text h2 {
                font-size: 28px;
                text-align: center;
            }

            .coach-text p {
                font-size: 16px;
                padding-right: 15px;
                text-align: right;
            }

            .features {
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
            }
        }

        /* للهاتف الأفقي (أقل من 768px) */
        @media(max-width: 768px) {
            section[style*="background-color: #5c4f6e"] {
                padding: 30px 0;
            }

            .coach-buttons {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin: 20px auto 30px;
                padding: 0 10px;
            }

            .coach-btn {
                padding: 16px 8px;
                font-size: 14px;
                min-height: 65px;
                border-radius: 18px;
            }

            .coach-btn i {
                font-size: 20px !important;
                margin-bottom: 5px;
            }

            .coach-content {
                padding: 25px 20px;
                margin: 10px;
                border-radius: 25px;
            }

            .coach-text h2 {
                font-size: 26px;
                margin-bottom: 15px;
            }

            .coach-text p {
                font-size: 15px;
                line-height: 1.6;
                margin-bottom: 20px;
            }

            .details-btn {
                padding: 12px 24px;
                font-size: 15px;
                width: 100%;
                text-align: center;
                display: block;
                margin-top: 20px;
            }

            .features {
                grid-template-columns: repeat(3, 1fr);
                gap: 10px;
            }

            .feature {
                padding: 12px 8px;
            }

            .feature h4 {
                font-size: 14px;
            }

            .feature p {
                font-size: 12px;
            }
        }

        /* للهاتف الرأسي (أقل من 576px) */
        @media(max-width: 576px) {
            .coach-buttons {
                grid-template-columns: 1fr;
                max-width: 400px;
                gap: 10px;
            }

            .coach-btn {
                padding: 18px 15px;
                font-size: 16px;
                min-height: 60px;
                flex-direction: row;
                justify-content: flex-start;
                text-align: right;
            }

            .coach-btn i {
                margin-left: 10px !important;
                margin-bottom: 0;
                font-size: 22px !important;
            }

            .coach-content {
                padding: 20px 15px;
                gap: 25px;
            }

            .coach-text h2 {
                font-size: 24px;
            }

            .coach-text p {
                font-size: 14px;
                padding-right: 12px;
            }

            .features {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .feature {
                padding: 15px;
                display: flex;
                align-items: center;
                text-align: right;
                gap: 15px;
            }

            .feature i {
                margin-bottom: 0;
                font-size: 28px;
                flex-shrink: 0;
            }

            .feature-content {
                flex: 1;
            }

            .feature h4 {
                font-size: 16px;
                margin-bottom: 5px;
            }

            .feature p {
                font-size: 13px;
            }

            .coach-content img {
                height: 250px;
                object-fit: cover;
            }
        }

        /* للهواتف الصغيرة جداً (أقل من 400px) */
        @media(max-width: 400px) {
            .coach-buttons {
                padding: 0 8px;
            }

            .coach-btn {
                padding: 15px 10px;
                font-size: 15px;
            }

            .coach-btn i {
                font-size: 20px !important;
                margin-left: 8px !important;
            }

            .coach-text h2 {
                font-size: 22px;
            }

            .coach-text p {
                font-size: 13px;
            }

            .feature {
                padding: 12px;
                gap: 12px;
            }

            .feature i {
                font-size: 24px;
            }

            .feature h4 {
                font-size: 15px;
            }

            .feature p {
                font-size: 12px;
            }
        }

        /* تحسينات للعرض الرأسي على الهاتف */
        @media (max-width: 576px) and (orientation: portrait) {
            .coach-content {
                margin: 10px 5px;
            }

            .coach-content img {
                height: 200px;
                width: 100%;
            }
        }

        /* إصلاح مشكلة الأيقونات على الهواتف القديمة */
        .coach-btn i {
            display: inline-block;
            vertical-align: middle;
        }

        /* تحسينات إضافية للتجربة على الهاتف */
        @media (hover: none) {
            .coach-btn:hover {
                transform: none;
            }

            .coach-btn:active {
                transform: scale(0.98);
                background: linear-gradient(145deg, var(--orange), #ff9e40);
            }

            .feature:hover {
                transform: none;
            }

            .details-btn:hover {
                transform: none;
            }

            .coach-content:hover img {
                transform: none;
            }
        }

        /* تحسين قابلية اللمس على الهواتف */
        @media (max-width: 768px) {

            .coach-btn,
            .details-btn,
            .feature {
                cursor: pointer;
                -webkit-tap-highlight-color: transparent;
            }

            .coach-btn:active,
            .details-btn:active {
                transform: scale(0.95);
                transition: transform 0.1s ease;
            }
        }

        /* إضافة مسافة أسفل القسم */
        @media (max-width: 768px) {
            section[style*="background-color: #5c4f6e"] {
                padding-bottom: 50px;
            }
        }

        /* تحسين ظلال الأزرار على الهاتف */
        @media (max-width: 768px) {
            .coach-btn {
                box-shadow:
                    0 10px 20px rgba(0, 0, 0, 0.25),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
            }

            .coach-btn.active {
                box-shadow:
                    0 15px 25px rgba(253, 186, 116, 0.3),
                    0 0 0 2px rgba(255, 255, 255, 0.3);
            }
        }

        /* تحسين عرض النص العربي على الهواتف */
        @media (max-width: 768px) {

            .coach-btn,
            .coach-text h2,
            .coach-text p,
            .feature h4,
            .feature p {
                line-height: 1.5;
                word-spacing: normal;
                letter-spacing: normal;
            }
        }
  
        /* المقاييس - نسخة مصغرة مع hover مذهل */
        .metrics-section {
            background: linear-gradient(135deg,
                    rgba(248, 249, 250, 0.98) 0%,
                    rgba(233, 236, 239, 0.98) 100%);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }

        /* تأثير خلفي خفيف */
        .metrics-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 10% 20%, rgba(253, 186, 116, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(92, 79, 110, 0.08) 0%, transparent 40%);
            z-index: -1;
        }

        /* حدود علوية متحركة */
        .metrics-section::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg,
                    transparent,
                    #fdba74 30%,
                    #5c4f6e 50%,
                    #fdba74 70%,
                    transparent);
            background-size: 200% 100%;
            animation: borderFlow 4s linear infinite;
            z-index: 2;
        }

        @keyframes borderFlow {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        .metrics-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 25px;
            position: relative;
            z-index: 1;
        }

        /* الرأس - أنيق */
        .metrics-header {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .metrics-header h2 {
            font-size: 42px;
            color: #5c4f6e;
            margin-bottom: 20px;
            font-weight: 700;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

        .metrics-header h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #5c4f6e, #fdba74);
            border-radius: 2px;
        }

        .metrics-header p {
            font-size: 18px;
            color: #666;
            max-width: 700px;
            margin: 25px auto 0;
            line-height: 1.7;
            opacity: 0.9;
        }

        /* الشبكة - مع hover رائع */
        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
            perspective: 1000px;
        }

        .metric-card {
            background: white;
            border-radius: 20px;
            padding: 35px 25px;
            text-align: center;
            box-shadow:
                0 15px 35px rgba(92, 79, 110, 0.08),
                0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(253, 186, 116, 0.2);
            transform-style: preserve-3d;
            transform: translateZ(0);
        }

        /* تأثير الـ hover للبطاقة */
        .metric-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg,
                    rgba(253, 186, 116, 0.1) 0%,
                    rgba(92, 79, 110, 0.05) 100%);
            border-radius: 20px;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .metric-card::after {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(45deg,
                    #5c4f6e 0%,
                    #fdba74 50%,
                    #5c4f6e 100%);
            border-radius: 22px;
            z-index: -2;
            opacity: 0;
            transition: opacity 0.5s ease;
            filter: blur(5px);
        }

        .metric-card:hover {
            transform: translateY(-15px) scale(1.03) rotateX(5deg);
            box-shadow:
                0 25px 50px rgba(92, 79, 110, 0.2),
                0 15px 30px rgba(253, 186, 116, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .metric-card:hover::before {
            opacity: 1;
        }

        .metric-card:hover::after {
            opacity: 0.6;
        }

        /* الأيقونة - مع hover جميل */
        .metric-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 25px;
            background: linear-gradient(135deg, #5c4f6e, #756589);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow:
                0 10px 20px rgba(92, 79, 110, 0.2),
                inset 0 2px 0 rgba(255, 255, 255, 0.3);
        }

        .metric-icon::before {
            content: '';
            position: absolute;
            inset: -3px;
            border-radius: 50%;
            background: linear-gradient(45deg, #5c4f6e, #fdba74, #5c4f6e);
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: -1;
            filter: blur(8px);
        }

        .metric-card:hover .metric-icon {
            transform: scale(1.15) rotateY(180deg);
            background: linear-gradient(135deg, #fdba74, #ff9e40);
            box-shadow:
                0 15px 30px rgba(253, 186, 116, 0.4),
                inset 0 2px 0 rgba(255, 255, 255, 0.5);
        }

        .metric-card:hover .metric-icon::before {
            opacity: 0.7;
        }

        .metric-icon i {
            font-size: 32px;
            color: white;
            transition: transform 0.5s ease;
        }

        .metric-card:hover .metric-icon i {
            transform: scale(1.2);
        }

        /* الرقم - مع hover متحرك */
        .metric-number {
            font-size: 48px;
            font-weight: 700;
            background: linear-gradient(135deg, #5c4f6e, #fdba74);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
            line-height: 1;
            position: relative;
            display: inline-block;
            transition: all 0.5s ease;
        }

        .metric-number::after {
            content: '%';
            position: absolute;
            right: -25px;
            top: 5px;
            font-size: 24px;
            color: #fdba74;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .metric-card:hover .metric-number {
            background: linear-gradient(135deg, #fdba74, #ff9e40);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transform: scale(1.1);
        }

        .metric-card:hover .metric-number::after {
            color: #ff9e40;
            transform: scale(1.2);
            animation: pulse 1s infinite alternate;
        }

        @keyframes pulse {
            from {
                opacity: 1;
                transform: scale(1);
            }

            to {
                opacity: 0.8;
                transform: scale(1.3);
            }
        }

        /* العنوان - مع hover */
        .metric-title {
            font-size: 20px;
            color: #5c4f6e;
            margin-bottom: 15px;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
            transition: all 0.4s ease;
        }

        .metric-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 2px;
            background: #fdba74;
            border-radius: 1px;
            transition: all 0.4s ease;
        }

        .metric-card:hover .metric-title {
            color: #5c4f6e;
            transform: translateY(-3px);
        }

        .metric-card:hover .metric-title::after {
            width: 60px;
            background: linear-gradient(90deg, #fdba74, #ff9e40);
        }

        /* الوصف - مع hover */
        .metric-desc {
            font-size: 15px;
            color: #666;
            line-height: 1.6;
            opacity: 0.9;
            margin-top: 10px;
            transition: all 0.4s ease;
            transform: translateY(0);
        }

        .metric-card:hover .metric-desc {
            color: #5c4f6e;
            opacity: 1;
            transform: translateY(-2px);
        }

        /* زر CTA - مع hover رائع */
        .metrics-cta {
            text-align: center;
            margin-top: 70px;
            position: relative;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 18px 45px;
            background: linear-gradient(135deg, #5c4f6e, #756589);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-size: 18px;
            font-weight: 600;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            box-shadow:
                0 15px 35px rgba(92, 79, 110, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.1);
            border: 2px solid transparent;
            transform-style: preserve-3d;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg,
                    #fdba74 0%,
                    #ff9e40 25%,
                    #fdba74 50%,
                    #ff9e40 75%,
                    #fdba74 100%);
            background-size: 400% 400%;
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 1;
            animation: gradientMove 4s linear infinite;
        }

        @keyframes gradientMove {

            0%,
            100% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }
        }

        .cta-button::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(255, 255, 255, 0.4),
                    transparent);
            transition: 0.6s;
            z-index: 2;
        }

        .cta-button span {
            position: relative;
            z-index: 3;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cta-button i {
            font-size: 20px;
            transition: transform 0.4s ease;
        }

        .cta-button:hover {
            transform: translateY(-5px) scale(1.05) rotateX(5deg);
            box-shadow:
                0 25px 50px rgba(92, 79, 110, 0.5),
                0 15px 30px rgba(253, 186, 116, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
        }

        .cta-button:hover::before {
            opacity: 1;
        }

        .cta-button:hover::after {
            left: 100%;
        }

        .cta-button:hover i {
            transform: translateX(-8px) scale(1.2);
        }

        /* جسيمات خفيفة */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: -1;
            opacity: 0.5;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: linear-gradient(45deg, #fdba74, #ff9e40);
            border-radius: 50%;
            animation: floatParticle 12s infinite linear;
            filter: blur(1px);
        }

        @keyframes floatParticle {
            0% {
                transform: translateY(100vh) translateX(0) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: 1;
            }

            100% {
                transform: translateY(-100px) translateX(100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* إنشاء جسيمات عشوائية */
        .particle:nth-child(1) {
            left: 10%;
            animation-delay: 0s;
            animation-duration: 15s;
        }

        .particle:nth-child(2) {
            left: 25%;
            animation-delay: 2s;
            animation-duration: 18s;
        }

        .particle:nth-child(3) {
            left: 40%;
            animation-delay: 4s;
            animation-duration: 14s;
        }

        .particle:nth-child(4) {
            left: 55%;
            animation-delay: 1s;
            animation-duration: 16s;
        }

        .particle:nth-child(5) {
            left: 70%;
            animation-delay: 3s;
            animation-duration: 17s;
        }

        .particle:nth-child(6) {
            left: 85%;
            animation-delay: 5s;
            animation-duration: 13s;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .metrics-container {
                max-width: 1000px;
                padding: 0 20px;
            }

            .metrics-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 25px;
                max-width: 800px;
                margin: 0 auto 50px;
            }
        }

        @media (max-width: 992px) {
            .metrics-section {
                padding: 70px 0;
            }

            .metrics-header h2 {
                font-size: 36px;
            }

            .metrics-header p {
                font-size: 17px;
                max-width: 600px;
                padding: 0 20px;
            }

            .metrics-grid {
                gap: 20px;
            }

            .metric-card {
                padding: 30px 20px;
            }

            .metric-card:hover {
                transform: translateY(-10px) scale(1.02);
            }

            .metric-icon {
                width: 65px;
                height: 65px;
                margin-bottom: 20px;
            }

            .metric-icon i {
                font-size: 28px;
            }

            .metric-number {
                font-size: 42px;
            }

            .metric-title {
                font-size: 18px;
            }

            .metric-desc {
                font-size: 14px;
            }

            .cta-button {
                padding: 16px 40px;
                font-size: 17px;
            }

            .cta-button:hover {
                transform: translateY(-3px) scale(1.03);
            }
        }

        @media (max-width: 768px) {
            .metrics-section {
                padding: 60px 0;
            }

            .metrics-header {
                margin-bottom: 50px;
            }

            .metrics-header h2 {
                font-size: 32px;
            }

            .metrics-header p {
                font-size: 16px;
                margin-top: 20px;
            }

            .metrics-grid {
                grid-template-columns: 1fr;
                max-width: 400px;
                gap: 20px;
            }

            .metric-card {
                padding: 25px 20px;
            }

            .metric-card:hover {
                transform: translateY(-8px) scale(1.01);
            }

            .metric-number {
                font-size: 40px;
            }

            .metric-number::after {
                font-size: 20px;
                right: -20px;
                top: 3px;
            }

            .cta-button {
                padding: 15px 35px;
                font-size: 16px;
                width: 90%;
                max-width: 300px;
            }
        }

        @media (max-width: 480px) {
            .metrics-section {
                padding: 50px 0;
            }

            .metrics-container {
                padding: 0 15px;
            }

            .metrics-header h2 {
                font-size: 28px;
                margin-bottom: 15px;
            }

            .metrics-header p {
                font-size: 15px;
                padding: 0 10px;
                line-height: 1.6;
            }

            .metric-card {
                padding: 22px 18px;
                border-radius: 18px;
            }

            .metric-icon {
                width: 60px;
                height: 60px;
                margin-bottom: 18px;
            }

            .metric-icon i {
                font-size: 26px;
            }

            .metric-card:hover .metric-icon {
                transform: scale(1.1) rotateY(180deg);
            }

            .metric-number {
                font-size: 36px;
            }

            .metric-title {
                font-size: 17px;
                margin-bottom: 12px;
            }

            .metric-desc {
                font-size: 13.5px;
                line-height: 1.5;
            }

            .metrics-cta {
                margin-top: 50px;
            }

            .cta-button {
                padding: 14px 30px;
                font-size: 15px;
            }
        }

        /* تحسينات للهواتف القديمة */
        @media (hover: none) {
            .metric-card:hover {
                transform: none;
                box-shadow:
                    0 15px 35px rgba(92, 79, 110, 0.08),
                    0 5px 15px rgba(0, 0, 0, 0.05);
            }

            .metric-card:active {
                transform: scale(0.98);
                box-shadow:
                    0 10px 25px rgba(92, 79, 110, 0.15),
                    0 3px 10px rgba(253, 186, 116, 0.1);
            }

            .cta-button:hover {
                transform: none;
            }

            .cta-button:active {
                transform: scale(0.98);
            }
        }
    
        /* تنسيقات الـ Hero Section */
        .hero1 {
            position: relative;
            height: 100vh;
            /* ملء كامل ارتفاع الشاشة */
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        /* جعل الفيديو خلفية كاملة */
        .hero1-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: 1;
            transform: translate(-50%, -50%);
            object-fit: cover;
            /* يضمن تغطية المساحة بالكامل دون تمطيط */
        }

        /* طبقة التظليل فوق الفيديو لزيادة وضوح النص */
        .hero1-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgb(0 0 0 / 77%);
            ;
            z-index: 2;
        }

        /* محتوى القسم */
        .hero1-content {
            position: relative;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            gap: 4rem;
            direction: rtl;
            /* لضمان الاتجاه العربي */
        }

        .hero1-sidebar {
            display: flex;
            flex-direction: column;
            gap: 3rem;
            flex: 0 0 auto;
        }

        .sidebar1-item {
            text-align: right;
        }

        .sidebar1-title {
            font-size: 1.3rem;
            color: #F0F0F0;
            margin-bottom: 0.75rem;
            font-weight: 600;
        }

        .gold1-divider {
            width: 80px;
            height: 3px;
            background: #E8B86B;
            border-radius: 2px;
        }

        .hero1-main {
            flex: 1;
            text-align: right;
            max-width: 600px;
        }

        .hero1-title {
            font-size: 3.5rem;
            color: #FFFFFF;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .gold1-divider-main {
            width: 120px;
            height: 4px;
            background: #E8B86B;
            border-radius: 2px;
            margin-bottom: 2rem;
        }

        .hero1-description {
            font-size: 1.1rem;
            color: #E8E8E8;
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .gold1-button {
            padding: 0.875rem 2.5rem;
            background: #E8B86B;
            color: #2D1B4E;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gold1-button:hover {
            background: #F5D89F;
            transform: translateY(-3px);
        }

        /* الاستجابة للهواتف */
        @media (max-width: 768px) {
            .hero1-content {
                flex-direction: column-reverse;
                text-align: center;
                gap: 2rem;
            }

            .hero1-main,
            .sidebar1-item {}

            .gold1-divider,
            .gold-divider-main {
                margin: 0 auto 1rem;
            }

            .hero1-title {
                font-size: 2.2rem;
            }

            .sidebar1-title {
                display: none;
            }
        }
    
        /* التنسيقات الأساسية لمنع أي تداخل */
        .learnie-modern-section {
            padding: 80px 0;
            direction: rtl;
            background: #f8f9fa;
            font-family: 'Segoe UI', Roboto, sans-serif;
        }

        /* العنوان */
        .header-group {
            text-align: center;
            margin-bottom: 60px;
        }

        .main-title {
            color: #5c4f6e;
            font-size: 3rem;
            font-weight: 800;
            margin: 0;
        }

        .main-title .accent {
            color: #fdba74;
        }

        .sub-title {
            color: #777;
            font-size: 1.2rem;
            margin-top: 15px;
        }

        .title-line {
            width: 80px;
            height: 4px;
            background: #fdba74;
            margin: 20px auto;
            border-radius: 2px;
        }

        /* الشبكة الذكية */
        .modern-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* تصميم الكارد */
        .m-card {
            border-radius: 25px;
            padding: 35px;
            position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .m-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
        }

        /* الألوان بالتدرج */
        .purple-gradient {
            background: linear-gradient(135deg, #5c4f6e 0%, #463b54 100%);
            color: white;
        }

        .orange-gradient {
            background: linear-gradient(135deg, #fdba74 0%, #f9a54a 100%);
            color: #5c4f6e;
        }

        .card-body {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .text-content {
            flex: 1;
            padding-left: 25px;
        }

        .text-content h3 {
            font-size: 1.5rem;
            margin-bottom: 12px;
            font-weight: 700;
        }

        .text-content p {
            font-size: 1rem;
            line-height: 1.6;
            opacity: 0.9;
            margin: 0;
        }

        /* أيقونة الكارد */
        .icon-holder {
            width: 75px;
            height: 75px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            flex-shrink: 0;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(5px);
            box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
        }

        .purple-gradient .icon-holder {
            color: #fdba74;
        }

        .orange-gradient .icon-holder {
            color: #5c4f6e;
            background: rgba(0, 0, 0, 0.05);
        }

        /* الزر العملاق */
        .footer-action {
            text-align: center;
            margin-top: 70px;
        }

        .mega-button {
            background: #5c4f6e;
            color: #fdba74;
            border: 3px solid #fdba74;
            padding: 20px 60px;
            border-radius: 100px;
            font-size: 1.3rem;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 10px 20px rgba(92, 79, 110, 0.3);
        }

        .mega-button:hover {
            background: #fdba74;
            color: #5c4f6e;
            transform: scale(1.05);
            box-shadow: 0 15px 30px rgba(253, 186, 116, 0.4);
        }

        /* للهواتف */
        @media (max-width: 768px) {
            .modern-grid {
                grid-template-columns: 1fr;
            }

            .main-title {
                font-size: 2.2rem;
            }

            .m-card {
                padding: 25px;
            }

            .card-body {
                flex-direction: column-reverse;
                text-align: center;
            }

            .text-content {
                padding-left: 0;
                margin-top: 20px;
            }
        }
  
        .page-overlay {
  /* Hidden by default */
  display: none; 
  
  /* Positioning */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Appearance */
  background-color: rgba(0, 0, 0, 0.78); /* Black with 50% opacity */
  
  /* Make sure it's on top of the content but below the menu */
  z-index: 999; /* Adjust z-index as needed */
  
  /* Smooth transition */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-overlay.active {
  display: block; /* Show the overlay */
  opacity: 1;     /* Make it fully visible */
}

/* footer */

    .footer-bottom-area {
        padding: 30px 0;
        border-top: 1px solid #eeeeee4d;
        text-align: center;
    }
    .footer-bottom-area .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .footer-bottom-area .logo img {
        width: 120px;
        transition: transform 0.3s ease;
    }
    .footer-bottom-area .logo img:hover {
        transform: scale(1.05);
    }
    .footer-links {
        margin: 10px 0;
        display: flex;
        gap: 20px;
        justify-content: center;
        list-style: none;
        padding: 0;
    }
    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }
    .footer-links a:hover {
       color: #fdba74;
    }
    .footer-bottom-area p {
        margin: 0;
        color: #ffffff;
        font-size: 14px;
    }
    .footer-bottom-area p a {
      color: #fdba74;
        font-weight: 600;
        text-decoration: none;
    }

        .footer-bottom-area .logo{
        margin-bottom: 0px !important;
    }