:root {
    --primary-blue: #002e4e;
    --secondary-blue: #00416a;
    --accent-orange: #f39200;
    --light-bg: #f9fbfd;
    --card-border: #edf2f7;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --transition-speed: 0.3s;
    /* Authenticated mc-nav (aligned with my-courses reference) */
    --mc-blue-btn: var(--secondary-blue);
    --mc-muted: var(--text-muted);
}

/* Fonts */
@font-face {
    font-family: 'ExpoArabic';
    src: url('../assets/fonts/ExpoArabic-Book.ttf') format('truetype');
    font-weight: 400;
    /* الوزن العادي */
    font-style: normal;
}

@font-face {
    font-family: 'ExpoArabic';
    src: url('../assets/fonts/alfont_com_AlFont_com_ExpoArabic-SemiBold.ttf') format('truetype');
    font-weight: 700;
    /*  700 نربطها بالوزن العريض */
    font-style: normal;
}

@font-face {
    font-family: 'ExpoArabic';
    src: url('../assets/fonts/ExpoArabic-Bold.otf') format('truetype');
    font-weight: bold;
    /*  bold نربطها بالوزن العريض */
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'ExpoArabic-Book', 'Cairo', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
 }

/* Override LeptonX content wrapper caps so the home page can run full-width. */
.lpx-content-container .lpx-content {
    max-width: none;
    min-height: 0;
    margin: 0;
}

/* Page background — LeptonX wrappers sit over <body>, so set the color on them
   too or it stays covered by the theme defaults. Matches reference `dashboard.css`. */
body.abp-application-layout,
#lpx-wrapper,
.lpx-content-container,
.lpx-content-wrapper,
.lpx-content {
    background-color: #FAFBFD;
    color: #111;
}

/* Sticky header shadow (reference inner pages use `bg-white shadow-sm sticky-header`). */
#lpx-wrapper > header {
    background-color: #fff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

h2,
h3,
.stat-title {
    font-weight: bold !important;
    font-family: 'ExpoArabic', 'Cairo', sans-serif;
 }
 
/* ----- Top bar ----- */
.top-bar {
    background-color: var(--secondary-blue);
    color: #fff;
    padding: 8px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.top-bar-right,
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right .highlight-text {
    color: var(--accent-orange);
    font-weight: 800;
    margin-right: 5px;
}

.top-bar-right .divider {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.top-bar-right a.buy-code-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-right: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.top-bar-right a.buy-code-link:hover,
.top-bar-right .highlight-text:hover {
    color: var(--accent-orange) !important;
    opacity: 0.8;
}

.top-bar-left .lang-btn {
    background: #fff;
    color: var(--secondary-blue);
    border: none;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.top-bar-left .lang-btn:hover {
    background: var(--accent-orange);
    color: #fff;
}

.top-bar-social {
    display: flex;
    justify-content: space-between;
    direction: ltr;
    width: 80px;
    height: 24px;
}

.top-bar-social a {
    color: var(--secondary-blue);
    background-color: #fff;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    transition: all 0.3s ease;
}

.top-bar-social a:hover {
    color: #fff;
    background-color: var(--accent-orange);
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .top-bar {
        flex-direction: column;
        padding: 10px 20px;
        gap: 10px;
        text-align: center;
    }
}

/* ----- Navbar ----- */
.navbar-custom {
    height: 80px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #edf2f7;
    display: flex;
    align-items: center;
    padding: 0;
    transition: all var(--transition-speed) ease;
}

.navbar-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0 50px;
}

.navbar-custom .navbar-toggler {
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.35rem 0.65rem;
    min-width: 44px;
    min-height: 44px;
    color: var(--text-dark);
}

@media (min-width: 992px) {
    .navbar-custom .navbar-toggler {
        display: none;
    }
}

.navbar-custom.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    top: 0;
}

.category-nav-btn {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #eef3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.category-nav-btn:hover {
    background-color: #e0e9fa;
    transform: translateY(-50%) scale(1.05);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 800;
    font-size: 15px;
    padding: 8px 12px !important;
    transition: color var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange) !important;
}

@media (max-width: 991px) {
    .navbar-container {
        padding: 0 20px;
    }

    /* Dropdown panel anchored to the navbar (sticky/relative), spans full width below the header. */
    .navbar-custom .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 12px 20px 20px;
        background: #fff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        border-top: 1px solid #edf2f7;
        z-index: 1001;
        box-sizing: border-box;
    }

    .navbar-custom .navbar-collapse:not(.show) {
        display: none;
    }

    .navbar-custom .navbar-collapse .navbar-nav {
        gap: 0 !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navbar-custom .navbar-collapse .nav-item {
        width: 100%;
    }

    .nav-link {
        font-size: 13.5px;
        padding: 10px 0 !important;
        border-bottom: 1px solid #f3f4f6;
    }
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

.logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 2px;
}

.logo-group svg,
.logo-group img {
    width: 45px;
    height: 45px;
    margin-bottom: 2px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-group h5 {
    margin: 0;
    font-weight: 900;
    color: #00568a;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.5px;
}

.logo-group span {
    font-weight: 700;
    font-size: 10px;
    color: #00568a;
    line-height: 1;
}

.btn-custom-orange {
    background-color: var(--accent-orange);
    color: #fff;
    font-weight: 800;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    border: none;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(243, 146, 0, 0.2);
}

.btn-custom-orange:hover {
    background-color: #e08700;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.3);
}

.btn-custom-blue {
    background-color: #00416a;
    color: #fff;
    border: none;
    font-weight: 800;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 65, 106, 0.2);
}

.btn-custom-blue:hover {
    background-color: #002e4e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 65, 106, 0.3);
}

/* ----- Hero Section ----- */
.hero-section {
    padding: 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.heroSwiper {
    width: 100%;
    padding: 20px 0 !important;
    /* Removed huge bottom padding so bullets overlay properly */
}

.heroSwiper .swiper-slide {
    width: 88%;
    max-width: 1250px;
    opacity: 0.4;
    transition: all 0.4s ease;
    transform: scale(0.85);
}

.heroSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.hero-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 0 80px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-content {
    color: #fff;
    max-width: 600px;
    z-index: 2;
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 92%;
    }

    .hero-wrapper {
        padding: 0 30px;
        height: 400px;
    }

    .hero-title {
        font-size: 32px !important;
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #e5e7eb;
}

.btn-hero {
    padding: 12px 35px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-orange {
    background-color: var(--accent-orange);
    color: #fff;
}

.btn-hero-blue {
    background-color: var(--secondary-blue);
    color: #fff;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Swiper Custom Pagination exactly like screenshot */
.heroSwiper .swiper-pagination {
    position: absolute;
    bottom: 50px !important;
    /* Move bullets into the image */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* space between horizontal bars */
    z-index: 10;
}

.heroSwiper .swiper-pagination-bullet {
    width: 35px;
    height: 5px;
    background: var(--accent-orange);
    opacity: 0.4;
    /* Light orange tint for inactive */
    border-radius: 4px;
    margin: 0 !important;
    transition: all 0.3s;
    cursor: pointer;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    /* Solid orange for active */
    background: var(--accent-orange);
}

/* ----- Section Titles ----- */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
      color: #0e0e0e !important;
    margin-bottom: 40px;
    position: relative;
}

.section-title span.orange-text {
    color: var(--accent-orange);
}

.subtitle-sm {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: -30px;
    margin-bottom: 40px;
    font-weight: 600;
}

/* ----- Categories ----- */
.category-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-align: center;
    padding: 20px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    height: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.category-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.category-name {
    font-weight: 800;
    font-size: 16px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.3;
}

.nav-arrows {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-arrows:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

/* ----- Languages ----- */
.language-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.language-card {
    background-color: #f8f9fa;
    border-radius: 50px;
    padding: 12px 20px 12px 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: calc(25% - 15px);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (max-width: 992px) {
    .language-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .language-card {
        width: 100%;
    }
}

.language-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    background-color: #ffffff;
}

.language-card-content {
    text-align: right;
}

.language-card-title {
    color: #1f2937;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 3px;
}

.language-card-levels {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
}

.language-card-flag {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    object-fit: cover;
    flex-shrink: 0;
}

/* ----- Demo Lectures ----- */
.lecture-section {
    background-color: var(--light-bg);
    padding: 60px 0;
    overflow: hidden;
}

.lectureSwiper {
    width: 100%;
    padding: 10px 0 !important;
}

.lecture-slide {
    width: 55%;
    max-width: 600px;
    opacity: 0.35;
    transition: all 0.4s ease;
    transform: scale(0.85);
    border-radius: 20px;
}

.lecture-slide-active {
    opacity: 1;
    transform: scale(1);
}

.lecture-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    height: 480px;
    background-size: cover;
    background-position: center;
}

.lecture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
}

.lecture-pill {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    color: var(--text-dark);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    z-index: 2;
}

.lecture-title {
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 12px;
    color: #fff;
}

.lecture-desc {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lecture-stats {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 700;
}

.lecture-stats>div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lecture-stats i {
    font-size: 16px;
}

.lecture-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.lecture-btn--disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.lecture-btn:hover {
    background: #fff;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .lecture-slide {
        width: 85%;
    }

    .lecture-card {
        height: 420px;
    }

    .lecture-title {
        font-size: 18px;
    }
}

/* ----- Stats Counters ----- */
.stat-item {
    text-align: center;
    padding: 25px 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    background: #fff;
    transition: transform 0.3s;
}

#stats-container {
    direction: ltr;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--accent-orange);
    margin-bottom: 5px;
}

.stat-title {
    font-size: 17px;
    font-weight: bold;
    color: var(--text-dark);
}

/* ----- Testimonials ----- */

.testimonial-section {
    background-color: var(--primary-blue);
    padding: 80px 0;
    color: #fff;
    position: relative;
}

.testimonial-new-section h2 {
    font-size: 30px;
}

.testimonial-section .section-title {
    color: #fff;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stars {
    color: var(--accent-orange);
    margin-bottom: 15px;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e5e7eb;
    font-weight: 600;
    min-height: 80px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.student-details h6 {
    margin: 0;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
}

.student-details span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ----- Features ----- */
.features-section {
    padding: 60px 0;
}

.feature-box {
    background-color: var(--accent-blue);
    background: linear-gradient(135deg, #1062fb 0%, #00416a 100%);
    border-radius: 24px;
    padding: 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-list li {
    position: relative;
    padding-right: 35px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
}

.feature-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
}

.feature-img-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.feature-img-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ----- Instructors ----- */
.instructor-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: none;
    aspect-ratio: 1;
    /* exact square match */
}

.team-section {
    direction: ltr;
}

.instructor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.instructor-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(14, 30, 60, 0.95), transparent);
    padding: 40px 20px 20px;
    text-align: center;
    color: #fff;
}

.instructor-experience {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.instructor-info h5 {
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 5px;
}

.instructor-info span {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.instructor-card:hover img {
    transform: scale(1.08);
}

/* ----- Partners ----- */
.partners-section {
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.partners-section h5 {
    font-family: 'ExpoArabic', 'Cairo', sans-serif;
    font-weight: bold !important;
    font-size: 28px !important;
    color: #000;
}

.marquee-wrapper {
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 2rem;
    animation: scroll 15s linear infinite;
    align-items: center;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% - 2rem));
    }
}

.partner-logo {
    max-height: 35px;
    opacity: 1;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ----- FAQ ----- */
.faq-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    color: #000;
    font-weight: bold !important;
    margin-bottom: 10px;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 50px;
    font-weight: bold;
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.accordion-item {
    border: none !important;
 
    background-color: #F2F2F2;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;

}
.accordion-item  h2{
        font-family: 'ExpoArabic-Book', 'Cairo', sans-serif !important;
font-weight: 400 !important;

}
.accordion-button {
    font-weight: bold;
    font-size: 1rem;
    color: #000;
    background-color: transparent;
    padding: 15px 30px;
    box-shadow: none;
    display: flex;
    align-items: center;
    text-align: right;
    border: none;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #efefef;
    box-shadow: none;
    border-radius: 10px;
}

.accordion-body {
    background: transparent;
    padding: 0 30px 20px 30px;
    color: #6c757d;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.8;
    text-align: right;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
    outline: none;
}

.accordion-button::after {
    margin-left: 0;
    margin-right: auto;
    font-family: inherit;
    content: "+";
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    font-weight: normal;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: "-";
    transform: rotate(180deg);
}


/* ----- CTA Section ----- */
.cta-section {
    padding: 80px 0;
    position: relative;
    background-color: #fff;
}

.cta-box {
     background-color: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #edf2f7;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="%23f39200" stroke-width="2" opacity="0.1"/></svg>');
    background-repeat: no-repeat;
    background-position: -20px -20px;
}
 
.cta-title {
    font-weight: 900;
    font-size: 32px;
    color:#000 !important;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    margin-bottom: 30px;
}

/* ----- Footer ----- */
footer {
    background-color: #003d6b;
    color: #ffffff;
    padding: 60px 0 0px;
    font-family: inherit;
}

footer h5 {
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 18px;
    color: #ffffff;
}

footer p {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 5px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: var(--accent-orange);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    color: #003d6b;
    transition: all 0.3s;
    font-size: 14px;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-logo {
    width: 100px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* Makes SVG white */
}

.footer-bottom {
    background-color: #002d50;
    padding: 15px 0;
    margin-top: 50px;
    text-align: center;
    font-size: 11px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pulse Animation for CTA Logo */
@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.cta-logo {
    position: absolute;
    left: -34px;
    top: 75%;
    transform: translateY(-50%);
    opacity: 0.05;
    width: 250px;
    z-index: 0;
    width: 307px;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.4);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: #e08700;
    color: white;
    transform: translateY(-5px);
}

/* ----- Premium Instructors Highlight ----- */
.premium-box {
    background-color: #1a73e8;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.2);
    overflow: hidden;
}

.premium-text-side {
    padding: 50px 40px;
    color: #fff;
    position: relative;
}

.premium-text-side h2 {
    font-weight: 900;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: right;
}

.premium-text-side p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: right;
    color: rgba(255, 255, 255, 0.95);
}

.premium-pill {
    background-color: #3b82f6;
    border-radius: 30px;
    padding: 12px 20px 12px 25px;
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-right: 0;
    margin-left: auto;
}

.premium-pill:hover {
    background-color: #5a9bff;
    transform: translateY(-2px);
}

.premium-pill span {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.premium-pill i {
    color: #ffffff;
    font-size: 16px;
}

.premium-img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    border-top-right-radius: 120px;
}

.burst-decoration {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 250px;
    z-index: 1;
}

/* Lenis Smooth Scroll Base CSS */
html.lenis,
html.lenis body {
    height: auto;
    width: 100vw;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* ----- Testimonial Section (Swiper — same pattern as .lectureSwiper) ----- */
.testimonial-new-section {
    background-color: #011124;
    padding: 80px 0;
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    overflow: hidden;
}

.testimonial-new-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.testimonialSwiper {
    width: 100%;
    padding: 10px 0 24px !important;
}

.testimonial-slide {
    width: 55%;
    max-width: 560px;
    height: auto;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.9);
    border-radius: 12px;
    display: flex;
    align-items: stretch;
}

.testimonial-slide-active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-new-card {
    background-color: #091D34;
    border: 1px solid #1E3A5F;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 280px;
}

.testimonial-new-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tc-stars {
    color: #FF9800;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: right;
    display: flex;
    justify-content: flex-start;
    gap: 4px;
}

.tc-text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
    text-align: right;
    color: #ffffff;
    flex-grow: 1;
    margin-bottom: 5px;
}

.tc-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 5px;
    direction: rtl;
    gap: 12px;
}

.tc-quote-icon {
    color: #4A90E2;
    font-size: 20px;
    line-height: 1;
}

.tc-profile {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.tc-profile img,
.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: 15px;
    object-fit: cover;
    flex-shrink: 0;
}

.tc-profile-info {
    text-align: right;
}

.tc-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.tc-job {
    font-size: 14px;
    color: #B0BCCB;
}

@media (max-width: 768px) {
    .testimonial-slide {
        width: 85%;
    }

    .testimonial-new-title {
        font-size: 36px;
    }
}

/* ----- Home demo lecture video (modal) ----- */
.home-demo-lecture-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.home-demo-lecture-video-overlay.show {
    opacity: 1;
    visibility: visible;
}

.home-demo-lecture-video-panel {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.home-demo-lecture-video-close {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.home-demo-lecture-video-close:hover {
    background: rgba(30, 41, 59, 0.95);
}

.home-demo-lecture-video-inner {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.home-demo-lecture-video-el,
.home-demo-lecture-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ----- Discount Modal ----- */
.discount-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.discount-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.discount-modal-content {
    background-color: #1d7bfc;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    transform: translateY(-50px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    font-family: 'ExpoArabic', 'Cairo', sans-serif;
}

.discount-modal-overlay.show .discount-modal-content {
    transform: translateY(0) scale(1);
}

/* Watermark decoration */
.discount-modal-circles {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.discount-modal-circles::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 20px solid rgba(255, 255, 255, 0.04);
}

.discount-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    z-index: 10;
}
.discount-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.discount-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
    z-index: 2;
    position: relative;
    color: #fff !important;
}

.discount-amount {
    font-size: 65px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    z-index: 2;
    position: relative;
}

.discount-percent {
    font-size: 35px;
    margin-inline-start: 2px;
}

.discount-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
    z-index: 2;
    position: relative;
}

.discount-coupon-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: -10px 0 18px;
    z-index: 2;
    position: relative;
}

.discount-coupon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.discount-coupon-row--label {
    margin-bottom: 2px;
}

.discount-coupon-label {
    font-weight: 800;
    font-size: 13px;
    opacity: 0.95;
}

.discount-coupon-value {
    background: rgba(255, 255, 255, 0.18);
    border: 1px dashed rgba(255, 255, 255, 0.55);
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.08em;
    user-select: all;
}

.discount-coupon-copy {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.discount-coupon-copy:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.discount-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    z-index: 2;
    position: relative;
}

.timer-box {
    background: #fff;
    color: #0b1c31;
    width: 55px;
    height: 55px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timer-colon {
    color: #10346c;
    font-size: 22px;
    font-weight: 800;
}

.discount-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    z-index: 2;
    position: relative;
}

.discount-btn {
    background-color: #f99b1c;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 17px;
    font-weight: 800;
    width: 100%;
    z-index: 2;
    position: relative;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.discount-btn:hover {
    background-color: #e08700;
    color: #fff;
    transform: translateY(-2px);
}

/* ----- Preloader ----- */
.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.page-preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.preloader-logo {
    height: 85px;
    animation: zoomPulse 1.5s infinite ease-in-out alternate;
}

.preloader-spinner {
    width: 55px;
    height: 55px;
    border: 5px solid transparent;
    border-top-color: #0b67b2;
    border-right-color: #f4951f;
    border-bottom-color: #d21c60;
    border-left-color: rgba(11, 103, 178, 0.2);
    border-radius: 50%;
    animation: spinCircle 1s linear infinite;
}

@keyframes zoomPulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    100% { transform: scale(1.05); opacity: 1; }
}

@keyframes spinCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Authenticated home header — matches Success-Center my-courses nav (mc-nav) */
.home-header-authenticated .mc-nav.navbar-custom {
    border-top: 2px solid #9333ea;
    border-bottom: 2px solid var(--card-border);
}

.home-header-authenticated .navbar-container.mc-navbar-shell {
    position: relative;
    flex-wrap: wrap;
    row-gap: 0;
}

@media (min-width: 992px) {
    .home-header-authenticated .navbar-container.mc-navbar-shell {
        flex-wrap: nowrap;
    }

    .home-header-authenticated .navbar-expand-lg.mc-nav .navbar-collapse.mc-nav-collapse {
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 1;
        flex-shrink: 1;
        min-width: 0;
        align-items: center;
        margin-inline-start: 2.5rem !important;
        width: auto !important;
    }

    .home-header-authenticated .navbar-expand-lg.mc-nav .mc-nav-collapse .navbar-nav {
        margin: 0 !important;
    }
}

.home-header-authenticated .mc-nav-actions {
    gap: 15px;
    margin-inline-start: auto;
    margin-inline-end: 30px;
}

@media (max-width: 991px) {
    .home-header-authenticated .navbar-container.mc-navbar-shell .navbar-toggler {
        margin-inline-start: auto;
    }
}

.home-header-authenticated .mc-nav .btn-mc-primary {
    background-color: var(--mc-blue-btn);
    color: #fff;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14.5px;
    border: none;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 65, 106, 0.15);
}

.home-header-authenticated .mc-nav .btn-mc-primary:hover {
    color: #fff;
    background: #003558;
}

.home-header-authenticated .mc-nav .btn-mc-primary.btn-mc-primary--active {
    background: #003558;
    box-shadow: 0 2px 8px rgba(0, 53, 88, 0.35);
}

.home-header-authenticated .mc-nav .nav-circle {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-blue-btn);
    text-decoration: none;
    border: 1px solid #eef4ff !important;
}

.home-header-authenticated .mc-nav .nav-user-line2 {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--mc-muted);
}

/* Same as Success-Center my-courses: bell + user sit on light blue circles (do not clear background). */
.home-header-authenticated .mc-nav a.btn-notification.nav-circle,
.home-header-authenticated .mc-nav button.btn-notification.nav-circle {
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    box-sizing: border-box;
}

.home-header-authenticated .mc-nav a.btn-notification.nav-circle:hover,
.home-header-authenticated .mc-nav button.btn-notification.nav-circle:hover {
    color: var(--mc-blue-btn);
    opacity: 0.92;
}

/* global-styles.css sets .notification-area { width: 30px } for the legacy header; that squeezes the 44px circle into an oval. */
.home-header-authenticated .mc-nav .home-page-notification-area.notification-area {
    width: auto;
    min-width: 48px;
    height: auto;
    flex-shrink: 0;
}

.home-header-authenticated .mc-nav .home-page-notification-area .btn-notification.nav-circle {
    flex-shrink: 0;
}

/* ——— Home header notification dropdown (reference: RTL panel, blue accents) ——— */
.home-page-notification-area .home-notifications-panel {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: min(400px, calc(100vw - 20px));
    max-height: min(480px, 78vh);
    z-index: 1080;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 41, 80, 0.14), 0 6px 16px rgba(0, 41, 80, 0.06);
    overflow: hidden;
}

/* User profile dropdown — same visual language as notifications panel (not default Bootstrap card) */
.home-header-authenticated .mc-nav-actions .dropdown .dropdown-menu.dropdown-menu-end {
    margin-top: 10px !important;
    padding: 8px;
    min-width: 208px;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 41, 80, 0.14), 0 6px 16px rgba(0, 41, 80, 0.06) !important;
    overflow: hidden;
}

.home-header-authenticated .mc-nav-actions .dropdown .dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.home-header-authenticated .mc-nav-actions .dropdown .dropdown-menu .dropdown-item:hover,
.home-header-authenticated .mc-nav-actions .dropdown .dropdown-menu .dropdown-item:focus {
    background-color: #e8f1fb;
    color: var(--secondary-blue);
}

.home-header-authenticated .mc-nav-actions .dropdown .dropdown-menu .dropdown-item:active {
    background-color: #dce9f7;
    color: var(--primary-blue);
}

.home-header-authenticated .mc-nav-actions .dropdown .dropdown-menu .dropdown-divider {
    margin: 6px 8px;
    border-top-color: #e8ecf1;
    opacity: 1;
}

.home-notifications-card {
    --notif-blue: #0b5fa5;
    --notif-blue-soft: #e8f1fb;
    --notif-row-bg: #fdf5f7;
    --notif-text: #2d3748;
    --notif-muted: #9ca3af;
}

.home-notifications-card__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
}

.home-notifications-card__head-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-width: 0;
}

.home-notifications-card__head-bell {
    font-size: 18px;
    color: #4b5563;
}

.home-notifications-card__title {
    font-weight: 800;
    font-size: 16px;
    color: var(--notif-text);
}

.home-notifications-card__new-badge {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--notif-blue);
    border-radius: 999px;
    padding: 4px 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.home-notifications-card__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.home-notifications-card__close:hover {
    background: #e5e7eb;
    color: #374151;
}

.home-notifications-card__toolbar {
    padding: 0 18px 8px;
    display: flex;
    justify-content: flex-end;
}

.home-notifications-card__mark-all {
    border: none;
    background: transparent;
    color: var(--notif-blue);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-notifications-card__mark-all:hover {
    color: #094a82;
}

.home-notifications-card__divider {
    height: 1px;
    margin: 0 18px;
    background: #e8ecf1;
}

.home-notifications-card__scroll {
    max-height: min(300px, 48vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 8px;
}

.home-notifications-card__date-label {
    padding: 10px 18px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--notif-muted);
    text-align: inherit;
}

.home-notifications-card__item {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0 12px 10px;
    padding: 0;
    border-radius: 12px;
    background: var(--notif-row-bg);
    cursor: pointer;
    text-align: start;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.home-notifications-card__item:hover {
    box-shadow: 0 4px 14px rgba(0, 50, 100, 0.06);
}

.home-notifications-card__item--read {
    background: #f1f5f9 !important;
    cursor: default;
    opacity: 0.95;
}

.home-notifications-card__item--read:hover {
    box-shadow: none;
}

.home-notifications-card__item--read .home-notifications-card__item-title {
    font-weight: 700;
    color: #64748b;
}

.home-notifications-card__item--read .home-notifications-card__item-desc {
    color: #94a3b8;
}

.home-notifications-card__item--read .home-notifications-card__item-time {
    color: #cbd5e1;
}

.home-notifications-card__unread-dot {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--notif-blue);
    box-shadow: 0 0 0 2px #fff;
}

.home-notifications-card__item-body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px 12px 28px;
}

[dir="rtl"] .home-notifications-card__item-body {
    padding: 12px 28px 12px 14px;
}

.home-notifications-card__item-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.home-notifications-card__item-copy {
    flex: 1;
    min-width: 0;
}

.home-notifications-card__item-side-icon {
    flex-shrink: 0;
    font-size: 18px;
    color: #9ca3af;
    margin-top: 2px;
}

.home-notifications-card__item-title {
    font-weight: 800;
    font-size: 13px;
    color: var(--notif-text);
    margin-bottom: 6px;
    line-height: 1.35;
}

.home-notifications-card__item-desc {
    font-size: 12.5px;
    color: #4b5563;
    line-height: 1.55;
    margin-bottom: 6px;
}

.home-notifications-card__item-time {
    font-size: 11px;
    font-weight: 600;
    color: var(--notif-muted);
}

.home-notifications-card__empty {
    padding: 28px 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.home-notifications-card__empty-icon {
    font-size: 28px;
    margin-bottom: 10px;
    opacity: 0.45;
    display: block;
}

.home-notifications-card__foot {
    padding: 14px 16px 16px;
    background: #fafbfc;
    border-top: 1px solid #eef2f6;
}

.home-notifications-card__view-previous {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(180deg, #0d6ebd 0%, var(--notif-blue) 100%);
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(11, 95, 165, 0.25);
    transition: filter 0.15s ease, transform 0.1s ease;
}

button.home-notifications-card__view-previous {
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.home-notifications-card__view-previous:disabled {
    opacity: 0.65;
    cursor: wait;
}

.home-notifications-card__view-previous.is-loading {
    opacity: 0.75;
}

.home-notifications-card__view-previous:hover {
    filter: brightness(1.05);
    color: #fff !important;
}