html,
body,
button,
input,
select,
textarea {
    font-family: "Inter", sans-serif !important;
}

body {
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Slider Custom Styles */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Webinar Styles */
.webinar-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.webinar-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.webinar-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

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

.badge-upcoming,
.badge-past {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.badge-upcoming {
    background: #4CAF50;
    color: white;
}

.badge-past {
    background: #9E9E9E;
    color: white;
}

.webinar-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.webinar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.webinar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.meta-item i {
    font-size: 18px;
    color: #4CAF50;
}

.webinar-instructor {
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

.webinar-institution {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.webinar-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.webinar-actions .cmn--btn {
    width: 100%;
    text-align: center;
}

/* Webinar Detail Page */
.webinar-header {
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Intellicon About Page */
.about-page-hero {
    background: linear-gradient(135deg, #08111f 0%, #111f38 55%, #0b1526 100%);
}

.about-page-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(47, 128, 237, 0.16);
    color: #7fb0ff;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
}

.about-page-hero .page-title,
.about-page-hero p {
    color: #fff;
}

/* Intellicon newsletter/subscriber section */
.newsletter__section {
    overflow: hidden;
}

.newsletter__section--compact {
    padding-top: 44px;
    padding-bottom: 38px;
}

.newsletter__section--compact .newsletter__wrapper--slim {
    padding: 40px !important;
}

.newsletter__section .newsletter__wrapper--slim .section__header {
    margin-bottom: 12px;
}

.newsletter__section .newsletter__wrapper--slim .section__header h2 {
    font-size: clamp(1.5rem, 1.85vw, 2.15rem);
    line-height: 1.1;
    margin-bottom: 8px;
}

.newsletter__section .newsletter__wrapper--slim .section__header p {
    font-size: 13px;
    line-height: 1.5;
}

.newsletter__section .newsletter__wrapper--slim .newsletter__form {
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(8, 22, 46, 0.08);
}

.newsletter__section .newsletter__wrapper--slim .newsletter__form .form-control {
    height: 46px;
}

.newsletter__section .newsletter__wrapper--slim .newsletter__form .cmn--btn {
    min-width: 140px;
    height: 46px;
}

.newsletter__section .newsletter__wrapper .newsletter__element1,
.newsletter__section .newsletter__wrapper .news__element1 {
    top: 26px;
}

.newsletter__section .newsletter__wrapper .newsletter__element2,
.newsletter__section .newsletter__wrapper .news__element2 {
    top: 96px;
}

@media (max-width: 991px) {
    .newsletter__section--compact {
        padding-top: 34px;
        padding-bottom: 30px;
    }

    .newsletter__section .newsletter__wrapper--slim {
        padding: 35px !important;
    }
}

@media (max-width: 575px) {
    .newsletter__section--compact {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    .newsletter__section .newsletter__wrapper--slim {
        padding: 30px 20px !important;
    }

    .newsletter__section .newsletter__wrapper .newsletter__element1,
    .newsletter__section .newsletter__wrapper .newsletter__element2,
    .newsletter__section .newsletter__wrapper .news__element1,
    .newsletter__section .newsletter__wrapper .news__element2 {
        display: none;
    }
}

.about-page-hero .page-title {
    margin-bottom: 12px;
}

.about-page-section {
    background: #f6f8fc;
}

.about-hero__section {
    background: linear-gradient(180deg, #0b1c45 0%, #f6f8fc 100%);
    padding: 0 0 40px;
}

.about-hero__panel {
    background: linear-gradient(135deg, #071b46 0%, #0a1d4a 55%, #09183a 100%);
    border-radius: 0;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    position: relative;
}

.about-hero__panel::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.about-hero__media {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
}

.about-hero__media img {
    width: 100%;
    max-width: 660px;
    height: auto;
    display: block;
    object-fit: contain;
    transform: translateX(-4%);
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22));
}

.about-hero__content {
    position: relative;
    z-index: 2;
    padding: 64px 74px 64px 24px;
    color: #fff;
}

.about-hero__content h1 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 10.5ch;
}

.about-hero__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.55;
    max-width: 760px;
}

.about-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 22px;
    margin-top: 44px;
    max-width: 640px;
}

.about-hero__stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.93);
    font-size: 16px;
    font-weight: 600;
}

.about-hero__bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.about-hero__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #4c36ff 0%, #8e5bff 100%);
}

.about-hero__btn {
    margin-top: 42px;
}

.about-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0.2px);
}

.about-hero__orb--top {
    top: 44px;
    right: 56px;
    width: 48px;
    height: 48px;
    background: radial-gradient(circle at 35% 35%, #e7ffff 0%, #7fe8ff 40%, #0aa7cc 100%);
}

.about-hero__orb--mid {
    top: 146px;
    left: 54%;
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at 35% 35%, #bff7ff 0%, #2ec3e3 55%, #0d8ec0 100%);
    opacity: 0.95;
}

.about-hero__orb--bottom {
    bottom: 84px;
    right: 190px;
    width: 74px;
    height: 74px;
    background: radial-gradient(circle at 35% 35%, #d5fbff 0%, #1dc7e6 55%, #1082c7 100%);
    opacity: 0.9;
}

.who-we-are__section {
    background: #091a3b;
    padding: 16px 0 0;
}

.who-we-are__panel {
    background: #0b1f45;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    position: relative;
}

.who-we-are__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(103, 132, 255, 0.22) 0, rgba(103, 132, 255, 0) 15%),
        radial-gradient(circle at 90% 14%, rgba(103, 132, 255, 0.14) 0, rgba(103, 132, 255, 0) 12%),
        radial-gradient(circle at 72% 86%, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0) 18%);
    pointer-events: none;
}

.who-we-are__media {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 18px 42px 48px;
}

.who-we-are__frame {
    position: absolute;
    inset: 90px 70px 92px 88px;
    border: 1px solid rgba(85, 113, 255, 0.35);
    border-radius: 14px;
}

.who-we-are__media img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.25));
}

.who-we-are__content {
    position: relative;
    z-index: 2;
    padding: 48px 80px 48px 24px;
    color: #fff;
}

.who-we-are__content h2 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(34px, 3.7vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 11ch;
}

.who-we-are__content > p,
.who-we-are__summary {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.52;
}

.who-we-are__summary {
    margin-top: 28px;
}

.who-we-are__badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.who-we-are__badge {
    text-align: center;
    color: #fff;
    padding: 12px 10px;
}

.who-we-are__badge span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 6px;
}

.who-we-are__badge strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.who-we-are__badge small {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.who-we-are__btn {
    margin-top: 32px;
}

.who-we-are__dot {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d9f7ff 0%, #5db3ff 45%, #5848f0 100%);
    box-shadow: 0 0 18px rgba(93, 179, 255, 0.45);
}

.who-we-are__dot--one {
    top: 46px;
    left: 76px;
    width: 20px;
    height: 20px;
}

.who-we-are__dot--two {
    top: 82px;
    right: 64px;
    width: 20px;
    height: 20px;
}

.who-we-are__dot--three {
    bottom: 56px;
    right: 156px;
    width: 14px;
    height: 14px;
}

.offer__section {
    background: #091a3b;
    padding: 16px 0 0;
}

.offer__panel {
    background: #0b1f45;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    position: relative;
}

.offer__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(65, 220, 255, 0.08) 0, rgba(65, 220, 255, 0) 12%),
        radial-gradient(circle at 86% 18%, rgba(65, 220, 255, 0.14) 0, rgba(65, 220, 255, 0) 10%),
        radial-gradient(circle at 72% 82%, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0) 16%);
    pointer-events: none;
}

.offer__media {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 18px 42px 48px;
}

.offer__frame {
    position: absolute;
    inset: 92px 72px 92px 74px;
    border: 1px solid rgba(85, 113, 255, 0.24);
    border-radius: 14px;
}

.offer__media img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.25));
}

.offer__content {
    position: relative;
    z-index: 2;
    padding: 48px 82px 48px 24px;
    color: #fff;
}

.offer__content h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(34px, 3.9vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 11ch;
}

.offer__content > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.55;
}

.offer__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.offer__feature,
.offer__strip {
    background: rgba(35, 50, 107, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 16px 18px;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.offer__strip {
    margin-top: 16px;
    max-width: calc(50% - 8px);
}

.offer__check {
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: 0 0 auto;
}

.offer__check i {
    color: var(--success) !important;
}

.offer__feature .offer__check,
.offer__strip .offer__check {
    color: var(--success) !important;
}

.offer__feature .offer__check i,
.offer__strip .offer__check i {
    color: var(--success) !important;
}

.offer__btn {
    margin-top: 32px;
}

.offer__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.offer__orb--top {
    top: 32px;
    left: 52%;
    width: 44px;
    height: 44px;
    border: 3px solid #f2cb4f;
    border-left-color: transparent;
    transform: rotate(24deg);
}

.offer__orb--right {
    top: 110px;
    right: 56px;
    width: 38px;
    height: 38px;
    border: 8px solid rgba(52, 203, 181, 0.38);
}

.offer__orb--bottom {
    bottom: 44px;
    left: 54%;
    width: 30px;
    height: 30px;
    border: 6px solid rgba(52, 203, 181, 0.4);
}

.vision__section {
    background: #091a3b;
    padding: 16px 0 0;
}

.vision__panel {
    background: #0b1f45;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    position: relative;
}

.vision__panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 210, 98, 0.22) 0, rgba(255, 210, 98, 0) 12%),
        radial-gradient(circle at 88% 10%, rgba(255, 120, 154, 0.16) 0, rgba(255, 120, 154, 0) 10%),
        radial-gradient(circle at 72% 84%, rgba(74, 212, 255, 0.08) 0, rgba(74, 212, 255, 0) 16%);
    pointer-events: none;
}

.vision__media {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 18px 42px 48px;
}

.vision__frame {
    position: absolute;
    inset: 86px 66px 88px 72px;
    border: 1px solid rgba(85, 113, 255, 0.24);
    border-radius: 14px;
}

.vision__media img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 530px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.25));
}

.vision__content {
    position: relative;
    z-index: 2;
    padding: 46px 78px 46px 24px;
    color: #fff;
}

.vision__content h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(34px, 3.8vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    max-width: 11ch;
}

.vision__content > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.55;
    max-width: 740px;
}

.vision__cards {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.vision__card {
    background: rgba(34, 47, 101, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.vision__check {
    color: var(--success);
    font-size: 24px;
    line-height: 1;
    margin-top: 1px;
    flex: 0 0 auto;
}

.vision__check i {
    color: var(--success) !important;
}

.vision__card .vision__check {
    color: var(--success) !important;
}

.vision__card .vision__check i {
    color: var(--success) !important;
}

.vision__card h4 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
}

.vision__card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.5;
}

.vision__btn {
    margin-top: 30px;
}

.vision__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.vision__orb--one {
    top: 24px;
    left: 18px;
    width: 66px;
    height: 66px;
    border: 6px solid rgba(255, 223, 108, 0.35);
    background: rgba(255, 223, 108, 0.12);
}

.vision__orb--two {
    top: 28px;
    right: 42px;
    width: 82px;
    height: 82px;
    border: 8px solid rgba(255, 124, 154, 0.3);
    background: rgba(255, 124, 154, 0.06);
}

.vision__orb--three {
    bottom: 34px;
    left: 48px;
    width: 32px;
    height: 32px;
    border: 6px solid rgba(74, 212, 255, 0.35);
}

.about-page-shell,
.about-page-card {
    background: #fff;
    border: 1px solid rgba(20, 33, 61, 0.14);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(18, 38, 63, 0.08);
}

.about-page-shell {
    padding: 28px;
}

.about-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.92fr);
    gap: 18px;
    align-items: start;
}

.about-page-main,
.about-page-side {
    display: grid;
    gap: 16px;
}

.about-page-card {
    padding: 28px 24px;
}

.about-page-card h2,
.about-page-card h3 {
    color: #0e1b33;
    margin-bottom: 14px;
}

.about-page-card p {
    color: #415066;
    margin-bottom: 0;
    line-height: 1.74;
}

.about-page-card--intro h2 {
    font-size: 28px;
    line-height: 1.25;
}

.about-page-card--accent {
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    border-color: rgba(47, 128, 237, 0.2);
}

.about-page-card--side {
    min-height: 100%;
}

.about-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-page-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-page-list li {
    position: relative;
    padding: 11px 0 11px 18px;
    border-bottom: 1px dashed rgba(20, 33, 61, 0.12);
    color: #415066;
}

.about-page-list li:last-child {
    border-bottom: 0;
}

.about-page-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2f80ed;
}

.about-page-shell p,
.about-page-shell li {
    color: #415066;
    line-height: 1.74;
}

.about-page-shell strong {
    color: #0e1b33;
}

@media (max-width: 991.98px) {
    .vision__panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .vision__media {
        min-height: 360px;
        padding-top: 28px;
    }

    .vision__frame {
        inset: 58px 30px 54px;
    }

    .vision__content {
        padding: 16px 24px 36px;
    }

    .vision__content h2 {
        max-width: none;
    }

    .vision__cards {
        margin-top: 22px;
    }

    .who-we-are__panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .who-we-are__media {
        min-height: 380px;
        padding: 24px 18px 10px;
    }

    .who-we-are__frame {
        inset: 58px 30px 54px;
    }

    .who-we-are__content {
        padding: 14px 24px 34px;
    }

    .who-we-are__content h2 {
        max-width: none;
    }

    .who-we-are__badges {
        grid-template-columns: 1fr;
    }

    .offer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer__panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .offer__media {
        min-height: 360px;
        padding-top: 28px;
    }

    .offer__frame {
        inset: 58px 30px 54px;
    }

    .offer__content {
        padding: 18px 24px 36px;
    }

    .offer__content h2 {
        max-width: none;
    }

    .offer__strip {
        max-width: 100%;
    }

    .about-hero__panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .about-hero__media {
        min-height: 360px;
        padding-top: 28px;
    }

    .about-hero__media img {
        max-width: 440px;
        transform: none;
    }

    .about-hero__content {
        padding: 26px 22px 38px;
    }

    .about-hero__content h1 {
        max-width: none;
    }

    .about-hero__stats {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

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

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-card--intro h2 {
        font-size: 24px;
    }

    .about-page-shell {
        padding: 20px;
    }
}

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

.webinar-main-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.webinar-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.webinar-description {
    line-height: 1.8;
    color: #555;
}

.description-content {
    font-size: 16px;
    margin-top: 15px;
}

.instructor-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.instructor-image {
    flex-shrink: 0;
}

.instructor-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.instructor-info p {
    margin: 0;
    color: #999;
    font-size: 14px;
}

/* Tabs */
.webinar-tabs {
    display: flex;
    justify-content: center;
}

.tab-nav {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #4CAF50;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #4CAF50;
}



@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Sidebar */
.webinar-sidebar {
    position: sticky;
    top: 20px;
}

.info-card,
.cta-card,
.share-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.card-title {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

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

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

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

.label {
    font-weight: 600;
    color: #333;
}

.share-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
}

.share-btn:hover {
    background: #f0f0f0;
    border-color: #4CAF50;
}

/* No content state */
.no-webinars {
    padding: 60px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider-container {
        height: 400px;
    }

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

    .hero-slider-controls {
        bottom: 15px;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .webinar-header-meta {
        gap: 15px;
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
    }

    .webinar-sidebar {
        position: static;
    }
}

.syllabus-banner .banner__content h1 {
    max-width: 780px;
}

.syllabus-banner .banner__content p {
    max-width: 720px;
}

.syllabus-banner--textonly {
    min-height: 0;
}

.syllabus-banner--textonly .banner__content {
    padding: 40px 0 30px;
}

.syllabus-banner--textonly .content__box {
    max-width: 880px;
    margin: 0 auto;
}

.syllabus-banner--textonly .content__box h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.syllabus-banner--textonly .content__box p {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: 18px;
    line-height: 1.55;
}

.syllabus__study__card {
    margin-bottom: 0;
}

.syllabus__study__card .content {
    padding: 14px 18px 10px;
}

.syllabus__study__card .content h4 {
    min-height: auto;
    color: #f7fbff;
    font-size: 20px;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.syllabus-active-btn,
.syllabus-inactive-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: center;
}

.syllabus-inactive-btn {
    pointer-events: none;
    opacity: 0.6;
}

.syllabus-study__desc {
    margin: 0;
    color: rgba(247, 251, 255, 0.88);
    opacity: 1;
    min-height: 32px;
    font-size: 13px;
    line-height: 1.45;
}

@media (min-width: 992px) {
    .syllabus__study__card .content {
        min-height: 190px;
    }
}

/* Full Width Hero Slider Padding & Navigation Fixes */
.banner__section__two .hero__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner__section__two .hero__slider .banner__slide {
    width: 100%;
    padding-left: 110px !important;
    padding-right: 110px !important;
    box-sizing: border-box;
}

.banner__section__two .hero__slider .owl-nav {
    position: absolute;
    left: 25px;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.banner__section__two .hero__slider .owl-nav button.owl-prev,
.banner__section__two .hero__slider .owl-nav button.owl-next {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.banner__section__two .hero__slider .owl-nav button.owl-prev:hover,
.banner__section__two .hero__slider .owl-nav button.owl-next:hover {
    background: linear-gradient(90deg, #4b34f6 0%, #1cc8a5 100%);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(75, 52, 246, 0.4);
}

@media (max-width: 1599px) {
    .banner__section__two .hero__slider .banner__slide {
        padding-left: 95px !important;
        padding-right: 95px !important;
    }
    .banner__section__two .hero__slider .owl-nav {
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 1399px) {
    .banner__section__two .hero__slider .banner__slide {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
    .banner__section__two .hero__slider .owl-nav {
        left: 18px;
        right: 18px;
    }
}

@media (max-width: 1199px) {
    .banner__section__two .hero__slider .banner__slide {
        padding-left: 65px !important;
        padding-right: 65px !important;
    }
    .banner__section__two .hero__slider .owl-nav {
        left: 14px;
        right: 14px;
    }
}

@media (max-width: 991px) {
    .banner__section__two .hero__slider .banner__slide {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .banner__section__two .hero__slider .owl-nav {
        top: auto;
        bottom: 25px;
        transform: none;
        left: 0;
        right: 0;
        justify-content: center;
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .banner__section__two .hero__slider .banner__slide {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

/* Fix Slider Layout - Reduce Blank Space, Bigger Image */

/* Reduce excessive wrapper padding and slide height to eliminate empty top space and bottom blank void */
.banner__section.banner__section__two {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.banner__section__two .banner__wrapper {
    padding: 140px 0 100px !important;
}
.banner__section__two .hero__slider .banner__slide {
    min-height: auto !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Reposition decorative background icons so they don't hang randomly in empty space */
.banner__section__two .banner__ai2 {
    top: 60px !important;
    left: 40px !important;
}
.banner__section__two .banner__checkai {
    top: 60px !important;
    right: 40px !important;
}

/* Eliminate excessive bottom padding on banner content and thumb */
.banner__section__two .banner__wrapper .banner__content {
    padding: 10px 0 10px !important;
}
.banner__section__two .banner__wrapper .banner__thumb {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 2;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.banner__section__two .banner__wrapper .banner__thumb .thumb {
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}
.banner__section__two .banner__wrapper .banner__thumb .thumb img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    object-fit: contain !important;
    display: block !important;
}

/* Text content box - limit width so it doesn't overlap image area */
.banner__section__two .banner__wrapper .banner__content .content__box {
    max-width: 600px !important;
}

/* Allow banner slide to expand across the full screen width with breathing room for arrows */
@media (min-width: 1200px) {
    .banner__section__two .hero__slider .banner__slide {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 60px !important;
        padding-right: 40px !important;
    }
}
@media (min-width: 1600px) {
    .banner__section__two .hero__slider .banner__slide {
        padding-left: 80px !important;
        padding-right: 50px !important;
    }
}

@media (max-width: 1399px) {
    .banner__section__two .hero__slider .banner__slide {
        min-height: auto !important;
    }
    .banner__section__two .banner__wrapper .banner__content {
        padding: 10px 0 10px !important;
    }
    .banner__section__two .banner__wrapper .banner__thumb .thumb {
        max-width: 100% !important;
    }
}
@media (max-width: 1199px) {
    .banner__section__two .hero__slider .banner__slide {
        min-height: auto !important;
    }
    .banner__section__two .banner__wrapper .banner__content {
        padding: 10px 0 10px !important;
    }
    .banner__section__two .banner__wrapper .banner__content .content__box {
        max-width: 500px !important;
    }
    .banner__section__two .banner__wrapper .banner__thumb .thumb {
        max-width: 100% !important;
    }
}
@media (max-width: 991px) {
    .banner__section__two .hero__slider .banner__slide {
        min-height: auto !important;
    }
    .banner__section__two .banner__wrapper .banner__content {
        padding: 10px 0 10px !important;
    }
    .banner__section__two .banner__wrapper .banner__thumb {
        justify-content: center !important;
        margin-top: 20px;
    }
    .banner__section__two .banner__wrapper .banner__thumb .thumb {
        max-width: 100% !important;
        margin: 0 auto;
    }
}
@media (max-width: 575px) {
    .banner__section__two .hero__slider .banner__slide {
        min-height: auto !important;
    }
    .banner__section__two .banner__wrapper .banner__content {
        padding: 10px 0 10px !important;
    }
}

/* Fix Hero Slider Bottom Curve Mask Gap */
.banner__section__two .banner__mask,
.banner__section__two .dark__mask {
    bottom: -20px !important;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
    line-height: 0 !important;
}

.banner__section__two .banner__mask img,
.banner__section__two .dark__mask img {
    width: 100% !important;
    height: auto !important;
    min-height: 50px;
    max-height: 120px;
    object-fit: fill;
    object-position: bottom center;
    transform: scaleY(1) !important;
    display: block !important;
    margin-bottom: -1px !important;
}

/* Remove gap between banner and next section */
.banner__section.banner__section__two {
    margin-bottom: -2px !important;
}
.banner__section__two + section,
.banner__section__two + .about__section {
    margin-top: 0 !important;
    padding-top: 80px;
}

/* Intellicon Team Section & Team Page Styles */
.intellicon-team-section,
.intellicon-team-page {
    position: relative;
    background:
        radial-gradient(circle at 20% 20%, rgba(82, 122, 255, 0.14), transparent 28%),
        radial-gradient(circle at 80% 15%, rgba(69, 105, 255, 0.10), transparent 24%),
        linear-gradient(180deg, #061126 0%, #081a3a 100%);
    color: #f3f4f6;
    overflow: hidden;
}
.intellicon-team-section::before,
.intellicon-team-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.35;
    pointer-events: none;
}
.intellicon-team-section > *,
.intellicon-team-page > * {
    position: relative;
    z-index: 1;
}
.intellicon-team-section .team-grid,
.intellicon-team-page .team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.intellicon-team-section .team-card,
.intellicon-team-page .team-card {
    background: linear-gradient(180deg, rgba(8, 18, 43, 0.96) 0%, rgba(10, 24, 56, 0.96) 100%);
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(96, 145, 255, 0.16);
    box-shadow: 0 16px 44px rgba(2, 12, 33, 0.56);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.intellicon-team-section .team-card:hover,
.intellicon-team-page .team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(2, 12, 33, 0.72);
}
.intellicon-team-section .team-photo,
.intellicon-team-page .team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}
.intellicon-team-section .team-photo img,
.intellicon-team-page .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.intellicon-team-section .team-role,
.intellicon-team-page .team-role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #8eb1ff;
    margin-bottom: 10px;
}
.intellicon-team-section .team-name,
.intellicon-team-page .team-name {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.05;
    color: #ffffff;
}
.intellicon-team-section .team-social,
.intellicon-team-page .team-social {
    display: flex;
    gap: 0;
    align-items: center;
    margin-top: 18px;
}
.intellicon-team-section .team-social a,
.intellicon-team-page .team-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(75, 52, 246, 0.18);
    color: #c8d6ff;
    border: 1px solid rgba(75, 52, 246, 0.32);
    box-shadow: 0 0 0 6px rgba(75, 52, 246, 0.08);
}
.intellicon-team-section .team-social svg,
.intellicon-team-page .team-social svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}
@media (max-width: 1199.98px) {
    .intellicon-team-section .team-grid,
    .intellicon-team-page .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .intellicon-team-section .team-grid,
    .intellicon-team-page .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575.98px) {
    .intellicon-team-section .team-grid,
    .intellicon-team-page .team-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* Fix Testimonial Image Position & Desktop Alignment */
.testimonial__section .testimonial__thumb__two {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 540px;
    margin: 0 auto;
}
.testimonial__section .testimonial__thumb__two img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* Featured Course Card Clean Full Width Layout */
.featured-course-card {
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.featured-course-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
}

.featured-course-card .thumb {
    width: 100% !important;
    height: 190px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.featured-course-card .thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    display: block !important;
}

.featured-course-card .content {
    padding: 20px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.featured-course-card .content h5 a {
    color: #1e293b !important;
    transition: color 0.3s ease;
}

.featured-course-card .content h5 a:hover {
    color: #4b34f6 !important;
}

.featured-course-card .content p {
    color: #64748b !important;
}

html.dark-theme body .featured-course-card {
    background: #0f1c3f !important;
    border-color: rgba(96, 145, 255, 0.18) !important;
    box-shadow: 0 12px 32px rgba(2, 12, 33, 0.5) !important;
}

html.dark-theme body .featured-course-card .content {
    background: #0f1c3f !important;
}

html.dark-theme body .featured-course-card .content h5 a {
    color: #ffffff !important;
}

html.dark-theme body .featured-course-card .content p {
    color: #cbd5e1 !important;
}

/* Stats Boxes - Logo Colors Theme */
.stat-box {
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(75, 52, 246, 0.06) 0%, rgba(28, 200, 165, 0.06) 100%);
    border: 1px solid rgba(28, 200, 165, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(28, 200, 165, 0.12);
}

.stat-box h3 {
    background: linear-gradient(90deg, #4b34f6 0%, #1cc8a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 4px;
}

.stat-box span {
    font-size: 13px;
    color: #475569;
    font-weight: 700;
    display: block;
}

html.dark-theme body .stat-box {
    background: linear-gradient(135deg, rgba(75, 52, 246, 0.1) 0%, rgba(28, 200, 165, 0.1) 100%);
    border-color: rgba(28, 200, 165, 0.2);
}

html.dark-theme body .stat-box span {
    color: #cbd5e1;
}


/* --- Course Detail Page Layout Overhaul --- */
.course-detail-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 0 !important;
    transition: all 0.3s;
    font-size: 16px;
}
.course-detail-tabs .nav-link:hover {
    color: var(--base) !important;
}
.course-detail-tabs .nav-link.active {
    color: var(--base) !important;
    border-bottom-color: var(--base) !important;
}

.floating-course-card {
    transition: all 0.4s ease;
}
.floating-course-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.5) !important;
    transform: translateY(-5px);
}

.floating-course-card .play-btn {
    transition: all 0.3s ease;
}
.floating-course-card:hover .play-btn {
    transform: scale(1.1);
    background: var(--base) !important;
    color: #fff !important;
}

.hero-course-meta .stars i {
    font-size: 14px;
}

.course-text-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.course-text-content ul li {
    list-style-type: disc;
    margin-bottom: 10px;
}

/* Light Theme overrides if any */
html:not(.dark-theme) body .course-detail-tabs .nav-link {
    color: rgba(0, 0, 0, 0.6) !important;
}
html:not(.dark-theme) body .course-detail-tabs .nav-link.active {
    color: var(--base) !important;
}
html:not(.dark-theme) body .floating-course-card {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.08) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}
html:not(.dark-theme) body .floating-course-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
}
html:not(.dark-theme) body .floating-course-card h2,
html:not(.dark-theme) body .floating-course-card h5,
html:not(.dark-theme) body .floating-course-card li span:last-child {
    color: #111 !important;
}
html:not(.dark-theme) body .floating-course-card li span:first-child {
    color: rgba(0,0,0,0.6) !important;
}

/* Dark Mode Course Page Overrides */
html.dark-theme body .service__details__section, 
html.dark-theme body .related__courses__section {
    background-color: #0b1430 !important;
}
html.dark-theme body .floating-course-card {
    background-color: #0b1430 !important;
}
html.dark-theme body .course-detail-tabs .nav-link {
    color: rgba(255,255,255,0.7) !important;
}
html.dark-theme body .course-detail-tabs .nav-link.active {
    color: #ffffff !important;
    border-bottom-color: var(--base) !important;
}

/* --- Pagination Overrides --- */
.pagination { gap: 8px; justify-content: center; margin-top: 30px; }
.pagination .page-item .page-link, .pagination .page-item a, .pagination .page-item span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px !important; border: 1px solid rgba(128,128,128,0.2) !important; background: transparent !important; color: var(--themetext) !important; font-weight: 600; transition: all 0.3s ease; padding: 0; text-decoration: none; }
.pagination .page-item:not(.active):hover .page-link, .pagination .page-item:not(.active):hover a { background: rgba(128,128,128,0.1) !important; color: var(--themetext) !important; }
.pagination .page-item.active .page-link, .pagination .page-item.active span { background: var(--base) !important; border-color: var(--base) !important; color: #ffffff !important; box-shadow: 0 4px 10px rgba(69, 47, 244, 0.3); }
.pagination .page-item .material-symbols-outlined { font-size: 22px; color: inherit; line-height: 1; }
html.dark-theme body .pagination .page-item .page-link, html.dark-theme body .pagination .page-item a, html.dark-theme body .pagination .page-item span { border-color: rgba(255,255,255,0.1) !important; }
html.dark-theme body .pagination .page-item.active .page-link, html.dark-theme body .pagination .page-item.active span { background: var(--base) !important; border-color: var(--base) !important; color: #ffffff !important; }


/* --- Blog Details Content Formatting --- */
.blog-content-wrapper {
    color: var(--themetext) !important;
    line-height: 1.8 !important;
    font-size: 16px !important;
}
.blog-content-wrapper span, .blog-content-wrapper p, .blog-content-wrapper div, .blog-content-wrapper font, .blog-content-wrapper b, .blog-content-wrapper i, .blog-content-wrapper u {
    color: var(--themetext) !important; /* Override inline styles from WYSIWYG editor */
    line-height: 1.8 !important;
}
.blog-content-wrapper p {
    margin-bottom: 24px !important;
    font-size: 16px !important;
}
.blog-content-wrapper h1, 
.blog-content-wrapper h2, 
.blog-content-wrapper h3, 
.blog-content-wrapper h4, 
.blog-content-wrapper h5, 
.blog-content-wrapper h6 {
    color: var(--themetext) !important;
    margin-top: 32px !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}
.blog-content-wrapper h1, .blog-content-wrapper h1 span { font-size: 28px !important; }
.blog-content-wrapper h2, .blog-content-wrapper h2 span { font-size: 24px !important; }
.blog-content-wrapper h3, .blog-content-wrapper h3 span { font-size: 20px !important; }
.blog-content-wrapper h4, .blog-content-wrapper h4 span { font-size: 18px !important; }
.blog-content-wrapper ul, .blog-content-wrapper ol {
    margin-bottom: 24px !important;
    padding-left: 24px !important;
}
.blog-content-wrapper li {
    margin-bottom: 12px !important;
}
.blog-content-wrapper img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 24px 0;
}


/* --- Blog Sidebar Scroll Fix --- */
.common__sidebar__wrapper.blog__sidebar {
    max-height: none !important;
    overflow-y: visible !important;
}
@media (min-width: 992px) {
    /* Make it sticky without internal scroll */
    .blog__sidebar {
        position: sticky;
        top: 100px;
        padding-bottom: 30px !important;
    }
}


/* --- Syllabus Image Resolution Fix --- */
.syllabus__study__card .thumb {
    width: 100%;
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    display: block;
}
.syllabus__study__card .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Best fit without stretching, using 16:10 (800x500) will not crop */
    object-position: center;
}
