/* ============================================
   السبت البنفسجي - Hero Pixel-Perfect CSS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
    --primary-purple: #752C8B;
    --text-white: #ffffff;
    --text-light-gray: rgba(255, 255, 255, 0.8);
    --border-divider: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: var(--primary-purple); */
    color: var(--text-white);
    overflow-x: hidden;
}

.bg-purple-base {
    background-color: var(--primary-purple);
}

/* ================== Desktop Absolute Background ================== */
.desktop-split-bg {
    z-index: 0;
}

.bg-purple {
    width: 100% !important;
    background-color: var(--primary-purple);
}

.bg-image {
    width: 100% !important;
    --hero-parallax-y: 0px;
    background-image:
        linear-gradient(to right, rgba(117, 44, 139, 0) 60%, rgba(117, 44, 139, 1) 100%),
        url('../images/hero-image.png');
    background-size: cover;
    background-position: left calc(50% + var(--hero-parallax-y));
}

html[dir="ltr"] .bg-image {
    background-image:
        linear-gradient(to right, rgba(117, 44, 139, 1) 0%, rgba(117, 44, 139, 0) 40%),
        url('../images/hero-image.png');
    background-position: right calc(50% + var(--hero-parallax-y));
    margin-left: -2px;
}

.text-dark1 {
    color: #0E0112;
}

.text-dark2 {
    color: #101828;
}

/* ================== Topbar ================== */
.topbar-section {
    font-size: 13px;
}

.topbar-time {
    font-weight: 500;
}

.topbar-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.topbar-links a:hover {
    opacity: 0.8;
}

.topbar-links i {
    font-size: 14px;
}

.topbar-divider {
    border-top-width: 2px !important;
    opacity: 0.25;
}

/* ================== Navbar ================== */
/* .nav-logos {
    height: 60px;
} */
.nav-logos img {
    height: 100%;
    object-fit: contain;
}

.nav-logo-divider {
    width: 1px;
    height: 35px;
    background-color: var(--border-divider);
    margin: 0 16px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero-breadcrumb,
.hero-breadcrumb-link {
    color: #F3E8FF;
}

.hero-breadcrumb-link:hover {
    color: #FFFFFF;
}

/* ================== Mobile Layouts ================== */
.bg-purple-dark {
    background-color: #5d226f;
}

.mobile-image {
    --hero-parallax-y: 0px;
    min-height: 350px;
    background-image: url('../images/hero-image.png');
    background-size: cover;
    background-position: center calc(0% + var(--hero-parallax-y));
}

/* ================== Hero Content ================== */
.right-content-col {
    padding-inline-end: 2%;
    /* small spacing */
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--text-white) !important;
}

/* Countdown */
.countdown-box {
    padding: 10px 18px;
    min-width: 65px;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 5px;
}

.countdown-box .val {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-purple);
    /* As seen in snapshot */
    margin-inline-end: 4px;
    /* We are in dir="ltr" */
}

.countdown-box .label {
    font-size: 16px;
    font-weight: 800;
    color: #000;
}

/* Main Hero Typography & Graphic */
.main-hero-logo {
    max-width: 90%;
    /* Scale to fit */
    height: auto;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
}

.hero-desc {
    font-size: 16px;
    /* max-width: 95%;  */
}

/* Buttons */
.buttons-container {
    margin-top: 10px;
}

.btn-white {
    background-color: #ffffff;
    color: var(--primary-purple);
    border: 1px solid #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 24px;
    padding: 12px 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;

}

.btn-outline-transparent {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    border-radius: 24px;
    padding: 12px 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline-transparent:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ================== Responsive Refinements ================== */
@media (max-width: 991.98px) {
    .right-content-col {
        padding-inline-end: 0;
        align-items: center !important;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .nav-logos {
        height: 45px;
        /* smaller logos */
    }

    .countdown-wrapper {
        justify-content: center;
    }

    .buttons-container {
        justify-content: center;
    }

    .hero-title {
        font-size: 26px;
    }
}

@media (max-width: 575.98px) {
    .buttons-container {
        flex-direction: column;
        width: 100%;
    }

    .buttons-container .btn {
        width: 100%;
    }

    .countdown-box {
        padding: 8px 12px;
        min-width: 55px;
    }

    .nav-logos {
        height: 35px;
    }
}

/* ================== Goals Section ================== */
.goals-section {
    position: relative;
    z-index: 2;
}

.btn-purple-solid {
    background-color: var(--primary-purple) !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    padding: 14px 40px !important;
    transition: all 0.3s ease;
    border: none !important;
}

.btn-purple-solid:hover,
.btn-purple-solid:focus,
.btn-purple-solid:active,
.btn-purple-solid:focus-visible,
.btn-purple-solid:active:focus {
    background-color: #5d226f !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.goal-card {
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.goal-icon {
    height: 24px;
    width: auto;
    object-fit: contain;
    transition: all 0.6s ease;
}

.goal-subtitle {
    color: var(--primary-purple);
    transition: all 0.6s ease;
}

.goal-title {
    transition: all 0.6s ease;
}

/* The Hover Effect specifically replicating the first card */
.goal-card:hover {
    background-color: var(--primary-purple) !important;
    transform: rotate(3deg) scale(1.02);
    box-shadow: 0 15px 30px rgba(117, 44, 139, 0.4) !important;
}

.goal-card:hover .goal-icon {
    filter: brightness(0) invert(1) !important;
}

.goal-card:hover .goal-title,
.goal-card:hover .goal-subtitle {
    color: #ffffff !important;
}

/* ================== Chat Widget ================== */
.chat-widget-container {
    font-family: 'Tajawal', sans-serif;
}

.chat-window {
    transition: all 0.3s ease-in-out;
}

.chat-header {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.chat-msg {
    line-height: 1.6;
}

/* ================== Extracted Clean CSS ================== */

/* Hero Section Pill */
.hero-pill-badge {
    background-color: #F4D2FF;
    color: var(--primary-purple);
}

.hero-pill-text {
    font-size: 15px;
}

.hero-pill-icon {
    height: 16px;
    object-fit: contain;
}

.goals-desc {
    font-size: 18px;
}

/* Chat Widget Base Container */


/* Chat Window Constraints */
.chat-window {
    width: 380px;
    max-width: 90vw;
    height: 500px;
    max-height: 70vh;
}

/* Chat Bubbles */
.chat-msg-agent {
    font-size: 13px;
    max-width: 75%;
    border-end-end-radius: 0 !important;
    color: #000;
}

.chat-msg-user {
    background-color: #F4D2FF;
    color: var(--primary-purple);
    font-size: 13px;
    max-width: 80%;
    border-end-start-radius: 0 !important;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

/* Chat Footer & Toggle */
.chat-input {
    font-size: 13px;
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    background-color: var(--primary-purple);
}

.chat-send-btn:hover {
    background-color: #5d226f;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background-color: #1c1c1c;
}

.chat-toggle-btn:hover {
    background-color: #000000;
}

.chat-toggle-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ================== Partners Section ================== */
.text-purple-dark {
    color: var(--primary-purple);
}

.partners-section {
    background-color: #F8E8FE;
}

.partner-card {
    height: 110px;
    padding: 15px;
    border-top: 1.2px solid #FCFCFC;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.partner-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ================== Offers Section ================== */
.offers-section {
    background-color: #ffffff;
}

.offers-scroll-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab;
    padding-bottom: 20px;
}

.offers-scroll-container::-webkit-scrollbar {
    display: none;
    /* WebKit */
}

.offers-scroll-container:active {
    cursor: grabbing;
}

.offers-swiper .swiper-slide {
    height: auto;
    /* Ensures all slides stretch to the tallest slide */
}

.offer-card {
    width: 100%;
    padding: 6px;
    padding-bottom: 19px;
    border-radius: 12px;
    border-color: #EAECF0 !important;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.offer-img-box {
    height: 190px;
    background: linear-gradient(180deg, #b970cf 0%, #F7EFFC 100%);
    padding: 16px;
}

.offer-inner-box {
    background-color: #FFFFFF;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px;
}

.offer-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    z-index: 1;
}

.offer-badge {
    left: 12px;
    top: 12px;
    background-color: #752C8B;
    font-size: 11px;
    z-index: 2;
}

@media (max-width: 575.98px) {
    .offer-card {
        width: 310px;
        min-width: 310px;
        padding: 16px;
    }

    .offer-img-box {
        height: 150px;
        padding: 8px;
        /* Reduced from 16px for larger image */
    }
}

/* ================== Video Section ================== */
.video-section {
    background-color: #ffffff;
}

.video-container {
    transition: transform 0.3s ease;
}

.video-thumbnail {
    object-fit: cover;
}

.video-overlay {
    /* background: linear-gradient(0deg, rgba(129, 65, 148, 0.65), rgba(117, 44, 139, 0.35)); */
    z-index: 1;
}

.play-button {
    width: 90px;
    height: 90px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.play-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-inline-start: 4px;
    /* Optical centering */
    filter: brightness(0) saturate(100%) invert(26%) sepia(35%) saturate(2469%) hue-rotate(265deg) brightness(87%) contrast(93%);
}

#videoIframeContainer {
    overflow: hidden;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        width: 24px;
        height: 24px;
    }
}

/* ================== Workshops Section ================== */
.workshops-section {
    background-color: #ffffff;
}

.workshop-pill-icon {
    height: 19px;
    /* Slightly larger than the typical 16px */
    width: auto;
    object-fit: contain;
    transform: translateY(-1px);
    /* Slight optical tweak for perfect vertical centering with Tajawal font */
}

.workshop-title {
    font-size: 32px;
}

.workshop-subtitle {
    font-size: 18px;
    color: #4A5565;
}

.view-all-link {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-purple);
    opacity: 0.8;
}

.pill-bg-light {
    background-color: #F4D2FF;
}

.icon-filter-purple {
    filter: brightness(0) saturate(100%) invert(26%) sepia(35%) saturate(2469%) hue-rotate(265deg) brightness(87%) contrast(93%);
}

.bg-purple-dark-card {
    background-color: #5d226f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-purple-light-card {
    background-color: #F8E8FE;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.workshop-img {
    border-radius: 16px;
    object-fit: cover;
    height: 220px;
    width: 100%;
}

.workshop-desc {
    font-size: 13.5px;
    line-height: 1.6;
}

.workshop-desc-light {
    color: #4A5565;
}

.workshop-meta {
    font-size: 13px;
    font-weight: 500;
}

.workshop-meta-light {
    color: #4A5565;
}

.meta-icon {
    font-size: 14px;
    opacity: 0.9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.workshop-btn-white {
    background-color: #ffffff;
    color: #5d226f;
    font-size: 13.5px;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    transition: background-color 0.3s ease;
}

.workshop-btn-white:hover {
    background-color: #f1f1f1;
    color: #5d226f;
}

.workshop-btn-purple {
    background-color: #5d226f;
    color: #ffffff;
    font-size: 13.5px;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    transition: background-color 0.3s ease;
}

.workshop-btn-purple:hover {
    background-color: #431750;
    color: #ffffff;
}

.max-w-container {
    max-width: 1380px;
}

/* ================== Beneficiaries Section (من يستفيد؟) ================== */
.beneficiaries-section {
    background-color: #ffffff;
}

.beneficiary-card {
    background-color: #F8E8FE;
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(117, 44, 139, 0.06);
}

.beneficiary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(117, 44, 139, 0.12);
}

.beneficiary-icon-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--primary-purple);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.beneficiary-img-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.beneficiary-card:hover .beneficiary-icon-wrap {
    transform: scale(1.08);
}

.beneficiary-title {
    font-size: 18px;
    color: #101828;
    line-height: 1.4;
}

.beneficiary-subtitle {
    font-size: 12.5px;
    color: #9810FA;
    font-weight: 500;
    opacity: 0.8;
}

.beneficiary-desc {
    font-size: 12px;
    /* line-height: 1.75; */
    color: #272a2e;
    margin-bottom: 20px;
    font-weight: 400;
}

.beneficiary-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.beneficiary-tags::-webkit-scrollbar {
    display: none;
}

.beneficiary-tag {
    background-color: #ffffff;
    color: #4A4A4A;
    font-size: 8px;
    font-weight: 400;
    padding: 5px 8px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.beneficiary-card:hover .beneficiary-tag {
    background-color: var(--primary-purple);
    color: #ffffff;
}

/* Responsive: Beneficiaries */
@media (max-width: 991.98px) {
    .beneficiary-card {
        padding: 24px 20px;
    }

    .beneficiary-title {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .beneficiary-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .beneficiary-icon-wrap {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 18px;
        border-radius: 12px;
    }

    .beneficiary-title {
        font-size: 15px;
    }

    .beneficiary-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* ================== Awards Section ================== */
.awards-section {
    background: linear-gradient(135deg, #5D0378 0%, #8C17B8 100%);
    padding-top: 60px;
    padding-bottom: 0 !important;
    /* the image is at bottom */
}

.awards-main-title {
    font-size: 28px;
}

.awards-main-subtitle {
    font-size: 15px;
    opacity: 0.9;
}

.awards-img-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.awards-man-img {
    max-height: 750px;
    width: 100%;
    object-fit: contain;
    object-position: bottom;
    margin-bottom: -5px;
}

.award-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    /* background-color: rgba(255, 255, 255, 0.12); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
    color: var(--primary-purple);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.award-subtitle {
    font-size: 13px;
    opacity: 0.8;
}

.award-pill {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 11px;
}

.border-light {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ================== FAQ Section ================== */
.faq-section {
    background-color: #ffffff;
}

.faq-pill-badge {
    background-color: #F8E8FE;
    color: var(--primary-purple);
}

.faq-pill-icon {
    font-size: 14px;
}

.faq-pill-text {
    font-size: 12px;
}

.faq-main-title {
    font-size: 28px;
}

.faq-main-subtitle {
    font-size: 15px;
}

.faq-card {
    background: linear-gradient(180deg, #FAF5FF 0%, #FFFFFF 100%);
    border: 1.29px solid #F3E8FF;
    transition: all 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.faq-circle-icon {
    width: 40px;
    height: 40px;
    background-color: #F8E8FE;
}

.faq-circle-icon.active {
    background-color: var(--primary-purple);
}

.faq-card-title {
    font-size: 18px;
}

.faq-card-subtitle {
    font-size: 13px;
    color: var(--primary-purple);
    direction: ltr !important;
    display: inline-block;
}

.faq-card-desc-wrapper {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.3s ease-out;
}

.faq-card-collapsed .faq-card-desc-wrapper {
    grid-template-rows: 0fr;
}

.faq-card-desc-inner {
    overflow: hidden;
}

.faq-card-desc {
    font-size: 13px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 991.98px) {
    .awards-man-img {
        max-height: 500px;
        margin-bottom: 0;
    }

    .award-title {
        font-size: 16px;
    }

    .faq-card-title {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .awards-man-img {
        max-height: 380px;
        margin-bottom: 0;
    }

    .award-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .faq-circle-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ================== Footer & Newsletter ================== */
.newsletter-form .form-control:focus {
    background-color: #fff !important;
}


.footer-section {
    background-color: #f6f6f6 !important;
}

.footer-section .text-secondary {
    color: #4A5565 !important;
}

.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-purple) !important;
}

.social-icon:hover {
    background-color: var(--primary-purple);
    color: white !important;
    border-color: var(--primary-purple) !important;
}

.footer-bottom-link {
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-purple) !important;
}

/* ================== Awards & Store Details Custom Styling ================== */

/* Breadcrumb Custom Theme (For light backgrounds) */
.breadcrumb-dark .breadcrumb-item a {
    color: #8C94A0 !important;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-dark .breadcrumb-item a:hover {
    color: var(--primary-purple) !important;
}

.breadcrumb-dark .breadcrumb-item.active {
    color: var(--primary-purple) !important;
    font-weight: 700;
}

.breadcrumb-dark .breadcrumb-item+.breadcrumb-item::before {
    color: #8C94A0;
}

/* Category Badge and Sub-titles */
.badge-category {
    background-color: var(--primary-purple);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
}

.badge-top-visit {
    background-color: #FAF5FF;
    color: var(--primary-purple);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Filter Pills */
.filter-pills-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-pill {
    background-color: #F8F9FA;
    color: #667085;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.filter-pill:hover {
    background-color: #FAF5FF;
    color: var(--primary-purple);
}

.filter-pill.active {
    background-color: var(--primary-purple);
    color: #ffffff;
}

/* Custom Responsive Table */
.custom-table-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #EAECF0;
    margin-bottom: 40px;
}

.custom-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}

.custom-table th {
    background-color: var(--primary-purple);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    padding: 18px 12px;
    border: none;
}

.custom-table td {
    padding: 18px 12px;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
    color: #1D2939;
    border-top: 1px solid #F2F4F7;
    border-bottom: none;
}

.custom-table tbody tr:nth-of-type(even) td {
    background-color: #F8E0FF !important;
}

.custom-table tbody tr:nth-of-type(odd) td {
    background-color: #FFFFFF !important;
}

.custom-table tbody tr {
    transition: background-color 0.2s ease;
}

.custom-table tbody tr:hover td {
    background-color: #F4E8F9 !important;
}

.custom-table .badge-discount {
    background-color: var(--primary-purple);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 8px;
    display: inline-block;
}

.custom-table .link-visit-store {
    color: var(--primary-purple);
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.2s;
}

.custom-table .link-visit-store:hover {
    opacity: 0.8;
}

.trophy-icon {
    color: #FFCE2E;
    font-size: 16px;
    margin-left: 4px;
}

/* Store Details Image Card */
.store-banner-card {
    background: linear-gradient(135deg, #F8E8FE 0%, #FFFFFF 100%);
    border: 1px solid #FAF2FD;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(117, 44, 139, 0.08);
    margin-bottom: 30px;
    position: relative;
}

.store-banner-inner {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #EAECF0;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.store-banner-inner .store-logo-large {
    max-height: 120px;
    max-width: 90%;
    object-fit: contain;
}

.store-banner-inner .discount-corner-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    /* positioned on left since we are in RTL */
    background-color: var(--primary-purple);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 8px;
}

/* Sidebar Info Card styles */
.sidebar-card {
    background-color: #ffffff;
    border: 1px solid #EAECF0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.code-box-container {
    border: 1.5px solid #E4D0EC;
    background-color: #ffffff;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: inset 0 2px 4px rgba(117, 44, 139, 0.02);
    overflow: hidden;
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.code-box-container::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -35%;
    width: 34%;
    background: linear-gradient(90deg, transparent, rgba(35, 180, 112, 0.18), transparent);
    transform: translateX(-140%) skewX(-18deg);
    pointer-events: none;
}

.code-box-container.is-copy-success {
    border-color: #23B470;
    background-color: #F5FFF9;
    box-shadow: 0 0 0 4px rgba(35, 180, 112, 0.12), inset 0 2px 4px rgba(35, 180, 112, 0.04);
}

.code-box-container.is-copy-success::after {
    animation: promo-copy-sweep 0.7s ease;
}

.code-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-purple);
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 1px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.code-text.is-copy-success {
    color: #178D55;
    animation: promo-code-pop 0.42s ease;
}

.btn-copy-code {
    background-color: var(--primary-purple);
    color: #ffffff;
    border: none;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    min-width: 94px;
    position: relative;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-copy-code:hover {
    background-color: #5d226f;
    color: #ffffff;
}

.promo-copy-trigger {
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.promo-copy-trigger.is-copy-success {
    color: #178D55 !important;
    animation: promo-copy-pop 0.35s ease;
}

.btn-copy-code.is-copy-success {
    background-color: #23B470;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(35, 180, 112, 0.28);
}

.btn-copy-code.is-copy-success::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-inline-end: 6px;
}

.btn-copy-code:disabled {
    opacity: 1;
}

@keyframes promo-copy-pop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes promo-code-pop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes promo-copy-sweep {
    from {
        transform: translateX(-140%) skewX(-18deg);
    }

    to {
        transform: translateX(430%) skewX(-18deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .promo-copy-trigger.is-copy-success,
    .code-text.is-copy-success,
    .code-box-container.is-copy-success::after {
        animation: none;
    }
}

.code-steps-desc {
    font-size: 12px;
    color: #475467;
    margin-bottom: 24px;
    font-weight: 500;
}

/* List with purple bullets */
.custom-list-terms {
    list-style: none;
    padding-right: 0;
    margin-bottom: 24px;
}

.custom-list-terms li {
    position: relative;
    padding-right: 18px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #475467;
    line-height: 1.6;
    text-align: right;
}

.custom-list-terms li::before {
    content: "•";
    color: var(--primary-purple);
    font-size: 18px;
    position: absolute;
    right: 0;
    top: -2px;
}

/* Details list icons */
.details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.details-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.details-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #FAF5FF;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-purple);
    font-size: 16px;
    flex-shrink: 0;
}

html[dir="ltr"] .newsletter-section .align-items-end {
    align-items: flex-start !important;
}

html[dir="ltr"] .newsletter-section [style*="text-align: right"] {
    text-align: left !important;
}

html[dir="ltr"] .chat-msg,
html[dir="ltr"] .chat-input {
    text-align: left !important;
}

html[dir="ltr"] .custom-list-terms {
    padding-left: 0;
    padding-right: initial;
}

html[dir="ltr"] .custom-list-terms li {
    padding-left: 18px;
    padding-right: 0;
    text-align: left;
}

html[dir="ltr"] .custom-list-terms li::before {
    left: 0;
    right: auto;
}

html[dir="ltr"] .store-banner-inner .discount-corner-badge {
    left: auto;
    right: 16px;
}

html[dir="ltr"] .footer-section,
html[dir="ltr"] .footer-section .text-start,
html[dir="ltr"] .details-content,
html[dir="ltr"] .award-content,
html[dir="ltr"] .goal-card {
    text-align: left !important;
}

.details-content {
    display: flex;
    flex-direction: column;
}

.details-label {
    font-size: 12px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 4px;
}

.details-value {
    font-size: 13px;
    color: #475467;
    line-height: 1.5;
}

.details-link {
    color: var(--primary-purple);
    text-decoration: underline;
    font-weight: 700;
}

/* Feedback section */
.feedback-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.feedback-title {
    font-size: 14px;
    font-weight: 700;
    color: #344054;
}

.btn-feedback {
    background: none;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475467;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-feedback:hover {
    background-color: #F9FAFB;
    border-color: #98A2B3;
}

.btn-feedback.liked {
    background-color: #ECFDF3;
    border-color: #D1FADF;
    color: #039855;
}

.btn-feedback.disliked {
    background-color: #FEF3F2;
    border-color: #FEE4E2;
    color: #D92D20;
}

/* ================== Workshops & Player Custom Styling ================== */

/* Section headers */
.workshops-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #F2F4F7;
    padding-bottom: 12px;
}

.workshops-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0;
}

.workshops-section-link {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 15px;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.workshops-section-link:hover {
    color: var(--primary-purple);
    opacity: 0.8;
}

.course-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.course-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid #E9D7FE;
    border-radius: 999px;
    color: var(--primary-purple);
    background: #FCFAFF;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.course-filter-pill:hover,
.course-filter-pill.active {
    color: #ffffff;
    border-color: var(--primary-purple);
    background: var(--primary-purple);
}

.course-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding-inline: 8px;
    border-radius: 999px;
    background: rgba(117, 44, 139, 0.1);
    color: inherit;
    font-size: 13px;
}

.course-filter-pill.active .course-filter-count,
.course-filter-pill:hover .course-filter-count {
    background: rgba(255, 255, 255, 0.18);
}

.course-empty-state {
    border: 1px dashed #D6BBFB;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    color: #667085;
    background: #FCFAFF;
    font-weight: 700;
}

/* Video Card (Standard Card) */
.video-card {
    position: relative;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(117, 44, 139, 0.12);
}

.video-card-gradient {
    background: linear-gradient(135deg, #B322DF 0%, #752C8B 100%);
    box-shadow: 0 14.47px 28.95px -6.95px rgba(0, 0, 0, 0.25);
}

.video-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Centered Play Button */
.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s;
    cursor: pointer;
}

.play-btn-circle i {
    color: var(--primary-purple);
    font-size: 18px;
}

.video-card:hover .play-btn-circle {
    transform: translate(-50%, -50%) scale(1.08);
    background-color: #FAF5FF;
}

/* Badges on Cards */
.badge-live {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffff;
    color: #d32f2f !important;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.badge-live::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #d32f2f;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

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

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

.badge-online {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffff;
    color: #1447E6;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.badge-online i {
    color: #1447E6;
}

.badge-inperson {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffff;
    color: #008236;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.badge-inperson i {
    color: #029E65;
}

/* Card Content details */
.video-card-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 16px;
    z-index: 2;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.video-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-align: right;
}

.video-card-subtitle {
    font-size: 11px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    text-align: right;
}

.video-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 8px;
}

.video-card-views {
    font-size: 11px;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sidebar Vertical list cards */
.sidebar-video-card {
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    border: 1px solid #EAECF0;
    border-radius: 12px;
    padding: 10px;
    background: #ffffff;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    color: inherit;
}

.sidebar-video-card:hover {
    border-color: #D6BBF6;
    box-shadow: 0 4px 12px rgba(117, 44, 139, 0.05);
}

.sidebar-video-thumb {
    width: 110px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(135deg, #9C33CA 0%, #752C8B 100%);
}

.sidebar-video-thumb .sidebar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-video-thumb .sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.sidebar-video-thumb .play-btn-circle {
    width: 32px;
    height: 32px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sidebar-video-thumb .play-btn-circle i {
    font-size: 11px;
    margin-right: 2px;
}

.sidebar-video-thumb .badge-online,
.sidebar-video-thumb .badge-inperson {
    top: 6px;
    right: 6px;
    padding: 4px 8px;
    font-size: 9px;
    gap: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-video-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    text-align: right;
    justify-content: center;
}

.sidebar-video-title {
    font-size: 13px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 1px;
    line-height: 1.4;
}

.sidebar-video-subtitle {
    font-size: 11px;
    color: #667085;
}

.sidebar-video-views {
    font-size: 10px;
    color: #667085;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* Large video player screen */
.main-video-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #9C33CA 0%, #752C8B 100%);
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(117, 44, 139, 0.08);
}

.course-player-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.play-btn-circle-lg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s;
    cursor: pointer;
}

.play-btn-circle-lg i {
    color: var(--primary-purple);

    font-size: 24px;
}

.main-video-player:hover .play-btn-circle-lg {
    transform: translate(-50%, -50%) scale(1.06);
    background-color: #FAF5FF;
}

/* Meta list style for details */
.meta-grid-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
