body {
    text-align: right;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
}

.header {
    position: fixed;
    width: 100%;
    z-index: 3;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(270deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 10px 0;
    height: 50px;
    text-align: center;
}



.header img {
    border-radius: 100px;
    animation: fadeIn 1s ease-out;
    max-width: 70px;
    transition: transform 0.3s ease;
}

.header img:hover {
    transform: scale(1.1);
}

.slide-content {
    position: relative;
    top: 0px;
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow: hidden;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10%);
    background-size: 25px 25px;
    transform: rotate(30deg);
    animation: backgroundMove 60s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 500px 500px;
    }
}

.right-side {
    padding: 20px;
    text-align: right;
    z-index: 3;
}

.right-side .h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.right-side p {
    font-size: 1.2rem;
    color: #dfdfdf;
    margin-bottom: 20px;
}

.list-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: right;
}

.list-text ul li {
    font-size: 1rem;
    color: #dfdfdf;
    margin-bottom: 10px;
    position: relative;
    padding-right: 30px;
}

.list-text ul li::before {
    content: "\f058";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--accent-color);
    
}

.action {
    margin-top: 20px;
    text-align: right;
}

.action .btn-success {

    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.action .btn-success:hover {
    transform: translateY(-2px);
}

.action span {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #ffffff;
}

.left-side .img-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide1 {
    margin-top: -20px;
}

@media (max-width: 768px) {

    .slide1 {
        margin-top: 50px;
    }
    .right-side .h1 {
        /* margin-top: 0px; */
        font-size: 2rem;
    }

    .right-side p {
        font-size: 1rem;
    }
}


/* //////////////////////////////////////////////////////////////////////////////// */

.course-opinions-slider {
    padding: 10px 0;
    background-color: #ffffff;
}

.container_ara {
    max-width: 1200px;
    margin: auto;
    /* padding: 0 20px; */
}

.sec-title {
    text-align: center;
    margin-bottom: 40px;
}

.sec-title h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.sec-title p {
    font-size: 18px;
    color: #101111;
}

.swiper-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    /* تعديل العرض ليكون 100% في جميع الأحجام */
    margin: 0 10px;
}


.swiper-slide:hover {
    transform: scale(1.05);
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 20px;
}

.logo-rating {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 100px;
}

.tgiim {
    display: flex;
    color: #ffd700;
    /* لون النجوم */
}

.user .info {
    margin-top: 10px;
    font-weight: bold;
}

/* .swiper-button-prev,
.swiper-button-next {
    position: sticky;
    color: #01579b;
    top: -1000px;
    font-size: 24px;
} */

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #0288d1;
}

@media (max-width: 768px) {
    .sec-title h2 {
        font-size: 28px;
    }

    .sec-title p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sec-title h2 {
        font-size: 20px;

    }

    .sec-title p {
        font-size: 14px;
    }
}

/* ////////////////////////////////////////////////////////// */
.learn-home {
    padding: 40px 0;
    background-color: #f8f9fa;
    border-radius: 20px;
}



.learn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.learn-item {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 30px;
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.learn-item:nth-child(odd) {
    flex-direction: row;
    background-color: #ffffff;
}

.learn-item:nth-child(even) {
    flex-direction: row-reverse;
    background-color: #e9ecef;
}

.learn-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.learn-item .content,
.learn-item .img-content {
    flex: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.learn-item .content h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 10px;
    font-size: 1.8rem;
}

.learn-item .content p {
    padding: 0 20px;
    color: #333;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

.learn-item .img-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-success {
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;

    transition: background-color 0.3s, transform 0.3s;
    margin-top: 30px;
}

.btn-success:hover {
    color: #000;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .learn-item {
        flex-direction: column !important;
    }

    .learn-item .content,
    .learn-item .img-content {
        width: 100%;
    }

    .sec-title h2 {
        font-size: 2rem;
    }

    .learn-item .content h3 {
        font-size: 1.5rem;
    }

    .learn-item .content p {
        font-size: 1rem;
    }
}

.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


/* ////////////////////////////////////////////////////////////// */