/* @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap'); */

/* vars */
:root {
    --somar: 'SomarSans-Regular', sans-serif;
    --somar-light: 'SomarSans-Light', sans-serif;
    --somar-bold: 'SomarSans-Bold', sans-serif;
    --somar-black: 'SomarSans-Black', sans-serif;
    --somar-medium: 'SomarSans-Medium', sans-serif;
    --somar-regular: 'SomarSans-Regular', sans-serif;

    /* colors */
    --primary-color: #0E4FAD;
    --text-color: #081F40;
    --text-color-2: #8E9BAF;
    --text-color-3: #DC1B1B;
    --text-color-4: #55646F;
    --soft-color: #E2ECFA;
    --border-color: #EFEFEF;
    --bg-color: #F8FAFF;
    --bg-color-2: #F7F9FC;
    --bg-color-3: #EFF5FC;
    --bg-color-4: #F9FBFE;
    --bg-color-5: #f0f0f0;
    --bg-color-6: #F8FBFE;
    --bg-color-7: #F8F8F8;
    --bg-color-8: #F8FBFF;
    --bg-color-9: #EEF5FD;

    --white: #FFFFFF;
    --black: #000000;
    --gold-bar: #E59B2B;

    --gradient-color-1: #11BA85;
    --gradient-color-2: #08543C;

    /* payments only */
    --payment-color: #F5F7F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--somar-regular);
}

/* scroll bar style */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color-4);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

body {
    /* background-color: var(--bg-color); */
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
}
/* button:active,
button:focus,
button:hover,
a:hover {
    color: unset !important;
} */

button:active {
    color: red !important;

}

/* Utils */
.btn-2 {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--somar-medium);
    line-height: 22.76px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.btn:hover,
.btn-2:hover {
    opacity: 0.8;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.secondary-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.custom-btn {
    border-radius: 30px !important;
    background-color: var(--bg-color-4) !important;
    color: var(--text-color-2);
    font-size: 16px !important;
    font-family: var(--somar-medium) !important;
    font-weight: normal;
    padding: 15px 20px !important;
    width: 200px;
    transition: background-color 0.3s ease-in-out;
}

.custom-btn.active {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.custom-btn:hover {
    opacity: 0.8 !important;
}

.custom-btn:active {
    opacity: 0.8 !important;
    color: unset !important;
}

.custom-btn.tab:active {
    opacity: 0.8 !important;
    color: unset !important;
}

.text-danger {
    color: var(--text-color-3) !important;
}

.text-success {
    color: var(--gradient-color-1) !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 0px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    width: 139.35px;
    height: 56px;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: color 0.3s ease;
    font-family: var(--somar-medium);
    line-height: 22.76px;
    transition: color 0.3s ease;
    cursor: pointer;
    /* white-space: nowrap; */
    /* letter-spacing: 1px;  */
}

header nav ul li a:hover {
    color: var(--primary-color);
}

header nav ul li.active a {
    color: var(--primary-color);
}

header .auth {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 3px; */
}

header .auth .btn {
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--somar-medium);
    line-height: 22.76px;
    color: #fff;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

header .auth .btn-login {
    background-color: var(--soft-color);
    color: var(--text-color);
    border: 1px solid var(--soft-color);
    border-radius: 30px;
    padding: 13px 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: var(--somar-regular);
}

.navbar-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 1000;
    padding: 20px;
    padding-top: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}


.mobile-menu-header .logo-mobile {
    width: 98%;
    display: flex;
    justify-content: center;
    filter: brightness(0) invert(1);

}

.mobile-menu-close {
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    /* width: 10%; */
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    padding: 5px 0;
    text-align: center;
    border-bottom: .5px solid #1358BC;
}

.mobile-menu ul li a {
    color: var(--white);
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    font-family: var(--somar-medium);
    border-radius: 8px;
}

.mobile-menu ul li:hover,
.mobile-menu ul li.active {
    border-color: var(--soft-color);
}

.mobile-menu .auth-buttons {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
}

.mobile-menu .auth-buttons .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--somar-medium);
}

.mobile-menu .auth-buttons .btn-login {
    background-color: var(--white);
    color: var(--primary-color);
}

.mobile-menu .auth-buttons .btn-register {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.menu-toggle {
    cursor: pointer;
}

.navbar-mobile .auth .btn-login {
    font-size: 13px;
}


.slider-section {
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0e4fad0f 0%, #0e4fad00 100%);
    /* background: #f2f5fa; */
}

.hero-section {
    padding-top: 140px;
    padding-bottom: 30px;
    /* background: #f7f9fc; */
    background: linear-gradient(180deg, #0e4fad0f 0%, #0e4fad00 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
}

.platform-label {
    display: inline-block;
    background-color: var(--soft-color);
    color: var(--primary-color);
    padding: 13px 16px;
    border-radius: 30px;
    font-size: 16px;
    margin-bottom: 24px;
    font-family: var(--somar-medium);
    line-height: 22.76px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-family: var(--somar-bold);
}

.hero-text p {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 600px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-family: var(--somar-medium);
    transition: all 0.3s ease;
}

/* .primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.primary-btn:hover {
    opacity: 0.8;
} */

.secondary-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    opacity: 0.8;
    /* background-color: rgba(14, 79, 173, 0.1); */
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 550px;
    display: block;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    display: none;
    animation: fade 0.5s ease-in-out;
}

.hero-slide.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 28px;
    padding-top: 28px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    background-color: var(--bg-color-5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-color);
}

.d-none {
    display: none !important;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;

}

.slider-arrow {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.slider-arrow:hover {
    transform: scale(1.1);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

/* Features Section */
.features-section {
    padding: 20px 0;
    background: var(--white);
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.feature-card {
    display: flex;
    padding: 16px ;
    background: var(--white);
    border-radius: 4px;
    border: 2px solid var(--border-color);
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    max-width: 362px;
    transition: all 0.3s ease;
    flex-direction: row;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: flex;
    width: 62px;
    height: 62px;
    padding: 11px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    background: var(--bg-color-3);
    border-radius: 10px;
    margin: 0 auto 20px;
}

.feature-text {
    text-align: right;
    /* padding-right: 20px; */
}

.feature-card h3 {
    color: var(--text-color);
    font-size: 18px;
    font-family: var(--somar-bold);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-color-4);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: var(--bg-color-4);
}

.section-title {
    color: var(--primary-color);
    font-size: 22px;
    font-family: var(--somar-bold);
    text-align: right;
    margin-bottom: 30px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--bg-color-3);
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.category-card a {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-color);
    font-size: 20px;
    font-family: var(--somar-medium);
    font-weight: 600;
}

.category-card svg {
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.category-card:hover svg {
    transform: translateX(0);
}

/* Current Courses Section */
.courses {
    padding: 60px 0;
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--somar-medium);
    font-size: 16px;
    transition: all 0.3s ease;
}

.view-all:hover {
    transform: translateX(-4px);
    gap: 10px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.course-card {
    display: flex;
    background: var(--white);
    border-radius: 14px;
    min-height: 200px;
    width: 100%;
    max-width: 700px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 240px;
    max-width: 270px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.card-image .card-sm-img {
    display: none;
}

.card-image .card-lg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.record-badge,
.live-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 16px;
    border-radius: 20px;
    background: var(--white);
    font-family: var(--somar-medium);
    border: 1px solid;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.record-badge span,
.live-badge span {
    height: 5px;
    width: 5px;
    padding: 2px;
    border-radius: 50%;
}

.live-badge {
    color: var(--text-color-3);
    border-color: var(--text-color-3);
}

.record-badge {
    color: var(--gradient-color-1);
    border-color: var(--gradient-color-1);
}

.live-badge span {
    background: var(--text-color-3);
}

.record-badge span {
    background: var(--primary-color);
}

.card-content {
    flex: 1;
    padding: 14px;
    background: var(--white);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 8px;
}

.rating span {
    font-family: var(--somar-medium);
    font-size: 16px;
    color: var(--text-color-4);
}

.category-badge {
    display: inline-flex;
    color: var(--primary-color);
    background: var(--bg-color-3);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--somar-medium);
}

.course-card .course-title {
    color: var(--text-color);
    font-size: 20px;
    font-family: var(--somar-regular);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.4;
}

.subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.subjects span {
    background: var(--bg-color-4);
    color: var(--text-color-2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-family: var(--somar-medium);
}

.line {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin-bottom: 24px;
}

.course-info {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

.course-footer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    margin-top: auto;
    gap: 18px;
    text-align: center;
}

.price {
    color: var(--primary-color);
    background: var(--bg-color-3);
    padding: 6px 32px;
    border-radius: 8px;
    font-size: 19px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.price span {
    font-size: 13px;
    font-weight: 600;
}

.price svg {
    width: 15px !important;
}

.course-footer .join-btn {
    padding: 6px 32px;
    background: var(--gradient-color-1);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--somar-medium);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--somar-medium);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-footer .join-btn:hover,
.details-btn:hover {
    color: var(--white) !important;
    opacity: 0.8 !important;
}

.about-section {
    padding: 60px 0;
    background: var(--bg-color-4);
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-section .about-title h2 {
    color: var(--primary-color);
    font-size: 22px;
    font-family: var(--somar-bold);
    margin-bottom: 12px;
}

.about-section .about-content {
    text-align: right;
    color: var(--text-color);
    font-size: 16px;
    font-family: var(--somar-medium);
    /* padding: 20px 0; */
}

.about-section .about-content p {
    width: 90%;
    padding: 20px 0;
    text-align:right;
    font-size: 16px;
    line-height: 1.8;
    font-family: var(--somar-medium);
}

.about-section .about-content h5 {
    font-size: 16px;
    font-family: var(--somar-bold);
    margin-bottom: 12px;
}

.about-content .about-list {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.about-content .about-list li {
    margin-bottom: 25px;
    font-size: 16px;
    font-family: var(--somar-medium);
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-content .about-list li:last-child {
    margin-bottom: 0;
}

.about-section .about-image {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: end;
}


.about-image .image svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 12;
}

.about-section .about-image .image,
.about-section .about-image .image img{
    width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
}

.about-section .about-image .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ba5311;
    border-radius: 10px;
    opacity: 0.4;
    z-index: 10;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-section .section-header h2 {
    color: var(--primary-color);
    font-size: 22px;
    font-family: var(--somar-bold);
    margin-bottom: 12px;
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: right;
}

.quote-icon {
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-color-4);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
}

.author-info h4 {
    color: #2D3748;
    font-size: 16px;
    margin: 0;
    font-family: var(--somar-light);
    font-weight: 600;
}

/* Testimonials Slider */
.testimonials-wrapper {
    padding: 20px 0;
}

.testimonials-pagination {
    margin-top: 30px;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}


.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
    font-size: 14px;
}

.newsletter-section {
    text-align: center;
    background: linear-gradient(0deg, #0e4796 0%, #0e50ad 100%);
    border-radius: 14px;
    padding: 35px 60px;
    color: #fff;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.squar-style {
    position: absolute;
    width: 160px;
    height: 195px;
    border: 6px solid #3467b38c;
    border-radius: 4px;
}

.squar-right-1,
.squar-right-2,
.squar-right-3 {
    transform: rotate(20deg);
    opacity: 0.9;
}

.squar-right-1 {
    top: 70px;
    right: -90px;
}

.squar-right-2 {
    top: 80px;
    right: -60px;
}

.squar-right-3 {
    top: 85px;
    right: -20px;
}

.squar-left-1,
.squar-left-2,
.squar-left-3 {
    transform: rotate(-30deg);
    opacity: 0.9;
    border-color: #3d70b89a;
}

.squar-left-1 {
    top: 50px;
    left: -60px;
}

.squar-left-2 {
    top: 55px;
    left: -25px;
}

.squar-left-3 {
    top: 60px;
    left:20px;
}

.newsletter-section .newsletter-text {
    text-align: right;
    padding: 0 60px;
    z-index: 20;
}

.newsletter-section h3 {
    font-size: 28px;
    font-family: var(--somar-light);
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-section p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 0;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-right: 20px;
    z-index: 20;
}

.newsletter-form svg {
    width: 34px;
    height: 34px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    direction: rtl;
    color: var(--text-color-4);
    outline: none;
}

.newsletter-form button {
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    background: var(--white);
}

.newsletter-form button:hover {
    background: var(--soft-color);
}

/* Footer Styles */
.footer {
    background-color: var(--bg-color-4);
    padding: 60px 0 30px;
    margin-top: 0px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-top .footer-logo {
    width: 140px;
}

.footer-top .footer-logo img {
    width: 150px;
}

.footer-top .footer-line {
    width: 70%;
    height: 2px;
    background-color: #95a3b838;
}

.footer-parteners {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-parteners img {
    width: 110px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-description {
    color: var(--text-color-4);
    font-size: 16px;
    line-height: 2;
    margin-bottom: 24px;
    max-width: 400px;
    text-align: right;
    font-family: var(--somar-medium);
}

.footer-title {
    color: var(--primary-color);
    font-size: 18px;
    font-family: var(--somar-bold);
    margin-bottom: 24px;
}

.footer-links.active,
.footer-contact.active {
    transition: all 0.9s ease-in-out;
}

.footer-title .up,
.footer-title .down {
    display: none;
    transition: transform 0.3s;
}

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

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-color-4);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--soft-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    padding: 10px;
}

.social-links a:hover {
    background: var(--primary-color);
}

.social-links a:hover svg path {
    fill: var(--white);
}

.qr-code {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-color-4);
    font-size: 14px;
}


@media (max-width: 992px) {
    .testimonials-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }

    .newsletter-section {
        padding: 32px 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Courses Slider */
.courses-slider {
    padding: 20px 40px !important;
    margin: 0 -20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
}

.swiper-pagination {
    position: relative;
    margin-top: 50px;
}

.swiper-pagination-bullet {
    border-radius: unset;
    width: 9px !important;
    height: 9px !important;
    margin: 0 2px !important;
    background: #e1ebfa !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

.swiper-slide {
    height: auto !important;
}

/* Courses List Page */
.courses-list-page .page-title {
    padding: 40px 0;
    padding-top: 140px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 315px;
}

.courses-list-page .page-title h1 {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--somar-bold);
}

.courses-list-page .breadcrumbs {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 3px;
    color: var(--text-color-4);
    font-size: 16px;
    font-family: var(--somar-medium);
}

.breadcrumbs a {
    text-align: center;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs li:not(:last-child):after {
    content: "/";
    margin: 0 5px;
    color: var(--primary-color);
}

/* Courses List Page */
.courses-list-page .categories-section {
    background-color: unset;
}

/* course page */
.course-page .page-title {
    padding-top: 130px;
    background-color: #F5F7F9;
    /* background: linear-gradient(rgb(255 255 255 / 92%), rgb(255 255 255 / 95%)), url(../images/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

.course-page .breadcrumbs {
    display: flex;
    font-size: 14px;
    color: var(--text-color-4);
}

.course-page .page-title h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin: 10px 0;
    font-family: var(--somar-bold);
}

.course-rate {
    display: flex;
    align-items: center;
    gap: 7px;
}

.course-rate span:last-child {
    color: var(--text-color-4);
    font-size: 16px;
}

.short-desc {
    color: var(--text-color-4);
    font-size: 16px;
    line-height: 2;
}

.course-page .course-info {
    margin-bottom: 0 !important;
}

.course-info span:last-child {
    color: var(--text-color);
    font-size: 16px;
}

.course-container {
    display: flex;
    align-items: start;
    gap: 40px;
}

.course-sidebar-container {
    width: 100%;
    max-width: 360px;
}

/* course tabs */
.course-tabs-section {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.course-tabs-section.mobile-tab {
    display: none;
}

.course-tabs .tab {
    cursor: pointer;
    padding: 10px;
    color: var(--text-color-4);
}

.course-tabs .tab.active {
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.course-content-part {
    margin: 10px 0;
    /* width: 65%; */
}

.course-content-part .title {
    font-size: 24px;
    color: var(--primary-color);
    margin: 10px 0;
    font-family: var(--somar-bold);
}

.course-content-body.body-section-about {
    padding: 7px 20px;
    background: var(--bg-color-6);
    max-width: 100%;
    border-radius: 10px;
}

.course-content-body.body-section-about .learn-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    color: var(--text-color-4);
    font-size: 16px;
}

.rating-container {
    display: flex;
    padding: 20px;
    /* background-color: #f8f9fa; */
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
}

.rating-bars {
    flex: 3;
}

.rating-summary {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #EFF5FC40;
}

.bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.star-number {
    width: 30px;
    text-align: center;
    color: #333;
    font-weight: bold;
    margin-right: 10px;
}

.bar {
    flex-grow: 1;
    background-color: var(--bg-color-7);
    height: 15px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background-color: var(--gold-bar);
    border-radius: 10px;
}

.count {
    width: 30px;
    text-align: center;
    margin-left: 10px;
    color: #333;
    font-weight: bold;
}

.average-rating {
    font-size: 3rem;
    font-weight: bold;
    color: #1a3651;
    margin-bottom: 10px;
}

.stars {
    margin-bottom: 10px;
    color: #f5a623;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
}

/* Comments Section */
.comments-container {
    margin-top: 20px;
}

.comment-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: relative;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-name span {
    font-family: var(--somar-medium);
    font-size: 16px;
    color: var(--text-color);
}

.user-date {
    font-size: 14px;
    color: var(--text-color-2);
}

.comment-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
}

.rating-number {
    font-family: var(--somar-bold);
    color: var(--text-color);
}

.comment-content {
    color: var(--text-color-4);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.report-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--text-color-2);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.comment-actions {
    display: flex;
    align-items: center;
}

.delete-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #FF5252;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.delete-comment-form {
    margin: 0;
}

.btn-delete-confirm {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF5252;
    color: white;
    border-radius: 5px;
    margin-right: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-report-confirm {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF9800;
    color: white;
    border-radius: 5px;
    margin-right: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-cancel {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.delete-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.load-more-btn {
    display: block;
    margin: 20px auto;
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 25px;
    font-family: var(--somar-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.course-sidebar {
    position: relative;
    z-index: 3;
    margin-top: -235px;
    /* position: absolute;
    top: 170px;
    max-width: 360px; */
}

.course-sidebar .card-image {
    max-width: 100%;
    height: auto;
}

.course-sidebar .card-image img {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-sidebar-body {
    padding: 15px;
    padding-top: 0;
}

.course-sidebar .price-section {
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.course-sidebar .price-text {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.course-sidebar .price-text span {
    font-size: 32px;
    font-family: var(--somar-bold);
}

.course-sidebar .live-btn {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: rgba(220, 27, 27, 0.05);
    color: var(--text-color-3);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--somar-medium);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.course-sidebar .wait-btn {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: rgba(229, 155, 43, 0.05);
    color: #d98300;
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--somar-medium);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.course-sidebar .subscribe-btn {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--somar-medium);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    margin-bottom: 10px;
    gap: 5px;
}

.course-sidebar .join-btn {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: var(--gradient-color-1);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--somar-medium);
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
    margin-bottom: 10px;
}

.course-sidebar .subscribe-btn:hover {
    opacity: 0.8;
}

.course-features {
    padding: 20px 0;
}

.course-features h3 {
    font-size: 16px;
    font-family: var(--somar-medium);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.course-features .feature-item .text {
    font-size: 14px;
    font-family: var(--somar-medium);
    color: var(--text-color);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 16px;
    font-family: var(--somar-medium);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 9px 0;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

.share-btn:hover {
    opacity: 0.8;
}

/* Course Schedule Styles */
.course-schedule {
    margin: 20px 0;
}
.schedule-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-collapse: collapse;
}

.schedule-header {
    background-color: #0E4FAD;
    color: white;
    font-weight: bold;
}

.schedule-cell {
    padding: 15px;
    text-align: center;
    white-space: nowrap;
}

.header-cell {
    font-weight: bold;
}

.schedule-body tr {
    border-bottom: 1px solid #afafaf;
    background-color: white;
}

.schedule-body tr:last-child {
    border-bottom: none;
}

.course-days-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.day-title {
    font-weight: bold;
    color: #081F40;
    margin-bottom: 15px;
    position: relative;
    padding-right: 15px;
}

.day-title:before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: #0E4FAD;
    border-radius: 2px;
}


.course-file-item,
.lecture-item {
    border: 1px solid #EFEFEF;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    background: var(--bg-color-8);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.accordion-icon-hide {
    display: none;
}

.course-file-icon,
.lecture-play {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    background: var(--bg-color-9);
    border-radius: 8px;
    width: 60px !important;
    height: 60px !important;
}

.course-file-body,
.lecture-item-body {
    width: 100%;
    display: flex;
}

.course-file-details,
.lecture-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding-right: 10px;
}

.course-file-name,
.lecture-title {
    color: var(--text-color);
    font-family: var(--somar-medium);
    font-size: 18px;
}

.course-file-size,
.lecture-duration {
    color: var(--text-color-4);
    font-size: 14px;
}

.course-file-actions,
.lecture-actions {
    display: flex;
    gap: 10px;
}

.download-btn, .upload-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    color: var(--text-color-4);
}

/* .download-btn:hover, .upload-btn:hover, */
.download-btn.active, .upload-btn.active {
    border-color: var(--primary-color);
}

.assignments-accordion,
.days-accordion {
    margin-top: 20px;
}

.assignment-accordion-item,
.day-accordion-item {
    border: 1px solid #EFEFEF;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: white;
}

.assignment-accordion-header,
.day-accordion-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.assignment-accordion-text,
.day-accordion-text {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

/* Additional styles for accordion functionality */
.assignment-accordion-content,
.day-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.assignment-accordion-item.active .assignment-accordion-content,
.day-accordion-item.active .day-accordion-content {
    max-height: 500px; /* Adjust as needed */
}

.assignment-accordion-item.active .assignment-accordion-header svg,
.day-accordion-item.active .day-accordion-header svg {
    transform: rotate(180deg);
}

.assignment-accordion-header svg,
.day-accordion-header svg {
    transition: transform 0.3s ease;
}

.course-files {
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.course-files-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.course-files-header h3 {
    font-size: 16px;
    font-family: var(--somar-medium);
    color: var(--text-color);
}

.course-files-items {
    padding: 15px;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background-color: var(--white);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.39);
    z-index: 99999;
}

.back-to-top-icon {
    transform: rotate(180deg);
}

.icons8-whatsapp {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAsMCwyNTYsMjU2IgpzdHlsZT0iZmlsbDojMDAwMDAwOyI+CjxnIGZpbGwtb3BhY2l0eT0iMCIgZmlsbD0iI2RkZGRkZCIgZmlsbC1ydWxlPSJub256ZXJvIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgc3Ryb2tlLWxpbmVjYXA9ImJ1d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zEyLC0wLjgzMWMwLjIzNywtMC4yNzcgMC4zMTYsLTAuNDc1IDAuNDc0LC0wLjc5MWMwLjE1OCwtMC4zMTcgMC4wNzksLTAuNTk0IC0wLjA0LC0wLjgzMWMtMC4xMTcsLTAuMjM4IC0xLjAzOSwtMi41ODQgLTEuNDYxLC0zLjUyMnoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PC9wYXRoPjwvZz48L2c+Cjwvc3ZnPg==) 50% 50% / 100% no-repeat;

}

.whatsapp-icon {
    position: fixed;
    bottom: 15px;
    right: 15px;
    height: 49px;
    background-color: var(--primary-color);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.39);
    z-index: 99999;
}

/* modal */
.modal {
    display: none;
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 100px auto; /* 100px from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 10px;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
}

.modal-body .sub-title {
    font-size: 16px;
    font-family: var(--somar-medium);
    color: var(--text-color-4);
}

.modal-body {
    padding: 10px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* End of modal */

/* login & register modal */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

form label {
    font-size: 14px;
    font-family: var(--somar-medium);
    color: var(--text-color);
}

.form-control {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px !important;
    font-size: 16px;
    font-family: var(--somar-medium);
    color: var(--text-color-4);
    width: 100%;
    outline: none !important;
}

.form-control:focus {
    outline: none !important;
}

button,
form button {
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--somar-medium);
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
}


form button:hover {
    opacity: 0.8;
}

.forgot-password {
    text-align: right;
    font-family: var(--somar-bold);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
    text-decoration: none;
}

.register-links {
    margin-top: 10px;
    text-align: center;
    font-family: var(--somar-bold);
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.register-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.register-links button {
    color: var(--primary-color);
    background-color: transparent;
    border: unset;
}

/* End of login & register modal */

/* share modal */
.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color-9);
    padding: 15px;
    border-radius: 100px;
    text-decoration: none;
}

/* rating */
.rate-form {
    padding: 15px;
}

.leave--rating {
    padding: 10px 0;
}
.leave-rating {
    width: 200px;
    display: flex;
    /* justify-content: space-between; */
    gap: 3px;
}

.leave-rating input {
    display: none;
}

.leave-rating label {
    float: left;
}
.leave-rating label {
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 0;
}

.rate-form .input-group {
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.rate-form .input-group textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px !important;
    font-size: 16px;
    font-family: var(--somar-medium);
    background-color: var(--bg-color);
    outline: none !important;
}

.primary-btn {
    padding: 10px 25px;
}

/* End of rating */

/* Dropdown */
.dropdown {
    position: relative;
    /* display: none; */
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    left: -10px;
    width: 170px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
}

.dropdown-menu .dropdown-item:first-child {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-area {
    padding: 120px 0 20px 0;
}

.card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-item {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.card-login {
    width: 100%;
    max-width: 500px;
}

.card-item .card-body {
    width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-item .card-title {
    font-size: 20px;
    font-family: var(--somar-bold);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    text-decoration: none;
}

a:active,
button:active {
    color: var(--text-color) !important;
}

.iti__flag {
    background-image: url(/users/intl-tel-input/build/img/flags.png);
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .iti__flag {
        background-image: url(/users/intl-tel-input/build/img/flags@2x.png);
    }
}

#reg-card-phone,
#login-card-phone,
#reg-phone,
#login-phone {
    padding-right: 40px !important;
    padding-left: 50px !important;
}
.iti--separate-dial-code .iti__selected-dial-code
{
    display: none !important;
}

.iti__arrow {
    margin-left: unset !important;
    width: unset !important;
    height: unset !important;
    border-left: unset !important;
    border-right: unset !important;
    border-top: unset !important;
}
.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent !important;
    padding: 0 15px !important;
}

.iti__selected-flag {
    background-color: transparent !important;
    padding: 0 15px !important;
}


.progress-bar {
    height: 20px;
    border-radius: 5px;
    transition: width 0.3s ease-in-out;
}

.progress-bar.bg-success {
    background-color: #28a745;
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.course-content-wrapper {
    position: relative;
}

.course-content-body.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 68px;
}
.course-content-wrapper.collapsed .toggle-btn {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 25px 5px 0 5px;
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-content-wrapper.expanded .toggle-btn {
    position: static;
    display: block;
    margin: 10px 0;
}

.course-content-body {
    transition: height 0.5s ease-in-out;
    overflow: hidden;
}

.toggle-btn {
    color: var(--primary-color);
}

/* Report Form Styles */
.report-form .form-group {
    margin-bottom: 15px;
    text-align: right;
}

.report-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-color);
}

.report-form select,
.report-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.report-form textarea {
    min-height: 80px;
    resize: vertical;
}

.report-icon svg {
    color: #FF9800;
}
