.navbar .nav-icons a,
.navbar-toggler {
    font-size: 23px;
    display: flex;
    width: 40px
}

#overlay,
.cart-sidebar,
.course h3 a,
.navbar,
.navbar .nav-icons a,
.service {
    transition: .3s ease-in-out
}

body {
    direction: rtl
}

@media (min-width:1400px) {
    .container {
        max-width: 1160px
    }
}

.navbar {
    height: 85px;
    position: fixed;
    top: 15px;
    right: 0;
    left: 0;
    will-change: top;
    z-index: 99999999
}

.navbar.scrolled {
    top: 0;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06)
}

.navbar .nav-icons a {
    font-weight: 600;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center
}

.filter-buttons .btn.active,
.filter-buttons .btn:hover,
.navbar .nav-icons a:hover,
.user-icon-btn:hover {
    background-color: var(--main-color);
    color: #fff !important
}

.navbar-toggler {
    box-shadow: none !important;
    outline: 0 !important;
    height: 40px;
    justify-content: center;
    align-items: center
}

#overlay,
.cart-sidebar {
    height: 100vh;
    position: fixed;
    top: 0
}

.navbar-toggler span,
.service .icon span {
    font-weight: 600
}

.nav-link,
.quiz-info p {
    font-size: 17px
}

@media (max-width:991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -300px;
        display: block !important;
        padding: 20px;
        width: 300px;
        height: 100vh;
        background-color: #fff;
        z-index: 9999999;
        transition: .3s ease-in-out
    }

    .navbar-collapse.show {
        right: 0 !important
    }

    .navbar-collapse .close {
        font-size: 25px;
        width: 38px;
        height: 38px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #eee;
        font-weight: 700;
        z-index: 100
    }

    .navbar-collapse .nav-link {
        border-bottom: 1px solid #eee;
        padding: 15px 0 !important
    }
}

.navbar .container {
    height: 100%;
    max-height: 100% !important
}

@media (max-width:576px) {
    .navbar {
        padding: 0 28px !important
    }
}

.navbar .nav-icons .cart-icon {
    position: relative
}

.navbar .nav-icons .cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700
}

.cart-sidebar {
    left: -400px;
    width: 400px;
    background: #fff;
    z-index: 1300;
    box-shadow: 2px 0 10px rgba(0, 0, 0, .1);
    overflow-y: auto
}

.cart-sidebar.show,
.course-info .user-review .stars {
    left: 0
}

.cart-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: between;
    align-items: center
}

.cart-sidebar-close {
    background: 0 0;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666
}

.cart-sidebar-content {
    padding: 20px
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0
}

.cart-item:last-child {
    border-bottom: none
}

.cart-item-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px
}

.cart-item-details {
    flex: 1
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3
}

.cart-item-price {
    color: var(--main-color);
    font-weight: 700;
    font-size: 14px
}

.cart-item-remove {
    background: 0 0;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    z-index: 10;
    position: relative
}

.cart-item-clickable {
    cursor: pointer;
    transition: background-color .2s
}

.cart-item-clickable:hover {
    background-color: #f8f9fa
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: .5
}

.cart-total {
    border-top: 2px solid #eee;
    padding-top: 20px;
    margin-top: 20px
}

.cart-checkout-btn,
.cart-empty-btn {
    background: var(--main-color);
    margin-top: 15px
}

.cart-checkout-btn {
    width: 100%;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700
}

#overlay {
    width: 100%;
    right: 0;
    z-index: 800;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden
}

#overlay.show {
    opacity: 1;
    visibility: visible
}

.hero {
    min-height: 100vh;
    height: auto;
    padding-top: 130px !important;
    padding-bottom: 50px !important
}

.hero.half {
    min-height: 400px !important;
    max-height: 60vh !important;
    height: 60vh;
    padding-top: 100px !important;
    background-image: unset;
    background: linear-gradient(to right, #e5fff3 0, #e0f1ff 30%, #fdf2ef 100%)
}

.hero h1 {
    font-size: 3rem;
    line-height: 4.3rem;
    font-weight: 900 !important
}

.hero p {
    font-size: 19px !important
}

.hero .btn {
    background-color: var(--main-color);
    color: #fff;
    border: none !important;
    padding: 19px 31px
}

.course .buy .btn-success::after,
.course .thumb ul.blog-meta::after {
    bottom: 0;
    border-bottom-right-radius: 20px;
    position: absolute;
    content: ""
}

.hero img {
    animation: 1s ease-in-out infinite floatUpDown;
    display: inline-block;
    position: relative
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@media (min-width:767px) {
    .hero .main-info {
        max-width: 520px
    }
}

@media(max-width:767px) {
    .hero {
        padding-top: 150px !important
    }

    .navbar {
        top: 5px
    }

    .hero h1 {
        font-size: 2.4rem !important;
        line-height: 4rem !important
    }

    .hero img {
        max-width: 350px
    }
}

.top-slider .item span {
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1da18e;
    color: #fff
}

.course {
    box-shadow: 0 15px 20px -10px rgb(109 117 143 / 33%)
}

.auth-form .password-toggle:hover,
.course-title a:hover,
.course:hover h3 a,
.single-course .course-tab:hover,
footer .copyright span {
    color: var(--main-color)
}

.course ul.blog-meta {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff;
    margin: 0;
    padding: 20px 30px 2px;
    border-top-left-radius: 10px;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}

.course ul.blog-meta li {
    display: inline-block;
    transition: .35s ease-in-out;
    font-size: 15px
}

.course .thumb ul.blog-meta::after {
    left: -15px;
    height: 35px;
    width: 15px;
    box-shadow: 0 20px 0 0 #fff
}

.course .buy .btn-success {
    background-color: var(--main-color) !important;
    color: #fff;
    padding: 20px 18px !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    position: relative;
    min-width: 60%
}

.course .buy .btn-default {
    color: var(--main-color);
    width: 40%
}

.course .buy .btn-success::after {
    left: -17px;
    height: 37px;
    width: 17px;
    box-shadow: 0 20px 0 0 var(--main-color)
}

.filter-buttons .btn {
    min-width: 110px;
    border-color: var(--main-color);
    color: var(--main-color)
}

.course-card.hide {
    opacity: 0;
    transform: scale(.95);
    pointer-events: none;
    position: absolute;
    height: 0;
    overflow: hidden
}

.course-card.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    position: relative;
    height: auto
}

.filter-btn.active {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd
}

.cart-empty-btn {
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: .3s;
    overflow: hidden;
    position: relative;
    z-index: 2
}

.cart-empty-btn::after,
.course-btn::after,
.single-course .course-primary-btn::after,
.single-course .course-single-btn::after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 600%;
    background-color: #0f2339;
    transform: translateX(-50%) translateY(-50%) rotate(60deg);
    z-index: -1;
    transition: .7s
}

.cart-empty-btn:hover::after,
.course-btn:hover::after,
.courses-filter-btn.active::after,
.courses-filter-btn:hover::after,
.purchase-content .purchase.btn:hover::after,
.single-course .course-primary-btn:hover::after,
.single-course .course-single-btn:hover::after {
    height: 500px !important
}

.cart-empty-btn:hover,
.course-btn:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(19, 45, 72, .2)
}

.courses-page {
    padding: 80px 0;
    background: #f8f9fa
}

.courses-filter-section {
    margin-bottom: 50px;
    padding: 30px 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08)
}

.courses-filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--main-color);
    background: 0 0;
    color: var(--main-color);
    border-radius: 25px;
    font-weight: 600;
    transition: .3s;
    position: relative;
    overflow: hidden;
    z-index: 2
}

.course-badge,
.course-category {
    top: 15px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600
}

.courses-filter-btn::after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 600%;
    background-color: var(--main-color);
    transform: translateX(-50%) translateY(-50%) rotate(60deg);
    z-index: -1;
    transition: .7s
}

.courses-filter-btn.active,
.courses-filter-btn:hover {
    color: #fff;
    border-color: var(--main-color);
    box-shadow: 0 6px 16px rgba(19, 45, 72, .2)
}

.courses-grid {
    margin-top: 40px
}

.course-card {
    background: #fff;
    border-radius: 15px;
    transition: .3s;
    height: 100%;
    display: flex;
    flex-direction: column
}

.course-card:hover {
    transform: translateY(-5px)
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.course-card:hover .course-image img {
    transform: scale(1.05)
}

.course-category {
    position: absolute;
    right: 15px;
    background: rgba(255, 255, 255, .9);
    border-radius: 15px;
    color: var(--main-color)
}

.course-badge {
    position: absolute;
    left: 15px;
    border-radius: 15px;
    color: #fff
}

.free-badge {
    background: #28a745
}

.discount-badge {
    background: #dc3545
}

.course-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px
}

.course-title {
    margin-bottom: 15px;
    flex-grow: 1
}

.course-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    transition: color .3s
}

.course-teachers {
    margin-bottom: 20px
}

.teacher-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #666
}

.course-footer {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee
}

.course-price {
    flex-grow: 1
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--main-color)
}

.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px
}

.price-free {
    font-size: 16px;
    font-weight: 700;
    color: #28a745
}

.course-btn {
    background: var(--main-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
    position: relative;
    overflow: hidden;
    z-index: 2
}

.course-item {
    transition: .4s
}

.course-item.show {
    opacity: 1;
    transform: scale(1)
}

@media (max-width:768px) {
    .courses-page {
        padding: 40px 0
    }

    .courses-filter-section {
        margin-bottom: 30px;
        padding: 20px
    }

    .courses-filter-btn {
        padding: 10px 16px;
        font-size: 14px;
        margin-bottom: 10px
    }

    .course-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch
    }

    .course-btn {
        text-align: center
    }
}

.hero.main,
.reviews,
.single-course .related-courses {
    background: linear-gradient(to right, #e5fff3 0, #e0f1ff 30%, #fdf2ef 100%)
}

.reviews .owl-dots,
.reviews .owl-nav {
    display: none !important
}

.reviews .card.details {
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .1)
}

.reviews .card.details .floated {
    bottom: -35px;
    right: -40px;
    z-index: 99
}

.reviews .star {
    color: #ffa41c
}

.card-end {
    border-color: #000 !important
}

.owl-reviews .card {
    min-height: 450px
}

@media (max-width:767px) {
    .owl-reviews .card {
        min-height: auto
    }
}

.review p {
    opacity: .8;
    line-height: 2.1rem;
    font-size: 16px;
    font-weight: 600
}

.about p,
.quiz-info p {
    line-height: 2.2rem
}

.review .card-end {
    border-color: #ddd !important
}

.review img {
    transform: scaleX(-1);
    left: 40px;
    top: 40px;
    width: initial !important;
    height: 50px !important
}

.reviews .user-icon {
    width: 54px;
    height: 54px;
    background-color: #eee;
    font-size: 30px
}

.service:hover {
    box-shadow: 0 8px 16px rgba(100, 100, 255, .2)
}

.service .icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px
}

.service .btn {
    padding: 10px 23px;
    border-color: var(--main-color);
    background: 0 0;
    color: var(--main-color)
}

.auth-form .user-type-btn.active,
.auth-form .user-type-btn:hover,
.hero-quiz .badge,
.service .btn.active {
    background: var(--main-color);
    color: #fff
}

footer {
    background: #000
}

.footer-end {
    border-color: #535353 !important
}

.footer-links a span {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    background-color: linear-gradient(145deg, #1a1c23, #242730);
    font-weight: 600
}

.faq .accordion-button {
    background-color: var(--main-color);
    color: #fff;
    outline: 0 !important;
    box-shadow: none !important
}

.faq .accordion-button.collapsed {
    background-color: #fff !important;
    color: #000
}

.accordion-button::after {
    margin-left: unset;
    margin-right: auto
}

.contact .btn,
.quiz-info .btn {
    background-color: var(--main-color);
    border-color: var(--main-color)
}

.hero-quiz {
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
    padding: 2.5rem 2rem 2rem;
    position: relative;
    direction: ltr
}

.hero-quiz .question-title {
    color: #222
}

.hero-quiz .answers {
    display: flex;
    flex-direction: column;
    gap: 1.1rem
}

.hero-quiz .answer-option {
    background: #f6f8fa;
    border: 2px solid #e0e7ef;
    border-radius: 1rem;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: .8rem
}

.hero-quiz .answer-option.selected {
    border-color: #1cb098;
    background: #e6fdf9;
    color: #1cb098
}

.hero-quiz .answer-option.correct {
    border-color: #2ecc40;
    background: #eaffea;
    color: #218838
}

.hero-quiz .answer-option.wrong {
    border-color: #e74c3c;
    background: #ffeaea;
    color: #c0392b
}

.hero-quiz .submit-btn {
    width: 100%;
    font-size: 1rem;
    padding: 1.2rem 0;
    border-radius: 1rem;
    background: linear-gradient(90deg, #1cb098, #097362);
    color: #fff;
    border: none;
    transition: background .2s
}

.hero-quiz .submit-btn:disabled {
    background: #e0e7ef;
    color: #aaa
}

.hero-quiz .result {
    margin-top: 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6f00
}

#correction {
    position: absolute;
    top: 30px;
    right: 30px
}

.tick {
    stroke-opacity: 0;
    stroke-dasharray: 29px;
    stroke-dashoffset: 29px;
    animation: .5s cubic-bezier(.25, .25, .25, 1) forwards draw;
    animation-delay: .6s
}

.circle {
    fill-opacity: 0;
    stroke-width: 16px;
    transform-origin: center;
    transform: scale(0)
}

#correct-answer .circle {
    stroke: #219a00;
    animation: 1s cubic-bezier(.25, .25, .25, 1.25) forwards grow
}

#wrong-answer .circle {
    stroke: #bb0606;
    animation: 1s cubic-bezier(.25, .25, .25, 1.25) forwards grow2
}

@keyframes grow {
    60% {
        transform: scale(.8);
        stroke-width: 4px;
        fill-opacity: 0
    }

    100% {
        transform: scale(.9);
        stroke-width: 8px;
        fill-opacity: 1;
        fill: #219a00
    }
}

@keyframes grow2 {
    60% {
        transform: scale(.8);
        stroke-width: 4px;
        fill-opacity: 0
    }

    100% {
        transform: scale(.9);
        stroke-width: 8px;
        fill-opacity: 1;
        fill: #c50909
    }
}

@keyframes draw {

    0%,
    100% {
        stroke-opacity: 1
    }

    100% {
        stroke-dashoffset: 0
    }
}

.contact li span {
    width: 58px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    transition: .2s ease-in-out
}

.contact li:hover span {
    background-color: var(--main-color);
    color: #fff
}

.single-course .main-content,
.single-course .purchase-content {
    box-shadow: 0 9px 14px #fbfbfb;
    border: 1px solid #ecf1f9
}

.single-course .meta i {
    width: 21px;
    height: 21px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background-color: #e0fbdd;
    padding: 10px;
    font-size: 14px;
    color: var(--main-color);
    font-weight: 700
}

.single-course .course-details li {
    font-size: 15px;
    border-left: 1px solid #d0dbe9;
    padding-left: 20px;
    min-width: 130px
}

.course-info .user-review .user-image {
    min-width: 75px;
    height: 75px;
    background-color: var(--main-smoke-background);
    color: var(--main-color)
}

@media (max-width:997px) {
    .single-course .course-details li {
        border: none !important
    }
}

.single-course .course-title {
    line-height: 3rem
}

.single-course .course-details li:last-child {
    border-left: none
}

.purchase-content img {
    min-height: 200px;
    max-height: 300px
}

.course-info li button {
    background-color: #f3f7FBed;
    color: #4d5765;
    border-top: 5px solid #f3f7FBed !important;
    border-bottom: 0 !important;
    height: 100%;
    border-radius: 0 !important;
    font-size: 14px !important
}

.course-info li button:last-child {
    border-left: 0 !important
}

.course-info li button.active {
    background-color: #fff0;
    color: #0d5ef4;
    border-top: 5px solid #00f !important
}

.purchase-content .purchase.btn {
    background-color: var(--main-color);
    color: #fff;
    padding: 15px;
    margin-top: 20px;
    border: none !important;
    box-shadow: 0 6px 16px rgb(28 176 152 / 20%);
    overflow: hidden;
    z-index: 2;
    transition: .3s ease-in-out
}

.purchase-content .purchase.btn::after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 600%;
    background-color: #0f2339;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(60deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(60deg);
    transform: translateX(-50%) translateY(-50%) rotate(60deg);
    z-index: -1;
    -webkit-transition: .7s;
    transition: .7s
}

.purchase-content .purchase.btn:hover {
    box-shadow: 0 6px 16px rgb(19 45 72 / 20%)
}

.purchase-content .details li {
    border-bottom: 1px dashed #d3dbeb;
    padding: 20px 0
}

.purchase-content .details li:last-child {
    border: none !important;
    padding-bottom: 0 !important
}

.purchase-content .details li i {
    color: var(--main-color);
    font-size: 23px
}

.purchase-content .details li:first-child {
    padding-top: 10px !important
}

.details-title {
    line-height: 1em;
    padding-bottom: 20px;
    border-bottom: 3px solid #ecf1f9
}

.details-title::before {
    content: '';
    height: 3px;
    width: 50px;
    background-color: var(--main-color);
    position: absolute;
    bottom: -3px;
    left: 0;
    z-index: 1;
    -webkit-animation: 10s linear infinite lineMove;
    animation: 10s linear infinite lineMove
}

@-webkit-keyframes lineMove {

    0%,
    100% {
        left: 0
    }

    50% {
        left: calc(100% - 50px)
    }
}

@keyframes lineMove {

    0%,
    100% {
        left: 0
    }

    50% {
        left: calc(100% - 50px)
    }
}

.purchase-content .share-button {
    background-color: #f3f7fb;
    color: #0d5ef4
}

.single-course .course-tab {
    cursor: pointer;
    transition: .3s;
    border-bottom: 2px solid transparent;
    font-weight: 500
}

.single-course .course-tab.active {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
    font-weight: 600
}

.single-course .tab-section {
    display: none
}

.single-course .tab-section.active {
    display: block
}

.single-course .content-item,
.single-course .exam-item {
    transition: .3s
}

.single-course .content-item:hover,
.single-course .exam-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.single-course .review-item .user-avatar {
    font-size: 18px;
    font-weight: 700
}

.single-course .course-main-section {
    padding-top: 80px;
    padding-bottom: 80px
}

.single-course .course-sidebar {
    position: sticky;
    top: 100px
}

.single-course .course-primary-btn,
.single-course .course-single-btn {
    background: var(--main-color);
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: .3s ease-in-out;
    padding: 12px;
    color: #fff
}

.single-course .course-action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: stretch
}

.single-course .course-primary-btn {
    border: none;
    border-radius: .375rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center
}

.single-course .course-primary-btn:hover,
.single-course .course-single-btn:hover {
    box-shadow: 0 6px 16px rgba(19, 45, 72, .2)
}

.single-course .course-single-btn {
    border: none;
    border-radius: .375rem;
    margin-top: 12px;
    display: block;
    width: 100%;
    text-align: center
}

.single-course .course-cart-btn {
    border-radius: .375rem;
    padding: 12px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #6c757d;
    background: 0 0;
    color: #6c757d
}

.single-course .course-cart-btn.cart-added {
    background: #28a745;
    color: #fff;
    border-color: #28a745
}

.single-course .course-related-section {
    padding-top: 100px;
    padding-bottom: 120px;
    background: linear-gradient(to right, #e5fff3 0, #e0f1ff 30%, #fdf2ef 100%)
}

.auth-form .password-toggle {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 1.2rem;
    transition: color .3s
}

.auth-form .user-type-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem
}

.auth-form .user-type-btn {
    flex: 1;
    padding: .75rem 1rem;
    border: 2px solid var(--main-color);
    background: 0 0;
    color: var(--main-color);
    border-radius: .5rem;
    font-weight: 600;
    transition: .3s
}

.auth-form .card {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
    border: none
}

@keyframes rotate {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.ai-border-container {
    position: relative;
    padding: 2px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.ai-border-container::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(transparent, transparent, transparent, #8b5cf6, #ec4899, transparent);
    animation: 4s linear infinite rotate;
    z-index: 0
}

.ai-inner-button {
    position: relative;
    z-index: 1;
    background: #0f172a;
    transition: .3s;
    min-width: 90px !important
}

.ai-inner-button:hover {
    background: #1e293b;
    box-shadow: 0 0 15px rgba(139, 92, 246, .4)
}

.user-account-dropdown {
    position: relative;
    display: inline-block
}

.user-icon-btn {
    background: 0 0;
    border: none;
    cursor: pointer;
    font-size: 25px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px !important;
    height: 40px !important;
    transition: .3s ease-in-out;
    border-radius: 8px;
    font-weight: 700
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .15);
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 1300;
    border: 1px solid #f0f0f0;
    overflow: hidden
}

.user-account-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-header {
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--main-color)
}

.dropdown-item,
.user-avatar {
    align-items: center;
    display: flex
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    justify-content: center;
    color: var(--main-color);
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(28, 176, 152, .3)
}

.user-info {
    flex: 1;
    min-width: 0
}

.navbar .user-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 3px;
    color: #fff;
    letter-spacing: -.3px
}

.navbar .user-email {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.dropdown-item:hover *,
.logout-item:hover {
    color: #fff !important
}

.dropdown-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    height: 0
}

.dropdown-item {
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: .2s ease-in-out;
    font-size: 14px !important;
    font-weight: 500
}

.dropdown-item:hover {
    background-color: var(--main-color)
}

.dropdown-icon {
    font-size: 19px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color)
}

.logout-item,
.logout-item span {
    color: #dc3545
}

.logout-item:hover {
    background-color: rgba(216, 15, 35, .8) !important
}

@media (max-width:600px) {
    .user-dropdown-menu {
        position: fixed;
        top: calc(90px) !important;
        left: 0;
        right: 0;
        width: calc(100% - 30px);
        max-width: calc(100% - 30px);
        margin: 0 15px;
        transform: translateY(-15px)
    }

    .user-account-dropdown:hover .user-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }
}

section.events-home.main {
    color: #334155 !important
}

.gradient-text {
    background: linear-gradient(135deg, var(--main-color) 0, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.glass-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .05), 0 2px 4px -1px rgba(0, 0, 0, .03)
}

.events-home .feature-icon-small,
.events-home .icon-box {
    background-color: var(--brand-light);
    align-items: center;
    display: flex
}

.events-home .icon-box {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(28, 176, 152, .2);
    border-radius: .75rem;
    justify-content: center;
    margin-bottom: 1.25rem
}

.events-home .icon-box svg {
    color: var(--main-color);
    font-size: 1.25rem
}

.events-home .feature-icon-small {
    width: 28px;
    height: 28px;
    color: var(--main-color);
    border-radius: 50%;
    justify-content: center;
    font-size: .75rem;
    flex-shrink: 0
}

.events-home .feature-icon-small svg {
    width: 16px !important;
    height: 16px !important
}

.events-home .badge-custom {
    background-color: rgba(28, 176, 152, .1);
    color: var(--main-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .7rem;
    letter-spacing: .05em;
    padding: .4em .8em;
    border-radius: 50rem;
    border: 1px solid rgba(28, 176, 152, .15)
}

.events-home .card-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b
}

.btn-brand,
.events-home .btn-outline-custom {
    padding: .75rem 2rem;
    font-weight: 600;
    transition: .2s
}

.events-home .card-text {
    font-size: .925rem;
    line-height: 1.6;
    color: #64748b
}

.btn-brand {
    background: linear-gradient(135deg, var(--main-color) 0, var(--brand-dark) 100%);
    color: #fff;
    border: none;
    font-size: .8rem;
    border-radius: .6rem
}

.events-home .btn-brand:hover {
    color: #fff;
    opacity: .9;
    box-shadow: 0 8px 12px rgba(28, 176, 152, .2);
    transform: translateY(-1px)
}

.events-home .btn-outline-custom {
    border: 1px solid #e2e8f0;
    background-color: #fff;
    color: #475569;
    font-size: 13px;
    border-radius: .6rem
}

.events-home .btn-outline-custom:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1
}

.avatar-plus,
.events-home .avatar-group .one {
    width: 35px;
    height: 35px;
    border: 2px solid #fff;
    margin-right: -12px
}

.events-home .avatar-group .one {
    background-color: #fff;
    border: 2px solid #eee
}

.events-home .avatar-group .one svg {
    width: 17px !important;
    height: 17px !important
}

.events-home .avatar-group .one:first-child {
    margin-left: 0
}

.events-home .bg-glow {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background: var(--main-color);
    opacity: .04;
    filter: blur(35px);
    border-radius: 50%
}

.events-home .display-heading {
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em
}

.events-home .hero-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b
}

.events-home .carousel-indicators {
    bottom: -50px
}

.events-home .carousel-indicators button {
    background-color: var(--main-color) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    margin: 0 6px !important;
    opacity: .2 !important;
    border: none !important
}

.events-home .carousel-indicators button.active {
    opacity: 1 !important;
    transform: scale(1.2)
}

.events-home .custom-nav-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    gap: 10px;
    z-index: 20
}

.events-home .nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s
}

.events-home .nav-arrow:hover {
    background: var(--brand-light);
    color: var(--main-color);
    border-color: var(--main-color)
}

#ektmal-courses-section {
    --main-color: #1CB098;
    --main-dark: #158a77;
    --main-soft: rgba(28, 176, 152, 0.08);
    --dark-blue: #121d33;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --secondary-glow: rgba(59, 130, 246, 0.1);

    position: relative;
    overflow: hidden;
    background: #f8fafc;
    padding: 80px 0;
    min-height: 100vh;
}

#ektmal-courses-section .bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: orb-float 25s infinite alternate ease-in-out;
}

#ektmal-courses-section .orb-1 {
    width: 500px;
    height: 500px;
    background: var(--main-soft);
    top: -100px;
    right: -100px;
}

#ektmal-courses-section .orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-glow);
    bottom: -50px;
    left: -100px;
    animation-duration: 30s;
    animation-delay: -5s;
}

#ektmal-courses-section .orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.05);
    top: 40%;
    left: 10%;
    animation-duration: 20s;
}

@keyframes orb-float {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(50px, 80px) scale(1.1) rotate(10deg);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9) rotate(-5deg);
    }

    100% {
        transform: translate(20px, -20px) scale(1.05) rotate(5deg);
    }
}

#ektmal-courses-section .section-title {
    font-weight: 900;
    color: var(--dark-blue);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

#ektmal-courses-section .section-seo-text {
    color: var(--text-muted);
    max-width: 800px;
    margin: 10px auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
}

#ektmal-courses-section .nav-pills-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 8px;
    border-radius: 20px;
    display: inline-flex;
    border: 1px solid rgba(28, 176, 152, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 60px;
}

#ektmal-courses-section .nav-link {
    border-radius: 15px;
    color: var(--text-muted);
    font-weight: 700;
    padding: 12px 35px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
}

#ektmal-courses-section .nav-link:hover {
    color: var(--main-color);
}

#ektmal-courses-section .nav-link.active {
    background-color: var(--main-color) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(28, 176, 152, 0.25);
}

#ektmal-courses-section .course-card {
    background: white;
    border: none;
    border-radius: 35px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

#ektmal-courses-section .course-card::before {
    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;
    pointer-events: none;
}

#ektmal-courses-section .course-card:hover::before {
    left: 100%;
}

#ektmal-courses-section .course-card:hover {
    transform: translateY(-15px) scale(1.01);
    box-shadow: 0 40px 80px rgba(18, 29, 51, 0.15);
}

#ektmal-courses-section .card-img-wrapper {
    position: relative;
    padding: 12px;
}

#ektmal-courses-section .card-img-wrapper img {
    border-radius: 28px;
    height: 230px;
    width: 100%;
    object-fit: cover;
}

#ektmal-courses-section .instructor-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid white;
}

#ektmal-courses-section .instructor-badge img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 0;
    object-fit: cover;
}

#ektmal-courses-section .instructor-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

#ektmal-courses-section .verify-badge {
    color: #0d6efd;
    font-size: 0.9rem;
    margin-bottom: 1px;
}

#ektmal-courses-section .card-body {
    padding: 10px 25px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#ektmal-courses-section .course-title {
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 1.35rem;
}

/* تحسين الـ Stats */
#ektmal-courses-section .course-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 25px;
    background: var(--main-soft);
    padding: 12px;
    border-radius: 22px;
}

#ektmal-courses-section .stat-item {
    text-align: center;
    font-size: 0.8rem;
    color: var(--dark-blue);
    font-weight: 700;
}

#ektmal-courses-section .stat-item i {
    display: block;
    color: var(--main-color);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* تحسين الزر المدمج بالسعر */
#ektmal-courses-section .enroll-btn-group {
    background: var(--dark-blue);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 2px solid var(--dark-blue);
}

#ektmal-courses-section .enroll-btn-group:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    transform: scale(1.02);
}

#ektmal-courses-section .enroll-text {
    color: white;
    font-weight: 800;
    font-size: 1.05rem;
    margin-right: 15px;
}

#ektmal-courses-section .price-chip {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    padding: 10px 18px;
    border-radius: 16px;
    font-weight: 900;
    font-size: 1rem;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

#ektmal-courses-section .tab-pane.fade {
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform: translateY(15px);
}

#ektmal-courses-section .tab-pane.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    #ektmal-courses-section .nav-pills-wrapper {
        background: transparent !important;
        box-shadow: none !important;    
        border: none !important;
        width: 100%;
        margin-bottom: 20px;
    }
    #ektmal-courses-section ul {
        display: flex;
        gap: 15px;
        flex-direction: column;
        width: 100%;
    }
    #ektmal-courses-section .nav-link {
        padding: 15px 20px;
        width: auto;
        font-size: 0.9rem;
        background-color: #fff;
    }
    #ektmal-courses-section .section-seo-text {
        margin-bottom: 0 !important;
        font-size: 1rem;
    }
}