@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-100.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-200.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/outfit/Outfit-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('../fonts/inter/Inter-100.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/inter/Inter-200.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter/Inter-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/Inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/Inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/Inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/Inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/inter/Inter-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/inter/Inter-900.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── Core Brand Colors ── */
    --primary: #16a34a;
    --primary-rgb: 22, 163, 74;
    --primary-light: #ecfdf5;
    --primary-medium: #8ff7b5;
    --primary-dark: #15803d;
    --blue: #1d4ed8;
    --blue-rgb: 29, 78, 216;
    --red: #dc2626;
    --red-rgb: 220, 38, 38;
    --orange: #f59e0b;
    --orange-rgb: 245, 158, 11;
    --purple: #8b5cf6;
    --purple-rgb: 139, 92, 246;
    --teal: #0d9488;
    --teal-rgb: 13, 148, 136;
    --magenta: #d946ef;
    --magenta-rgb: 217, 70, 239;
    --brown: #b45309;
    --brown-rgb: 180, 83, 9;
    --yellow: #facc15;
    --yellow-rgb: 250, 204, 21;
    --gray: #6b7280;
    --gray-rgb: 107, 114, 128;
    --dark: #0f172a;
    --dark-rgb: 15, 23, 42;
    --white: #fff;
    --white-rgb: 255, 255, 255;

    /* ── Gray Scale ── */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    /* ── Special / Component Colors ── */
    --youtube-red: #ff0033;
    --breadcrumb-bg: #d1edd7;

    /* ── Border Radius ── */
    --border-rds: 6px;

    /* ── Typography Tokens ── */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
}

[data-theme="dark"] {
    --dark: #f8fafc;
    --white: #0f172a;
    --gray-50: #0b0f19;
    --gray-100: #131924;
    --gray-200: #1e293b;
    --gray-300: #334155;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #f1f5f9;
    --gray-800: #1e293b;
}

body,
header,
nav,
.panel-card,
.qa-card,
.trending-bar,
.job-card,
.qual-item,
.prof-item,
.tool-item,
.footer-bottom,
.header-search,
.header-mode-btn,
.header-login-btn,
.header-social-btn,
.navbar,
.drawer-menu,
.mobile-drawer,
.details-tabs .tab-nav li a,
.details-tabs .tab-content section,
.vacancy-table,
.criteria-row,
.fee-table,
.question-wrapper,
.syllabus-accordion .accordion-item,
.syllabus-pdf-card,
.details-sidebar .doc-row,
.test-panel,
.test-sidebar,
.palette-btn,
.question-card,
.option-label,
.results-scorecard,
.stat-item,
input,
button,
select,
textarea {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

html,
body {
    overflow-x: clip;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--gray-50);
    color: var(--dark);
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Colors Utilities */
.blue {
    color: var(--blue);
}

.red {
    color: var(--red);
}

.green {
    color: var(--primary);
}

.orange {
    color: var(--orange);
}

.yellow {
    color: var(--yellow);
}

.purple {
    color: var(--purple);
}

.teal {
    color: var(--teal);
}

.magenta {
    color: var(--magenta);
}

.brown {
    color: var(--brown);
}

.gray {
    color: var(--gray);
}

.bg-light-green {
    background-color: rgba(var(--primary-rgb), 0.1);
}

.bg-light-blue {
    background-color: rgba(var(--blue-rgb), 0.1);
}

.bg-light-red {
    background-color: rgba(var(--red-rgb), 0.1);
}

.bg-light-orange {
    background-color: rgba(var(--orange-rgb), 0.1);
}

.bg-light-purple {
    background-color: rgba(var(--purple-rgb), 0.1);
}

.bg-light-teal {
    background-color: rgba(var(--teal-rgb), 0.1);
}

.bg-light-magenta {
    background-color: rgba(var(--magenta-rgb), 0.1);
}

.bg-light-brown {
    background-color: rgba(var(--brown-rgb), 0.1);
}

.bg-light-yellow {
    background-color: rgba(var(--yellow-rgb), 0.1);
}

.bg-light-gray {
    background-color: rgba(var(--gray-rgb), 0.1);
}

.link-underline {
    text-decoration: none;
    color: inherit;
    background-image: linear-gradient(var(--primary), var(--primary));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 1px;
    transition: background-size 0.3s ease;
}

.link-underline:hover {
    background-size: 100% 1px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ==================== NEW HEADER ==================== */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.logo-title-sub {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gray-600);
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-rds);
    padding: 5px 5px 5px 15px;
    flex: 1;
    max-width: 500px;
    border: 1px solid var(--gray-300);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.header-search .search-icon {
    color: var(--gray-400);
    margin-right: 10px;
}

.header-search input {
    border: none;
    background: transparent;
    flex: 1;
    outline: none;
    font-size: 14px;
    color: var(--dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--border-rds);
    border: 1px solid var(--gray-200);
    transition: 0.2s;
}

.header-social-btn:hover {
    background-color: var(--gray-100);
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.header-social-btn i {
    font-size: 20px;
}

.header-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-200);
    color: var(--primary);
    border-radius: var(--border-rds);
    transition: all 0.2s ease-in-out;
}

.header-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(22, 163, 74, 0.2);
}

.header-mode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
}

.header-mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(22, 163, 74, 0.1);
}

.header-line {
    width: 1px;
    height: 30px;
    background-color: var(--gray-200);
}

/* Navigation */
.navbar {
    position: relative;
    z-index: 999;
    background-color: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    padding: 0;
    transition: all .3s ease;
}

.navbar.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown .5s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-nav {
    gap: 30px;
}

.navbar-nav .nav-link {
    position: relative;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary);
    padding: 15px 5px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--primary);
}

/* ==================== MOBILE DRAWER: HIDE ON DESKTOP ==================== */
.mobile-drawer-overlay,
.mobile-drawer {
    display: none;
}

/* ==================== HERO BANNER SPLIT ==================== */
/* Hero Left */
.hero-left {
    padding: 20px 40px;
    border-right: 3px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-color: var(--primary-light);
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px;
    z-index: 1;
}

.hero-left .left-c {
    width: 75%;
}

.hero-pre-title,
.hero-title,
.hero-desc,
.popular-searches {
    position: relative;
    z-index: 2;
}

.hero-pre-title {
    color: var(--dark);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--dark);
}

.hero-desc {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 500;
    max-width: 90%;
}

.popular-searches {
    padding: 16px;
    background: var(--primary-light);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 16px;
    max-width: 80%;
}

.popular-searches h6 {
    font-size: 15px;
    font-weight: 500;
}

.search-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-image-wrapper {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 270px;
    z-index: 3;
    mix-blend-mode: multiply;
}

.hero-illustration {
    width: 100%;
    height: auto;
}

/* Quick Access Right */
.hero-right {
    padding: 25px 15px;
}

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

.qa-header h2 {
    font-size: 16px;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 0;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.qa-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    transition: 0.2s;
    text-decoration: none;
}

.qa-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: var(--gray-200);
}

.qa-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.qa-text {
    display: flex;
    flex-direction: column;
}

.qa-text strong {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--dark);
    line-height: 1.2;
}

.qa-text span {
    font-size: 10px;
    color: var(--gray-400);
    margin-top: 2px;
}

/* ==================== TRENDING NOW ==================== */
.trending-updates {
    margin-bottom: 25px;
}

.trending-bar {
    background-color: var(--primary-light);
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.trending-label {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.trending-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, var(--dark) 6%, var(--dark) 100%);
    mask-image: linear-gradient(to right, transparent 0%, var(--dark) 6%, var(--dark) 100%);
}

.trending-content {
    display: flex;
    gap: 30px;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

.trending-content:hover {
    animation-play-state: paused;
}

.trending-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trending-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
}

.badge-new-red {
    background-color: var(--red);
    color: var(--white);
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.trending-link {
    font-weight: 600;
    font-size: 13px;
    margin-left: 20px;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
}

.trending-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.trending-link:hover::after {
    transform: scaleX(1);
}

@keyframes tickerScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ads {
    margin-bottom: 25px;
}

.ads-box {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
}

.ads-label {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.ads-close {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.ads-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.ads-close i {
    line-height: normal;
}

.ads img {
    width: 100%;
    height: auto;
    display: block;
}

/* Smooth hide animation */
.ads-hide {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.badge-new {
    background-color: var(--red);
    color: var(--white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: bold;
}

/* ==================== 3 COLUMN PANEL ==================== */
.central-dashboard {
    margin-bottom: 30px;
}

.grid-3-col-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.panel-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 700;
}

.panel-header-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--blue);
    font-weight: 700;
    position: relative;
}

.panel-header-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.panel-header-link:hover::after {
    transform: scaleX(1);
}

.panel-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.panel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-100);
}

.panel-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.panel-item-left {
    display: flex;
    flex-direction: column;
}

.panel-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
}

.panel-item-title:hover {
    color: var(--primary);
}

.panel-item-meta {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.panel-item-meta.red {
    color: var(--red);
}

.badge-new-blue {
    background-color: var(--blue);
    color: var(--white);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.panel-pagination {
    display: flex;
    justify-content: end;
    gap: 8px;
    padding-top: 15px;
}

.panel-card .page-btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    transition: all .25s ease;
}

.panel-card .page-btn:hover,
.panel-card .page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ==================== THANOS SNAP EFFECT ==================== */
.panel-list {
    position: relative;
    overflow: hidden;
}

.panel-item {
    will-change: opacity, transform;
}

.thanos-dust-layer {
    pointer-events: none;
    image-rendering: pixelated;
}

/* Chips Container */
.chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--border-rds);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid transparent;
}

.chip:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.chip.bg-light-blue {
    border-color: rgba(var(--blue-rgb), 0.3);
}

.chip.bg-light-purple {
    border-color: rgba(var(--purple-rgb), 0.3);
}

.chip.bg-light-green {
    border-color: rgba(var(--primary-rgb), 0.3);
}

.chip.bg-light-orange {
    border-color: rgba(var(--orange-rgb), 0.3);
}

.chip.bg-light-red {
    border-color: rgba(var(--red-rgb), 0.3);
}

.chip.bg-light-teal {
    border-color: rgba(var(--teal-rgb), 0.3);
}

.chip.bg-light-brown {
    border-color: rgba(var(--brown-rgb), 0.3);
}

.chip .badge-new-chip {
    background-color: var(--red);
    color: var(--white);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

/* 4 Column Grid */
.grid-main-col {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1.35fr 1fr;
    gap: 15px;
}

.grid-col {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.col-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
}

.col-header a {
    font-size: 13px;
    color: var(--blue);
    font-weight: 600;
}

.col-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Jobs List (Col 1) */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jobs-list .job-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-100);
}

.jobs-list .job-card:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.jobs-list .job-card .job-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
    object-fit: cover;
}

.jobs-list .job-card .job-details {
    flex: 1;
    min-width: 0;
    font-weight: 600;
}

.jobs-list .job-card .job-details h3 {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1px;
}

.jobs-list .job-card .job-details p {
    font-size: 11px;
    color: var(--gray-600);
    margin-bottom: 0;
}

.jobs-list .job-card .job-details .job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--gray-600);
}

.jobs-list .job-card .apply-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-rds);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jobs-list .job-card .apply-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.jobs-list .job-card .apply-btn:hover::before {
    left: 130%;
}

/* Qualification Grid (Col 2) */
.qual-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.qual-item {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 6px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    background-color: var(--white);
    text-align: center;
    box-shadow: 0 -2px 1px rgba(241, 245, 249, 1);
    transition: all 0.25s ease;
}

.qual-item:hover {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 5px;
    transform: translateY(-2px);
}

.qual-item:nth-child(7),
.qual-item:nth-child(8) {
    grid-column: span 3;
}

.qual-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.qual-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: transform 0.25s ease;
}

.qual-item:hover .qual-icon {
    transform: scale(1.1);
}

.qual-title strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 5px;
}

.text-icon {
    font-weight: 700;
    font-size: 16px;
}

.qual-item>span {
    font-size: 11px;
    color: var(--gray-400);
    white-space: nowrap;
    font-weight: 600;
}

/* Profession Grid (Col 3) */
.prof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.prof-item {
    background-color: var(--gray-50);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--gray-300);
    transition: all 0.25s ease;
}

.prof-item:hover {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 5px;
    transform: translateY(-2px);
}

.prof-item:last-child {
    grid-column: span 2;
}

.prof-icon {
    font-size: 22px;
    transition: transform 0.25s ease;
}

.prof-item:hover .prof-icon {
    transform: scale(1.1);
}

.prof-item strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.prof-item span {
    font-size: 11px;
    color: var(--gray-400);
    white-space: nowrap;
    font-weight: 600;
}

/* Jobs by State (Col 4) */
.state-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.india-map {
    margin-bottom: 20px;
}

.popular-states-box {
    width: 100%;
    text-align: left;
}

.popular-states-box p {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.state-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.state-tags a {
    font-size: 8px;
    color: var(--blue);
    font-weight: 600;
    padding: 4px 6px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

.why-choose-us {
    background-image: url(../img/bg-why.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(var(--purple-rgb), 0.3);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.why-choose-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1;
}

.wcu-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wcu-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wcu-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wcu-features li {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wcu-features li:last-child {
    margin-bottom: 0;
}

.wcu-features li i {
    color: var(--primary);
    font-size: 14px;
}

.wcu-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
}

.wcu-icon img {
    max-width: 100px;
}

/* Lower Sections */
.lower-sections {
    margin-bottom: 10px;
}

/* Useful Tools & Recent Blogs Wrappers */
.useful-tools,
.recent-blogs {
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

/* Useful Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    flex: 1;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 0 10px 15px 10px;
    background-color: var(--white);
}

.tool-icon {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 5px;
    padding: 10px;
}

.tool-item strong {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--dark);
    line-height: 1.2;
    white-space: nowrap;
}

.tool-item span {
    font-size: 11px;
    color: var(--gray-400);
    white-space: nowrap;
    font-weight: 600;
}

/* Stay Connected */
.stay-connected {
    background-image: url(../img/bg-stay.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(var(--primary-rgb), 0.3);
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.stay-connected::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1;
}

.sc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sc-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sc-content p {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
}

.sc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--border-rds);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.telegram-btn {
    background-color: var(--blue);
}

.whatsapp-btn {
    background-color: var(--primary);
    margin-bottom: 0;
}

.sc-icon {
    position: absolute;
    top: 50%;
    right: 25px;
}

.sc-icon img {
    max-width: 80px;
    animation: bellJingle 2s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes bellJingle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(12deg);
    }

    40% {
        transform: rotate(-12deg);
    }

    50% {
        transform: rotate(8deg);
    }

    60% {
        transform: rotate(-8deg);
    }

    70% {
        transform: rotate(4deg);
    }

    80% {
        transform: rotate(-4deg);
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--white);
    padding-top: 30px;
}

/* ── Newsletter Banner ── */
.newsletter-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.newsletter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-text h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.newsletter-text p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    max-width: 320px;
}

.newsletter-form-container {
    flex: 1;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    width: 100%;
}

.newsletter-form input {
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    flex: 1;
}

.newsletter-form input::placeholder {
    color: var(--gray-600);
}

.newsletter-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.newsletter-divider {
    width: 1px;
    height: 50px;
    background-color: var(--gray-300);
}

.newsletter-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.newsletter-right>i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    border: 1px solid var(--gray-300);
    font-size: 30px;
    border-radius: 50%;
}

.spam-text p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
}

/* ── Brand Column ── */
.footer-col-brand {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.footer .logo-text {
    margin-bottom: 15px;
}

.brand-desc {
    font-size: 13px;
    color: var(--gray-600);
    text-align: justify;
}

.footer-col-brand img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.7;
}

/* ── Footer Column Headings ── */
.footer-col h3 {
    position: relative;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col h3::before {
    position: absolute;
    content: '';
    bottom: -7px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
}

/* ── Footer Links List (icon + text + arrow rows) ── */
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links-list li:last-child {
    margin-bottom: 0;
}

.footer-links-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

.footer-links-list li a:hover .link-arrow {
    opacity: 1;
    color: var(--primary);
}

.footer-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

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

.footer-all-link:hover {
    color: var(--primary-dark);
}

.footer-all-link:hover i {
    transform: translateX(5px);
}

.link-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--border-rds);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-explore {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
}

.link-icon.icon-popular {
    background: rgba(var(--blue-rgb), 0.1);
    color: var(--blue);
}

.link-text {
    flex: 1;
}

.link-arrow {
    font-size: 12px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

/* ── Contact Info Card ── */
.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.contact-row:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-rds);
    border: 1px solid var(--gray-400);
    transition: 0.2s;
}

.footer-social-btn:hover {
    background-color: var(--gray-100);
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

.footer-social-btn i {
    font-size: 20px;
}

/* ── Send Message Button ── */
.btn-send-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-send-message:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.25);
}

.btn-send-message i {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.btn-send-message:hover i {
    transform: translateX(3px) translateY(-2px);
}

/* ── Footer Bottom ── */
.footer-bottom {
    position: relative;
    margin-top: 30px;
    padding-bottom: 20px;
}

.footer-bottom img {
    opacity: 0.5;
    object-fit: cover;
}

.footer-bottom-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.footer-bottom-left p,
.footer-bottom-middle p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
}

.footer-bottom-middle p .fa-heart {
    color: var(--youtube-red);
    margin: 0 2px;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

.footer-bottom-divider {
    color: var(--gray-600);
    font-size: 13px;
    user-select: none;
}

/* ==================== MEGA MENU ==================== */
.navbar-nav .nav-item.has-mega-menu {
    position: static;
}

/* Chevron icon transition */
.navbar-nav .has-mega-menu>.nav-link i {
    transition: transform 0.3s ease;
}

.navbar-nav .has-mega-menu:hover>.nav-link i {
    transform: rotate(180deg);
}

/* Mega Menu Panel */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100vh - 120px);
    background-color: var(--white);
    border-top: 3px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 12px 20px 30px 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* 5-column grid */
.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.mega-menu-col {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.mega-menu-col:first-child .mega-col-header h3 {
    color: var(--primary);
}

.mega-menu-col:nth-child(2) .mega-col-header h3 {
    color: var(--purple);
}

.mega-menu-col:nth-child(3) .mega-col-header h3 {
    color: var(--orange);
}

.mega-menu-col:nth-child(4) .mega-col-header h3 {
    color: var(--blue);
}

.mega-menu-col:nth-child(5) .mega-col-header h3 {
    color: var(--red);
}

.mega-menu-col h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom scrollbar for mega-menu columns */
.mega-menu-col ul::-webkit-scrollbar {
    width: 4px;
}

.mega-menu-col ul::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 4px;
}

.mega-menu-col ul::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

.mega-menu-col ul::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.mega-menu-col:first-child ul li {
    color: var(--primary);
}

.mega-menu-col:nth-child(2) ul li {
    color: var(--purple);
}

.mega-menu-col:nth-child(3) ul li {
    color: var(--orange);
}

.mega-menu-col:nth-child(4) ul li {
    color: var(--blue);
}

.mega-menu-col:nth-child(5) ul li {
    color: var(--red);
}

.mega-menu-col ul li {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding-bottom: 5px;
}

.mega-menu-col ul li a {
    display: block;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: none;
    transition: 0.2s;
}

.mega-menu-col ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Override navbar-nav link styles inside mega-menu */
.mega-menu-col ul li a::before {
    display: none !important;
}

/* Mega Menu Accordion */
.mega-menu-col ul li.has-nested-menu>a.nested-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.mega-menu-col ul li.has-nested-menu>a.nested-toggle i {
    font-size: 11px;
    transition: transform 0.2s ease;
    color: var(--gray-400);
}

.mega-menu-col ul li.has-nested-menu.open>a.nested-toggle i {
    transform: rotate(180deg);
    color: var(--primary);
}

.mega-menu-col ul li.has-nested-menu>a.nested-toggle:hover i {
    color: var(--primary);
}

.nested-menu {
    display: block;
    padding-left: 12px !important;
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    border-left: 2px solid var(--gray-200);
}

.nested-menu.active {
    display: block;
}

.nested-menu li {
    margin-bottom: 2px !important;
    padding: 6px 10px !important;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nested-menu li:nth-child(odd) {
    background-color: rgba(var(--blue-rgb), 0.1) !important;
}

.nested-menu li:nth-child(even) {
    background-color: var(--gray-50) !important;
}

.nested-menu li:hover {
    background-color: var(--gray-200) !important;
}

.nested-menu li a {
    font-size: 13px !important;
    font-weight: 500;
    display: block;
    width: 100%;
    text-transform: none;
}

.nested-menu li a:hover {
    color: var(--primary) !important;
}

/* Mega Menu Search Box (sticky column header) */
.mega-col-header {
    position: sticky;
    top: 0;
    background: var(--white);
    padding-top: 10px;
    padding-bottom: 15px;
    z-index: 10;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 15px;
}

.mega-search-wrapper {
    position: relative;
    width: 100%;
}

.mega-search-wrapper i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 13px;
}

.mega-search-input {
    width: 100%;
    padding: 8px 10px 8px 30px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-rds);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.mega-search-input:focus {
    border-color: var(--primary);
}

.popular-categories {
    padding-bottom: 3rem;
}

.category-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    z-index: 1;
}

.category-container::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 25px;
    background: var(--breadcrumb-bg);
    z-index: -1;
}

.category-container .curved-shape-1,
.category-container .curved-shape-2 {
    position: absolute;
    content: "";
    top: -20px;
    height: 30px;
}

.category-container .curved-shape-1 {
    right: -40px;
}

.category-container .curved-shape-2 {
    left: -40px;
}

.category-tabs-wrapper {
    background: var(--white);
    padding: 8px;
    border-radius: var(--border-rds);
    border: 1px solid var(--gray-300);
    display: inline-flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.category-btn {
    padding: 8px 16px;
    border-radius: var(--border-rds);
    border: none;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--gray-500);
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.category-btn:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

.category-btn.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-rds);
    padding: 10px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .05), 0 4px 6px -2px rgba(0, 0, 0, .025);
    border-color: rgba(37, 99, 235, .2);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-rds);
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: .3s;
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.category-name {
    font-family: var(--font-secondary);
    margin-bottom: 0;
    font-weight: 700;
}

.category-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.view-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    transition: .2s;
}

.view-category i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-400);
    border-radius: 50%;
    transition: transform .2s;
    font-size: 12px;
}

.category-card:hover .view-category {
    color: var(--primary-dark);
}

.category-card:hover .view-category i {
    background-color: var(--primary);
    color: var(--white);
    transform: translateX(4px);
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 2rem 0;
}

.breadcrumb-wrap {
    position: relative;
}

.breadcrumb-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    z-index: 0;
}

.breadcrumb-img::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right,
            var(--white) 0%,
            rgba(255, 255, 255, .95) 25%,
            rgba(255, 255, 255, .5) 60%,
            transparent 100%);
    z-index: 2;
}

.breadcrumb-img::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 29px;
    height: 40px;
    background: linear-gradient(to right, var(--gray-50) 0%, rgba(255, 255, 255, .95) 58%, transparent 60%, transparent 100%);
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.breadcrumb a,
.breadcrumb i {
    color: var(--gray-500);
}

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

.breadcrumb span {
    font-weight: 600;
}

/* Hero */
.breadcrumb-hero {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 120px 1fr 500px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .05);
}

/* Left Map Area */
.breadcrumb-map {
    position: relative;
    background: var(--gray-100);
}

.breadcrumb-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-state-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    color: var(--primary);
    font-size: 35px;
}

/* Content */
.breadcrumb-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breadcrumb-content h2 {
    font-weight: 600;
    margin-bottom: 10px;
}

.breadcrumb-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 15px;
}

.breadcrumb-content p {
    color: var(--gray-500);
    margin-bottom: 15px;
}

.breadcrumb-info {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.breadcrumb-info-item small {
    display: block;
    color: var(--gray-500);
    margin-bottom: 5px;
}

.breadcrumb-info-item strong,
.breadcrumb-info-item strong a {
    color: var(--gray-800);
    font-size: 15px;
}

.breadcrumb-info-item strong a:hover {
    color: var(--primary);
}

@media(max-width:1100px) {

    .breadcrumb-hero {
        grid-template-columns: 1fr;
    }

    .breadcrumb-map {
        display: none;
    }

    .hero-image {
        height: 300px;
        order: -1;
    }

    .breadcrumb-content {
        padding: 30px;
    }

    .breadcrumb-content h1 {
        font-size: 38px;
    }
}

/* Custom Breadcrumb */
.custom-hero {
    position: relative;
    padding-top: 15px;
    margin-bottom: 20px;
    background: var(--breadcrumb-bg);
    overflow: hidden;
}

.custom-hero .container {
    padding-left: 80px;
}

.custom-hero .custom-wrapper {
    display: flex;
    align-items: center;
    gap: 130px;
}

.custom-image {
    position: absolute;
    top: 0;
    right: 60px;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.custom-content {
    position: relative;
    z-index: 1;
}

.custom-content h1 {
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 10px;
}

.custom-breadcrumb {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
}

.custom-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    transition: .3s;
}

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

.crumb-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--border-rds);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 12px;
}

.custom-divider {
    color: var(--gray-600);
    font-size: 14px;
}

.custom-breadcrumb .active {
    color: var(--primary);
    font-weight: 600;
}

.catagory-page {
    margin-bottom: 25px;
}

.catagory-page .row {
    display: grid;
    grid-template-columns: 275px 1fr;
}

.catagory-page .sidebar-wrapper {
    position: sticky;
    top: 70px;
}

.catagory-page .sidebar-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--breadcrumb-bg);
}

.catagory-page .sidebar-wrapper .curved-shape-1,
.catagory-page .sidebar-wrapper .curved-shape-2 {
    position: absolute;
    content: "";
    top: -20px;
    height: 30px;
}

.catagory-page .sidebar-wrapper .curved-shape-1 {
    right: -40px;
}

.catagory-page .sidebar-wrapper .curved-shape-2 {
    left: -40px;
}

.catagory-page .sidebar-filter {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-rds);
}

.sidebar-filter .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-filter .filter-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-filter .filter-header-icon {
    width: 36px;
    height: 36px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--border-rds);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.sidebar-filter .filter-main-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.sidebar-filter .filter-clear-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sidebar-filter .filter-clear-btn:hover {
    opacity: 0.8;
}

.sidebar-filter .filter-group {
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-filter .filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.sidebar-filter .filter-group-title {
    font-weight: 600;
    margin-bottom: 0;
}

.sidebar-filter .toggle-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.sidebar-filter .filter-group-header.collapsed .toggle-icon,
.sidebar-filter .filter-group-header[aria-expanded="false"] .toggle-icon {
    transform: rotate(180deg);
}

.sidebar-filter .filter-group-body {
    padding-top: 12px;
    padding-right: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.sidebar-filter .filter-group-body::-webkit-scrollbar {
    width: 5px;
}

.sidebar-filter .filter-group-body::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--border-rds);
}

.sidebar-filter .filter-group-body::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--border-rds);
}

.sidebar-filter .filter-group-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Custom Checkbox */
.sidebar-filter .custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.sidebar-filter .custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.sidebar-filter .checkbox-box {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-filter .checkbox-box i {
    font-size: 10px;
    color: var(--white);
    opacity: 0;
    transform: scale(0.4);
    transition: all 0.2s ease;
}

.sidebar-filter .custom-checkbox input[type="checkbox"]:checked~.checkbox-box {
    background-color: var(--primary);
    border-color: var(--primary);
}

.sidebar-filter .custom-checkbox input[type="checkbox"]:checked~.checkbox-box i {
    opacity: 1;
    transform: scale(1);
}

.sidebar-filter .checkbox-text {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.sidebar-filter .custom-checkbox input[type="checkbox"]:checked~.checkbox-text {
    color: var(--dark);
    font-weight: 600;
}

.sidebar-filter .custom-checkbox:hover .checkbox-box {
    border-color: var(--primary);
}

/* Filter Footer / Apply Button */
.sidebar-filter .filter-footer {
    padding: 0px 15px 15px;
}

.sidebar-filter .btn-apply-filter {
    width: 100%;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-rds);
    font-family: var(--font-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-filter .btn-apply-filter:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.catagory-page .sidebar {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-rds);
    padding-top: 20px;
}

.catagory-page .sidebar h5 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 0;
    padding: 15px 20px;
    background-color: rgba(var(--primary-rgb), 0.1);
}

.catagory-page .sidebar ul {
    list-style: none;
    margin: 0;
    padding: 20px 10px;
}

.catagory-page .sidebar ul li {
    margin-bottom: 12px;
}

.catagory-page .sidebar ul li:last-child {
    margin-bottom: 0;
}

.catagory-page .sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-secondary);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--border-rds);
    transition: 0.3s;
    text-decoration: none;
    color: var(--gray-600);
}

.catagory-page .sidebar ul li a:hover,
.catagory-page .sidebar ul li a.active {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
    color: var(--primary) !important;
}

.catagory-page .sidebar ul li a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--border-rds);
    font-size: 16px;
    flex-shrink: 0;
}

.category-wrapper {
    padding: 0 10px;
}

.category-wrapper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.category-page-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0;
}

.category-page-subtitle {
    font-family: var(--font-secondary);
    margin: 0;
    color: var(--gray-500);
}

.sort-select {
    padding: 8px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-rds);
    background: var(--white);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: 0.2s;
}

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

.category-grid .card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-rds);
    padding: 12px;
    position: relative;
    transition: 0.3s;
    overflow: hidden;
}

.category-grid .card:hover {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 5px;
    transform: translateY(-2px);
}

.category-grid .card .watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    font-family: var(--font-secondary);
    font-weight: 800;
    letter-spacing: 3px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.category-grid .card>*:not(.watermark) {
    position: relative;
    z-index: 1;
}

.category-grid .card .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 0;
}

.category-grid .card .header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.category-grid .card .header .logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.category-grid .card .header .meta {
    display: flex;
    align-items: center;
    gap: 5px 20px;
    flex-wrap: wrap;
}

.category-grid .card .header .meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.category-grid .card .title {
    position: relative;
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 0;
}

.category-grid .card .title::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.category-grid .card:hover .title::before {
    transform: scaleX(1);
}

.category-grid .card .subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 0;
}

.details-section {
    margin-bottom: 25px;
}

.details-section .details-job-card {
    background: var(--white);
    border-radius: var(--border-rds);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    position: relative;
}

.details-section .details-job-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.details-section .details-job-logo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.details-section .details-job-matter {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.details-section .details-job-matter .details-job-content .title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.details-section .details-job-matter .details-job-content .subtitle {
    margin: 6px 0 0;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
}

.details-section .details-job-matter .details-job-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.details-section .details-job-matter .details-job-actions .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.details-section .details-job-matter .details-job-actions .meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.details-section .details-job-matter .details-job-actions .action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.details-section .details-job-matter .details-job-actions .action .btn {
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--border-rds);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.details-section .details-job-matter .details-job-actions .action .btn.apply {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: var(--white);
}

.details-section .details-job-matter .details-job-actions .action .btn.apply:hover {
    background: var(--primary);
    color: var(--white);
}

.details-section .details-job-matter .details-job-actions .action .btn.share {
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    background: var(--white);
}

.details-section .details-job-matter .details-job-actions .action .btn.share:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.details-tabs {
    margin-top: 20px;
}

.details-tabs .tab-nav {
    background: var(--white);
    border-radius: var(--border-rds);
    padding: 10px 20px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px;
    list-style: none;
    margin-bottom: 20px;
    position: sticky;
    top: 56px;
    z-index: 99;
}

.details-tabs .tab-nav li {
    flex-shrink: 0;
}

.details-tabs .tab-nav li a {
    text-decoration: none;
    color: var(--gray-600);
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid transparent;
    transition: 0.2s;
}

.details-tabs .tab-nav li a:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.details-tabs .tab-nav li a.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.details-tabs .tab-nav li a i {
    font-size: 18px;
}

.details-tabs .tab-nav.is-sticky {
    padding: 0 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    justify-content: flex-start;
    gap: 4px;
    border: 1px solid var(--primary-medium);
}

.details-tabs .tab-nav.is-sticky li a {
    font-weight: 500;
    flex-direction: row;
    padding: 14px 16px;
    border-radius: 8px;
    white-space: nowrap;
}

.details-tabs .tab-nav.is-sticky li a.active {
    font-weight: 600;
    border-radius: 0;
}

.details-tabs .tab-nav.is-sticky li a i {
    font-size: 15px;
}

.details-tabs .tab-content section {
    background: var(--white);
    border-radius: var(--border-rds);
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.details-tabs .tab-content section:last-child {
    margin-bottom: 0;
}

.details-tabs .tab-content section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.details-tabs .tab-content section p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 0;
    text-align: justify;
}

.details-tabs .tab-content section .highlights {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.details-tabs .tab-content section .highlights h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.details-tabs .tab-content section .highlight-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-tabs .tab-content section .highlight-grid .row-item {
    display: grid;
    grid-template-columns: 230px 20px 1fr;
    align-items: start;
    gap: 10px;
    font-size: 16px;
}

.details-tabs .tab-content section .highlight-grid .row-item .label {
    color: var(--gray-600);
    font-family: var(--font-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-tabs .tab-content section .highlight-grid .row-item .label i {
    color: var(--primary);
}

.details-tabs .tab-content section .highlight-grid .row-item .colon {
    font-weight: 500;
    color: var(--gray-600);
}

.details-tabs .tab-content section .highlight-grid .row-item .value {
    font-weight: 600;
}

.details-tabs .tab-content section .highlight-grid .row-item .value.link {
    color: var(--primary);
}

.details-tabs .tab-content section .stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.details-tabs .tab-content section .stats-row .stats-card {
    border-radius: 16px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.details-tabs .tab-content section .stats-row .stats-card .stats-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.details-tabs .tab-content section .stats-row .stats-card .stats-icon i {
    font-size: 26px;
}

.details-tabs .tab-content section .stats-row .stats-card .stats-content h6 {
    margin-bottom: 8px;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
}

.details-tabs .tab-content section .stats-row .stats-card .stats-content h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

.details-tabs .tab-content section .stats-row .stats-card:first-child {
    background: rgba(35, 197, 94, .3);
}

.details-tabs .tab-content section .stats-row .stats-card:nth-child(2) {
    background: rgba(59, 130, 246, .3);
}

.details-tabs .tab-content section .stats-row .stats-card:nth-child(3) {
    background: rgba(249, 115, 22, .3);
}

.details-tabs .tab-content section .stats-row .stats-card:last-child {
    background: rgba(168, 85, 247, .3);
}

.details-tabs .tab-content section .stats-row .stats-card:first-child .stats-icon i {
    color: var(--primary);
}

.details-tabs .tab-content section .stats-row .stats-card:nth-child(2) .stats-icon i {
    color: var(--blue);
}

.details-tabs .tab-content section .stats-row .stats-card:nth-child(3) .stats-icon i {
    color: var(--orange);
}

.details-tabs .tab-content section .stats-row .stats-card:last-child .stats-icon i {
    color: var(--purple);
}

@media (max-width: 991px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
}

.details-tabs .tab-content section .timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.details-tabs .tab-content section .timeline::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--gray-300);
    z-index: 1;
}

.details-tabs .tab-content section .timeline .dot {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 22px;
}

.details-tabs .tab-content section .timeline .timeline-item {
    position: relative;
    width: 180px;
    text-align: center;
    z-index: 2;
}

.details-tabs .tab-content section .timeline .timeline-item .icon-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-tabs .tab-content section .timeline .timeline-item .icon-wrapper::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
}

.details-tabs .tab-content section .timeline .timeline-item .icon-wrapper::after {
    content: "";
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.details-tabs .tab-content section .timeline .timeline-item .icon-wrapper .icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 15px;
}

.details-tabs .tab-content section .timeline .timeline-item:first-child .icon-wrapper,
.details-tabs .tab-content section .timeline .timeline-item:first-child .icon-wrapper::before {
    background: rgba(35, 197, 94, .3);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(3) .icon-wrapper,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(3) .icon-wrapper::before {
    background: rgba(59, 130, 246, .3);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(5) .icon-wrapper,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(5) .icon-wrapper::before {
    background: rgba(249, 115, 22, .3);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(7) .icon-wrapper,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(7) .icon-wrapper::before {
    background: rgba(168, 85, 247, .3);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(9) .icon-wrapper,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(9) .icon-wrapper::before {
    background: rgba(220, 53, 69, .3);
}

.details-tabs .tab-content section .timeline .timeline-item:last-child .icon-wrapper,
.details-tabs .tab-content section .timeline .timeline-item:last-child .icon-wrapper::before {
    background: rgba(6, 182, 212, .3);
}

.details-tabs .tab-content section .timeline .timeline-item:first-child .icon-wrapper .icon,
.details-tabs .tab-content section .timeline .timeline-item:first-child .icon-wrapper::after {
    background: var(--primary);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(3) .icon-wrapper .icon,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(3) .icon-wrapper::after {
    background: var(--blue);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(5) .icon-wrapper .icon,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(5) .icon-wrapper::after {
    background: var(--orange);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(7) .icon-wrapper .icon,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(7) .icon-wrapper::after {
    background: var(--purple);
}

.details-tabs .tab-content section .timeline .timeline-item:nth-child(9) .icon-wrapper .icon,
.details-tabs .tab-content section .timeline .timeline-item:nth-child(9) .icon-wrapper::after {
    background: var(--red);
}

.details-tabs .tab-content section .timeline .timeline-item:last-child .icon-wrapper .icon,
.details-tabs .tab-content section .timeline .timeline-item:last-child .icon-wrapper::after {
    background: var(--teal);
}

.details-tabs .tab-content section .timeline .timeline-item .title {
    margin-top: 20px;
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.4;
}

.details-tabs .tab-content section .timeline .timeline-item .date {
    margin-top: 5px;
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
}

.details-tabs .tab-content section .table-wrapper {
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    margin-top: 20px;
    width: 100%;
}

.table-responsive {
    scrollbar-width: none;
}

.details-tabs .tab-content section .table-wrapper .vacancy-table {
    width: 100%;
}

.details-tabs .tab-content section .table-wrapper .vacancy-table thead {
    background: var(--gray-50);
}

.details-tabs .tab-content section .table-wrapper .vacancy-table thead th {
    padding: 10px 20px;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.details-tabs .tab-content section .table-wrapper .vacancy-table tbody td {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

.details-tabs .tab-content section .table-wrapper .vacancy-table tbody td a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s ease;
}

.details-tabs .tab-content section .table-wrapper .vacancy-table tbody td a:hover {
    color: var(--primary-dark);
}

.details-tabs .tab-content section .table-wrapper .vacancy-table td:not(:first-child),
.details-tabs .tab-content section .table-wrapper .vacancy-table th:not(:first-child) {
    text-align: center;
}

.details-tabs .tab-content section .table-wrapper .vacancy-table tfoot {
    border-top: 1px solid var(--gray-300);
}

.details-tabs .tab-content section .table-wrapper .vacancy-table tfoot td {
    padding: 10px 20px;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.details-tabs .tab-content section .main-note-box {
    margin-top: 20px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-family: var(--font-secondary);
}

.details-tabs .tab-content section .main-note-box strong {
    font-weight: 600;
}

.details-tabs .tab-content section .table-wrapper.results .vacancy-table thead th {
    font-size: 16px;
}

.details-tabs .tab-content section .table-wrapper.results .vacancy-table tbody td {
    font-size: 16px;
}

.details-tabs .tab-content section .criteria-row {
    display: flex;
    gap: 40px;
    margin-top: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.details-tabs .tab-content section .criteria-row .left-section {
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.details-tabs .tab-content section .criteria-row .left-section i {
    font-size: 18px;
    color: var(--primary);
}

.details-tabs .tab-content section .criteria-row .left-section .label {
    font-family: var(--font-secondary);
    font-weight: 600;
}

.details-tabs .tab-content section .criteria-row .right-section {
    flex: 1;
    color: var(--gray-600);
    font-size: 15px;
    font-weight: 500;
}

.details-tabs .tab-content section .criteria-row .right-section .age-list {
    padding-left: 18px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.details-tabs .tab-content section .criteria-row .right-section .note-box {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: var(--border-rds);
}

.details-tabs .tab-content section .fee-table {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    padding: 20px;
    margin-top: 20px;
}

.details-tabs .tab-content section .fee-table .fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 10px;
}

.details-tabs .tab-content section .fee-table .fee-row .fee-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
    font-size: 15px;
}

.details-tabs .tab-content section .fee-table .fee-row .fee-left .dot,
.details-tabs .tab-content section .fee-table .payment-section .payment-title .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-600);
    flex-shrink: 0;
}

.details-tabs .tab-content section .fee-table .fee-row .fee-left strong,
.details-tabs .tab-content section .fee-table .payment-section .payment-title strong {
    font-weight: 600;
}

.details-tabs .tab-content section .fee-table .fee-row .fee-right {
    font-size: 15px;
    font-weight: 600;
}

.details-tabs .tab-content section .fee-table .payment-section .payment-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.details-tabs .tab-content section .fee-table .payment-section .payment-methods {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.details-tabs .tab-content section .fee-table .payment-section .payment-methods .method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
    font-size: 15px;
}

.details-tabs .tab-content section .fee-table .payment-section .payment-methods .method i {
    font-size: 25px;
    color: var(--primary);
}

.details-tabs .tab-content section .fee-table .payment-section .payment-methods .method .imps {
    font-size: 25px;
    font-weight: 600;
    color: var(--gray-600);
    font-style: italic;
}

.details-tabs .tab-content section .syllabus-tabs {
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 14px;
}

.details-tabs .tab-content section .syllabus-tabs .nav-link {
    color: var(--gray-600);
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
}

.details-tabs .tab-content section .syllabus-tabs .nav-link.active {
    color: var(--primary);
}

.details-tabs .tab-content section .syllabus-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.details-tabs .tab-content section .syllabus-table-wrap {
    border: 1px solid var(--gray-300);
    border-radius: 10px;
}

.details-tabs .tab-content section .syllabus-table-wrap .syllabus-table {
    margin: 0;
}

.details-tabs .tab-content section .syllabus-table-wrap .syllabus-table thead th {
    background: var(--gray-50);
    border: none;
    font-family: var(--font-secondary);
    font-weight: 600;
    padding: 10px 20px;
}

.details-tabs .tab-content section .syllabus-table-wrap .syllabus-table tbody td {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--gray-600);
    border-color: var(--gray-300);
}

.details-tabs .tab-content section .syllabus-table-wrap .syllabus-table tbody td:first-child {
    font-weight: 600;
}

.details-tabs .tab-content section .syllabus-table-wrap .syllabus-table tbody tr:last-child td {
    border-bottom: none;
}

.details-tabs .tab-content section .process-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 0;
    margin-top: 20px;
}

.details-tabs .tab-content section .process-flow .step {
    text-align: center;
    width: 130px;
}

.details-tabs .tab-content section .process-flow .step .step-circle {
    width: 100px;
    height: 100px;
    border-radius: var(--border-rds);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--white);
    margin: 0 auto;
    flex-shrink: 0;
}

.details-tabs .tab-content section .process-flow .step:first-child .step-circle {
    border: 1px solid rgba(35, 197, 94, .3);
}

.details-tabs .tab-content section .process-flow .step:nth-child(3) .step-circle {
    border: 1px solid rgba(59, 130, 246, .3);
}

.details-tabs .tab-content section .process-flow .step:nth-child(5) .step-circle {
    border: 1px solid rgba(249, 115, 22, .3);
}

.details-tabs .tab-content section .process-flow .step:nth-child(7) .step-circle {
    border: 1px solid rgba(168, 85, 247, .3);
}

.details-tabs .tab-content section .process-flow .step:last-child .step-circle {
    border: 1px solid rgba(6, 182, 212, .3);
}

.details-tabs .tab-content section .process-flow .step .step-number {
    position: absolute;
    top: 0;
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 700;
}

.details-tabs .tab-content section .process-flow .step .step-icon {
    font-size: 32px;
}

.details-tabs .tab-content section .process-flow .step:first-child .step-circle .step-number,
.details-tabs .tab-content section .process-flow .step:first-child .step-circle .step-icon {
    color: var(--primary);
}

.details-tabs .tab-content section .process-flow .step:nth-child(3) .step-circle .step-number,
.details-tabs .tab-content section .process-flow .step:nth-child(3) .step-circle .step-icon {
    color: var(--blue);
}

.details-tabs .tab-content section .process-flow .step:nth-child(5) .step-circle .step-number,
.details-tabs .tab-content section .process-flow .step:nth-child(5) .step-circle .step-icon {
    color: var(--orange);
}

.details-tabs .tab-content section .process-flow .step:nth-child(7) .step-circle .step-number,
.details-tabs .tab-content section .process-flow .step:nth-child(7) .step-circle .step-icon {
    color: var(--purple);
}

.details-tabs .tab-content section .process-flow .step:last-child .step-circle .step-number,
.details-tabs .tab-content section .process-flow .step:last-child .step-circle .step-icon {
    color: var(--teal);
}

.details-tabs .tab-content section .process-flow .step h3 {
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 600;
}

.details-tabs .tab-content section .process-flow .arrow {
    margin-top: 35px;
    font-size: 28px;
    color: var(--gray-400);
    font-weight: 600;
}

.details-tabs .tab-content section .apply-wrapper {
    margin-top: 20px;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline {
    position: relative;
    border-right: 1px solid var(--gray-300);
    padding-right: 25px;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item {
    position: relative;
    display: flex;
    gap: 18px;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: 100%;
    background: rgba(var(--primary-rgb), 0.3);
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item .step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item .step-header {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-300);
    margin-bottom: 15px;
    display: flex;
    gap: 18px;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item:last-child .step-header {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item .step-header .step-number {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item .step-header .step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.details-tabs .tab-content section .apply-wrapper .apply-timeline .step-item .step-header .step-content p {
    font-size: 14px;
    color: var(--gray-600);
}

.details-tabs .tab-content section .apply-wrapper .video-card {
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: var(--border-rds);
    padding: 25px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.details-tabs .tab-content section .apply-wrapper .video-card .video-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.details-tabs .tab-content section .apply-wrapper .video-card .video-header .video-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.details-tabs .tab-content section .apply-wrapper .video-card .video-header .video-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.details-tabs .tab-content section .apply-wrapper .video-card .video-header .video-content p {
    font-size: 14px;
    color: var(--gray-600);
}

.details-tabs .tab-content section .apply-wrapper .video-card .video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.details-tabs .tab-content section .apply-wrapper .video-card .video-thumbnail img {
    width: 100%;
    object-fit: cover;
    display: block;
    height: 100%;
}

.details-tabs .tab-content section .apply-wrapper .video-card .video-thumbnail .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 60px;
    background: var(--youtube-red);
    border-radius: 15px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.details-tabs .tab-content section .apply-wrapper .video-card .watch {
    display: flex;
    gap: 10px;
}

.details-tabs .tab-content section .apply-wrapper .video-card .watch .play-icon {
    width: 40px;
    height: 30px;
    background: var(--youtube-red);
    border-radius: 8px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.details-tabs .tab-content section .apply-wrapper .video-card .watch-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: var(--blue);
    font-weight: 600;
}

.details-tabs .tab-content section .apply-wrapper .video-card .watch-text {
    color: var(--gray-600);
    font-size: 14px;
    margin-top: 6px;
}

.details-tabs .tab-content .instructions-card {
    margin-bottom: 20px;
}

.details-tabs .tab-content section .instruction-list,
.details-tabs .tab-content section .prohibited-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.details-tabs .tab-content section .instruction-list li,
.details-tabs .tab-content section .prohibited-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.details-tabs .tab-content section .instruction-list li:last-child,
.details-tabs .tab-content section .prohibited-list li:last-child {
    margin-bottom: 0;
}

.details-tabs .tab-content section .instruction-list i {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.details-tabs .tab-content section .prohibited-list i {
    color: var(--red);
    font-size: 18px;
    flex-shrink: 0;
}

/* Responsive */

@media(max-width:991px) {

    .instructions-grid {
        grid-template-columns: 1fr;
    }

}

.details-tabs .tab-content section .question-wrapper {
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.details-tabs .tab-content section .question-wrapper .question-table {
    width: 100%;
    border-collapse: collapse;
}

.details-tabs .tab-content section .question-wrapper .question-table thead th,
.details-tabs .tab-content section .question-wrapper .question-table tbody td {
    border-bottom: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
}

.details-tabs .tab-content section .question-wrapper .question-table tbody tr:not(:last-child) td:not([rowspan]) {
    border-bottom: 1px dashed var(--gray-300);
}

.details-tabs .tab-content section .question-wrapper .question-table thead th {
    border-top: none;
}

.details-tabs .tab-content section .question-wrapper .question-table thead th:first-child,
.details-tabs .tab-content section .question-wrapper .question-table tbody td:first-child {
    border-left: none;
}

.details-tabs .tab-content section .question-wrapper .question-table thead th:last-child,
.details-tabs .tab-content section .question-wrapper .question-table tbody td:last-child {
    border-right: none;
}

.details-tabs .tab-content section .question-wrapper .question-table tbody:last-of-type tr:last-child td,
.details-tabs .tab-content section .question-wrapper .question-table tbody:last-of-type td[rowspan] {
    border-bottom: none;
}

.details-tabs .tab-content section .question-wrapper .question-table thead th:first-child,
.details-tabs .tab-content section .question-wrapper .question-table tbody td[rowspan] {
    border-right: 3px solid var(--gray-300);
}

.details-tabs .tab-content section .question-wrapper .question-table thead {
    background: var(--gray-50);
}

.details-tabs .tab-content section .question-wrapper .question-table thead th {
    padding: 10px 20px;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.details-tabs .tab-content section .question-wrapper .question-table tbody td {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

.details-tabs .tab-content section .question-wrapper .question-table tbody:nth-of-type(even) tr {
    background: var(--gray-100);
}

.details-tabs .tab-content section .question-wrapper .question-table tbody td a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s ease;
}

.details-tabs .tab-content section .question-wrapper .question-table tbody td a:hover {
    color: var(--primary-dark);
}

.details-tabs .tab-content section .question-wrapper .question-table thead th:not(:first-child) {
    text-align: center;
}

.details-tabs .tab-content section .question-wrapper .question-table tbody tr td:not([rowspan]) {
    text-align: center;
}

.details-tabs .tab-content section .calculator-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 220px;
    gap: 14px;
    margin: 20px 0;
}

.details-tabs .tab-content section .calculator-row .input-box {
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.details-tabs .tab-content section .calculator-row .input-box label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.details-tabs .tab-content section .calculator-row .input-box input {
    width: 70px;
    height: 40px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

.details-tabs .tab-content section .calculator-row .input-box input:focus {
    outline: none;
}

.details-tabs .tab-content section .calculator-row .score-result {
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    text-align: center;
    padding: 12px;
}

.details-tabs .tab-content section .calculator-row .score-result p {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.details-tabs .tab-content section .calculator-row .score-result h4 {
    margin: 0;
    font-weight: 700;
    color: var(--primary);
}

.details-tabs .tab-content section .syllabus-accordion {
    margin-top: 20px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item {
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button {
    background: var(--white);
    box-shadow: none;
    padding: 12px 18px;
    display: flex;
    align-items: center;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button::after {
    display: none;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button .accordion-arrow {
    transition: .3s ease;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button:not(.collapsed) .accordion-arrow {
    transform: rotate(180deg);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button .syllabus-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button .syllabus-title span {
    font-size: 18px;
    font-weight: 600;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button .syllabus-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--border-rds);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item:first-child .accordion-button .syllabus-icon {
    background: var(--primary);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item:nth-child(2) .accordion-button .syllabus-icon {
    background: var(--blue);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item:last-child .accordion-button .syllabus-icon {
    background: var(--purple);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button .syllabus-meta {
    margin-left: auto;
    margin-right: 20px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-button .syllabus-meta .subject-count {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 10px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item:first-child .accordion-button .syllabus-meta .subject-count {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item:nth-child(2) .accordion-button .syllabus-meta .subject-count {
    background-color: rgba(var(--blue-rgb), 0.1);
    color: var(--blue);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item:last-child .accordion-button .syllabus-meta .subject-count {
    background: rgba(var(--purple-rgb), 0.1);
    color: var(--purple);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body {
    padding: 0 15px 15px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card {
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 12px;
    background: var(--white);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card h6 {
    font-weight: 600;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:first-child h6 {
    color: var(--primary);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:nth-child(2) h6 {
    color: var(--blue);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:nth-child(3) h6 {
    color: var(--purple);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:nth-child(4) h6 {
    color: var(--yellow);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:nth-child(5) h6 {
    color: var(--red);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:nth-child(6) h6 {
    color: var(--teal);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:nth-child(7) h6 {
    color: var(--brown);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card:last-child h6 {
    color: var(--orange);
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card ul {
    margin: 0;
    padding-left: 16px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card ul li {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 2px;
}

.details-tabs .tab-content section .syllabus-accordion .accordion-item .accordion-body .subject-grid .subject-card ul li:last-child {
    margin-bottom: 0;
}

.details-tabs .tab-content section .syllabus-pdf-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.details-tabs .tab-content section .syllabus-pdf-card .pdf-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.details-tabs .tab-content section .syllabus-pdf-card .pdf-left .pdf-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    font-size: 34px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.details-tabs .tab-content section .syllabus-pdf-card .pdf-content h5 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.details-tabs .tab-content section .syllabus-pdf-card .pdf-content p {
    font-size: 16px;
    font-weight: 500;
}

.details-tabs .tab-content section .syllabus-pdf-card .pdf-content span {
    font-size: 14px;
    color: var(--gray-600);
}

.details-tabs .tab-content section .syllabus-pdf-card .pdf-content em {
    margin: 0 10px;
    font-style: normal;
    color: var(--gray-600);
}

.details-tabs .tab-content section .syllabus-pdf-card .download-pdf-btn {
    padding: 10px 30px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    transition: .25s ease;
}

.details-tabs .tab-content section .syllabus-pdf-card .download-pdf-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.detail-sidebar-sticky {
    position: sticky;
    top: 60px;
}

.detail-sidebar-sticky .details-sidebar {
    background: var(--white);
    border-radius: var(--border-rds);
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.detail-sidebar-sticky .details-sidebar:last-child {
    margin-bottom: 0;
}

.details-sidebar h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.details-sidebar .category-nav-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.details-sidebar .category-nav-list li {
    margin-bottom: 4px;
}

.details-sidebar .category-nav-list li:last-child {
    margin-bottom: 0;
}

.details-sidebar .category-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
    position: relative;
}

.details-sidebar .category-nav-list li a i {
    color: var(--blue);
}

.details-sidebar .category-nav-list li a h6 {
    position: relative;
    font-family: var(--font-primary);
    font-weight: 500;
    padding-bottom: 5px;
    margin-bottom: 0;
}

.details-sidebar .category-nav-list li a h6::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.details-sidebar .category-nav-list li a:hover h6::after,
.details-sidebar .category-nav-list li a.active h6::after {
    transform: scaleX(1);
}

.details-sidebar .category-nav-list li a:hover h6,
.details-sidebar .category-nav-list li a.active h6 {
    color: var(--primary);
}

.details-sidebar .doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 1px solid var(--gray-300);
    transition: 0.2s;
}

.details-sidebar .doc-row:last-child {
    border-bottom: none;
}

.details-sidebar .doc-row:hover {
    background: var(--gray-50);
}

.details-sidebar .doc-row .doc-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
}

.details-sidebar .doc-row .doc-left i {
    color: var(--red);
    font-size: 18px;
}

.details-sidebar .doc-row .doc-right {
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--border-rds);
    border: 1px solid var(--red);
}

.details-sidebar .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.details-sidebar .card-header h3 {
    margin-bottom: 0;
}

.details-sidebar .card-header .view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
    position: relative;
}

.details-sidebar .card-header .view-all::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.details-sidebar .card-header .view-all:hover::after {
    transform: scaleX(1);
}

.details-sidebar .similar-job-card {
    display: block;
    padding: 10px 15px;
    margin-bottom: 14px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-rds);
    transition: all 0.3s ease;
}

.details-sidebar .similar-job-card:hover {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 5px;
    transform: translateY(-2px);
}

.details-sidebar .similar-job-card:last-child {
    margin-bottom: 0;
}

.details-sidebar .similar-job-card .similar-job-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}

.details-sidebar .similar-job-card .similar-job-header .similar-job-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    flex-shrink: 0;
}

.details-sidebar .similar-job-card .similar-job-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.details-sidebar .similar-job-card .similar-job-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 8px;
}

.details-sidebar .similar-job-card .similar-job-meta:last-child {
    margin-bottom: 0;
}

/* ==================== BOOK-FLIP PDF VIEWER ==================== */
.book-viewer {
    margin-top: 20px;
    background: var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.book-viewer:fullscreen {
    background: var(--gray-100);
}

.book-viewer-workspace {
    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Toolbar */
.book-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: var(--gray-800);
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-200);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-rds);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}

.toolbar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.toolbar-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.toolbar-btn.download-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.toolbar-btn.download-btn:hover {
    filter: brightness(1.1);
}

.page-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-200);
    font-size: 13px;
    font-weight: 500;
    padding: 0 8px;
}

.page-indicator input {
    width: 58px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 6px;
    font-family: inherit;
    -moz-appearance: textfield;
}

.page-indicator input::-webkit-inner-spin-button,
.page-indicator input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Book Container */
.book-container {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    min-height: 500px;
    overflow: hidden;
    /* Hide scrollbars during page flip animation */
}

.book-container.zoomed {
    cursor: grab;
}

.book-container.zoomed .book-spread,
.book-container.zoomed .page-wrapper,
.book-container.zoomed canvas {
    pointer-events: none;
    /* Disable page flipping gestures when zoomed in */
}

/* Side Navigation Arrows */
.book-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s;
}

.book-nav-arrow:hover {
    background: var(--white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transform: translateY(-50%) scale(1.05);
}

.book-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.book-nav-left {
    left: 10px;
}

.book-nav-right {
    right: 10px;
}

/* Book Spread Container (managed by StPageFlip) */
.book-spread {
    position: relative;
    box-shadow:
        0 12px 50px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--white);
    transition: transform 0.2s ease-out;
    transform-origin: center center;
}

/* Individual Pages Wrapper */
.page-wrapper {
    background-color: var(--white);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.page-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 20px 40px 20px;
    position: relative;
    box-sizing: border-box;
    background: var(--white);
}

/* Page canvas sizing */
.page-canvas {
    width: 100%;
    height: auto;
    max-height: calc(100% - 30px);
    object-fit: contain;
    display: block;
}

/* Center spine shadow (simulated center crease overlay) */
.page-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s;
}

/* Left page crease (crease on right edge) */
.page-wrapper:nth-child(even)::after {
    right: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.01) 40%, rgba(0, 0, 0, 0.08) 80%, rgba(0, 0, 0, 0.15) 100%);
}

/* Right page crease (crease on left edge) */
.page-wrapper:nth-child(odd)::after {
    left: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.01) 40%, rgba(0, 0, 0, 0.08) 80%, rgba(0, 0, 0, 0.15) 100%);
}

/* Page Numbers at Bottom of Pages (Outer corners) */
.page-num-footer {
    position: absolute;
    bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    font-family: inherit;
    pointer-events: none;
}

/* Even pages: bottom-left corner */
.page-wrapper:nth-child(even) .page-num-footer {
    left: 20px;
}

/* Odd pages: bottom-right corner */
.page-wrapper:nth-child(odd) .page-num-footer {
    right: 20px;
}

/* Hard Cover Styles (Dark premium binding look) */
.page-wrapper[data-density="hard"] {
    background-color: var(--gray-800) !important;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.page-wrapper[data-density="hard"] .page-content {
    color: var(--gray-50);
}

.page-wrapper[data-density="hard"] .page-num-footer {
    color: var(--gray-500);
}

.page-wrapper[data-density="hard"]::after {
    display: none;
    /* No spine creasing on hard cover outer covers */
}

/* Page Loading Placeholders */
.page-loading-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    z-index: 2;
}

/* PDF Error */
.pdf-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    color: var(--gray-500);
    text-align: center;
    background: var(--white);
    border-radius: 8px;
    min-width: 400px;
    min-height: 300px;
}

.pdf-error i {
    font-size: 48px;
    color: var(--orange);
    margin-bottom: 16px;
}

.pdf-error p {
    font-size: 15px;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .book-toolbar {
        padding: 8px 12px;
        gap: 8px;
    }

    .toolbar-left,
    .toolbar-right {
        gap: 4px;
    }

    .toolbar-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .book-container {
        padding: 15px 40px;
        min-height: 400px;
    }

    .book-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .book-nav-left {
        left: 6px;
    }

    .book-nav-right {
        right: 6px;
    }

    /* Adjust page crease shadows on mobile single page view */
    .page-wrapper::after {
        display: none !important;
        /* Hide dual crease shadow in portrait single-page mode */
    }

    /* Center page numbers on mobile for single pages */
    .page-num-footer {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
}

/* ==================== TEST MODE WORKSPACE ==================== */
.test-workspace {
    background: var(--gray-100);
    min-height: 600px;
}

.test-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--gray-800);
    color: var(--gray-50);
    flex-wrap: wrap;
    gap: 12px;
}

.test-header-info h4 {
    margin: 0 0 4px;
    font-size: 18px;
    color: var(--gray-50);
}

.test-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-400);
}

.test-meta span i {
    margin-right: 4px;
}

.test-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.test-timer-box {
    background: var(--dark);
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 22px;
    font-weight: bold;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.test-submit-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.test-submit-btn:hover {
    background: var(--primary-dark);
}

/* Test Body Layout */
.test-body {
    display: flex;
    gap: 0;
}

.test-questions-scroll {
    flex: 1;
    padding: 24px;
    max-height: 650px;
    overflow-y: auto;
}

.test-sidebar {
    width: 280px;
    background: var(--gray-800);
    color: var(--gray-50);
    padding: 20px;
    position: sticky;
    top: 0;
    max-height: 650px;
    overflow-y: auto;
}

.test-sidebar h5 {
    margin: 16px 0 12px;
    font-size: 14px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats mini cards */
.test-stats-mini {
    display: flex;
    gap: 10px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    background: var(--dark);
}

.stat-item .stat-count {
    display: block;
    font-size: 22px;
    font-weight: 700;
}

.stat-item .stat-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item.answered .stat-count {
    color: var(--primary);
}

.stat-item.not-answered .stat-count {
    color: var(--orange);
}

/* Palette grid */
.palette-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.palette-btn {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--gray-600);
    background: var(--dark);
    color: var(--gray-400);
    border-radius: var(--border-rds);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.palette-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.palette-btn.answered {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Section headers */
.test-section-header {
    background: var(--gray-200);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.test-section-header i {
    color: var(--primary);
}

/* Question cards */
.question-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.question-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.question-number {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-text {
    font-size: 15px;
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Options with custom radio buttons */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
    color: var(--gray-700);
}

.option-label:hover {
    background: var(--gray-50);
    border-color: var(--primary);
}

.option-label input[type="radio"] {
    display: none;
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.15s;
}

.option-label input[type="radio"]:checked~.option-radio {
    border-color: var(--primary);
}

.option-label input[type="radio"]:checked~.option-radio::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.option-label input[type="radio"]:checked~.option-text {
    color: var(--dark);
    font-weight: 600;
}

/* Active toggle button */
.toolbar-btn.test-active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

/* ==================== TEST RESULTS SECTION ==================== */
.test-results-section {
    padding: 24px;
    background: var(--gray-100);
}

.results-scorecard {
    background: var(--gray-800);
    border-radius: 16px;
    padding: 28px;
    color: var(--gray-50);
    margin-bottom: 24px;
}

.results-scorecard h4 {
    margin: 0 0 20px;
    font-size: 22px;
    color: var(--primary);
}

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

.score-item {
    background: var(--dark);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.score-item .score-value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}

.score-item .score-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.total-score .score-value {
    color: var(--yellow);
}

.correct-score .score-value {
    color: var(--primary);
}

.wrong-score .score-value {
    color: var(--red);
}

.unattempted-score .score-value {
    color: var(--orange);
}

.accuracy-score .score-value {
    color: var(--purple);
}

.time-score .score-value {
    color: var(--gray-400);
    font-size: 20px;
}

.results-actions {
    display: flex;
    gap: 12px;
}

.test-modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.test-modal-btn.primary {
    background: var(--primary);
    color: var(--white);
}

.test-modal-btn.primary:hover {
    background: var(--primary-dark);
}

.test-modal-btn.secondary {
    background: var(--gray-600);
    color: var(--gray-50);
}

.test-modal-btn.secondary:hover {
    background: var(--gray-700);
}

/* Review cards */
.review-card {
    border-left: 4px solid transparent;
}

.review-card.review-correct {
    border-left-color: var(--primary);
}

.review-card.review-wrong {
    border-left-color: var(--red);
}

.review-card.review-unattempted {
    border-left-color: var(--orange);
}

.review-options-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-option {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-option.correct-answer {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.review-option.wrong-answer {
    background: rgba(var(--red-rgb), 0.1);
    border-color: var(--red);
    color: var(--red);
    font-weight: 600;
}

/* Status badges */
.badge-correct,
.badge-wrong,
.badge-unattempted {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-correct {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.badge-wrong {
    background: rgba(var(--red-rgb), 0.1);
    color: var(--red);
}

.badge-unattempted {
    background: rgba(var(--brown-rgb), 0.1);
    color: var(--brown);
}

/* PDF scanning loader */
.test-scanning-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 16px;
    color: var(--gray-500);
}

.test-scanning-overlay i {
    font-size: 40px;
    color: var(--primary);
    animation: spin 1s linear infinite;
}

.test-scanning-overlay p {
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .test-body {
        flex-direction: column;
    }

    .test-sidebar {
        width: 100%;
        max-height: none;
    }

    .scorecard-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .test-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .test-questions-scroll {
        padding: 12px;
    }
}

.test-panel {
    width: 380px;
    background: var(--gray-800);
    color: var(--gray-50);
    border-left: 1px solid var(--gray-700);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 500px;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Test stats */
.test-summary-footer {
    background: var(--dark);
    padding: 16px;
    border-top: 1px solid var(--gray-700);
}

.test-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gray-400);
}

.test-stats span strong {
    color: var(--gray-50);
}

.test-submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-rds);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.test-submit-btn:hover {
    background: var(--primary-dark);
}

/* Active toggle button style */
.toolbar-btn.test-active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

@media (max-width: 992px) {
    .book-viewer-workspace {
        flex-direction: column;
    }
}

/* ==================== FLOATING SIDEBAR CTA ==================== */
.sidebar-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 250px;
    height: 430px;
    z-index: 1030;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Curved Dashed Line — covers full container so path passes through buttons */
.cta-curve-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: visible;
}

.sidebar-cta.active .cta-curve-line {
    opacity: 1;
}

/* Trigger Button */
.cta-trigger {
    position: absolute;
    right: 20px;
    bottom: 55px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid rgba(22, 163, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(22, 163, 74, 0.35);
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.cta-trigger:hover {
    box-shadow: 0 6px 22px rgba(22, 163, 74, 0.45);
    transform: scale(1.05);
}

.cta-trigger i {
    color: var(--white);
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Menu Items */
.cta-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.8);
    text-decoration: none;
}

.cta-item {
    --gap: 60px;
}

.cta-item-1 {
    bottom: calc(50px + var(--gap) * 1);
    right: 60px;
}

.cta-item-2 {
    bottom: calc(50px + var(--gap) * 2);
    right: 78px;
}

.cta-item-3 {
    bottom: calc(50px + var(--gap) * 3);
    right: 74px;
}

.cta-item-4 {
    bottom: calc(50px + var(--gap) * 4);
    right: 52px;
}

.cta-item-5 {
    bottom: calc(50px + var(--gap) * 5);
    right: 20px;
}

/* Circle Buttons */
.cta-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    pointer-events: auto;
    flex-shrink: 0;
}

.cta-item:hover .cta-btn {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.18);
    border-color: var(--primary-light);
}

.cta-btn i {
    font-size: 19px;
}

/* Labels — visible on HOVER only */
.cta-label {
    background-color: var(--white);
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--border-rds);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--gray-100);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.sidebar-cta.active .cta-item:hover .cta-label {
    opacity: 1;
    transform: translateX(0);
}

/* ── Active state ── */
.sidebar-cta.active .cta-trigger {
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.2);
}

.sidebar-cta.active .cta-trigger:hover {
    transform: scale(1.05);
}

.sidebar-cta.active .cta-trigger i {
    transform: rotate(135deg);
}

.sidebar-cta.active .cta-item {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Staggered entry delays */
.sidebar-cta.active .cta-item-1 {
    transition-delay: 0.04s;
}

.sidebar-cta.active .cta-item-2 {
    transition-delay: 0.08s;
}

.sidebar-cta.active .cta-item-3 {
    transition-delay: 0.12s;
}

.sidebar-cta.active .cta-item-4 {
    transition-delay: 0.16s;
}

.sidebar-cta.active .cta-item-5 {
    transition-delay: 0.20s;
}