:root {
    --primary: #1F4BE3;
    --primary-dark: #1837a7;
    --accent: #0ABAEF;
    --bg-soft: #F5F7FE;
    --surface: #FFFFFF;
    --text: #1B1F3B;
    --muted: #6D7689;
    --border: #E6E9F4;
    --shadow: 0 20px 40px rgba(15, 35, 95, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #F7F9FF 0%, #F1F4FB 100%);
    margin: 0;
}

.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.site-main {
    flex: 1;
}

.site-flash-wrapper {
    padding-top: 1rem;
}

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

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

.ef-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar-brand .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-flex;
}

.nav-link {
    color: var(--muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #1F4BE3, #0ABAEF);
    border: none;
    box-shadow: 0 16px 32px rgba(31, 75, 227, 0.2);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1837a7, #0897d3);
}

.btn-primary-soft {
    background: rgba(31, 75, 227, 0.1);
    color: var(--primary);
    border: none;
}

.btn-primary-soft:hover {
    background: rgba(31, 75, 227, 0.2);
}

.btn-link {
    color: var(--text);
    font-weight: 600;
}

.form-control,
.form-select,
.input-wrapper input {
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 0.85rem 1.1rem;
    background: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus,
.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 75, 227, 0.15);
}

.has-alert-image-modal {
    overflow: hidden;
}

.alert-image-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.alert-image-modal.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.alert-image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}

.alert-image-modal-dialog {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 720px);
    max-height: 88vh;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.alert-image-modal-img {
    display: block;
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

.alert-image-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.alert-image-close .material-symbols-rounded {
    font-size: 1.25rem;
}

.alert-image-admin-thumb {
    width: 96px;
    height: 64px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
}

.selection-showcase-section,
.selection-page-section {
    padding: clamp(2.25rem, 6vw, 4.5rem) 0;
    background: #f8fafc;
}

.selection-showcase-header,
.exam-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.selection-showcase-header h2,
.exam-result-header h2 {
    margin: 0;
    color: #0f172a;
}

.selection-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-faculty-rail,
.home-course-rail {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0.25rem;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 75, 227, 0.35) rgba(31, 75, 227, 0.08);
}

.home-faculty-rail::-webkit-scrollbar,
.home-course-rail::-webkit-scrollbar,
.selection-showcase-grid::-webkit-scrollbar {
    height: 8px;
}

.home-faculty-rail::-webkit-scrollbar-track,
.home-course-rail::-webkit-scrollbar-track,
.selection-showcase-grid::-webkit-scrollbar-track {
    background: rgba(31, 75, 227, 0.08);
    border-radius: 999px;
}

.home-faculty-rail::-webkit-scrollbar-thumb,
.home-course-rail::-webkit-scrollbar-thumb,
.selection-showcase-grid::-webkit-scrollbar-thumb {
    background: rgba(31, 75, 227, 0.35);
    border-radius: 999px;
}

.home-faculty-rail > .home-rail-item,
.home-course-rail > .home-rail-item {
    padding-left: 0;
    padding-right: 1rem;
    scroll-snap-align: start;
}

.home-faculty-rail > .home-rail-item {
    flex: 0 0 calc(100% / 3);
    width: calc(100% / 3);
    max-width: calc(100% / 3);
}

.home-course-rail > .home-rail-item {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
}

.home-faculty-rail .faculty-card,
.home-course-rail .course-card {
    min-height: 100%;
}

.selection-showcase-grid {
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2.5rem) / 3);
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0.25rem;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 75, 227, 0.35) rgba(31, 75, 227, 0.08);
}

.selection-showcase-card,
.exam-result-block {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.selection-showcase-card {
    scroll-snap-align: start;
}

.selection-stat-band,
.exam-result-score {
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: #fff;
}

.selection-stat-band {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
}

.selection-stat-band span,
.exam-result-score span {
    font-size: 2rem;
    line-height: 1;
    font-weight: 850;
    color: #fbbf24;
}

.selection-stat-band small,
.exam-result-score small {
    font-weight: 700;
    line-height: 1.25;
}

.selection-card-media {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    grid-template-rows: repeat(2, 120px);
    gap: 0.35rem;
    padding: 0.35rem;
    background: #e2e8f0;
}

.selection-card-media img,
.selection-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.selection-gallery-item img {
    transition: transform 0.45s ease, filter 0.45s ease;
}

.selection-gallery-item:hover img,
.selection-gallery-item:focus-visible img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.045);
}

.selection-card-media img:first-child {
    grid-row: span 2;
}

.selection-media-placeholder {
    min-height: 245px;
    display: grid;
    place-items: center;
    grid-column: 1 / -1;
    color: #1d4ed8;
    background: #dbeafe;
}

.selection-media-placeholder .material-symbols-rounded {
    font-size: 3rem;
}

.selection-card-body {
    padding: 1rem;
}

.selection-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #0f172a;
}

.selection-card-body p {
    color: #475569;
    margin-bottom: 0.8rem;
}

.selection-card-body a {
    font-weight: 800;
    text-decoration: none;
    color: #1d4ed8;
}

.selection-card-body span {
    font-weight: 800;
    color: #1d4ed8;
}

.home-clickable-card {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.home-clickable-card:hover {
    color: inherit;
}

.exam-result-block {
    margin-bottom: 2rem;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.exam-result-header {
    align-items: center;
}

.exam-result-header p {
    max-width: 680px;
    margin-bottom: 0;
    color: #475569;
}

.exam-result-score {
    min-width: 190px;
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
}

.exam-result-score span {
    display: block;
    font-size: 2.4rem;
}

.exam-result-highlight {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 800;
}

.selection-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    width: 100%;
}

.selection-gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #101530;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    cursor: zoom-in;
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    isolation: isolate;
    transform: translateY(14px) scale(1.06);
    transition: clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1),
        transform 0.85s cubic-bezier(0.76, 0, 0.24, 1),
        box-shadow 0.25s ease;
    will-change: clip-path, transform;
    animation: selectionGalleryReveal 0.85s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.selection-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(16, 21, 48, 0) 54%, rgba(16, 21, 48, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.selection-gallery-item.reveal,
.selection-gallery-item.is-visible {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateY(0) scale(1);
}

.selection-gallery-item:hover,
.selection-gallery-item:focus-visible {
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    transform: translateY(-3px) scale(1.015);
}

.selection-gallery-item:hover::after,
.selection-gallery-item:focus-visible::after {
    opacity: 1;
}

@keyframes selectionGalleryReveal {
    from {
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        transform: translateY(14px) scale(1.06);
    }

    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translateY(0) scale(1);
    }
}

.selection-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.86);
}

.selection-lightbox.is-open {
    display: flex;
}

.selection-lightbox img {
    max-width: min(96vw, 1080px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.selection-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: #0f172a;
    background: #fff;
}

.selection-dropzone {
    position: relative;
    display: grid;
    place-items: center;
    gap: 0.25rem;
    min-height: 150px;
    padding: 1.25rem;
    border: 2px dashed rgba(31, 75, 227, 0.35);
    border-radius: 16px;
    color: #1d4ed8;
    text-align: center;
    background: rgba(31, 75, 227, 0.05);
    cursor: pointer;
}

.selection-dropzone input {
    display: none;
}

.selection-dropzone.is-dragover {
    background: rgba(31, 75, 227, 0.12);
    border-color: #1d4ed8;
}

.selection-dropzone .material-symbols-rounded {
    font-size: 2.5rem;
}

.selection-admin-list {
    display: grid;
    gap: 1rem;
}

.selection-admin-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.selection-admin-item.is-dragging {
    opacity: 0.55;
    border-color: #1d4ed8;
    box-shadow: 0 14px 32px rgba(31, 75, 227, 0.18);
}

.selection-drag-handle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #64748b;
    background: #f8fafc;
    cursor: grab;
}

.selection-drag-handle:active {
    cursor: grabbing;
}

.selection-admin-item-body {
    flex: 1;
    min-width: 0;
}

.selection-admin-thumbs,
.selection-edit-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.selection-admin-thumbs img,
.selection-edit-image img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
}

.selection-admin-thumbs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 10px;
    background: var(--bg-soft);
    font-weight: 800;
}

.selection-admin-actions {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.selection-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.selection-edit-image {
    position: relative;
}

.selection-edit-image img {
    width: 100%;
    height: 120px;
}

.selection-edit-image form {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.section {
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

:root {
    --home-section-y: clamp(2rem, 4vw, 3.25rem);
    --home-section-gap: clamp(1rem, 2.4vw, 1.5rem);
    --home-heading-size: clamp(1.45rem, 2.6vw, 2.05rem);
    --home-heading-line: 1.18;
    --home-eyebrow-size: 0.72rem;
    --home-body-size: 0.95rem;
    --home-card-title-size: 1rem;
    --home-card-body-size: 0.88rem;
}

.faculty-section,
.featured-courses-section,
.selection-showcase-section,
.success-section {
    padding-top: var(--home-section-y);
    padding-bottom: var(--home-section-y);
}

.featured-courses-section .section-heading,
.selection-showcase-header,
.success-heading,
.faculty-section .text-center {
    margin-bottom: var(--home-section-gap);
}

.faculty-section h2,
.featured-courses-section .section-heading h2,
.selection-showcase-header h2,
.success-heading .success-stories-title {
    font-size: var(--home-heading-size);
    line-height: var(--home-heading-line);
    letter-spacing: 0;
    margin-bottom: 0.45rem;
}

.faculty-section .eyebrow,
.featured-courses-section .eyebrow,
.selection-showcase-header .eyebrow,
.success-heading .eyebrow {
    font-size: var(--home-eyebrow-size);
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
}

.faculty-section .text-muted,
.selection-card-body p,
.google-review-card .quote {
    font-size: var(--home-body-size);
    line-height: 1.55;
}

.featured-courses-section .course-body h5,
.selection-card-body h3,
.faculty-section .faculty-card h5 {
    font-size: var(--home-card-title-size);
    line-height: 1.3;
    margin-bottom: 0.35rem;
}

.featured-courses-section .course-pricing,
.faculty-section .designation,
.selection-card-body span {
    font-size: var(--home-card-body-size);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 4vw, 6rem) 0 4rem;
    background: radial-gradient(circle at top left, rgba(10, 186, 239, 0.14), transparent 28%),
                radial-gradient(circle at bottom right, rgba(31, 75, 227, 0.12), transparent 30%),
                #F7F9FF;
}

.home-hero-interactive {
    min-height: auto;
    padding: 0.6rem 0 0.8rem;
    background: linear-gradient(180deg, #f2f6f9 0%, #f7f9fb 100%);
}

.home-hero-interactive::before,
.home-hero-interactive::after {
    display: none;
}

#hero-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}

.hero-section::before {
    width: 360px;
    height: 360px;
    top: -80px;
    left: -80px;
    background: rgba(31, 75, 227, 0.16);
}

.hero-section::after {
    width: 420px;
    height: 420px;
    right: -110px;
    bottom: -100px;
    background: rgba(10, 186, 239, 0.14);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(58, 84, 164, 0.12);
    background: rgba(255, 255, 255, 0.86);
    color: #3a54a4;
    box-shadow: 0 12px 28px rgba(58, 84, 164, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
}

.home-hero-badge span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #0ea5a8;
    box-shadow: 0 0 0 6px rgba(14, 165, 168, 0.14);
}

.hero-flag {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(31, 75, 227, 0.1);
    color: var(--primary);
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3rem);
}

.home-hero-interactive .hero-grid {
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.hero-copy h1 {
    font-size: clamp(1.9rem, 3vw, 4.25rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: none;
}

.home-hero-interactive .hero-copy h1 {
    max-width: 860px;
    font-size: clamp(2rem, 3.9vw, 3.95rem);
    line-height: 1.06;
    letter-spacing: 0;
    margin-bottom: 0.65rem;
    color: #0f172a;
}

.home-hero-kicker {
    margin: 0 0 0.15rem;
    color: #0f172a;
    font-size: clamp(1.28rem, 2.55vw, 2.45rem);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: 0;
}

.home-hero-interactive .home-hero-title {
    max-width: 100%;
    font-size: clamp(1.95rem, 4.45vw, 4.2rem);
}

.home-hero-title span {
    white-space: nowrap;
}

.home-hero-interactive .hero-copy h1 span {
    display: inline;
    color: transparent;
    background: linear-gradient(90deg, #3a54a4 0%, #4f6fc3 54%, #1197a3 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-lead {
    font-size: 1.08rem;
    line-height: 1.85;
    max-width: none;
}

.home-hero-interactive .hero-lead {
    max-width: 760px;
    font-size: clamp(0.98rem, 1.45vw, 1.1rem);
    line-height: 1.65;
    color: #556173 !important;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.85rem 0 0.75rem;
}

.chip,
.badge-pill,
.badge-pill-soft {
    border-radius: 999px;
    padding: 0.48rem 0.78rem;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
}

.chip {
    background: rgba(31, 75, 227, 0.09);
    color: var(--primary);
    border: 1px solid rgba(31, 75, 227, 0.15);
}

.badge-pill {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: 0 16px 45px rgba(20, 30, 80, 0.08);
}

.badge-pill-soft {
    background: rgba(31, 75, 227, 0.08);
    color: var(--primary);
    border: none;
}

.hero-focus-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.focus-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(31, 75, 227, 0.12);
    padding: 1rem 1.05rem;
    box-shadow: 0 24px 50px rgba(31, 75, 227, 0.08);
}

.focus-card strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
    color: var(--text);
    line-height: 1.25;
}

.focus-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.hero-floating-card {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border-color: rgba(58, 84, 164, 0.1);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.hero-floating-card:hover,
.hero-floating-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(17, 151, 163, 0.36);
    box-shadow: 0 30px 58px rgba(58, 84, 164, 0.14);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-secondary {
    background: rgba(31, 75, 227, 0.08);
    color: var(--primary);
    border: 1px solid rgba(31, 75, 227, 0.2);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(31, 75, 227, 0.14);
    color: var(--primary-dark);
}

.hero-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.home-hero-stats {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.trust-pill {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(31, 75, 227, 0.1);
    box-shadow: 0 20px 40px rgba(20, 30, 80, 0.05);
}

.home-hero-stats .trust-pill {
    align-items: flex-start;
    min-height: 82px;
    border-radius: 14px;
    padding: 0.72rem 0.85rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1F4BE3, #0ABAEF);
    border: 2px solid #fff;
    box-shadow: 0 10px 20px rgba(31, 75, 227, 0.16);
    margin-left: -0.9rem;
}

.avatar-stack .avatar:first-child {
    margin-left: 0;
}

.trust-pill .stat-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
}

.home-hero-stats .stat-value {
    font-size: clamp(1.05rem, 1.55vw, 1.45rem);
    color: #3a54a4;
    line-height: 1.05;
}

.home-hero-stats .trust-pill > span:last-child {
    font-size: 0.78rem;
    line-height: 1.25;
}

.home-hero-interactive .hero-proof {
    margin-top: 0.7rem;
}

.star-score {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.star-score .star {
    font-size: 1.05rem;
    line-height: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.2rem;
    color: #d9d9d9;
    position: relative;
}

.star-score .star.full {
    color: #f5c43b;
}

.star-score .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #f5c43b;
}

.rating-label {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 700;
}

.hero-form {
    display: flex;
    justify-content: flex-end;
}

.hero-lead-card {
    min-width: 0;
    border-radius: 28px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 35px 80px rgba(20, 30, 80, 0.12);
}

.home-hero-interactive .hero-lead-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 1.2rem 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(58, 84, 164, 0.1);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.hero-card-accent {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #3a54a4, #1197a3);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.hero-card-header h5 {
    margin: 0;
    font-size: 1.35rem;
}

.home-hero-interactive .hero-card-header h5 {
    font-size: 1.05rem;
    font-weight: 850;
    color: #0f172a;
}

.mentor-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(229, 233, 240, 0.9);
    border-bottom: 1px solid rgba(229, 233, 240, 0.9);
    margin-bottom: 1.5rem;
}

.mentor-avatar {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(31, 75, 227, 0.13), rgba(10, 186, 239, 0.16));
    box-shadow: inset 0 0 0 1px rgba(31, 75, 227, 0.08);
}

.card-copy {
    margin-bottom: 1.5rem;
    color: var(--muted);
    line-height: 1.75;
}

.lead-form .form-group {
    position: relative;
    margin-bottom: 0.72rem;
}

.home-hero-interactive .lead-form .form-control,
.home-hero-interactive .lead-form .form-select {
    min-height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border-color: #dfe6f0;
}

.home-hero-interactive .lead-form .form-control:focus,
.home-hero-interactive .lead-form .form-select:focus {
    background: #fff;
    border-color: #3a54a4;
    box-shadow: 0 0 0 4px rgba(58, 84, 164, 0.12);
}

.hero-submit-btn {
    min-height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #3a54a4;
    box-shadow: 0 18px 34px rgba(58, 84, 164, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8rem;
}

.hero-submit-btn:hover,
.hero-submit-btn:focus {
    background: #2f4384;
}

.floating-input {
    position: relative;
}

.floating-input input,
.floating-input select {
    border-radius: 10px;
    padding: 0.95rem 1rem 0.62rem;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    background-color: white;
    appearance: none;
}

.floating-input input:focus,
.floating-input select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 75, 227, 0.1);
    outline: none;
}

.floating-input select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231F4BE3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.floating-input label {
    position: absolute;
    top: 0.78rem;
    left: 1.1rem;
    font-size: 0.9rem;
    color: var(--muted);
    pointer-events: none;
    transition: all 0.2s ease;
    background: white;
    padding: 0 0.3rem;
    font-weight: 500;
}

.floating-input input:focus + label,
.floating-input input:not(:placeholder-shown) + label,
.floating-input select:focus + label,
.floating-input select:not([value=""]) + label {
    top: -0.75rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Form Input Enhancements */
.floating-input input:hover,
.floating-input select:hover {
    border-color: #ccc;
}

.floating-input input::placeholder {
    opacity: 0;
}

/* Button Styling */
.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.btn-secondary-outline:hover {
    background: rgba(31, 75, 227, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Select Dropdown Enhancement */
.form-select {
    cursor: pointer;
}

.form-select option {
    padding: 0.5rem;
    background: white;
    color: var(--text);
}

.form-select option:hover {
    background: rgba(31, 75, 227, 0.1);
    color: var(--primary);
}

#educationQualificationSelect option:checked,
#recommendedCourseSelect option:checked {
    background: linear-gradient(135deg, #1837a7, #0897d3);
    color: #fff;
    font-weight: 700;
}

.education-selected-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 2rem;
}

.education-selected-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(31, 75, 227, 0.12);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.5rem 0.75rem;
}

/* Input Focus Animation */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    background-color: white;
}

/* Floating Input Focus State Enhancement */
.floating-input input:focus,
.floating-input select:focus {
    box-shadow: 0 0 0 4px rgba(31, 75, 227, 0.08), 0 2px 8px rgba(31, 75, 227, 0.12);
}

.input-icon {
    position: relative;
}

.input-icon .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Material Symbols Rounded';
    font-size: 1.2rem;
    color: var(--primary);
}

.input-icon input {
    padding-left: 3rem;
}

.privacy-note {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.privacy-note .material-symbols-rounded {
    font-size: 1rem;
    color: var(--primary);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-form {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 2.5rem;
    }

    .hero-copy h1 {
        font-size: 2.55rem;
    }

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

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

    .hero-card-header {
        flex-direction: column;
        align-items: stretch;
    }
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.hero-stats div {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 1rem;
    flex: 1;
    box-shadow: var(--shadow);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(20, 30, 80, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.trust-strip {
    background: var(--surface);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logo-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.feature-card,
.category-card,
.course-card,
.testimonial-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.category-card:hover,
.course-card:hover,
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(18, 35, 90, 0.18);
}

.icon-chip {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bg-soft-primary {
    background: rgba(31, 75, 227, 0.1);
    color: var(--primary);
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.category-card span.material-symbols-rounded {
    font-size: 1.8rem;
    color: var(--primary);
}

.course-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(209, 213, 219, 0.45);
    box-shadow: 0 8px 20px rgba(20, 30, 80, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    padding: 0;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(20, 30, 80, 0.14);
}

.course-card .course-thumb {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-soft);
}

.course-card .course-thumb img,
.course-card .course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.35s ease;
    background: rgba(245, 247, 255, 0.9);
}

.course-card:hover .course-thumb img,
.course-card:hover .course-img {
    transform: scale(1.02);
}

.course-card .course-thumb .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(31, 75, 227, 0.95);
    color: #fff;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
}

.course-body {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1.15rem;
    gap: 0.75rem;
    flex: 1;
}

.course-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
}

.faculty-card {
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid rgba(229, 233, 240, 0.85);
    box-shadow: 0 12px 28px rgba(20, 30, 80, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(20, 30, 80, 0.12);
}

/* Faculty Section Background */
.faculty-section {
    background: linear-gradient(135deg, #081A48 0%, #112A57 42%, #1D3B6D 100%);
    padding: var(--home-section-y) 2rem;
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.faculty-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(10, 186, 239, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faculty-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(31, 75, 227, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faculty-section .text-center {
    position: relative;
    z-index: 2;
    margin-bottom: var(--home-section-gap);
}

.faculty-section .row {
    position: relative;
    z-index: 2;
}

.faculty-section .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.faculty-section .eyebrow {
    color: #70D9FF;
}

.faculty-section h2 {
    color: #fff;
    margin-bottom: 0.45rem;
}

.faculty-section > p.text-center {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.faculty-section .faculty-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(144, 213, 213, 0.34), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(251, 191, 36, 0.2), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #eef7ff 52%, #e9f5f1 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.faculty-section .faculty-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 82px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(112, 217, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.faculty-section .faculty-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #3a54a4, #0ea5a8, #fbbf24);
}

.faculty-section .faculty-card::after {
    content: "";
    position: absolute;
    inset: auto -24px -38px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(58, 84, 164, 0.08);
    pointer-events: none;
}

.faculty-section .faculty-card h5,
.faculty-section .designation,
.faculty-section .faculty-card p {
    color: #0f172a;
}

.faculty-section .designation {
    color: #2451b2;
}

.faculty-section .faculty-thumb {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(58, 84, 164, 0.18), rgba(144, 213, 213, 0.32));
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.faculty-section .faculty-body {
    position: relative;
    z-index: 1;
}

.faculty-section .faculty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.faculty-img--suklikar {
    object-position: center 22%;
}

.faculty-img--nikita {
    object-position: center 35%;
    transform: scale(1.05);
}

.faculty-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.faculty-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.designation {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.course-pricing {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.2rem 0 0;
    flex-wrap: wrap;
}

.price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 0.95rem;
    font-weight: 600;
}

.course-body .btn {
    margin-top: auto;
    padding: 0.65rem 0.9rem;
    font-size: 0.92rem;
    border-radius: 999px;
}


.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.success-section {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: auto, 46px 46px;
    color: #fff;
}

.success-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.success-heading .eyebrow {
    color: #93c5fd;
}

.success-stories-title {
    color: #fff;
}

.review-score-card {
    min-width: 156px;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.review-score {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.review-stars {
    color: #fbbf24;
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;
}

.review-source {
    display: block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 600;
}

.google-review-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2rem) / 3);
    grid-template-columns: none;
    align-items: stretch;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.25rem 0 1.2rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.12);
}

.google-review-grid::-webkit-scrollbar {
    height: 8px;
}

.google-review-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.google-review-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
}

.google-review-card {
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 14px;
    padding: 1.15rem;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    max-height: 360px;
}

.google-review-card.highlight {
    background: #fff;
    border-color: rgba(251, 191, 36, 0.7);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.review-card-top p {
    color: #0f172a;
}

.review-card-top small {
    display: block;
    color: #64748b;
    font-weight: 600;
}

.review-role {
    display: block;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.review-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
}

.review-avatar.teal {
    background: #0f766e;
}

.review-avatar.amber {
    background: #b45309;
}

.review-avatar.rose {
    background: #be123c;
}

.review-avatar.indigo {
    background: #4f46e5;
}

.review-avatar.green {
    background: #15803d;
}

.review-avatar.blue {
    background: #0369a1;
}

.review-avatar.violet {
    background: #7c3aed;
}

.review-avatar.slate {
    background: #475569;
}

.testimonial-card .quote {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.google-review-card .quote {
    flex: 1;
    margin: 0.75rem 0 0;
    color: #1f2937;
    line-height: 1.5;
    max-height: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.google-review-card.compact-review .quote {
    -webkit-line-clamp: 8;
}

.cta-banner {
    padding: clamp(2rem, 6vw, 4rem) 0 4rem;
}

.cta-card {
    background: linear-gradient(120deg, #1F4BE3, #0ABAEF);
    border-radius: 32px;
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0 40px 80px rgba(31, 75, 227, 0.35);
}

.cta-card h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-card .btn-light {
    color: var(--primary);
}

.ef-footer {
    background: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-links li + li {
    margin-top: 0.35rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Contact page */
.contact-hero {
    padding: clamp(3rem, 8vw, 5rem) 0 1.5rem;
}

.contact-hero-card {
    background: var(--surface);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-hero-card span.material-symbols-rounded {
    font-size: 2.8rem;
    color: var(--primary);
}

.contact-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-highlight {
    flex: 1;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.contact-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(31, 75, 227, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.contact-form-card,
.contact-meta-card {
    background: var(--surface);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--text);
}

.contact-alert {
    border-radius: 18px;
    border: none;
    background: rgba(40, 199, 111, 0.12);
    color: #1f7a45;
    font-weight: 600;
}

.contact-address p {
    color: var(--text);
}

.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
}

.contact-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--muted);
}

.contact-link-list {
    border-top: 1px dashed var(--border);
    padding-top: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--text);
}

.contact-link span.material-symbols-rounded {
    font-size: 1.4rem;
    color: var(--primary);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-item span.material-symbols-rounded {
    background: rgba(31, 75, 227, 0.1);
    color: var(--primary);
    border-radius: 16px;
    padding: 0.5rem;
    font-size: 1.5rem;
}

.contact-info-item a {
    font-weight: 600;
    color: var(--primary);
}

.contact-info-item small {
    display: block;
    margin-top: 0.2rem;
}

.contact-action-link,
a[href^="tel:"],
a[href^="mailto:"],
a[href*="wa.me"] {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.2em;
}

.contact-action-link:hover,
a[href^="tel:"]:hover,
a[href^="mailto:"]:hover,
a[href*="wa.me"]:hover {
    color: var(--accent);
}

.contact-info-card .contact-action-link {
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.3rem 0.55rem;
    border-radius: 8px;
    background: rgba(31, 75, 227, 0.08);
    overflow-wrap: anywhere;
}

.contact-map-card {
    background: var(--surface);
    border: 1px solid rgba(31, 75, 227, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.contact-map-copy {
    padding: 1.5rem 1.75rem 0;
}

.contact-map-copy h3 {
    margin-bottom: 0.35rem;
}

.contact-map-copy p:last-child {
    color: var(--muted);
    margin-bottom: 1rem;
}

.contact-map-embed {
    aspect-ratio: 16 / 7;
    min-height: 320px;
    background: #eef2ff;
}

.contact-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.floating-resource-cart {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffb703 0%, #f97316 48%, #b42318 100%);
    color: #101530;
    text-decoration: none;
    border: 3px solid #fff;
    box-shadow: 0 18px 38px rgba(180, 35, 24, 0.32), 0 0 0 6px rgba(255, 183, 3, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.floating-resource-cart:hover {
    color: #101530;
    transform: translateY(-3px);
    filter: saturate(1.08);
    box-shadow: 0 22px 48px rgba(180, 35, 24, 0.4), 0 0 0 7px rgba(255, 183, 3, 0.24);
}

.floating-resource-cart .material-symbols-rounded {
    font-size: 1.75rem;
    font-weight: 700;
}

.floating-resource-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 24px;
    height: 24px;
    padding: 0 0.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #101530;
    color: #fff;
    border: 2px solid #ffcf33;
    font-size: 0.75rem;
    font-weight: 800;
}

.resource-cart-flyer {
    position: fixed;
    z-index: 2500;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f97316;
    color: #101530;
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.55s ease;
}

.resource-add-button.is-adding {
    pointer-events: none;
    opacity: 0.78;
}

.resource-added-button {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #047857 !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    font-weight: 800;
}

.gradient-card {
    background: linear-gradient(125deg, rgba(31, 75, 227, 0.15), rgba(10, 186, 239, 0.25));
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(31, 75, 227, 0.2);
}

.gradient-card span.material-symbols-rounded {
    font-size: 2rem;
    color: var(--primary);
    background: #fff;
    border-radius: 16px;
    padding: 0.35rem;
}

.faq-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.faq-card h6 {
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .contact-highlights {
        flex-direction: column;
    }

    .contact-form-card,
    .contact-meta-card {
        padding: 1.5rem;
    }

    .contact-map-card {
        border-radius: 18px;
    }

    .contact-map-copy {
        padding: 1.25rem 1.25rem 0;
    }

    .contact-map-embed {
        aspect-ratio: 1 / 1;
        min-height: 280px;
    }
}

/* Course listing page */
.subpage-hero {
    padding: 4rem 0 2rem;
}

.subpage-hero + .section {
    padding-top: 0.5rem;
}

.study-material-hero,
.study-material-hero.pyq-list-hero,
.study-material-hero.pyq-detail-hero,
.study-material-hero.study-hub-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2.75rem;
    background:
        linear-gradient(135deg, rgba(232, 241, 255, 0.94), rgba(255, 255, 255, 0.98)),
        repeating-linear-gradient(90deg, rgba(31, 75, 227, 0.06) 0, rgba(31, 75, 227, 0.06) 1px, transparent 1px, transparent 56px);
    border-bottom: 1px solid rgba(31, 75, 227, 0.12);
}

.study-material-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 75, 227, 0.12), transparent 42%);
    pointer-events: none;
}

.study-material-hero .container {
    position: relative;
    z-index: 1;
}

.study-material-hero .breadcrumb {
    margin-bottom: 1rem;
}

.study-material-hero .breadcrumb a {
    color: #1f4be3;
    font-weight: 700;
    text-decoration: none;
}

.study-material-hero h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 850;
    line-height: 1.05;
    color: #0f172a;
}

.study-material-hero p.text-muted {
    max-width: none;
    margin-top: 1rem;
    font-size: 1.08rem;
    color: #475569 !important;
}

.mobile-hero-back {
    display: none;
}

.modern-page-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 2.75rem;
    background:
        linear-gradient(135deg, rgba(232, 241, 255, 0.96), rgba(255, 255, 255, 0.98)),
        repeating-linear-gradient(90deg, rgba(31, 75, 227, 0.06) 0, rgba(31, 75, 227, 0.06) 1px, transparent 1px, transparent 56px);
    border-bottom: 1px solid rgba(31, 75, 227, 0.12);
}

.modern-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 75, 227, 0.12), transparent 42%);
    pointer-events: none;
}

.modern-page-hero .container {
    position: relative;
    z-index: 1;
}

.modern-page-hero .breadcrumb {
    margin-bottom: 1rem;
}

.modern-page-hero .breadcrumb a {
    color: #1f4be3;
    font-weight: 700;
    text-decoration: none;
}

.modern-page-hero h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 850;
    line-height: 1.05;
    color: #0f172a;
}

.modern-page-hero p.text-muted,
.modern-page-hero .lead.text-muted {
    max-width: none;
    margin-top: 1rem;
    font-size: 1.08rem;
    color: #475569 !important;
}

.filter-bar {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    box-shadow: var(--shadow);
}

.input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0 1rem;
}

.input-wrapper span {
    color: var(--muted);
}

.input-wrapper input {
    flex: 1;
    border: none;
    padding-left: 0;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.filter-pill {
    border: none;
    background: #fff;
    color: var(--muted);
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(20, 30, 80, 0.08);
    transition: all 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--primary);
    color: #fff;
}

.course-grid {
    display: block;
    margin-top: 2rem;
}

.course-group {
    margin-bottom: 2.5rem;
}

.course-group + .course-group {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.group-header {
    margin-bottom: 1.3rem;
}

.group-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}


.empty-state {
    background: var(--surface);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: var(--muted);
    border: 1px solid var(--border);
    margin: 2rem 0;
    grid-column: 1 / -1;
    font-size: 1.1rem;
}

/* Course detail page */
.course-hero-media {
    border-radius: 28px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.course-hero-image {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.course-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    font-weight: 600;
    color: var(--muted);
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.08), rgba(10, 186, 239, 0.12));
}

.detail-hero {
    background: linear-gradient(180deg, #F9FBFF 0%, #EFF3FF 100%);
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: start;
}

.detail-main .lead {
    margin-bottom: 0;
}

.detail-layout {
    margin-top: 1.5rem;
}

.detail-main,
.detail-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-right {
    position: relative;
}


.need-clarity-card,
.related-courses-card {
    position: relative;
}

.need-clarity-card {
    border: 1px dashed var(--border);
}

.related-courses-card {
    padding-bottom: 1.5rem;
}

.related-course-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.related-course-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text);
    padding: 0.35rem 0;
}

.related-course-link:hover {
    color: var(--primary);
}

.related-thumb {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.related-thumb span.material-symbols-rounded {
    color: var(--primary);
}

.related-meta h6 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.related-meta small {
    font-weight: 600;
}

@media (max-width: 992px) {
    .detail-main,
    .detail-right {
        gap: 1rem;
    }

    .detail-purchase-card {
        position: static;
        top: auto;
        z-index: 1;
    }
}

.course-body-section {
    margin-top: -2rem;
    padding-top: 0;
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    z-index: 1;
}

.course-body-section .container,
.course-body-section .row {
    padding-top: 0;
    margin-top: 0;
}

.course-body-section .row {
    margin-top: 0;
}

@media (min-width: 992px) {
    .course-body-section {
        margin-top: -3.5rem;
    }
}

.badge-soft {
    background: rgba(31, 75, 227, 0.12);
    color: var(--primary);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.purchase-card {
    background: var(--surface);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.purchase-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.purchase-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.purchase-list span.material-symbols-rounded {
    color: #28C76F;
}

.module-card {
    background: var(--surface);
    border-radius: 28px;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.rich-text {
    word-break: break-word;
}

.rich-text * {
    max-width: 100%;
}

.rich-text img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    margin: 1rem 0;
}

.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    display: block;
    overflow-x: auto;
}

.rich-text table th,
.rich-text table td {
    padding: 0.5rem;
    border: 1px solid var(--border);
}

.rich-text pre {
    background: var(--bg-soft);
    padding: 1rem;
    border-radius: 18px;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 1rem;
}

.rich-text p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.rich-text ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.rich-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
}

.feature-list span.material-symbols-rounded {
    color: var(--primary);
}

.qr-wrapper img {
    border-radius: 16px;
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

/* Login page */
.login-page {
    min-height: 100vh;
    background: var(--bg-soft);
}

.login-card {
    width: 360px;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: none;
    background: var(--surface);
}

.login-card .form-control {
    border-radius: 16px;
}

.login-card .btn {
    width: 100%;
}

/* Admin area */
.admin-body {
    background: var(--bg-soft);
    min-height: 100vh;
    overflow-x: hidden;
}

.admin-nav-open {
    overflow: hidden;
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

.admin-sidebar {
    width: 260px;
    background: #101530;
    padding: 2rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transition: width 0.2s ease, padding 0.2s ease;
    overflow: visible;
    z-index: 35;
}

.admin-sidebar-backdrop {
    display: none;
}

.sidebar-brand .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: 0 0 auto;
}

.sidebar-brand-text,
.nav-text {
    white-space: nowrap;
}

.sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -17px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #1f4be3;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
    z-index: 30;
    transition: background 0.2s ease;
}

.sidebar-toggle:hover {
    background: #1738b6;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-sidebar-nav {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

.admin-sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.24);
    border-radius: 999px;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fafaff;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-weight: 500;
    background: transparent;
    transition: background 0.2s ease;
}

.sidebar-item a > .material-symbols-rounded,
.sidebar-group-toggle > .material-symbols-rounded {
    font-size: 20px;
    flex: 0 0 auto;
}

.sidebar-item.is-active a,
.sidebar-item a:hover,
.sidebar-group.is-active > .sidebar-group-toggle,
.sidebar-group-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-group-toggle {
    width: 100%;
    border: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fafaff;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-weight: 500;
    background: transparent;
    text-align: left;
    transition: background 0.2s ease;
}

.group-chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.sidebar-group.is-open .group-chevron {
    transform: rotate(180deg);
}

.sidebar-subnav {
    display: none;
    list-style: none;
    padding: 0.35rem 0 0 1.1rem;
    margin: 0;
}

.sidebar-group.is-open .sidebar-subnav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-subnav a {
    padding: 0.6rem 0.8rem;
    color: rgba(250, 250, 255, 0.82);
    border-radius: 12px;
}

.sidebar-subnav li.is-active a {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.admin-shell.is-sidebar-collapsed .admin-sidebar {
    width: 84px;
    padding: 2rem 0.9rem;
}

.admin-shell.is-sidebar-collapsed .sidebar-brand {
    justify-content: center;
}

.admin-shell.is-sidebar-collapsed .sidebar-brand-text,
.admin-shell.is-sidebar-collapsed .nav-text,
.admin-shell.is-sidebar-collapsed .group-chevron,
.admin-shell.is-sidebar-collapsed .sidebar-subnav {
    display: none;
}

.admin-shell.is-sidebar-collapsed .sidebar-toggle {
    right: -17px;
}

.admin-shell.is-sidebar-collapsed .sidebar-toggle .material-symbols-rounded {
    transform: rotate(180deg);
}

.admin-shell.is-sidebar-collapsed .sidebar-item a,
.admin-shell.is-sidebar-collapsed .sidebar-group-toggle,
.admin-shell.is-sidebar-collapsed .sidebar-logout {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fddfdf;
}

.admin-main {
    flex: 1;
    min-width: 0;
    margin-left: 260px;
    background: linear-gradient(180deg, #f5f7ff 0%, #f2f4fb 100%);
    display: flex;
    flex-direction: column;
    transition: margin-left 0.2s ease;
}

.admin-shell.is-sidebar-collapsed .admin-main {
    margin-left: 84px;
}

.admin-topbar {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(31, 75, 227, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: 0 10px 28px rgba(31, 75, 227, 0.08);
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(31, 75, 227, 0.14);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #17213b;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
}

.admin-mobile-menu-btn .material-symbols-rounded {
    font-size: 24px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
}

.admin-user-menu {
    position: relative;
}

.admin-user-toggle {
    border: 0;
    color: #17213b;
    cursor: pointer;
}

.admin-user-toggle p {
    font-weight: 700;
}

.user-chevron {
    font-size: 18px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.admin-user-menu.is-open .user-chevron {
    transform: rotate(180deg);
}

.admin-user-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    width: 240px;
    background: #fff;
    border: 1px solid rgba(31, 75, 227, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 45;
}

.admin-user-menu.is-open .admin-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.admin-user-dropdown-head {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.65rem 0.7rem 0.85rem;
    border-bottom: 1px solid #e8edf8;
    margin-bottom: 0.45rem;
}

.admin-user-dropdown-head .material-symbols-rounded {
    color: var(--primary);
}

.admin-user-dropdown-head strong,
.admin-user-dropdown-head small {
    display: block;
}

.admin-user-dropdown-head small {
    color: #64748b;
}

.admin-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #b42318;
    font-weight: 700;
    padding: 0.75rem 0.7rem;
    border-radius: 12px;
}

.admin-user-dropdown-item:hover {
    color: #8a1f17;
    background: #fff1f1;
}

.admin-content {
    padding: 2rem;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.admin-grid.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.admin-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.admin-form > .admin-card {
    margin-bottom: 1.5rem;
}

.inline-category-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.inline-cat-select,
.inline-cat-input {
    flex: 1 1 250px;
    min-width: 220px;
}

.inline-cat-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    height: 100%;
}

.inline-category-status {
    min-height: 20px;
    font-size: 0.9rem;
}

.category-checkbox-grid,
.faculty-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-check-input {
    margin-top: 0.3rem;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    margin-bottom: 0;
}

.action-list,
.snapshot-list,
.feature-list,
.purchase-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.action-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.action-list li:last-child {
    border-bottom: none;
}

.snapshot-list {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
}

.table-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.admin-course-filters {
    justify-content: flex-start;
}

.admin-course-filters .input-wrapper {
    min-width: 260px;
}

.admin-course-filters .form-select {
    width: auto;
    min-width: 140px;
}

.admin-filters {
    padding: 1rem;
    border: 1px solid #e6ebf5;
    border-radius: 14px;
    background: #f8fbff;
}

.blog-admin-filters {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 280px) auto;
    gap: 1rem;
    align-items: center;
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
}

.admin-inline-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    white-space: nowrap;
}

.admin-inline-actions .btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.admin-inline-actions .material-symbols-rounded {
    font-size: 18px;
    line-height: 1;
}

.admin-icon-actions,
.btn-group.admin-icon-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    white-space: nowrap;
}

.admin-icon-actions .btn,
.table .btn-group-sm .btn:has(.material-symbols-rounded),
.selection-admin-actions .btn:has(.material-symbols-rounded) {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.admin-icon-actions .material-symbols-rounded,
.table .btn-group-sm .btn .material-symbols-rounded,
.selection-admin-actions .material-symbols-rounded {
    font-size: 18px;
    line-height: 1;
}

.jobs-bulk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5eaf5;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 12px 32px rgba(20, 35, 75, 0.06);
}

.admin-jobs-mobile-filter {
    margin-bottom: 1rem;
}

.admin-jobs-mobile-filter .mobile-filter-drawer {
    margin: 0;
}

.jobs-bulk-toolbar > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.jobs-bulk-toolbar .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.jobs-bulk-toolbar .material-symbols-rounded {
    font-size: 18px;
}

.jobs-admin-table .job-select-col {
    width: 48px;
    min-width: 48px;
    text-align: center;
    white-space: nowrap;
}

.jobs-admin-table td.job-select-col:first-child {
    min-width: 48px;
}

.bulk-delete-open {
    overflow: hidden;
}

.bulk-delete-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.bulk-delete-modal.is-open {
    display: flex;
}

.bulk-delete-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 20, 36, 0.58);
    backdrop-filter: blur(8px);
}

.bulk-delete-dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: min(720px, calc(100vh - 2rem));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(3, 12, 34, 0.28);
    animation: bulkDeleteIn 180ms ease-out;
}

.bulk-delete-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #b42318;
    background: #fff0ed;
}

.bulk-delete-icon .material-symbols-rounded {
    font-size: 26px;
}

.bulk-delete-copy {
    min-width: 0;
}

.bulk-delete-eyebrow {
    margin: 0 0 0.25rem;
    color: #b42318;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bulk-delete-copy h3 {
    margin: 0 0 0.35rem;
    color: #101828;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
}

.bulk-delete-list-wrap {
    grid-column: 1 / -1;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #edf0f7;
    border-radius: 16px;
    background: #fbfcff;
}

.bulk-delete-job-list {
    list-style: none;
    padding: 0.55rem;
    margin: 0;
}

.bulk-delete-job-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0.6rem;
    align-items: start;
    padding: 0.7rem;
    border-radius: 12px;
    color: #1f2937;
}

.bulk-delete-job-list li + li {
    border-top: 1px solid #eef2f7;
}

.bulk-delete-job-list li span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef4ff;
    color: #2d5bd1;
    font-size: 0.78rem;
    font-weight: 800;
}

.bulk-delete-job-list li strong {
    overflow-wrap: anywhere;
    font-size: 0.94rem;
    line-height: 1.35;
}

.bulk-delete-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.bulk-delete-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

@keyframes bulkDeleteIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .admin-jobs-page .section-header {
        align-items: stretch !important;
        flex-direction: column;
        gap: 0.9rem;
        margin-bottom: 1rem !important;
    }

    .admin-jobs-page .section-header h2 {
        font-size: 1.35rem;
    }

    .admin-jobs-page .section-header .btn {
        width: 100%;
        justify-content: center;
    }

    .admin-jobs-desktop-filters {
        display: none;
    }

    .admin-jobs-mobile-filter {
        display: block;
        position: sticky;
        top: 68px;
        z-index: 30;
        margin: 0 -0.5rem 1rem;
        padding: 0.75rem 0.5rem 0.65rem;
        background: #fff;
        border: 1px solid #e8edf8;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    .admin-jobs-mobile-filter .mobile-filter-drawer {
        z-index: 1095;
    }

    .admin-jobs-mobile-filter .mobile-job-filter-chips {
        padding-bottom: 0;
    }

    .admin-jobs-mobile-filter .mobile-filter-chip:first-child {
        width: auto;
        min-width: 48px;
        padding: 0 0.8rem;
    }

    .admin-jobs-page .jobs-bulk-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.85rem;
        border-radius: 14px;
    }

    .admin-jobs-page .jobs-bulk-toolbar > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .admin-jobs-page .jobs-bulk-toolbar .btn {
        width: 100%;
        justify-content: center;
        min-height: 42px;
    }

    .admin-jobs-page .table-responsive {
        border-radius: 14px;
    }

    .admin-jobs-page .jobs-admin-table .job-select-col,
    .admin-jobs-page .jobs-admin-table td.job-select-col:first-child {
        min-width: 44px;
        width: 44px;
    }

    .bulk-delete-dialog {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
        padding: 1rem;
        border-radius: 20px;
    }

    .bulk-delete-icon {
        width: 42px;
        height: 42px;
    }

    .bulk-delete-list-wrap {
        max-height: min(42vh, 300px);
    }

    .bulk-delete-actions {
        grid-template-columns: 1fr;
        display: grid;
    }

    .bulk-delete-actions .btn {
        width: 100%;
    }
}

.table-responsive {
    border-radius: 20px;
    overflow: hidden;
}

.table.modern-table thead {
    background: #f5f7ff;
}

.table.modern-table th,
.table.modern-table td {
    padding: 1rem;
    vertical-align: middle;
}

.table.modern-table th {
    white-space: nowrap;
}

.orders-sort-link {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    white-space: nowrap;
}

.course-action-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.course-action-buttons .btn {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.course-action-buttons .material-symbols-rounded {
    font-size: 18px;
    line-height: 1;
}

.admin-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.admin-form .grid-full {
    grid-column: 1 / -1;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sticky-sidebar {
    position: sticky;
    top: 100px; /* adjust based on header */

    display: flex;
    flex-direction: column;
    gap: 1.5rem;  /* ✅ THIS FIXES YOUR ISSUE */
}

@media (max-width: 992px) {
    .hero-stats {
        flex-direction: column;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

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

    .purchase-card {
        position: static;
    }

    .admin-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(84vw, 320px);
        max-width: 320px;
        height: 100dvh;
        padding: 1.25rem 1rem 1rem;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1rem;
        transform: translateX(-105%);
        transition: transform 0.24s ease, width 0.2s ease, padding 0.2s ease;
        overflow: hidden;
        z-index: 1050;
    }

    .admin-sidebar-nav {
        flex: 1 1 auto;
        max-height: none;
        overflow-y: auto;
        padding-right: 0.25rem;
    }

    .admin-main,
    .admin-shell.is-sidebar-collapsed .admin-main {
        margin-left: 0;
    }

    .admin-shell.is-sidebar-collapsed .admin-sidebar {
        width: min(84vw, 320px);
        padding: 1.25rem 1rem 1rem;
    }

    .admin-shell.is-sidebar-collapsed .sidebar-brand-text,
    .admin-shell.is-sidebar-collapsed .nav-text,
    .admin-shell.is-sidebar-collapsed .group-chevron {
        display: inline;
    }

    .admin-shell.is-sidebar-collapsed .sidebar-subnav {
        display: none;
    }

    .admin-shell.is-sidebar-collapsed .sidebar-group.is-open .sidebar-subnav {
        display: flex;
    }

    .admin-shell.is-sidebar-collapsed .sidebar-brand {
        justify-content: flex-start;
    }

    .admin-shell.is-sidebar-collapsed .sidebar-item a,
    .admin-shell.is-sidebar-collapsed .sidebar-group-toggle,
    .admin-shell.is-sidebar-collapsed .sidebar-logout {
        justify-content: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .admin-shell.is-mobile-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.48);
        backdrop-filter: blur(3px);
        z-index: 1040;
    }

    .admin-shell.is-mobile-sidebar-open .admin-sidebar-backdrop {
        display: block;
    }

    .sidebar-toggle {
        display: none;
    }

    .admin-topbar {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
    }

    .admin-mobile-menu-btn {
        display: inline-flex;
    }

    .topbar-title {
        min-width: 0;
        flex: 1 1 auto;
    }

    .topbar-title h5 {
        font-size: 1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .topbar-title small {
        display: none;
    }

    .topbar-actions {
        width: auto;
        justify-content: flex-end;
    }

    .user-pill {
        padding: 0.45rem;
        gap: 0.35rem;
    }

    .user-pill div,
    .user-chevron {
        display: none;
    }

    .admin-user-dropdown {
        right: 0;
        width: min(86vw, 240px);
    }

    .blog-admin-filters {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-wrap: wrap;
    }

    .admin-content {
        padding: 1rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .admin-page-header,
    .section-header,
    .admin-content > .d-flex.justify-content-between {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.25rem !important;
    }

    .admin-page-header h2,
    .section-header h2,
    .admin-content h1,
    .admin-content h2 {
        font-size: clamp(1.25rem, 5vw, 1.6rem);
        line-height: 1.18;
    }

    .header-actions,
    .admin-page-header .btn,
    .section-header .btn,
    .admin-content > .d-flex.justify-content-between .btn {
        width: 100%;
    }

    .header-actions .btn,
    .section-header .btn,
    .admin-content > .d-flex.justify-content-between .btn {
        justify-content: center;
    }

    .admin-card,
    .metric-card {
        border-radius: 16px;
        padding: 1rem;
    }

    .admin-grid,
    .admin-grid.two-columns,
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #categoryForm,
    .table-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    #categoryForm > div,
    .admin-course-filters .input-wrapper,
    .admin-course-filters .form-select,
    .filter-actions,
    .filter-actions .btn,
    .orders-filter-actions,
    .orders-filter-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .table-responsive {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px;
    }

    .table.modern-table th,
    .table.modern-table td,
    .admin-table th,
    .admin-table td,
    .table.table-hover th,
    .table.table-hover td {
        padding: 0.7rem;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .table.modern-table td:first-child,
    .admin-table td:first-child,
    .table.table-hover td:first-child {
        min-width: 220px;
        white-space: normal;
    }

    .admin-inline-actions,
    .course-action-buttons,
    .selection-admin-actions,
    .btn-group.admin-icon-actions,
    .table .btn-group-sm {
        gap: 0.35rem;
        justify-content: flex-start;
    }

    .admin-icon-actions .btn,
    .table .btn-group-sm .btn:has(.material-symbols-rounded),
    .admin-inline-actions .btn,
    .course-action-buttons .btn,
    .selection-admin-actions .btn:has(.material-symbols-rounded) {
        width: 34px;
        min-width: 34px;
        height: 34px;
        min-height: 34px;
        padding: 0;
        flex: 0 0 34px;
    }

    .selection-admin-item {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .selection-admin-actions {
        flex: 0 0 auto;
    }
}

/* ===== MODERN BLOG LIST PAGE ===== */

.modern-blog-hero {
    padding: 4rem 0 2.75rem;
}

.modern-blog-hero .hero-inner {
    text-align: left;
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    color: var(--text);
    margin: 0 0 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-main-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
    max-width: none;
}

.modern-blog-main {
    padding: 3rem 0;
    background: #fff;
}

.blog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-search {
    background: var(--surface);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(20, 30, 80, 0.06);
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    transition: all 0.2s ease;
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 75, 227, 0.1);
}

.search-wrapper i {
    color: var(--primary);
    font-size: 1.2rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text);
    padding: 0;
}

.search-input::placeholder {
    color: var(--muted);
}

.search-input:focus {
    outline: none;
}

.sidebar-categories {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(20, 30, 80, 0.06);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.category-link:hover {
    background: rgba(31, 75, 227, 0.08);
    color: var(--primary);
}

.category-link.active {
    background: rgba(31, 75, 227, 0.12);
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
}

/* Main Content */
.blog-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Featured Post */
.featured-blog-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.08), rgba(10, 186, 239, 0.08));
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(31, 75, 227, 0.1);
    overflow: hidden;
}

.featured-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-soft);
    box-shadow: 0 20px 40px rgba(20, 30, 80, 0.12);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.featured-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.1), rgba(10, 186, 239, 0.15));
    color: var(--primary);
}

.featured-placeholder i {
    font-size: 3rem;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.featured-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-date {
    color: var(--muted);
    font-weight: 500;
}

.featured-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.2;
    color: var(--text);
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.featured-title a {
    color: var(--text);
    transition: color 0.2s ease;
}

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

.featured-excerpt {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.featured-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease;
    width: fit-content;
}

.featured-read-more:hover {
    gap: 0.75rem;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.modern-blog-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(20, 30, 80, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(31, 75, 227, 0.06);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.modern-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(20, 30, 80, 0.12);
    border-color: rgba(31, 75, 227, 0.15);
}

.blog-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-soft);
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.1), rgba(10, 186, 239, 0.15));
    color: var(--primary);
}

.blog-card-placeholder i {
    font-size: 2.5rem;
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.blog-card-category {
    display: inline-block;
    background: rgba(31, 75, 227, 0.12);
    color: var(--primary);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-date {
    color: var(--muted);
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--text);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.blog-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

/* No Results */
.no-results-container {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: 20px;
    border: 2px dashed var(--border);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    background: rgba(31, 75, 227, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary);
}

.no-results-container h3 {
    font-size: 1.8rem;
    color: var(--text);
    margin: 0 0 0.75rem;
}

.no-results-container p {
    color: var(--muted);
    margin: 0 0 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        position: static;
        top: auto;
    }

    .featured-blog-post {
        grid-template-columns: 1fr;
    }

    .featured-image-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .modern-blog-hero {
        padding: 3rem 0 2rem;
    }

    .hero-main-title {
        font-size: 2.2rem;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        gap: 1.5rem;
    }

    .sidebar-search,
    .sidebar-categories {
        display: none;
    }

    .blog-mobile-filter {
        display: block;
        position: sticky;
        top: 0;
        z-index: 28;
        margin-bottom: 1rem;
        padding: 0.75rem 0;
        background: #fff;
        border-bottom: 1px solid #e8edf8;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    .blog-mobile-filter .mobile-filter-drawer {
        z-index: 1095;
    }

    .blog-mobile-filter .mobile-filter-chip:first-child {
        width: 48px;
        min-width: 48px;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .featured-blog-post {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* ===== MODERN BLOG DETAIL PAGE ===== */

.modern-blog-detail {
    background: #fff;
    min-height: 100vh;
}

.blog-featured-hero {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.1), rgba(10, 186, 239, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-hero {
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.12), rgba(10, 186, 239, 0.18));
}

.placeholder-hero i {
    font-size: 5rem;
    color: rgba(31, 75, 227, 0.3);
}

.blog-content-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    overflow: hidden;
}

.content-max-width {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

/* Article Header */
.article-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
}

.category-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-badge {
    display: inline-block;
    flex: 0 0 auto;
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.category-badges::-webkit-scrollbar {
    height: 4px;
}

.category-badges::-webkit-scrollbar-thumb {
    background: rgba(31, 75, 227, 0.3);
    border-radius: 999px;
}

.category-badge:hover {
    background: var(--primary-dark);
}

.publish-date {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--text);
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
    max-width: 800px;
}

.article-share-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-left {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(31, 75, 227, 0.1);
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.share-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.share-brand-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    flex: 0 0 auto;
}

.share-btn.is-copied,
.share-btn-full.is-copied {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
}

/* Article Body */
.article-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

/* Article Footer */
.article-footer {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2rem;
}

.article-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background: rgba(31, 75, 227, 0.12);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

.author-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.08), rgba(10, 186, 239, 0.08));
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(31, 75, 227, 0.1);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.author-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.author-bio {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.author-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
    width: fit-content;
    margin-top: 0.5rem;
}

.author-cta:hover {
    gap: 0.75rem;
}

.share-section {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.share-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-buttons-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.share-btn-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn-full:hover {
    border-color: var(--primary);
    background: rgba(31, 75, 227, 0.08);
    color: var(--primary);
}

.share-btn-full.is-copied:hover {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
}

/* Related Articles */
.related-articles-section {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 2rem;
}

.related-articles-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.85rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 75, 227, 0.35) rgba(31, 75, 227, 0.08);
}

.related-articles-grid::-webkit-scrollbar {
    height: 7px;
}

.related-articles-grid::-webkit-scrollbar-track {
    background: rgba(31, 75, 227, 0.08);
    border-radius: 999px;
}

.related-articles-grid::-webkit-scrollbar-thumb {
    background: rgba(31, 75, 227, 0.35);
    border-radius: 999px;
}

.related-article-card {
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 220px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(20, 30, 80, 0.1);
    border-color: rgba(31, 75, 227, 0.2);
}

.related-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-soft);
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-card:hover .related-card-image img {
    transform: scale(1.05);
}

.related-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
}

.related-category {
    display: inline-block;
    background: rgba(31, 75, 227, 0.12);
    color: var(--primary);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
}

.related-article-card:hover .related-title {
    color: var(--primary);
}

.related-excerpt {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-block {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(20, 30, 80, 0.06);
}

.cta-card-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
}

.cta-card-modern h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.cta-card-modern p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

.btn-full {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-primary.btn-full:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-secondary.btn-full {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary.btn-full:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-item {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.course-item:hover {
    background: rgba(31, 75, 227, 0.08);
}

.course-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-soft);
    flex-shrink: 0;
}

.course-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 0;
}

.course-info h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.course-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(31, 75, 227, 0.08);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.resource-item:hover {
    background: var(--primary);
    color: #fff;
}

.resource-item i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .blog-featured-hero {
        height: 300px;
    }

    .blog-content-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding: 1.25rem 1rem 2rem;
        overflow: hidden;
    }

    .modern-blog-detail,
    .content-max-width,
    .article-header,
    .article-body,
    .article-footer,
    .article-content,
    .blog-sidebar,
    .sidebar-block {
        min-width: 0;
        max-width: 100%;
    }

    .article-title {
        font-size: clamp(1.55rem, 8vw, 2rem);
        line-height: 1.16;
        overflow-wrap: anywhere;
    }

    .article-excerpt {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .article-header {
        gap: 0.95rem;
        padding-bottom: 1.25rem;
    }

    .article-meta-top {
        gap: 0.65rem;
        align-items: flex-start;
    }

    .category-badge {
        flex: 0 0 auto;
        padding: 0.32rem 0.65rem;
        font-size: 0.66rem;
        border-radius: 999px;
    }

    .publish-date {
        font-size: 0.82rem;
    }

    .article-share-bar,
    .share-left {
        width: 100%;
    }

    .article-content {
        font-size: 0.98rem;
        line-height: 1.7;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .article-content p {
        margin-bottom: 1rem;
    }

    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4,
    .article-content h5,
    .article-content h6 {
        margin-top: 1.45rem;
        margin-bottom: 0.65rem;
        line-height: 1.22;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    .article-content h1 { font-size: 1.55rem; }
    .article-content h2 { font-size: 1.35rem; }
    .article-content h3 { font-size: 1.18rem; }
    .article-content h4 { font-size: 1.06rem; }
    .article-content h5 { font-size: 1rem; }

    .article-content img,
    .article-content video,
    .article-content iframe {
        max-width: 100%;
        height: auto;
        margin: 1rem 0;
        border-radius: 10px;
    }

    .article-content iframe {
        width: 100%;
        min-height: 220px;
    }

    .article-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .article-content pre {
        max-width: 100%;
        overflow-x: auto;
        padding: 1rem;
        border-radius: 10px;
    }

    .article-content blockquote {
        margin: 1.25rem 0;
        padding: 1rem;
        padding-left: 1.1rem;
        border-radius: 10px;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 1.2rem;
        margin: 1rem 0;
    }

    .related-articles-grid {
        gap: 1rem;
    }

    .related-article-card {
        flex-basis: min(86vw, 320px);
        min-width: min(86vw, 320px);
    }

    .author-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.2rem;
    }

    .author-avatar {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .share-buttons-group {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    .article-footer {
        gap: 1.5rem;
        padding-top: 1.25rem;
    }

    .share-section,
    .related-articles-section {
        padding-top: 1.25rem;
    }

    .share-btn-full {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-radius: 50%;
    }

    .share-btn-full span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .section-heading {
        font-size: 1.28rem;
        margin-bottom: 1rem;
    }

    .related-card-image {
        height: 160px;
    }

    .related-card-content {
        padding: 1rem;
    }

    .blog-sidebar {
        margin-top: 0.5rem;
        gap: 1rem;
    }

    .blog-exam-cta-block {
        display: none;
    }

    .sidebar-block {
        padding: 1rem;
        border-radius: 14px;
    }

    .cta-card-modern {
        padding: 1.15rem;
        border-radius: 14px;
    }

    .cta-card-modern h3 {
        font-size: 1.05rem;
    }

    .course-item {
        padding: 0.65rem;
    }

    .course-thumb {
        width: 52px;
        height: 52px;
    }

    .resource-item {
        padding: 0.75rem 0.85rem;
    }
}

/* ===== MODERN FOOTER ===== */

.modern-footer {
    background: linear-gradient(135deg, #0F235F 0%, #1A2D4D 50%, #0F235F 100%);
    color: #fff;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Top Section */
.footer-top {
    padding: 2rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-icon 
{
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(31, 75, 227, 0.3);
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: -0.02em;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(31, 75, 227, 0.3);
}

.social-link i {
    font-size: 1.2rem;
}

/* Footer Section Title */
.footer-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand-heading,
.footer-newsletter-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.footer-brand-heading .footer-brand-name,
.footer-newsletter-heading .footer-section-title {
    margin-bottom: 0;
}

/* Footer Navigation */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-link:hover i {
    color: var(--accent);
}

.footer-link i {
    font-size: 1.1rem;
    color: rgba(10, 186, 239, 0.7);
    transition: color 0.2s ease;
}

.footer-link span {
    flex: 1;
}

/* Newsletter Section */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.newsletter-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 1rem 0;
}

.newsletter-form-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.newsletter-email-row {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 186, 239, 0.2);
}

.newsletter-category-dropdown {
    width: 100%;
}

.newsletter-category-toggle {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.newsletter-category-toggle span:not(.material-symbols-rounded) {
    flex: 1;
    min-width: 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newsletter-category-toggle:focus,
.newsletter-category-toggle:hover {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}

.newsletter-category-menu {
    width: 100%;
    max-height: 240px;
    overflow-y: auto;
    padding: 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.18);
}

.newsletter-category-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.6rem;
    border-radius: 8px;
    color: #1f2937;
    font-size: 0.9rem;
    cursor: pointer;
}

.newsletter-category-option:hover {
    background: rgba(31, 75, 227, 0.08);
}

.newsletter-category-option input {
    accent-color: var(--primary);
}

.newsletter-category-empty {
    margin: 0;
    padding: 0.6rem;
    color: #64748b;
    font-size: 0.9rem;
}

.newsletter-btn {
    padding: 0.85rem 1.5rem;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(31, 75, 227, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 75, 227, 0.4);
}

.newsletter-btn i {
    font-size: 1.2rem;
}

/* Footer Bottom Section */
.footer-bottom {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: #fff;
}

.divider {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 2rem;
    }

    .footer-bottom-content {
        gap: 1.5rem;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-newsletter {
        padding: 1.5rem;
    }

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

    .newsletter-email-row {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 2rem 0 1.5rem;
    }

    .footer-brand-name {
        font-size: 1.25rem;
    }

    .footer-section-title {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .footer-link {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }

    .footer-newsletter {
        padding: 1.25rem;
    }

    .copyright-text {
        text-align: center;
    }
}

/* ===== PREMIUM COURSE CARD ===== */

.premium-course-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.premium-course-card:focus-visible {
    outline: 3px solid rgba(31, 75, 227, 0.35);
    outline-offset: 4px;
    border-radius: 20px;
}

.course-card-inner {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.08);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(31, 75, 227, 0.08);
}

.course-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(15, 35, 95, 0.15);
    border-color: rgba(31, 75, 227, 0.15);
}

/* Thumbnail Section */
.course-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-soft), #E0E8FF);
}

.course-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card-inner:hover .course-thumbnail {
    transform: scale(1.08);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(31, 75, 227, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card-inner:hover .thumbnail-overlay {
    opacity: 1;
}

/* Badge Styles */
.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E72);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    backdrop-filter: blur(4px);
    animation: badgePulse 2s ease-in-out infinite;
}

.course-badge.trending {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.course-badge.limited {
    background: linear-gradient(135deg, #F7971E, #FFD200);
    color: #333;
    box-shadow: 0 4px 12px rgba(247, 151, 30, 0.3);
}

.course-badge.batch {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.course-badge i {
    font-size: 1rem;
}

.course-badge span {
    font-weight: 700;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Exam Date Badge */
.exam-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.exam-date-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Card Content */
.course-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.7rem;
}

/* Category Tags */
.category-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.category-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.12), rgba(10, 186, 239, 0.12));
    color: var(--primary);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(31, 75, 227, 0.2);
    transition: all 0.2s ease;
}

.category-tag:hover {
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.2), rgba(10, 186, 239, 0.2));
    border-color: rgba(31, 75, 227, 0.4);
}

/* Course Title */
.course-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

/* Course Description */
.course-description {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Course Features */
.course-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.feature-item i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Rating Section */
.course-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 0.2rem;
}

.stars i {
    font-size: 1.1rem;
    color: #FFB800;
    transition: transform 0.2s ease;
}

.stars i.filled {
    color: #FFB800;
}

.stars i:not(.filled) {
    color: rgba(255, 184, 0, 0.3);
}

.rating-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.students-count {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
}

/* Pricing Section */
.course-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.original-price {
    font-size: 0.95rem;
    color: var(--muted);
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF8E72);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

/* Trust Signals */
.trust-signals {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    color: var(--text);
    font-weight: 500;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signal-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.signal-item.highlight {
    color: #FF6B6B;
    font-weight: 600;
}

.signal-item.highlight i {
    color: #FF6B6B;
}

/* CTA Button */
.course-cta-btn {
    width: 100%;
    padding: 0.85rem 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 4px 16px rgba(31, 75, 227, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.course-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.course-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.course-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 75, 227, 0.4);
}

.course-cta-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.course-cta-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Info Button */
.course-info-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.course-info-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

/* Course Card Grid Layout */
.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Course Card Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-course-card {
    animation: slideUp 0.6s ease-out forwards;
}

.premium-course-card:nth-child(1) { animation-delay: 0.1s; }
.premium-course-card:nth-child(2) { animation-delay: 0.2s; }
.premium-course-card:nth-child(3) { animation-delay: 0.3s; }
.premium-course-card:nth-child(4) { animation-delay: 0.4s; }
.premium-course-card:nth-child(n+5) { animation-delay: 0.5s; }

/* Loading Skeleton */
.course-card-skeleton {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 35, 95, 0.08);
}

.skeleton-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, var(--border) 25%, var(--bg-soft) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, var(--border) 25%, var(--bg-soft) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 6px;
}

.skeleton-line.title {
    height: 20px;
    width: 90%;
    margin-bottom: 0.5rem;
}

.skeleton-line.text {
    height: 12px;
    width: 100%;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .course-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .course-card-content {
        padding: 1rem;
        gap: 0.7rem;
    }

    .course-title {
        font-size: 0.95rem;
    }

    .course-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }

    .current-price {
        font-size: 1.1rem;
    }

    .course-cta-btn {
        padding: 0.75rem 0.7rem;
        font-size: 0.8rem;
    }

    .course-thumbnail-wrapper {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 576px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .course-card-inner {
        border-radius: 16px;
    }

    .course-card-content {
        padding: 1rem;
        gap: 0.6rem;
    }

    .category-tags {
        gap: 0.4rem;
    }

    .course-title {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .course-description {
        font-size: 0.85rem;
    }

    .course-features {
        grid-template-columns: 1fr;
        padding: 0.5rem 0;
        gap: 0.4rem;
    }

    .feature-item {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .course-rating {
        gap: 0.4rem;
    }

    .rating-text {
        font-size: 0.8rem;
    }

    .students-count {
        font-size: 0.75rem;
    }

    .course-pricing {
        padding: 0.75rem 0;
    }

    .current-price {
        font-size: 1.1rem;
    }

    .original-price {
        font-size: 0.85rem;
    }

    .discount-badge {
        padding: 0.4rem 0.7rem;
        font-size: 0.7rem;
    }

    .trust-signals {
        gap: 0.8rem;
        padding: 0.75rem 0;
        font-size: 0.8rem;
    }

    .course-cta-btn {
        padding: 0.75rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .btn-icon {
        font-size: 1rem;
    }

    .course-thumbnail-wrapper {
        aspect-ratio: 2 / 1.5;
    }

    .course-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
        top: 8px;
        right: 8px;
    }

    .exam-date-badge {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        bottom: 8px;
        left: 8px;
    }
}


/* ================== JOBS PORTAL STYLES ================== */

/* Mega Menu */
.jobs-mega-menu {
    border: none !important;
    background: var(--surface);
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
    padding: 2rem;
    min-width: 800px;
    margin-top: 1rem;
}

.mega-menu-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.mega-menu-link:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.mega-menu-link i {
    font-size: 1.2rem;
}

.study-material-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
    padding: 0.6rem;
}

.study-material-menu-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 500;
    transition: all 0.2s ease;
}

.study-material-menu-link:hover,
.study-material-menu-link:focus {
    color: var(--primary);
    background: rgba(31, 75, 227, 0.08);
    padding-left: 1.25rem;
}

.study-material-menu-link .material-symbols-rounded {
    font-size: 1.15rem;
}

/* Hero Section */
.jobs-hero {
    background: linear-gradient(135deg, #1F4BE3 0%, #0ABAEF 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.jobs-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.jobs-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.jobs-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.jobs-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jobs-hero .eyebrow {
    color: #FFD700 !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.jobs-hero-desc {
    font-size: 1.25rem;
    max-width: none;
    margin: 0;
    color: #FFD700;
    font-weight: 500;
    line-height: 1.6;
}

/* Search Section */
.jobs-search-section {
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 5;
}

.jobs-search-wrapper {
    background: var(--surface);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.jobs-search-form .row {
    width: 100%;
}

.jobs-search-form .form-group {
    margin-bottom: 0;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 100%;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 75, 227, 0.3);
}

.search-btn i {
    font-size: 1.3rem;
}

.advanced-filters {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(31, 75, 227, 0.02);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem -2.5rem 0;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* Active Filters */
.jobs-active-filters {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(31, 75, 227, 0.05);
    border-radius: 8px;
}

.filters-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filters-label {
    font-weight: 600;
    color: var(--text);
}

.filters-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text);
}

.filter-chip a {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    margin-left: 0.5rem;
}

.filter-chip a:hover {
    opacity: 1;
}

.jobs-mobile-shop-search {
    display: none;
}

.mobile-filter-drawer,
.mobile-jobs-bottom-bar {
    display: none;
}

/* Results Section */
.jobs-results-section {
    padding: 2rem 0;
    min-height: 400px;
}

.results-header {
    margin-bottom: 2rem;
}

.results-info {
    color: var(--muted);
    font-size: 0.95rem;
}

.results-info strong {
    color: var(--text);
    font-weight: 600;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-card {
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(31, 75, 227, 0.15);
    border-color: rgba(31, 75, 227, 0.2);
}

.job-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.job-card-title a {
    color: var(--text);
    transition: color 0.2s ease;
}

.job-card-title a:hover {
    color: var(--primary);
}

.job-card-org {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.icon-small {
    font-size: 1.1rem;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: rgba(31, 75, 227, 0.08);
    color: var(--primary);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-more {
    background: rgba(100, 100, 100, 0.1);
    color: var(--muted);
}

.job-card-desc {
    flex: 1;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.job-card-dates {
    background: rgba(31, 75, 227, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.date-item:last-child {
    margin-bottom: 0;
}

.date-label {
    color: var(--muted);
    font-weight: 500;
}

.date-value {
    color: var(--text);
    font-weight: 600;
}

.days-left {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.days-left.danger {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.job-card-actions {
    display: flex;
    gap: 0.75rem;
}

.job-card-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

/* Job Hero */
.job-hero {
    background: linear-gradient(135deg, #f5f7ff 0%, #e8f1ff 100%);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.job-detail-hero {
    background: linear-gradient(135deg, #0f1f5f 0%, #17378f 48%, #086f9f 100%);
    color: #fff;
    padding: 3.5rem 0 2.75rem;
    margin-bottom: 0;
}

.job-breadcrumb-nav {
    margin-bottom: 1.25rem;
}

.job-breadcrumb {
    display: inline-flex;
    max-width: 100%;
    margin-bottom: 0;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.job-breadcrumb .breadcrumb-item,
.job-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    text-decoration: none;
}

.job-breadcrumb .breadcrumb-item a:hover,
.job-breadcrumb .breadcrumb-item.active {
    color: #fff;
}

.job-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.job-hero-content {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 24px 70px rgba(4, 13, 45, 0.28);
    backdrop-filter: blur(10px);
}

.job-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.job-detail-hero .job-title,
.job-detail-hero .job-org-name,
.job-detail-hero .stat-value {
    color: #fff;
}

.job-detail-hero .text-muted,
.job-detail-hero .stat-label,
.job-detail-hero .job-org-info p {
    color: rgba(255, 255, 255, 0.76) !important;
}

.job-org-info {
    margin-bottom: 2rem;
}

.job-org-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.job-key-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.job-detail-hero .stat-box {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.job-eligible-inline,
.profile-inline-value {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.job-eligible-inline {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.inline-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-eligible-inline .tag,
.profile-inline-value .tag {
    display: inline-flex;
    width: auto;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.profile-inline-value .tag {
    background: rgba(31, 75, 227, 0.09);
    color: var(--primary);
    border-color: rgba(31, 75, 227, 0.18);
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.days-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.days-badge.danger {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.days-badge.warning {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.days-badge.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Job Sidebar */
.job-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.job-cta-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(4, 13, 45, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.cta-status {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.cta-status.closed {
    background: rgba(107, 114, 128, 0.1);
}

.status-label {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.status-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
}

.cta-status.closed .status-value {
    color: var(--muted);
}

.job-share-save {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
}

.share-btn {
    flex: 1;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(31, 75, 227, 0.18);
    background: rgba(31, 75, 227, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.share-btn:hover {
    background: rgba(31, 75, 227, 0.13);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.share-btn .material-symbols-rounded {
    font-size: 1.15rem;
    line-height: 1;
}

.job-education-tags {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.tags-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tags-list .tag {
    display: block;
    text-align: center;
}

/* Job Tabs */
.job-tabs-section {
    background: #f6f8ff;
    border-bottom: 1px solid rgba(31, 75, 227, 0.12);
    position: sticky;
    top: 0;
    z-index: 10;
}

.job-tabs-wrapper {
    padding: 0.75rem 0;
    overflow-x: auto;
}

.job-tabs {
    border: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
    border-bottom: none !important;
    white-space: nowrap;
}

.job-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    border-bottom: 1px solid transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.job-tabs .nav-link:hover {
    color: var(--primary);
    background: rgba(31, 75, 227, 0.08);
    border-color: rgba(31, 75, 227, 0.12);
}

.job-tabs .nav-link.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #1837a7, #0897d3);
    box-shadow: 0 10px 24px rgba(24, 55, 167, 0.22);
}

/* Tab Content */
.job-content-section {
    padding: 2.5rem 0 3.5rem;
    background: #f8fafc;
}

.job-content-wrapper {
    background: var(--surface);
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid rgba(31, 75, 227, 0.08);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.job-description-section {
    margin-bottom: 2rem;
}

.job-description-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.job-description-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

.job-overview-note {
    border: 1px solid rgba(31, 75, 227, 0.1);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(31, 75, 227, 0.06), rgba(8, 151, 211, 0.05));
    color: #24324a;
    margin-bottom: 1.35rem;
}

.job-overview-note p,
.job-source-note {
    margin: 0;
}

.job-snapshot-panel {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.15rem;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    margin: 1.25rem 0;
}

.job-snapshot-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.job-snapshot-heading .material-symbols-rounded {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #1f4be3, #0897d3);
}

.job-snapshot-heading h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.job-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.job-snapshot-item {
    min-width: 0;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.job-snapshot-item span {
    display: block;
    margin-bottom: 0.25rem;
    color: #64748b;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.job-snapshot-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.job-source-note {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.88rem;
}

.job-source-note a {
    color: #1f4be3;
    font-weight: 700;
    text-decoration: none;
}

.job-source-note a:hover {
    text-decoration: underline;
}

.job-info-section {
    margin-bottom: 2rem;
}

.job-info-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.info-label {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.dates-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.timeline-content {
    flex: 1;
}

.timeline-label {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-date {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(31, 75, 227, 0.05);
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    width: fit-content;
}

.link-item:hover {
    background: rgba(31, 75, 227, 0.1);
    transform: translateX(4px);
}

/* Job Sidebar Info Card */
.job-sidebar-info-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(31, 75, 227, 0.08);
}

.job-detail-sidepanel {
    position: sticky;
    top: 92px;
}

.quick-info-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    width: 100%;
}

.quick-info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    background: rgba(31, 75, 227, 0.08);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 700;
}

.quick-info-pill i {
    color: var(--primary);
    font-size: 1.1rem;
}

.info-item-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease;
}

.info-item-card:hover {
    background: var(--bg-soft);
}

.info-item-card.warning {
    border: 1px solid #fcd34d;
    background: #fff8e1;
    margin-top: 1rem;
}

.info-icon {
    font-size: 1.75rem;
    min-width: 40px;
}

.info-item-card .label {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-item-card .value {
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
}

.info-item-card .small {
    font-size: 0.85rem;
}

.job-quick-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

/* PDF Viewer */
.pdf-viewer-section {
    background: var(--surface);
    border-radius: 12px;
    padding: 2rem;
}

.pdf-toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.pdf-container {
    background: var(--bg-soft);
    border-radius: 8px;
    overflow: hidden;
    min-height: 760px;
}

.pdf-container iframe {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 0;
}

/* Video Section */
.video-section {
    background: var(--surface);
    border-radius: 12px;
    padding: 2rem;
}

.video-container {
    border-radius: 8px;
    overflow: hidden;
    background: black;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.video-description {
    margin-top: 1.5rem;
}

/* Recommended Courses */
.recommended-courses-section {
    background: var(--surface);
    border-radius: 12px;
    padding: 2rem;
}

.related-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.course-card-compact {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(31, 75, 227, 0.1);
}

.course-thumb-compact {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--bg-soft);
}

.course-thumb-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-body-compact {
    padding: 1rem;
}

.course-body-compact h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.course-price-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: line-through;
}

/* Related Jobs */
.related-jobs-section {
    background: var(--surface);
    border-radius: 12px;
    padding: 2rem;
}

.related-jobs-aside {
    background: var(--surface);
    border: 1px solid rgba(31, 75, 227, 0.08);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.aside-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.aside-heading h5 {
    margin: 0;
    font-weight: 800;
}

.aside-heading span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: rgba(31, 75, 227, 0.1);
    color: var(--primary);
    font-weight: 800;
}

.related-jobs-list {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0.1rem;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 75, 227, 0.35) rgba(31, 75, 227, 0.08);
}

.related-jobs-list::-webkit-scrollbar {
    height: 7px;
}

.related-jobs-list::-webkit-scrollbar-track {
    background: rgba(31, 75, 227, 0.08);
    border-radius: 999px;
}

.related-jobs-list::-webkit-scrollbar-thumb {
    background: rgba(31, 75, 227, 0.35);
    border-radius: 999px;
}

.related-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-job-card {
    flex: 0 0 min(86vw, 280px);
    min-width: min(86vw, 280px);
    scroll-snap-align: start;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(31, 75, 227, 0.15);
    border-color: var(--primary);
}

.related-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.related-job-header h6 {
    margin: 0;
    font-weight: 700;
    color: var(--text);
}

.related-job-org {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.related-job-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.related-job-deadline {
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border-radius: 12px;
    border: 2px dashed var(--border);
}

.empty-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.empty-state h4 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Promo Cards */
.promo-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.promo-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Pagination */
.jobs-pagination .pagination {
    gap: 0.5rem;
}

.page-link {
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text);
}

.page-link:hover:not(.active) {
    background: var(--bg-soft);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .jobs-mega-menu {
        min-width: 100%;
    }

    body.job-filter-open {
        overflow: hidden;
    }

    .jobs-search-desktop {
        display: none;
    }

    .jobs-mobile-shop-search {
        display: block;
        position: sticky;
        top: 0;
        z-index: 28;
        background: #fff;
        border-bottom: 1px solid #e8edf8;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
        padding: 0.75rem 0 0.7rem;
    }

    .jobs-mobile-search-form {
        display: block;
    }

    .mobile-job-searchbar {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        min-height: 48px;
        background: #f4f7fb;
        border: 1px solid #e5eaf2;
        border-radius: 14px;
        padding: 0.2rem 0.25rem 0.2rem 0.8rem;
    }

    .mobile-job-searchbar > .material-symbols-rounded {
        color: #1f4be3;
        font-size: 22px;
        flex: 0 0 auto;
    }

    .mobile-job-searchbar input {
        border: 0;
        outline: 0;
        background: transparent;
        min-width: 0;
        flex: 1 1 auto;
        font-size: 16px;
        color: #17213b;
    }

    .mobile-job-searchbar button {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 12px;
        background: #17213b;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .mobile-job-filter-chips {
        display: flex;
        gap: 0.65rem;
        overflow-x: auto;
        padding: 0.75rem 0.05rem 0.1rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-job-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .mobile-filter-chip {
        min-height: 42px;
        border: 1px solid #d9e1ec;
        border-radius: 14px;
        background: #fff;
        color: #17213b;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0 0.9rem;
        white-space: nowrap;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
        flex: 0 0 auto;
    }

    .mobile-filter-chip:first-child {
        width: 48px;
        justify-content: center;
        padding: 0;
    }

    .mobile-filter-chip .material-symbols-rounded {
        font-size: 20px;
    }

    .mobile-filter-select-chip {
        min-height: 42px;
        max-width: min(70vw, 220px);
        border: 1px solid #d9e1ec;
        border-radius: 14px;
        background: #fff;
        color: #17213b;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0 0.65rem 0 0.8rem;
        white-space: nowrap;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
        flex: 0 0 auto;
        position: relative;
    }

    .mobile-filter-select-chip > span:first-child {
        color: #64748b;
        font-size: 0.82rem;
        flex: 0 0 auto;
    }

    .mobile-filter-select-chip select {
        min-width: 86px;
        max-width: 130px;
        border: 0;
        outline: 0;
        background: transparent;
        color: #17213b;
        font: inherit;
        font-size: 0.92rem;
        padding: 0.2rem 1.15rem 0.2rem 0;
        appearance: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-filter-select-chip .material-symbols-rounded {
        position: absolute;
        right: 0.45rem;
        pointer-events: none;
        color: #1f4be3;
        font-size: 19px;
    }

    .mobile-filter-drawer {
        display: block;
        position: fixed;
        inset: 0;
        background: #fff;
        z-index: 1090;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(16px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .mobile-filter-drawer.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-filter-panel {
        height: 100dvh;
        max-height: 100dvh;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        background: #fff;
        overflow: hidden;
    }

    .mobile-filter-header {
        min-height: 72px;
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid #e8edf8;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    }

    .mobile-filter-back {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 12px;
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #17213b;
        flex: 0 0 auto;
    }

    .mobile-filter-header h2 {
        margin: 0;
        font-size: 1.08rem;
        font-weight: 800;
        color: #17213b;
    }

    .mobile-filter-header p {
        margin: 0.1rem 0 0;
        color: #6b7280;
        font-size: 0.9rem;
    }

    .mobile-filter-body {
        min-height: 0;
        display: grid;
        grid-template-columns: 34% 66%;
        overflow: hidden;
    }

    .mobile-filter-tabs {
        background: #eef2f7;
        padding: 0.6rem 0;
        overflow-y: auto;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-filter-tabs button {
        width: 100%;
        border: 0;
        background: transparent;
        color: #17213b;
        text-align: left;
        padding: 1rem 1rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .mobile-filter-tabs button.is-active {
        background: #fff;
        color: #1f4be3;
        box-shadow: inset 3px 0 0 #1f4be3;
    }

    .mobile-filter-content {
        min-width: 0;
        min-height: 0;
        height: 100%;
        padding: 0.9rem 1rem 1.25rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-filter-pane {
        display: none;
    }

    .mobile-filter-pane.is-active {
        display: block;
    }

    .mobile-filter-search {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        min-height: 46px;
        border-radius: 12px;
        background: #f4f7fb;
        color: #64748b;
        padding: 0 0.8rem;
        margin-bottom: 0.9rem;
    }

    .mobile-filter-search input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        font-size: 16px;
    }

    .mobile-filter-option {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        min-height: 48px;
        color: #1f2937;
        margin-bottom: 0.35rem;
    }

    .mobile-filter-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .mobile-filter-option span {
        width: 28px;
        height: 28px;
        border: 2px solid #17213b;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .mobile-filter-option input:checked + span {
        background: #17213b;
        border-color: #17213b;
    }

    .mobile-filter-option input:checked + span::after {
        content: 'check';
        font-family: 'Material Symbols Rounded';
        color: #fff;
        font-size: 19px;
        line-height: 1;
    }

    .mobile-filter-option strong {
        font-weight: 600;
        line-height: 1.25;
    }

    .mobile-filter-footer {
        display: grid;
        grid-template-columns: 1fr 1.6fr;
        gap: 1rem;
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
        border-top: 1px solid #e8edf8;
        background: #fff;
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
        z-index: 2;
    }

    .mobile-filter-footer .btn {
        min-height: 52px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }

    .mobile-jobs-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 35;
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #1f1f1f;
        box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.2);
    }

    .mobile-jobs-bottom-bar button {
        min-height: 64px;
        border: 0;
        background: transparent;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.7rem;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

    .mobile-jobs-bottom-bar button:last-child {
        border-right: 0;
    }

    .mobile-jobs-bottom-bar .material-symbols-rounded {
        font-size: 25px;
    }

    .mobile-jobs-bottom-bar span span,
    .mobile-jobs-bottom-bar span {
        display: block;
        text-align: left;
        line-height: 1.15;
    }

    .mobile-jobs-bottom-bar strong {
        display: block;
        text-transform: uppercase;
        font-size: 0.86rem;
        letter-spacing: 0.02em;
    }

    .mobile-jobs-bottom-bar small {
        display: block;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.74rem;
        margin-top: 0.15rem;
    }

    .mega-menu-title {
        margin-top: 1rem;
    }

    .mega-menu-title:first-child {
        margin-top: 0;
    }

    .jobs-hero-title {
        font-size: 2rem;
    }

    .jobs-hero-desc {
        font-size: 1.1rem;
    }

    .jobs-search-wrapper {
        padding: 1.75rem;
        margin: -2rem 0 2rem;
    }

    .jobs-search-form .form-group input,
    .jobs-search-form .form-group select {
        font-size: 16px;
    }

    .floating-input label {
        font-size: 0.9rem;
    }

    .advanced-filters {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        display: block;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .jobs-results-section {
        padding-top: 1rem;
        padding-bottom: 5.25rem;
    }

    .job-hero {
        padding: 2rem 0;
    }

    .job-title {
        font-size: 1.5rem;
    }

    .job-key-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .job-sidebar-sticky {
        position: static;
        margin-top: 2rem;
    }

    .job-detail-sidepanel {
        position: static;
    }

    .job-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .job-tabs .nav-link {
        padding: 1rem 1rem;
        font-size: 0.9rem;
    }

    .job-cta-card {
        padding: 1.5rem;
    }

    .job-tabs-section {
        position: sticky;
        top: 60px;
    }

    .job-content-wrapper {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .courses-grid,
    .related-jobs-grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .jobs-hero-title {
        font-size: 1.5rem;
    }

    .jobs-hero-desc {
        font-size: 1rem;
    }

    .jobs-search-wrapper {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .jobs-search-form .form-group input,
    .jobs-search-form .form-group select {
        font-size: 16px;
        border-radius: 8px;
    }

    .floating-input input,
    .floating-input select {
        padding: 1rem 0.9rem 0.7rem;
    }

    .floating-input label {
        font-size: 0.85rem;
        left: 0.9rem;
        top: 0.9rem;
    }

    .search-btn {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .search-btn i {
        font-size: 1.1rem;
    }

    .job-hero-title {
        font-size: 1.5rem;
    }

    .job-title {
        font-size: 1.25rem;
    }

    .job-key-stats {
        grid-template-columns: 1fr;
    }

    .job-card-actions {
        flex-direction: column;
    }

    .job-card-actions .btn {
        width: 100%;
    }

    .filters-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters-chips {
        width: 100%;
    }

    .job-tabs .nav-link {
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem;
    }

    .job-tabs .nav-link i {
        display: none;
    }

    .promo-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .job-detail-hero.mobile-compact-hero {
        padding: 0.95rem 0 1.2rem !important;
        min-height: 0 !important;
    }

    .job-detail-hero.mobile-compact-hero .row,
    .job-detail-hero.mobile-compact-hero .job-hero-content {
        display: block !important;
    }

    .job-detail-hero.mobile-compact-hero .job-hero-content {
        padding: 1rem !important;
        border-radius: 14px;
        box-shadow: none;
    }

    .job-detail-hero.mobile-compact-hero .eyebrow,
    .job-detail-hero.mobile-compact-hero .job-org-info,
    .job-detail-hero.mobile-compact-hero .job-key-stats,
    .job-detail-hero.mobile-compact-hero .job-eligible-inline {
        display: flex !important;
    }

    .job-detail-hero.mobile-compact-hero .eyebrow {
        align-items: center;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-bottom: 0.65rem !important;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .job-detail-hero.mobile-compact-hero .job-title {
        margin: 0 0 0.75rem !important;
        font-size: clamp(1.25rem, 6.2vw, 1.75rem) !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere;
    }

    .job-detail-hero.mobile-compact-hero .job-org-info {
        flex-direction: column;
        gap: 0.25rem;
        margin-bottom: 0.9rem !important;
    }

    .job-org-name {
        font-size: 0.98rem;
        line-height: 1.3;
    }

    .job-detail-hero.mobile-compact-hero .job-key-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .job-detail-hero .stat-box {
        padding: 0.75rem;
        min-width: 0;
    }

    .stat-label {
        gap: 0.3rem;
        font-size: 0.66rem;
        line-height: 1.25;
        letter-spacing: 0.03em;
    }

    .stat-label i {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 0.98rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .days-badge {
        padding: 0.28rem 0.5rem;
        font-size: 0.65rem;
    }

    .job-detail-hero.mobile-compact-hero .job-eligible-inline {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
        padding-top: 0.85rem;
        margin-top: 0.85rem !important;
    }

    .inline-tags {
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 0.1rem;
        -webkit-overflow-scrolling: touch;
    }

    .job-eligible-inline .tag,
    .profile-inline-value .tag {
        flex: 0 0 auto;
        padding: 0.34rem 0.55rem;
        font-size: 0.72rem;
    }

    .job-detail-hero.mobile-compact-hero .col-lg-4,
    .job-detail-hero.mobile-compact-hero .job-sidebar-sticky,
    .job-detail-hero.mobile-compact-hero .job-cta-card,
    .job-detail-hero.mobile-compact-hero .job-share-save {
        display: block !important;
    }

    .job-sidebar-sticky {
        margin-top: 1rem;
    }

    .job-cta-card {
        padding: 1rem;
        border-radius: 14px;
        box-shadow: 0 14px 32px rgba(4, 13, 45, 0.18);
    }

    .cta-status {
        padding: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .status-value {
        font-size: 1.08rem;
    }

    .job-share-save {
        margin-top: 0.75rem;
        display: flex !important;
    }

    .job-share-save .share-btn {
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.96);
        color: #1837a7;
        border-color: rgba(255, 255, 255, 0.72);
        box-shadow: 0 10px 24px rgba(4, 13, 45, 0.14);
    }

    .job-tabs-section {
        top: 0;
        position: sticky;
        z-index: 12;
    }

    .job-tabs-wrapper {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 0.6rem 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .job-tabs {
        width: max-content;
        min-width: 100%;
        gap: 0.45rem;
    }

    .job-tabs .nav-link {
        min-height: 38px;
        padding: 0.55rem 0.7rem;
        border-radius: 999px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .job-tabs .nav-link i {
        display: inline-flex;
        font-size: 1rem;
    }

    .job-content-section {
        padding: 1.25rem 0 2rem;
    }

    .job-content-section .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 1rem;
    }

    .job-content-wrapper,
    .job-sidebar-info-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .job-description-section,
    .job-info-section {
        margin-bottom: 1.25rem;
    }

    .job-description-section h4,
    .job-info-section h4 {
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
    }

    .job-description-content {
        font-size: 0.95rem;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .job-description-content img,
    .job-description-content iframe,
    .job-description-content table,
    .job-description-content video {
        max-width: 100%;
    }

    .job-description-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .job-overview-note,
    .job-snapshot-panel {
        border-radius: 12px;
        padding: 0.9rem;
    }

    .job-snapshot-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.7rem;
    }

    .job-snapshot-item {
        padding: 0.78rem 0.85rem;
    }

    .info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
    }

    .timeline-item {
        gap: 0.75rem;
    }

    .link-item {
        width: 100%;
        justify-content: center;
        padding: 0.85rem;
    }

    .pdf-viewer-section,
    .video-section {
        padding: 1rem;
        border-radius: 14px;
    }

    .pdf-toolbar {
        flex-direction: column;
        gap: 0.65rem;
        margin-bottom: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .pdf-toolbar .btn {
        width: 100%;
        justify-content: center;
    }

    .pdf-container,
    .pdf-container iframe {
        min-height: 420px;
    }

    .quick-info-inline {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .quick-info-pill {
        flex: 0 0 auto;
        font-size: 0.78rem;
        padding: 0.5rem 0.7rem;
    }

    .job-detail-sidepanel {
        position: static;
    }

    .related-jobs-list,
    .related-jobs-grid,
    .courses-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .job-detail-hero.mobile-compact-hero .job-key-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .pdf-container,
    .pdf-container iframe {
        min-height: 360px;
    }
}

/* Mobile-wide polish and overflow guards */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe,
canvas,
svg {
    max-width: 100%;
}

@media (max-width: 768px) {
    .container,
    .container-fluid {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .selection-showcase-header,
    .exam-result-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .selection-showcase-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .selection-card-media {
        grid-template-rows: repeat(2, 104px);
    }

    .exam-result-score {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        text-align: left;
    }

    .exam-result-score span {
        font-size: 2rem;
    }

    .selection-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .selection-gallery-item {
        border-radius: 12px;
        transform: translateY(10px) scale(1.04);
    }

    .section.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .eyebrow {
        letter-spacing: 0.08em;
        font-size: 0.72rem;
        overflow-wrap: anywhere;
    }

    h1,
    .hero-copy h1,
    .modern-page-hero h1,
    .study-material-hero h1,
    .jobs-hero-title,
    .blog-list-hero .hero-title,
    .hero-main-title {
        font-size: 2rem;
        line-height: 1.15;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    h2,
    .section-heading h2,
    .newsletter-text h3,
    .blog-detail-content h2 {
        font-size: 1.45rem;
        line-height: 1.25;
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    h3,
    .contact-form-card h3,
    .section-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    p,
    .text-muted,
    .hero-lead,
    .jobs-hero-desc,
    .modern-page-hero p.text-muted,
    .modern-page-hero .lead.text-muted {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .hero-section,
    .modern-page-hero,
    .study-material-hero,
    .jobs-hero,
    .blog-list-hero,
    .contact-hero {
        width: 100%;
        margin-left: 0;
        padding: 2rem 0 1.5rem;
        overflow: hidden;
    }

    .hero-section::before,
    .hero-section::after,
    .jobs-hero::before,
    .jobs-hero::after,
    .modern-page-hero::before {
        display: none;
    }

    .hero-grid,
    .blog-layout,
    .article-layout,
    .job-detail-layout,
    .course-detail-grid,
    .app-modal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .glass-card,
    .hero-lead-card,
    .contact-form-card,
    .contact-meta-card,
    .newsletter-card,
    .admin-card,
    .job-content-wrapper,
    .job-cta-card,
    .enrollment-card,
    .related-courses-card,
    .help-card {
        max-width: 100%;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .btn {
        min-height: 44px;
        padding: 0.7rem 1rem;
        white-space: normal;
    }

    .admin-body .admin-icon-actions .btn,
    .admin-body .table .btn-group-sm .btn:has(.material-symbols-rounded),
    .admin-body .admin-inline-actions .btn,
    .admin-body .course-action-buttons .btn,
    .admin-body .selection-admin-actions .btn:has(.material-symbols-rounded) {
        width: 34px;
        min-width: 34px;
        height: 34px;
        min-height: 34px;
        padding: 0;
        white-space: nowrap;
    }

    .hero-ctas,
    .filter-bar,
    .newsletter-form-modern,
    .newsletter-email-row,
    .jobs-search-form,
    .job-card-actions,
    .contact-form-card .d-flex,
    .footer-bottom-content {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn,
    .filter-bar .btn,
    .newsletter-btn,
    .newsletter-input,
    .newsletter-category-toggle,
    .job-card-actions .btn,
    .contact-form-card .btn {
        width: 100%;
    }

    .input-wrapper,
    .filter-bar,
    .jobs-search-wrapper,
    .newsletter-form-modern,
    .newsletter-email-row,
    .courses-filter-bar,
    .admin-course-filters .input-wrapper,
    .admin-course-filters .form-select {
        width: 100%;
        min-width: 0;
    }

    .form-control,
    .form-select,
    .input-wrapper input,
    .newsletter-input {
        min-width: 0;
        font-size: 16px;
        border-radius: 12px;
    }

    .hero-chips,
    .pill-row,
    .category-tags,
    .job-card-badges,
    .filters-chips,
    .hero-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .hero-chips > *,
    .pill-row > *,
    .category-tags > *,
    .job-card-badges > *,
    .filters-chips > *,
    .hero-badges > * {
        flex: 0 0 auto;
    }

    .course-grid,
    .blog-grid,
    .jobs-grid,
    .courses-grid,
    .related-jobs-grid,
    .features-grid,
    .curriculum-grid,
    .faculty-grid,
    .testimonial-grid,
    .stats-grid,
    .job-key-stats,
    .job-stats-row,
    .footer-top .row {
        grid-template-columns: minmax(0, 1fr);
    }

    .section.container .course-grid,
    .section.container .testimonial-grid,
    .section.container > .row {
        margin-left: 0;
        margin-right: 0;
    }

    .row {
        --bs-gutter-x: 1rem;
    }

    .premium-course-card,
    .course-card,
    .blog-card,
    .job-card,
    .featured-blog-post {
        max-width: 100%;
        border-radius: 16px;
    }

    .premium-course-card {
        width: 100%;
        animation: none;
    }

    .course-card-inner {
        min-width: 0;
    }

    .course-thumbnail-wrapper {
        aspect-ratio: 16 / 10;
    }

    .course-card-content,
    .course-body,
    .blog-card-content,
    .job-card-body,
    .featured-content {
        padding: 1rem;
    }

    .course-title,
    .blog-card-title,
    .job-card-title,
    .featured-title {
        font-size: 1.05rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .course-features,
    .course-pricing,
    .course-rating,
    .trust-signals,
    .job-card-meta,
    .related-item {
        flex-wrap: wrap;
        min-width: 0;
    }

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

    .table.modern-table th,
    .table.modern-table td,
    .admin-table th,
    .admin-table td {
        padding: 0.75rem;
        white-space: normal;
    }

    .mobile-sticky-cta {
        left: 0;
        right: 0;
        width: 100%;
    }

    .cta-content {
        gap: 0.75rem;
    }

    .mobile-compact-hero {
        padding: 0.85rem 0 0.95rem !important;
        min-height: 0 !important;
    }

    .mobile-compact-hero::before,
    .mobile-compact-hero::after {
        display: none !important;
    }

    .mobile-compact-hero .container {
        position: relative;
    }

    .mobile-compact-hero nav[aria-label="breadcrumb"],
    .mobile-compact-hero .breadcrumb,
    .mobile-compact-hero .breadcrumb-nav,
    .mobile-compact-hero .job-breadcrumb-nav,
    .mobile-compact-hero .eyebrow,
    .mobile-compact-hero p,
    .mobile-compact-hero .lead,
    .mobile-compact-hero .hero-main-subtitle,
    .mobile-compact-hero .jobs-hero-desc,
    .mobile-compact-hero .pyq-detail-meta,
    .mobile-compact-hero .hero-badges,
    .mobile-compact-hero .hero-meta,
    .mobile-compact-hero .job-org-info,
    .mobile-compact-hero .job-key-stats,
    .mobile-compact-hero .course-detail-meta,
    .mobile-compact-hero .hero-actions,
    .mobile-compact-hero .course-hero-actions,
    .mobile-compact-hero .hero-chips,
    .mobile-compact-hero .hero-focus-cards,
    .mobile-compact-hero .hero-trust-grid,
    .mobile-compact-hero .hero-ctas,
    .mobile-compact-hero .glass-card,
    .mobile-compact-hero .col-lg-4 {
        display: none !important;
    }

    .mobile-compact-hero .row,
    .mobile-compact-hero .hero-grid,
    .mobile-compact-hero .hero-copy,
    .mobile-compact-hero .hero-inner,
    .mobile-compact-hero .jobs-hero-content,
    .mobile-compact-hero .job-hero-content {
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .mobile-compact-hero h1,
    .mobile-compact-hero .hero-title,
    .mobile-compact-hero .hero-main-title,
    .mobile-compact-hero .jobs-hero-title,
    .mobile-compact-hero .job-title {
        display: block !important;
        margin: 0.65rem 0 0 !important;
        font-size: 1.32rem !important;
        line-height: 1.18 !important;
        letter-spacing: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mobile-compact-hero .mobile-hero-back {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        color: #1f4be3;
        background: #fff;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

    .mobile-compact-hero .mobile-hero-back .material-symbols-rounded {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    h1,
    .hero-copy h1,
    .modern-page-hero h1,
    .study-material-hero h1,
    .jobs-hero-title,
    .hero-main-title {
        font-size: 1.65rem;
    }

    .navbar-brand span {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 34px !important;
    }

    .hero-section,
    .modern-page-hero,
    .study-material-hero,
    .jobs-hero,
    .blog-list-hero,
    .contact-hero {
        padding: 1.5rem 0 1.25rem;
    }

    .study-material-hero.pyq-detail-hero {
        padding: 0.85rem 0 0.95rem;
    }

    .mobile-compact-hero {
        padding: 0.85rem 0 0.95rem !important;
        min-height: 0 !important;
    }

    .mobile-compact-hero::before,
    .mobile-compact-hero::after {
        display: none !important;
    }

    .mobile-compact-hero .container {
        position: relative;
    }

    .mobile-compact-hero nav[aria-label="breadcrumb"],
    .mobile-compact-hero .breadcrumb,
    .mobile-compact-hero .breadcrumb-nav,
    .mobile-compact-hero .job-breadcrumb-nav,
    .mobile-compact-hero .eyebrow,
    .mobile-compact-hero p,
    .mobile-compact-hero .lead,
    .mobile-compact-hero .hero-main-subtitle,
    .mobile-compact-hero .jobs-hero-desc,
    .mobile-compact-hero .pyq-detail-meta,
    .mobile-compact-hero .hero-badges,
    .mobile-compact-hero .hero-meta,
    .mobile-compact-hero .job-org-info,
    .mobile-compact-hero .job-key-stats,
    .mobile-compact-hero .course-detail-meta,
    .mobile-compact-hero .hero-actions,
    .mobile-compact-hero .course-hero-actions,
    .mobile-compact-hero .hero-chips,
    .mobile-compact-hero .hero-focus-cards,
    .mobile-compact-hero .hero-trust-grid,
    .mobile-compact-hero .hero-ctas,
    .mobile-compact-hero .glass-card,
    .mobile-compact-hero .col-lg-4 {
        display: none !important;
    }

    .mobile-compact-hero .row,
    .mobile-compact-hero .hero-grid,
    .mobile-compact-hero .hero-copy,
    .mobile-compact-hero .hero-inner,
    .mobile-compact-hero .jobs-hero-content,
    .mobile-compact-hero .job-hero-content {
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .mobile-compact-hero h1,
    .mobile-compact-hero .hero-title,
    .mobile-compact-hero .hero-main-title,
    .mobile-compact-hero .jobs-hero-title,
    .mobile-compact-hero .job-title {
        display: block !important;
        margin: 0.65rem 0 0 !important;
        font-size: 1.32rem !important;
        line-height: 1.18 !important;
        letter-spacing: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mobile-compact-hero .mobile-hero-back {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        color: #1f4be3;
        background: #fff;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    }

    .mobile-compact-hero .mobile-hero-back .material-symbols-rounded {
        font-size: 1.25rem;
    }

    .study-material-hero.pyq-detail-hero .breadcrumb,
    .study-material-hero.pyq-detail-hero .eyebrow,
    .study-material-hero.pyq-detail-hero .pyq-detail-meta,
    .study-material-hero.pyq-detail-hero .col-lg-4 {
        display: none;
    }

    .study-material-hero.pyq-detail-hero h1 {
        margin: 0.65rem 0 0;
        font-size: 1.32rem;
        line-height: 1.18;
    }

    .glass-card,
    .hero-lead-card,
    .contact-form-card,
    .contact-meta-card,
    .newsletter-card,
    .job-content-wrapper,
    .job-cta-card,
    .enrollment-card,
    .related-courses-card,
    .help-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .hero-focus-cards,
    .hero-trust-grid,
    .faculty-grid-inline,
    .app-modal-points {
        grid-template-columns: minmax(0, 1fr);
    }

    .testimonial-grid {
        gap: 1rem;
    }

    .success-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .success-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .review-score-card {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.65rem 0.75rem;
        border-radius: 12px;
    }

    .review-score {
        display: inline;
        font-size: 1.2rem;
    }

    .review-score-card .review-stars {
        font-size: 0.66rem;
    }

    .review-source {
        display: inline;
        margin-top: 0;
        font-size: 0.68rem;
    }

    .google-review-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: min(82vw, 320px);
        gap: 0.9rem !important;
        overflow-x: auto;
        padding-bottom: 0.8rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .google-review-card {
        min-height: 320px;
        max-height: 320px;
        padding: 1rem;
        scroll-snap-align: start;
    }

    .google-review-card .quote {
        -webkit-line-clamp: 7;
    }

    .section.container {
        padding-left: 1.125rem;
        padding-right: 1.125rem;
    }

    .section.container .course-grid,
    .section.container .testimonial-grid {
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-card .quote {
        font-size: 0.95rem;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .success-stories-title {
        white-space: nowrap;
        font-size: 1.12rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 360px) {
    .success-stories-title {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section.mobile-compact-hero .hero-trust-grid {
        display: flex !important;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0.4rem !important;
        margin-top: 0.85rem;
        overflow: visible;
        padding-bottom: 0.15rem;
    }

    .hero-section.mobile-compact-hero .trust-pill {
        flex: 1 1 0;
        min-width: 0;
        min-height: 76px;
        gap: 0.15rem;
        padding: 0.55rem 0.28rem;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-shadow: 0 8px 18px rgba(20, 30, 80, 0.06);
    }

    .hero-section.mobile-compact-hero .trust-pill .stat-value {
        font-size: 0.78rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .hero-section.mobile-compact-hero .trust-pill > span:last-child {
        display: block;
        font-size: 0.62rem;
        line-height: 1.15;
        max-width: 100%;
        text-wrap: balance;
    }

    .hero-section.mobile-compact-hero .star-score {
        justify-content: center;
        gap: 0.03rem;
        flex-wrap: nowrap;
        white-space: nowrap;
        width: 100%;
        min-width: 0;
    }

    .hero-section.mobile-compact-hero .star-score .star {
        width: auto;
        min-width: 0;
        font-size: 0.52rem;
        line-height: 1;
    }

    .hero-section.mobile-compact-hero .rating-label {
        font-size: 0.6rem;
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .home-hero-interactive.mobile-compact-hero {
        padding: 1.6rem 0 2rem !important;
        min-height: 0 !important;
        background: linear-gradient(180deg, #f2f6f9 0%, #f7f9fb 100%);
    }

    .home-hero-interactive.mobile-compact-hero .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem !important;
    }

    .home-hero-interactive.mobile-compact-hero .hero-copy {
        text-align: center;
    }

    .home-hero-interactive.mobile-compact-hero .home-hero-badge {
        display: inline-flex !important;
        margin: 0 auto 0.8rem;
        white-space: normal;
        text-align: left;
    }

    .home-hero-interactive.mobile-compact-hero .hero-copy h1 {
        margin: 0 auto 0.9rem !important;
        max-width: 100% !important;
        font-size: clamp(1.55rem, 8.4vw, 2.35rem) !important;
        line-height: 1.07 !important;
        text-align: center;
    }

    .home-hero-interactive.mobile-compact-hero .home-hero-kicker {
        display: block !important;
        margin: 0 auto 0.35rem;
        font-size: clamp(1.05rem, 5.4vw, 1.55rem);
        line-height: 1.12;
        text-align: center;
    }

    .home-hero-interactive.mobile-compact-hero .home-hero-title span {
        white-space: nowrap;
        font-size: clamp(1.48rem, 7.5vw, 2.15rem);
    }

    .home-hero-interactive.mobile-compact-hero .hero-lead {
        display: block !important;
        max-width: 34rem;
        margin: 0 auto !important;
        font-size: 0.98rem !important;
        line-height: 1.55 !important;
    }

    .home-hero-interactive.mobile-compact-hero .hero-chips {
        display: flex !important;
        margin: 1rem -1rem 0;
        padding: 0 1rem 0.25rem;
        justify-content: flex-start;
    }

    .home-hero-interactive.mobile-compact-hero .hero-focus-cards,
    .home-hero-interactive.mobile-compact-hero .hero-proof {
        display: none !important;
    }

    .home-hero-interactive.mobile-compact-hero .hero-trust-grid {
        margin-top: 1rem;
        padding-top: 0.75rem;
        border-top-color: rgba(15, 23, 42, 0.08);
    }

    .home-hero-interactive.mobile-compact-hero .trust-pill {
        min-height: 72px;
        background: rgba(255, 255, 255, 0.9);
    }

    .home-hero-interactive.mobile-compact-hero .hero-form,
    .home-hero-interactive.mobile-compact-hero .hero-lead-card,
    .home-hero-interactive.mobile-compact-hero .hero-card-header,
    .home-hero-interactive.mobile-compact-hero .mentor-profile,
    .home-hero-interactive.mobile-compact-hero .card-copy,
    .home-hero-interactive.mobile-compact-hero .privacy-note {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .home-hero-interactive.mobile-compact-hero .hero-lead {
        display: none !important;
    }

    .home-hero-interactive.mobile-compact-hero .home-hero-badge {
        font-size: 0.7rem;
        padding: 0.42rem 0.7rem;
    }

    .home-hero-interactive.mobile-compact-hero .home-hero-title span {
        font-size: clamp(1.26rem, 7vw, 1.72rem);
    }
}

@media (max-width: 992px) {
    .home-faculty-rail,
    .home-course-rail {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    .home-faculty-rail > .home-rail-item,
    .home-course-rail > .home-rail-item {
        flex-basis: 48%;
        width: 48%;
        max-width: 48%;
    }

    .selection-showcase-grid {
        grid-template-columns: none;
        grid-auto-columns: 48%;
    }
}

@media (max-width: 576px) {
    .home-faculty-rail,
    .home-course-rail {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        scroll-padding-left: 0;
    }

    .home-faculty-rail > .home-rail-item,
    .home-course-rail > .home-rail-item {
        flex-basis: min(84vw, 320px);
        width: min(84vw, 320px);
        max-width: min(84vw, 320px);
        padding-right: 0.9rem;
    }

    .selection-showcase-grid {
        grid-template-columns: none;
        grid-auto-columns: min(84vw, 320px);
        gap: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .selection-gallery-item,
    .selection-gallery-item img {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: none !important;
        animation: none;
        transition: none;
        will-change: auto;
    }

    #hero-particle-canvas {
        display: none;
    }
}
