  :root {
    --primary:       #9D7FEA;
    --primary-2:     #B794F6;
    --primary-dark:  #7C5FD3;
    --primary-light: #E5D4FF;
    --primary-glow:  rgba(157, 127, 234, 0.3);
    --accent:        #C9B1FF;

    --bg-primary: #FFFFFF;
    --bg:            #FFFFFF;
    --bg-2:          #F8F6FF;
    --bg-3:          #F0EBFF;
    --bg-4:          #E5DEFF;

    --text-1:        #1A1A2E;
    --text-2:        #4A4A68;
    --text-3:        #6B6B8A;

    --border:        rgba(157, 127, 234, 0.2);
    --border-2:      rgba(157, 127, 234, 0.12);

    --grad:          linear-gradient(135deg, #9D7FEA 0%, #B794F6 100%);
    --grad-light:    linear-gradient(135deg, #F8F6FF 0%, #E5DEFF 100%);
    --grad-hero:     linear-gradient(135deg, #EDE4FF 0%, #F0EBFF 50%, #E8F4FF 100%);

    --glow:          0 0 40px rgba(157,127,234,0.25);
    --shadow:        0 10px 40px rgba(157,127,234,0.15);
    --shadow-xl:     0 20px 60px rgba(157,127,234,0.2);
    --shadow-card:   0 4px 24px rgba(157,127,234,0.12);

    --radius-sm:     10px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --radius-xl:     32px;

    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out:      cubic-bezier(0, 0, 0.2, 1);
    --spring:        cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: 'Sora', 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text-1);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: 72px;
    background: #F8F6FF;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ===== LOADER ===== */
.page-loader {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.page-loader.hidden { opacity: 0; pointer-events: none; transform: scale(1.05); }
.loader-inner { text-align: center; }
.loader-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem; font-weight: 900; letter-spacing: -2px;
    background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.loader-brand .accent { color: #B794F6; }
.loader-sub { display: block; font-size: 0.8rem; letter-spacing: 4px; color: var(--text-3); margin-top: -8px; text-transform: uppercase; }
.loader-bar-wrap { width: 200px; height: 3px; background: var(--bg-4); border-radius: 10px; margin: 1.5rem auto 0.5rem; overflow: hidden; }
.loader-bar { height: 100%; background: var(--grad); border-radius: 10px; width: 0; transition: width 0.1s linear; }
.loader-pct { font-size: 0.75rem; color: var(--text-3); letter-spacing: 2px; }
  
  .exam-cat-head {    padding-left: 15px;
    display: flex;
    align-items: center;
    position: relative;}
  .exam-cat-head::before {content: '';
    display: block;
    width: 4px;
    height: 28px;
    background: var(--grad);
    border-radius: 2px;
    position: absolute;
    left: 0;}
    .exam-list {padding: 5rem 0 !important; background: #fff;}
  .exam-box {background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--spring);
    cursor: default; box-shadow: none;}
  .exam-box-head h4 {font-size: 20px;}
  .exam-detail-txt {position: relative;}
  /* .exam-detail-txt:not(:last-child)::after {position: absolute; content:""; top: 10.5px; width: 4px; height: 4px;
     border-radius: 50%; background: #212529; right: 20px;} */
.blue-btn {min-width: 155px; text-align: center; padding: 10px 24px; border: 0 !important; outline: none; color: #fff; background: #2563eb; display: inline-block; border-radius: 8px; line-height: 1.3;}
  .blue-btn:hover {color: #fff; background: #0046e0;}
  .blue-btn i {margin-left: 5px;}
  .exam-box-head {padding-bottom: 15px; border-bottom: 1px solid #e5e7eb;}
  .exam-categories + .exam-categories {margin-top: 20px;}
.common-card {background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px; box-shadow: none; position: relative;}
  .cus-progress {height: 8px;
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    border-radius: 0px 0px 14px 14px;}

  .running-timer span {color: var(--primary); font-weight: bold; font-size: 30px;}
  .exam-top-details {position: relative; height: 100%; padding-right: 40px;}
  .exam-top-details::after {position: absolute; content: ""; top: 0; width: 1px; height: 100%; border-radius: 50%; background: #212529; right: 20px; opacity: 0.1;}
.exam-que-box {display: flex; flex-direction: column;}
.yellow-btn {min-width: 155px;    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease); background: #ffc107; border: 0; box-shadow: 0 4px 16px rgba(255,193,7,0.3);}
.yellow-btn:hover {background: #e0a800; color: #fff;}
.green-btn {min-width: 155px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    background: #1e7e34;
    border: 0;
    box-shadow: 0 4px 16px rgba(30,126,52,0.3)}
.green-btn:hover {background: #218838; color: #fff;}
.question_options input {margin-right: 5px;}

.red-btn {min-width: 155px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    background: #dc3545;
    border: 0;
    box-shadow: 0 4px 16px rgba(220,53,69,0.3);}
.red-btn:hover {background: #c82333; color: #fff;}
.gray-btn {min-width: 155px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    background: #6c757d;
    border: 0;
    box-shadow: 0 4px 16px rgb(108,117,125,0.3);}
.gray-btn:hover {background: #5a6268; color: #fff;}

.course-ses {gap: 10px;}
.course-ses h5 {font-weight: bold; font-size: 18px;}
.exam-btn-wrap {margin-top: 10px;}
.rules-lists {padding: 0; color: #000; padding-left: 25px;}
.content-wrapper {background: #fff;}
.rules-lists .rule-item {padding: 0;}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.number-que {list-style: none; padding: 0; margin: 20px 0;}
.number-que li {display: inline-flex; gap: 15px; width: 100%; align-items: center;}
.number-que span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex;
    align-items: center;
    justify-content: center;     border: 1px solid #ccc;
    background: #f8f9fa; flex-shrink: 0;}
.number-que span.gray {
    background: #e9ecef;
    border-color: #e9ecef;
}
.number-que span.red {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

.number-que span.blue {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}
.rules-list {font-size: 15px; 
    color: #374151; gap: 10px; display: flex; flex-direction: column;}
    .rules-list li {padding: 0; display: flex; gap: 10px;}
.number-que span.green {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}
#goToLanguageBtn {border: 0; margin-left: auto;}

.number-que span.yellow {
    background: #ffc107;
    border-color: #ffc107;
    color: #fff;
}
.dir-arrow {width: 30px; height: 30px; border-radius: 50%; display: inline-flex;
    align-items: center;
    justify-content: center; background: #00a1ff; margin: 0 5px; color: #fff;}
.rule-item {
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: #374151;
}
#rulesSection {padding: 4rem 0;}
#languageSection {padding: 4rem 0;}
.lang-wrap {gap: 15px;}
.lang-wrap .common-btn {border: 0;}
.form-control {width: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--bg-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    color: var(--text-1);
    transition: all 0.3s var(--ease);
    outline: none;
    resize: none; height: auto; line-height: 1.25;}
    #languageToggle {padding: 0.7rem 1.25rem;}
.rule-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.rule-icon.timer {
  background: #e0f2fe;
}

.rule-icon.danger {
  background: #fee2e2;
}

.rule-icon.warning {
  background: #fef3c7;
}

.rule-icon.success {
  background: #dcfce7;
}

.rule-icon.info {
  background: #ede9fe;
}

.result-header {
  text-align: center;
}

.result-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.result-icon.danger {
  background: #fee2e2;
}

.result-header h2 {
  font-size: 22px;
  margin-bottom: 6px;
  color: #111827;
}

.result-message {
  font-size: 14px;
  color: #ef4444;
}

.score-card {
  margin: 24px 0;
  padding: 20px;
  text-align: center;
  background: var(--bg-2);
  border-radius: 14px;
}

.score-label {
  font-size: 13px;
  color: var(--primary);
}

.score-value {
  font-size: 36px;
  margin: 6px 0 0;
  color: var(--primary);
}

.score-value small {
  font-size: 16px;
  color: #6b7280;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  background: var(--bg-2);
  padding: 14px;
  border-radius: 12px;
  text-align: center;
}

.stat span {
  font-size: 13px;
  color: #6b7280;
}

.stat strong {
  display: block;
  font-size: 18px;
  margin-top: 4px;
  color: #111827;
}

.stat.success strong {
  color: #16a34a;
}

.stat.danger strong {
  color: #dc2626;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.result-actions a, .result-actions button {min-width: 230px; text-align: center;}
.header-dropdown .dropdown-toggle {background: transparent !important; border:0 !important; border-radius: 50% !important; width: 40px; height: 40px; padding: 10px 8px !important; color: rgba(0,0,0,.5);}
.header-dropdown .dropdown-toggle i {font-size: 20px;}
.header-dropdown .dropdown-toggle::after {display: none;}

.course-thumb {
            width: 70px;
            height: 70px;
            border-radius: 12px;
            overflow: hidden;
            background: var(--bg-secondary); flex-shrink: 0; padding: 8px;
        }
.course-thumb img {width: 100%; height: 100%; object-fit: contain; object-position: center;}
        .course-top-head{
            display: flex;
            align-items: center;
            gap: 15px;
            text-transform: capitalize;
        }
        .course-top-head h4 {font-size: 18px;}
        .course-description li{
            /* display: flex; */
            align-items: center;
            gap: 1rem;
            padding: 2px;
            margin-left: 20px;
            border-bottom: 1px solid var(--border-secondary);
            list-style-type: disclosure-closed;
        }

.course-detail .course-top-head {align-items: flex-start; gap: 25px;}
.course-detail .course-thumb {width: 150px; height: 150px;}
.course-detail .course-header {margin: 0;}
.course-detail {margin-bottom: 40px;}
.course-list .mindset-card {text-align: left;}
.course-list .btn-course {margin-bottom: 0; display: block; text-align: center; text-decoration: none;}
.course-list .course-price {margin-bottom: 20px;}
.course-list .course-header h4 {font-weight: 700; font-size: 26px;}
.quiz-card.featured{
    border:2px solid var(--border-secondary);
    
}
.quiz-list {display: grid;
    grid-template-columns: 1fr;
    gap: 2rem}
.quiz-card {position: relative;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;}
.quiz-header {display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px;}
.quiz-top-head {display: flex; align-items: center; gap: 15px;}
.quiz-logo {width: 80px; height: 80px; border-radius: 12px; padding: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;}
.quiz-logo img {width: 100%; height: 100%; object-fit: contain; object-position: center;}
.quiz-heading h4 {font-size: 18px; margin: 0; font-weight: bold;}
.quiz-heading p {font-size: 14px; color: #858585;}
.quiz-info {list-style: none; padding: 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; flex-grow: 1; align-items: center; list-style: none;
    padding: 0;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;}
.quiz-info li {    max-width: 170px;
    display: inline-flex;
    width: 100%;
    gap: 4px;
}
.quiz-body {display: inline-flex; flex-wrap: wrap; gap: 15px;}
.quiz-action  {display: flex; justify-content: flex-end; align-items: center;}
.quiz-action .btn-course {display: inline-block;
    width: auto;
    padding: 0.8em 1.25rem;
    text-decoration: none;
    margin: 0;}
.lock-icon {background: #f6f3ff;
    display: inline-flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 6px;}
.lock-icon img {width: 100%;}
hr {margin: 0;}


/* ===== MINDSET SECTION ===== */
.mindset-section { background: var(--bg-2); }
.mindset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.mindset-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 2rem 1.5rem;
    position: relative; overflow: hidden;
    transition: all 0.4s var(--spring);
    cursor: default;
}
.mindset-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}
.card-glow-bg {
    position: absolute; inset: 0;
    background: var(--grad-light); opacity: 0;
    transition: opacity 0.4s;
}
.mindset-card:hover .card-glow-bg { opacity: 1; }
.mindset-icon-wrap { position: relative; width: 56px; height: 56px; margin-bottom: 1.25rem; }
.m-icon { font-size: 2rem; position: relative; z-index: 1; }
.icon-ring {
    position: absolute; inset: -6px; border-radius: 50%;
    border: 1.5px solid rgba(157,127,234,0.25);
    animation: iconRing 3s ease-in-out infinite;
}
@keyframes iconRing { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 1; } }
.mindset-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-1); position: relative; }
.mindset-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; position: relative; }
.card-shine {
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
    transition: left 0.6s;
}
.mindset-card:hover .card-shine { left: 150%; }

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.course-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(157,127,234,0.15);
}
.cta-section {padding: 4rem 0;}
.quiz-sec {padding: 4rem 0 !important;}
.acc-profile {padding: 4rem 0 !important;}
.btn-wrapper {gap: 12px;}
label:not(.form-check-label):not(.custom-file-label) {font-weight: 600;}
.btn-wrapper .btn:hover {transform: translateY(-2px);}
.profile-img-wrapper {background: var(--grad-hero); width: 60px; height: 60px;  border-radius: 100%; position: relative;}
.profile-img {width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 100%;}
.profile-img-wrapper i {position: absolute;
    bottom: 0;
    right: 0; color: #a68aff;}
.profile-img-wrapper  .camera-icon {margin: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 100%; cursor: pointer;}
.section-title {    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-1);
    margin-bottom: 1rem; text-align: center;}
.section-header {margin-bottom: 3rem;}
.common-dadh-block {padding: 4rem 0 !important;}
.dashboard-course {background: var(--bg-2);}
.view-more-btn {margin-top: 35px; }
.view-more-btn .common-btn {display: inline-block; min-width: 200px;}


.success-box .progress-circle .label {color: rgb(40, 167, 69);}
.success-box strong {color: rgb(40, 167, 69); font-size: 20px; margin-top: 15px;}
.success-box span{color: rgb(40, 167, 69)}

.danger-box .progress-circle .label {color:#ff0000}
.danger-box strong {color: #ff0000; font-size: 20px; margin-top: 15px;}
.danger-box span {color: #ff0000}
.mycourse .accordion-item + .accordion-item {margin-top: 35px;}
.navbar-toggler {opacity: 0.5;}

@media (max-width: 991.98px) {
.navbar-collapse {position: absolute; left: 0; right: 0; top: 100%; background: #fff;}
.navbar-collapse .navbar-nav .nav-link {padding-left: 16px; padding-right: 16px;}
    }



/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 1rem 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border-2);
    transition: all 0.3s var(--ease);
    box-shadow: 0 2px 20px rgba(157,127,234,0.06);
}
.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 32px rgba(157,127,234,0.12);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-icon svg { filter: drop-shadow(0 2px 8px rgba(157,127,234,0.4)); }
.brand-text { display: flex; flex-direction: column; gap: 0; }
.brand-name { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 900; letter-spacing: -0.5px; color: var(--text-1); line-height: 1; }
.brand-accent { color: var(--primary); }
.brand-tag { font-size: 0.6rem; color: var(--text-3); letter-spacing: 1px; text-transform: uppercase; font-weight: 400; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-link {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
    color: var(--text-2); text-decoration: none; padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius-sm); transition: all 0.2s var(--ease); position: relative; line-height: 1.3 !important; height: auto !important;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
    height: 2px; background: var(--grad); border-radius: 2px; transition: all 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active, .nav-link:focus { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { left: 0.75rem; right: 0.75rem; }
.nav-cta {
    background: var(--grad); color: white; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.5px; padding: 0.6rem 1.25rem; border-radius: var(--radius-lg);
    text-decoration: none; transition: all 0.2s var(--ease);
    box-shadow: 0 4px 16px rgba(157,127,234,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(157,127,234,0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-1); border-radius: 2px; transition: all 0.3s var(--ease); display: block; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.expand-arrow-menu.nav-link::after {display: none;}
.expand-arrow-menu {display: inline-flex; align-items: center; justify-content: center;}

.cta-link {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #9D7FEA 0%, #B794F6 100%);
    border-radius: 8px;
    color: #FFFFFF;
}

.cta-link::after {
    display: none;
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(157, 127, 234, 0.25);
    color: #FFFFFF;
}

#app {background: #F8F6FF;}
body, html {background: #f8fafc; min-height: 100vh; min-height: 100dvh;}
.form-control:focus {    outline: none;
    border-color: #9D7FEA;
    box-shadow: 0 0 0 3px rgba(157, 127, 234, 0.1);}

.common-btn {display: block;
    text-align: center;
    background: var(--grad);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 16px rgba(157, 127, 234, 0.3); border: 0;}
.common-btn:hover {box-shadow: 0 8px 28px rgba(157, 127, 234, 0.5);
    transform: translateY(-2px); color: #fff;;}


.all-courses-section {
padding: 5rem 0;
background: #FFFFFF;
}
.all-course-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border: 1px solid rgba(157, 127, 234, 0.15);
    border-radius: 20px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.filter-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    cursor: pointer;
    border: none;
    background: var(--bg-2);
    transition: all 0.2s var(--ease);
}
.filter-tab:hover, .filter-tab.active {
    background: var(--grad);
    color: white;
    font-weight: 700;
}
.courses-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.course-card {
    position: relative;
    padding: 1.5rem;
    background: #FFFFFF;
    border: 2px solid rgba(157, 127, 234, 0.15);
    border-radius: 20px;
    transition: all 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
}
.course-card.featured {
    border-color: #9D7FEA;
    box-shadow: 0 0 40px rgba(157, 127, 234, 0.25);
}
.course-card:hover {
    border-color: #9D7FEA;
    box-shadow: 0 10px 40px rgba(157, 127, 234, 0.15);
}
.course-header {
    margin-bottom: 1.5rem;
}
.course-top-head {
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: capitalize;
}
.course-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: #F8F6FF;
    flex-shrink: 0;
    padding: 8px;
}
.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.course-top-head h4 {
    font-size: 18px; font-weight: bold;
}
.course-price {
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-original {
    font-size: 1rem;
    color: #6B6B8A;
    text-decoration: line-through;
}
.price-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: #9D7FEA;
}
.nav-container {padding: 0 1.5rem !important;}
.all-courses-section .container {max-width: 1400px;}
.courses-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; padding: 5rem 0; }
 /* Sidebar */
.filter-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.75rem; margin-bottom: 1.5rem; }
.sidebar-title { font-family: 'Poppins', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-1); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 8px; }
.sidebar-title::before { content: ''; display: block; width: 3px; height: 14px; background: var(--grad); border-radius: 2px; }

.filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-btn { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 500; color: var(--text-2); cursor: pointer; border: none; background: var(--bg-2); transition: all 0.2s var(--ease); }
.filter-btn:hover { background: var(--bg-4); color: var(--primary); }
.filter-btn.active { background: var(--grad); color: white; font-weight: 700; }
.filter-count { font-size: 0.72rem; opacity: 0.7; }

.price-range-group { display: flex; flex-direction: column; gap: 0.5rem; }
.price-range-group label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--text-2); cursor: pointer; padding: 0.4rem 0; }
.price-range-group input[type="checkbox"] { appearance: none; width: 16px; height: 16px; border: 2px solid var(--border); border-radius: 4px; cursor: pointer; background: var(--bg-2); transition: all 0.2s; flex-shrink: 0; }
.price-range-group input:checked { background: var(--primary); border-color: var(--primary); background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e"); }

/* Courses Main */
.courses-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.courses-count { font-size: 0.88rem; color: var(--text-3); }
.courses-sort { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--text-2); }
.sort-select { padding: 0.5rem 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.85rem; color: var(--text-1); font-family: 'Sora', sans-serif; outline: none; }

.courses-main-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.course-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    transition: all 0.4s var(--spring);
    display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: rgba(157,127,234,0.3); }

.course-card-header {
    background: var(--grad-light);
    padding: 2rem; display: flex; justify-content: space-between;
    align-items: flex-start; position: relative; overflow: hidden;
}
.course-card-header::before {
    content: ''; position: absolute; bottom: -40px; right: -40px;
    width: 120px; height: 120px; border-radius: 50%;
    background: rgba(157,127,234,0.12);
}
.course-emoji { font-size: 3rem; line-height: 1; }
.course-badge-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.c-badge { font-size: 0.65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 20px; }
.c-badge.popular { background: rgba(157,127,234,0.15); color: var(--primary-dark); }
.c-badge.new     { background: rgba(94,223,132,0.15); color: #2E8B57; }
.c-badge.hot     { background: rgba(255,100,100,0.12); color: #c0392b; }
.c-badge.value   { background: var(--grad); color: white; }

.course-card-body { padding: 1.5rem 2rem; flex: 1; display: flex; flex-direction: column; }
.course-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--text-1); margin-bottom: 0.5rem; }
.course-card-desc { font-size: 0.87rem; color: var(--text-2); line-height: 1.65; margin-bottom: 1rem; }

.course-features-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.course-features-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.84rem; color: var(--text-2); }
.c-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(157,127,234,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); font-size: 0.65rem; font-weight: 800; }

.course-card-footer { border-top: 1px solid var(--border-2); padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.course-price-block { display: flex; flex-direction: column; }
.c-price-old { font-size: 0.78rem; color: var(--text-3); text-decoration: line-through; }
.c-price-new { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }

.course-stats-row { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--text-3); }

.featured-course-banner {
    background: var(--grad); border-radius: var(--radius-xl);
    padding: 3rem; margin-bottom: 2rem; display: flex; gap: 3rem;
    align-items: center; position: relative; overflow: hidden;
}
.featured-course-banner::before {
    content: ''; position: absolute; right: -60px; top: -60px;
    width: 250px; height: 250px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.fcb-content { flex: 1; }
.fcb-tag { display: inline-block; background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 20px; margin-bottom: 1rem; }
.fcb-content h2 { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 900; color: white; margin-bottom: 0.75rem; letter-spacing: -1px; }
.fcb-content p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.65; }
.fcb-btn { display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--primary-dark); font-size: 0.9rem; font-weight: 800; padding: 0.85rem 1.75rem; border-radius: var(--radius-lg); text-decoration: none; transition: all 0.3s var(--spring); }
.fcb-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.fcb-emoji { font-size: 5rem; flex-shrink: 0; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2)); }

.course-prev-card {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 1.5rem;
    transition: all 0.4s var(--spring); position: relative; overflow: hidden;
}
.course-prev-card.featured {
    background: var(--bg); border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(157,127,234,0.15);
}
.course-prev-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-xl); }
.course-badge {
    display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; background: var(--bg-4); color: var(--primary-dark);
    padding: 0.3rem 0.8rem; border-radius: var(--radius-lg); margin-bottom: 1rem;
}
.course-badge.best { background: var(--grad); color: white; }
.course-icon-3d { font-size: 3rem; margin-bottom: 1rem; display: block; transition: transform 0.4s var(--spring); }
.course-prev-card:hover .course-icon-3d { transform: scale(1.15) rotate(5deg); }
.course-prev-card h3 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 0.6rem; color: var(--text-1); }
.course-prev-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1.25rem; }
.course-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-3); margin-bottom: 1rem; font-weight: 500; }
.course-rating { font-weight: 600; }
.course-price-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.price-old { font-size: 0.9rem; color: var(--text-3); text-decoration: line-through; }
.price-new { font-size: 1.4rem; font-weight: 800; font-family: 'Poppins', sans-serif; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.main-button-red {margin-top: 15px;}
.content-header {background: var(--grad-hero);
    padding: 4rem 0 4rem;
    text-align: center;
    position: relative;}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-3);
    margin-bottom: 1rem;
}
.content-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--text-1);
}
.content-header h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mycourse {padding: 4rem 0 !important;}
.mycourse  .accordion-item {background: var(--bg-2);
    border: 1px solid var(--border); border-radius: 20px;}
.mycourse .accordion-button {background: transparent; box-shadow: none; color: var(--primary);}
.mycourse .accordion-button::after {filter: invert(63%) sepia(35%) saturate(527%) hue-rotate(214deg) brightness(95%) contrast(95%);}
.mycourse .accordion-button h5 {color: var(--primary);}
.start-exam-title {font-weight: 600;}
.course-block {background: #fff; border-radius: 12px !important;}
#languageSection .course-card {transform: none !important;} 
.exam-que-box .course-card:hover {transform: none !important; box-shadow: none !important;}
.common-top-card {box-shadow: none !important; transform: none !important;}
.exam-top-details h4 {color: var(--primary);}
.container-fluid {padding: 0px 1.5rem !important;}
.exam-bottom-btn {gap: 16px;}
.exam-bottom-btn>div {gap: 16px;}
.modal{ overflow-y: auto;}
.navbar-nav .dropdown-menu {position: absolute; float: left;}



@media (max-width: 1100px) {
            .courses-layout { grid-template-columns: 1fr; }
            .filter-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
            .courses-main-grid {grid-template-columns: repeat(2, 1fr);}
            .mindset-grid {grid-template-columns: repeat(2, 1fr);}
            .course-detail .course-thumb {width: 100px; height: 100px;}
            
        }

@media (max-width: 992px) {
    .exam-top-details::after {        height: 1px;
        width: 100%;
        right: 0;
        left: 0;
        top: initial;
        bottom: 20px;}
    .exam-top-details {padding-bottom: 40px;}
}

        @media (max-width: 700px) {
            .courses-main-grid { grid-template-columns: 1fr; }
            .filter-sidebar { grid-template-columns: 1fr; }
            .featured-course-banner { flex-direction: column; }
            .fcb-emoji { display: none; }
        }

@media (max-width: 767px) {
      .all-course-main {
        grid-template-columns: 1fr;
    }
        .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .courses-grid-large, .blogs-grid {
        grid-template-columns: 1fr;
    }
    .mindset-grid {grid-template-columns: 1fr;}
    .course-detail .course-thumb {width: 70px; height: 70px;}
    .course-detail .course-top-head {flex-wrap: wrap; margin-bottom: 15px;}
    .result-stats {grid-template-columns: 1fr; gap: 24px;}
    .common-btn, .yellow-btn, .red-btn, .green-btn {padding: 0.7rem 1rem;}
    .exam-bottom-btn {align-items: flex-start;}
    .exam-bottom-btn>div {width: 100%;}
    .exam-bottom-btn>div button , .exam-bottom-btn>div a {width: 100%;}
    .score-card:last-child {margin-top: 0;}
    .result-actions {flex-wrap: wrap;}
    .result-header {margin-bottom: 20px;}
    
}