:root {
  --chem-navy: #0b1d3a;
  --chem-navy-soft: #142c52;
  --chem-green: #0f9d58;
  --chem-green-bright: #10b981;
  --chem-teal: #0d9488;
  --chem-surface: #ffffff;
  --chem-bg: #f6f8fb;
  --chem-border: #e2e8f0;
  --chem-text: #1e293b;
  --chem-muted: #64748b;
}

html, body {
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--chem-text);
  background-color: var(--chem-bg);
}

.text-navy { color: var(--chem-navy) !important; }
.bg-navy { background-color: var(--chem-navy) !important; }
.text-chem { color: var(--chem-green) !important; }
.bg-chem { background-color: var(--chem-green) !important; }

.btn-chem {
  background: linear-gradient(135deg, var(--chem-green) 0%, var(--chem-teal) 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-chem:hover, .btn-chem:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 157, 88, 0.28);
}

.btn-navy {
  background-color: var(--chem-navy);
  color: #fff;
  border: none;
  font-weight: 600;
}
.btn-navy:hover, .btn-navy:focus {
  background-color: var(--chem-navy-soft);
  color: #fff;
}

.chem-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--chem-border);
}

.chem-hero {
  background-color: #0b1d3a;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 45%),
    linear-gradient(135deg, #0b1d3a 0%, #102a4e 60%, #0d3b3e 100%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.chem-molecule-bg:not(.chem-hero) {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.chem-card {
  background: var(--chem-surface);
  border: 1px solid var(--chem-border);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(11, 29, 58, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 29, 58, 0.08);
}

.element-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--chem-green);
  border-radius: 0.65rem;
  background: rgba(15, 157, 88, 0.08);
  color: var(--chem-navy);
  font-weight: 700;
  line-height: 1.05;
}

.stat-card {
  border-left: 4px solid var(--chem-green);
}

.sidebar-shell {
  min-height: 100vh;
  background: var(--chem-navy);
  color: #e2e8f0;
}
.sidebar-shell .nav-link {
  color: #cbd5e1;
  border-radius: 0.65rem;
  padding: 0.6rem 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.sidebar-shell .nav-link:hover,
.sidebar-shell .nav-link.active {
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
}

.yt-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}
.yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 29, 58, 0.32);
  color: #fff;
  font-size: 2.5rem;
  border: 0;
}

.exam-palette-btn {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 1px solid var(--chem-border);
}
.exam-palette-btn.answered { background: #10b981; color: #fff; border-color: #10b981; }
.exam-palette-btn.review { background: #f59e0b; color: #fff; border-color: #f59e0b; }

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
  .btn, .form-control, .form-select {
    min-height: 44px;
  }
}

@media print {
  .no-print { display: none !important; }
  body { background: #fff !important; }
  .chem-card { box-shadow: none !important; border: 1px solid #cbd5e1 !important; }
}


/* ===== HERO SECTION TEXT VISIBILITY FIX ===== */

.chem-hero {
    background:
        radial-gradient(circle at top right, rgba(16,185,129,.16), transparent 45%),
        linear-gradient(135deg, #0b1d3a 0%, #102a4e 60%, #0d3b3e 100%) !important;
    color: #ffffff !important;
}

.chem-hero h1 {
    color: #ffffff !important;
}

.chem-hero p {
    color: #e2e8f0 !important;
    opacity: 1 !important;
}

.chem-hero .btn-outline-light {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.chem-hero .btn-link {
    color: #ffffff !important;
}

/* ===== FOOTER TEXT VISIBILITY FIX ===== */

footer.bg-navy {
    background-color: #0b1d3a !important;
    color: #cbd5e1 !important;
}

footer.bg-navy h5,
footer.bg-navy h6 {
    color: #ffffff !important;
}

footer.bg-navy p,
footer.bg-navy li,
footer.bg-navy li a,
footer.bg-navy .small {
    color: #cbd5e1 !important;
    opacity: 1 !important;
}

footer.bg-navy a:hover {
    color: #10b981 !important;
}

footer.bg-navy .text-secondary-emphasis {
    color: #cbd5e1 !important;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 767px) {
    .chem-hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .chem-hero h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .chem-hero .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== HEADER LOGO ===== */

.chem-brand-logo {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 15px;
    flex-shrink: 0;
}

.header-logo {
    width: 135px;
    height: 55px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.drawer-logo {
    width: 125px;
    height: 48px;
    object-fit: contain;
    display: block;
}

/* ===== MOBILE HEADER ===== */

@media (max-width: 767.98px) {
    .header-logo {
        width: 112px;
        height: 46px;
    }

    .chem-brand-logo {
        margin-right: 5px;
    }
}

/* ===== MOBILE SIDE DRAWER ===== */

#mobileNavDrawer {
    width: 68vw;
    max-width: 360px;
    min-width: 250px;
    border: 0;
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
}

#mobileNavDrawer .offcanvas-header {
    padding: 18px;
}

#mobileNavDrawer .offcanvas-body {
    padding: 18px;
}

#mobileNavDrawer .btn {
    border-radius: 9px;
    padding: 11px 14px;
    font-weight: 500;
}

@media (max-width: 360px) {
    #mobileNavDrawer {
        width: 75vw;
        min-width: 0;
    }
}

/* =========================================================
   BONDING CHEMISTRY HOMEPAGE — CLEAN RESPONSIVE THEME
   Replaces duplicate/conflicting BC hero rules.
   Hero banner source dimensions: 1942 x 809 (ratio 2.399:1)
========================================================= */

:root {
    --bc-navy: #081a35;
    --bc-navy-2: #10294d;
    --bc-green: #10a66a;
    --bc-green-bright: #21c98a;
    --bc-text: #18263b;
    --bc-muted: #68778d;
    --bc-line: #e5ebf2;
}

/* HERO BACKGROUND AND LAYOUT */
.bc-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(28px, 4vw, 56px) 0 clamp(38px, 5vw, 68px);
    color: #fff !important;
    background:
        radial-gradient(circle at 88% 12%, rgba(24,190,133,.22), transparent 27%),
        radial-gradient(circle at 4% 90%, rgba(34,211,181,.12), transparent 30%),
        linear-gradient(128deg, #07172f 0%, #0c2343 52%, #0a3b3b 100%) !important;
}
.bc-home-hero::before,
.bc-home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(132,255,215,.13);
    border-radius: 50%;
}
.bc-home-hero::before { width: 410px; height: 410px; right: -150px; top: -195px; }
.bc-home-hero::after { width: 280px; height: 280px; right: -85px; top: -130px; }
.bc-hero-container { position: relative; z-index: 1; }
.bc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.18fr) minmax(320px,.82fr);
    align-items: center;
    gap: clamp(24px,3.5vw,50px);
}
.bc-hero-content, .bc-hero-visual { min-width: 0; }

/* PROMOTIONAL SLIDER — exact 1942:809 ratio on every screen */
#bcPromoSlider.bc-promo-slider {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1942 / 809;
    margin: 0 0 24px;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 17px;
    background: #07172f;
    box-shadow: 0 16px 42px rgba(0,0,0,.24);
}
#bcPromoSlider .bc-promo-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
#bcPromoSlider .bc-promo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease;
}
#bcPromoSlider .bc-promo-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}
#bcPromoSlider .bc-promo-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
}
#bcPromoSlider .bc-promo-slide {
    transition: opacity 0.7s ease, visibility 0.7s ease !important;
}

#bcPromoSlider .bc-promo-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
}
.bc-slider-bottom {
    position: absolute;
    z-index: 3;
    left: 14px;
    right: 14px;
    bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}
.bc-slider-dots, .bc-slider-arrows {
    display: flex;
    align-items: center;
    gap: 7px;
    pointer-events: auto;
}
.bc-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,.62);
    transition: width .2s ease, background .2s ease;
}
.bc-slider-dot.is-active { width: 25px; background: #38e0a5; }
.bc-slider-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    color: #fff;
    background: rgba(5,19,38,.68);
    backdrop-filter: blur(8px);
}
.bc-slider-arrow:hover, .bc-slider-arrow:focus-visible {
    color: #06223a;
    background: #fff;
    outline: none;
}

/* ADMISSION LABEL — square-corner rectangular style */
.bc-admission-line { min-height: 30px; margin-bottom: 13px; }
.bc-admission-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid rgba(75,239,178,.65);
    border-left: 4px solid #36df9e;
    border-radius: 2px !important;
    color: #dcfff1 !important;
    background: rgba(13,157,100,.2) !important;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.bc-admission-tag:hover {
    transform: translateY(-2px);
    background: rgba(16,166,106,.34) !important;
    box-shadow: 0 8px 22px rgba(16,166,106,.2);
}
.bc-admission-tag.is-closed { border-left-color: #fbbf24; color: #fff2c6 !important; background: rgba(161,98,7,.22) !important; }
.bc-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #42ecad; box-shadow: 0 0 0 4px rgba(66,236,173,.13); }

/* HERO TYPOGRAPHY — white text on dark background */
.bc-home-hero .bc-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 11px;
    color: #70e8bd !important;
    font-size: .72rem;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: .17em;
}
.bc-hero-eyebrow span { width: 28px; height: 1px; background: rgba(112,232,189,.65); }
.bc-home-hero .bc-hero-title {
    max-width: 760px;
    margin: 0 0 17px;
    color: #fff !important;
    opacity: 1 !important;
    font-size: clamp(2.35rem,4.25vw,4.35rem);
    line-height: 1.06;
    letter-spacing: -.045em;
    font-weight: 850;
    text-wrap: balance;
}
.bc-home-hero .bc-hero-description {
    max-width: 650px;
    margin: 0 0 25px;
    color: rgba(238,246,255,.86) !important;
    opacity: 1 !important;
    font-size: clamp(1rem,1.3vw,1.12rem);
    line-height: 1.8;
}
.bc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.bc-primary-btn, .bc-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 7px;
    text-decoration: none;
    font-size: .93rem;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bc-primary-btn { color: #06243b; background: linear-gradient(135deg,#42e6ac,#13b981); box-shadow: 0 10px 24px rgba(16,185,129,.22); }
.bc-primary-btn:hover { color: #06243b; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,185,129,.32); }
.bc-secondary-btn { color: #fff; border: 1px solid rgba(255,255,255,.46); background: rgba(255,255,255,.06); }
.bc-secondary-btn:hover { color: #fff; transform: translateY(-3px); border-color: #6ee7b7; background: rgba(255,255,255,.12); }
.bc-hero-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; max-width: 720px; }
.bc-highlight-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bc-highlight-icon { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(106,232,190,.33); border-radius: 10px; color: #5ce8b4; background: rgba(16,185,129,.12); font-size: 1rem; }
.bc-highlight-item strong, .bc-highlight-item small { display: block; }
.bc-highlight-item strong { color: #fff !important; font-size: .82rem; line-height: 1.35; }
.bc-highlight-item small { margin-top: 2px; color: rgba(226,238,248,.72) !important; font-size: .68rem; line-height: 1.35; }

/* FACULTY CARD — dark text on white card */
.bc-hero-visual { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bc-faculty-feature {
    display: grid;
    grid-template-columns: 132px minmax(0,1fr);
    min-height: 176px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(0,0,0,.2);
}
.bc-faculty-photo-wrap { position: relative; min-height: 176px; background: #dbe9e8; }
.bc-faculty-photo { display: block; width: 100%; height: 100%; min-height: 176px; object-fit: cover; object-position: center top; }
.bc-faculty-photo-mark { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; color: #fff; background: rgba(8,26,53,.84); }
.bc-faculty-info { align-self: center; padding: 18px 17px; color: var(--bc-text); }
.bc-card-kicker { display: block; margin-bottom: 7px; color: #078b5b; font-size: .64rem; font-weight: 850; letter-spacing: .14em; }
.bc-faculty-info h2 { margin: 0 0 5px; color: var(--bc-navy); font-size: 1.16rem; font-weight: 850; line-height: 1.25; }
.bc-faculty-info p { margin: 0 0 9px; color: #627087; font-size: .8rem; line-height: 1.45; }
.bc-experience { display: block; margin-bottom: 10px; color: #486075; font-size: .72rem; font-weight: 700; }
.bc-experience i { color: #0b9b68; margin-right: 4px; }
.bc-text-link { display: inline-flex; align-items: center; gap: 7px; color: #078b5b; font-size: .78rem; font-weight: 800; text-decoration: none; }
.bc-text-link:hover { color: #056b47; gap: 10px; }

/* COURSE SELECTOR CARD */
.bc-session-card { padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; color: #fff; background: linear-gradient(145deg,rgba(21,48,78,.97),rgba(8,63,64,.95)); box-shadow: 0 20px 48px rgba(0,0,0,.2); }
.bc-session-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: #71e9bd; font-size: .66rem; font-weight: 850; letter-spacing: .1em; }
.bc-session-topline i { margin-right: 5px; }
.bc-session-index { color: rgba(230,247,243,.65); font-size: .62rem; }
.bc-session-card h2 { margin: 0 0 6px; color: #fff !important; font-size: 1.23rem; font-weight: 850; }
.bc-session-card > p { margin: 0 0 15px; color: rgba(230,240,247,.82) !important; font-size: .79rem; line-height: 1.6; }
.bc-course-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(94,234,174,.6); border-radius: 6px; color: #f0fff8; background: rgba(16,185,129,.14); font-size: .77rem; font-weight: 800; text-align: left; transition: background .2s ease,border-color .2s ease; }
.bc-course-toggle:hover, .bc-course-toggle.is-open { border-color: #63e7b2; background: rgba(16,185,129,.25); }
.bc-course-toggle > span i { margin-right: 7px; color: #6ee7b7; }
.bc-course-toggle-arrow { transition: transform .2s ease; }
.bc-course-toggle.is-open .bc-course-toggle-arrow { transform: rotate(180deg); }
.bc-course-drawer { padding-top: 10px; }
.bc-course-drawer[hidden] { display: none !important; }
.bc-course-options { display: grid; gap: 6px; }
.bc-course-option { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.bc-course-option:hover { color: #fff; border-color: rgba(94,234,174,.45); background: rgba(255,255,255,.13); }
.bc-course-option-symbol { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(93,234,179,.55); border-radius: 6px; color: #79edbd; font-size: .75rem; font-weight: 850; }
.bc-course-option-text { flex: 1; min-width: 0; }
.bc-course-option-text strong, .bc-course-option-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-course-option-text strong { color: #fff; font-size: .76rem; }
.bc-course-option-text small { margin-top: 2px; color: rgba(230,240,247,.72); font-size: .67rem; }
.bc-course-option > i { color: #72e7b9; font-size: .75rem; }
.bc-no-courses { margin: 10px 0; color: rgba(255,255,255,.82); font-size: .77rem; }
.bc-all-courses-link { display: flex; justify-content: space-between; align-items: center; padding-top: 11px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.16); color: #80edc2; font-size: .76rem; font-weight: 800; text-decoration: none; }
.bc-all-courses-link:hover { color: #fff; }
.bc-session-footer { margin-top: 12px; color: rgba(224,243,238,.72); font-size: .66rem; }
.bc-session-footer i { margin-right: 5px; color: #55dca9; }
.bc-hero-decoration { position: absolute; z-index: -1; pointer-events: none; border: 1px solid rgba(107,235,195,.1); transform: rotate(30deg); }
.bc-decoration-one { width: 90px; height: 90px; right: 42%; top: 8%; border-radius: 24px; }
.bc-decoration-two { width: 52px; height: 52px; right: 44%; bottom: 7%; border-radius: 16px; }

/* HOMEPAGE CONTENT CARDS AND STATISTICS */
.bc-stats-section { position: relative; z-index: 2; box-shadow: 0 12px 35px rgba(8,26,53,.055); }
.bc-stats-section .bg-light { min-height: 104px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #e9eef4; border-radius: 9px !important; background: #fff !important; box-shadow: 0 6px 20px rgba(8,26,53,.045); transition: transform .2s ease,box-shadow .2s ease; }
.bc-stats-section .bg-light:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(8,26,53,.09); }
.chem-card { border-radius: 12px; box-shadow: 0 6px 24px rgba(8,26,53,.055); transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.chem-card:hover { transform: translateY(-4px); border-color: #c5e8d9; box-shadow: 0 14px 34px rgba(8,26,53,.1); }
.element-badge { border-radius: 8px; }
.yt-thumb-wrap { border-radius: 10px; }

/* TABLET */
@media (max-width: 991.98px) {
    .bc-hero-grid { grid-template-columns: minmax(0,1fr) minmax(275px,.82fr); gap: 22px; }
    .bc-home-hero .bc-hero-title { font-size: clamp(2.1rem,4.5vw,3.25rem); }
    .bc-faculty-feature { grid-template-columns: 105px minmax(0,1fr); }
    .bc-faculty-info { padding: 14px 13px; }
    .bc-session-card { padding: 17px; }
}

/* MOBILE — keep exact same image ratio, scale naturally to screen width */
@media (max-width: 767.98px) {
    .bc-home-hero { padding: 22px 0 34px; }
    .bc-hero-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
    #bcPromoSlider.bc-promo-slider { width: 100%; aspect-ratio: 1942 / 809; margin-bottom: 18px; border-radius: 12px; }
    .bc-home-hero .bc-hero-title { max-width: 100%; font-size: clamp(2rem,8vw,2.8rem); line-height: 1.12; }
    .bc-home-hero .bc-hero-description { font-size: .96rem; line-height: 1.7; }
    .bc-hero-highlights { grid-template-columns: 1fr; gap: 11px; }
    .bc-highlight-item { max-width: 350px; }
    .bc-hero-visual { display: flex; flex-direction: column; }
    .bc-faculty-feature { grid-template-columns: 112px minmax(0,1fr); }
    .bc-faculty-photo-wrap, .bc-faculty-photo { min-height: 165px; }
    .bc-hero-decoration { display: none; }
    .bc-slider-bottom { left: 9px; right: 9px; bottom: 7px; }
    .bc-slider-arrow { width: 29px; height: 29px; }
}
@media (max-width: 420px) {
    .bc-primary-btn, .bc-secondary-btn { width: 100%; min-height: 48px; }
    .bc-hero-actions { gap: 9px; }
    .bc-admission-tag { font-size: .65rem; letter-spacing: .02em; }
    .bc-faculty-feature { grid-template-columns: 96px minmax(0,1fr); }
    .bc-faculty-info { padding: 12px 11px; }
    .bc-faculty-info h2 { font-size: .98rem; }
    .bc-card-kicker { font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) {
    #bcPromoSlider .bc-promo-slide,
    .bc-admission-tag, .bc-primary-btn, .bc-secondary-btn, .chem-card { transition: none !important; }
}


/* BONDING CHEMISTRY — HERO RIGHT COLUMN ALIGNMENT + FACULTY FEATURE
   Append at the VERY END of assets/css/theme.css
*/

/* Keep the hero content inside the viewport and align both columns at the top */
.bc-home-hero {
    overflow: hidden !important;
}

.bc-home-hero > .bc-hero-container {
    width: 100% !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(16px, 3vw, 36px) !important;
    padding-right: clamp(16px, 3vw, 36px) !important;
    box-sizing: border-box !important;
}

.bc-hero-grid {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr) !important;
    align-items: start !important;
    gap: clamp(22px, 3vw, 42px) !important;
}

.bc-hero-content,
.bc-hero-visual {
    min-width: 0 !important;
    width: 100% !important;
}

.bc-hero-visual {
    align-self: start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Do not vertically center the faculty/admission stack */
.bc-faculty-feature {
    margin-top: 0 !important;
}

/* Faculty portrait: show a real portrait rather than a poster/banner crop */
.bc-faculty-photo-wrap {
    width: 150px !important;
    min-height: 205px !important;
    overflow: hidden !important;
    background: linear-gradient(145deg, #dff7ed, #dce7f5) !important;
}

.bc-faculty-feature {
    grid-template-columns: 150px minmax(0, 1fr) !important;
    min-height: 205px !important;
    background: #fff !important;
}

.bc-faculty-photo {
    width: 100% !important;
    height: 100% !important;
    min-height: 205px !important;
    object-fit: cover !important;
    object-position: center top !important;
}

.bc-faculty-info {
    padding: 20px !important;
    color: #18263b !important;
}

.bc-faculty-info h2 {
    color: #081a35 !important;
    font-size: clamp(1.1rem, 1.4vw, 1.45rem) !important;
}

.bc-faculty-info p {
    color: #53647a !important;
}

/* Slider respects the uploaded 1942 x 809 artwork */
#bcPromoSlider {
    width: 100% !important;
    aspect-ratio: 1942 / 809 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    position: relative !important;
}

#bcPromoSlider .bc-promo-track,
#bcPromoSlider .bc-promo-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

#bcPromoSlider .bc-promo-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Tablet and mobile: stack content naturally */
@media (max-width: 991.98px) {
    .bc-hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 26px !important;
    }

    .bc-hero-visual {
        margin-top: 0 !important;
    }

    .bc-faculty-feature {
        max-width: 680px;
    }
}

@media (max-width: 575.98px) {
    .bc-home-hero > .bc-hero-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .bc-faculty-feature {
        grid-template-columns: 112px minmax(0, 1fr) !important;
        min-height: 170px !important;
    }

    .bc-faculty-photo-wrap,
    .bc-faculty-photo {
        width: 112px !important;
        min-height: 170px !important;
    }

    .bc-faculty-info {
        padding: 13px !important;
    }
}



/* =========================================================
   BONDING CHEMISTRY — HERO FACULTY ARTWORK (1774 x 887)
   Scoped homepage-only additions. Existing PHP/database,
   slider controls, course selector and other sections stay intact.
========================================================= */

.bc-home-hero .bc-hero-grid {
    align-items: start !important;
}

.bc-home-hero .bc-hero-visual {
    align-self: start !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-width: 0 !important;
}

.bc-home-hero .bc-faculty-banner {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1774 / 887 !important;
    height: auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 16px !important;
    background: #f4fbf7 !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.22) !important;
    line-height: 0 !important;
    text-decoration: none !important;
    transition: transform .22s ease, box-shadow .22s ease !important;
}

.bc-home-hero .bc-faculty-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0,0,0,.28) !important;
}

.bc-home-hero .bc-faculty-banner img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1774 / 887 !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Course panel remains directly beneath the new faculty artwork */
.bc-home-hero .bc-session-card {
    margin-top: 0 !important;
}

/* Tablet/mobile: stack the right column beneath the left content */
@media (max-width: 991.98px) {
    .bc-home-hero .bc-hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: start !important;
    }

    .bc-home-hero .bc-hero-visual {
        width: 100% !important;
    }

    .bc-home-hero .bc-faculty-banner {
        max-width: 760px !important;
    }
}

@media (max-width: 575.98px) {
    .bc-home-hero .bc-faculty-banner {
        border-radius: 11px !important;
    }
}


/* ==========================================
   BONDING CHEMISTRY - ANIMATED ELEMENTS
========================================== */

.bc-chem-motion {
    position: relative;
    width: 100%;
    min-height: 310px;
    margin-top: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px 20px;
    border: 1px solid rgba(73, 225, 177, .18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 48%, rgba(16,185,129,.17), transparent 48%),
        linear-gradient(145deg, rgba(12,39,65,.18), rgba(4,54,57,.12));
}

.bc-motion-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #73e9bd;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-align: center;
}

.bc-motion-line {
    width: 28px;
    height: 1px;
    background: rgba(85,230,181,.5);
}

.bc-atom-scene {
    position: relative;
    width: 260px;
    height: 205px;
    display: grid;
    place-items: center;
}

.bc-nucleus {
    position: absolute;
    z-index: 4;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #072a3b;
    font-size: 2rem;
    background: linear-gradient(135deg,#67f5c1,#0fbd83);
    box-shadow: 0 0 25px rgba(16,185,129,.55);
    animation: bc-nucleus-pulse 2.5s ease-in-out infinite;
}

.bc-orbit {
    position: absolute;
    width: 180px;
    height: 75px;
    border: 1px solid rgba(90,239,192,.65);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(16,185,129,.09);
}

.orbit-one {
    transform: rotate(0deg);
    animation: bc-orbit-spin 9s linear infinite;
}

.orbit-two {
    transform: rotate(60deg);
    animation: bc-orbit-spin 12s linear infinite reverse;
}

.orbit-three {
    transform: rotate(120deg);
    animation: bc-orbit-spin 15s linear infinite;
}

.bc-electron {
    position: absolute;
    z-index: 5;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #75f3c4;
    box-shadow: 0 0 15px #10b981;
}

.electron-one {
    top: 34px;
    left: 125px;
    animation: bc-electron-float 3s ease-in-out infinite;
}

.electron-two {
    bottom: 34px;
    right: 47px;
    animation: bc-electron-float 3.5s ease-in-out infinite reverse;
}

.electron-three {
    bottom: 38px;
    left: 45px;
    animation: bc-electron-float 4s ease-in-out infinite;
}

.bc-element {
    position: absolute;
    z-index: 6;
    width: 43px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(82,236,183,.6);
    border-radius: 8px;
    color: #a3f5d7;
    background: rgba(8,37,57,.92);
    box-shadow: 0 7px 22px rgba(0,0,0,.2);
    font-size: 1.05rem;
    font-weight: 850;
    animation: bc-element-hover 4s ease-in-out infinite;
}

.bc-element small {
    font-size: .52rem;
    font-weight: 600;
    opacity: .75;
}

.element-h { top: 0; left: 0; }
.element-o { top: 12px; right: 4px; animation-delay: .7s; }
.element-c { bottom: 0; left: 15px; animation-delay: 1.2s; }
.element-na { bottom: 2px; right: 10px; animation-delay: 1.8s; }
.element-cl { top: 75px; left: -13px; animation-delay: 2.2s; }
.element-fe { top: 78px; right: -15px; animation-delay: 2.7s; }

.bc-motion-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.bc-motion-caption strong {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 850;
}

.bc-motion-caption span {
    color: #a9c9d5;
    font-size: .75rem;
}

/* Animations */
@keyframes bc-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bc-nucleus-pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

@keyframes bc-electron-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes bc-element-hover {
    0%,100% { translate: 0 0; }
    50% { translate: 0 -9px; }
}

/* Mobile */
@media (max-width: 767.98px) {
    .bc-chem-motion {
        min-height: 275px;
        margin-top: 8px;
    }

    .bc-atom-scene {
        transform: scale(.88);
        margin: -5px 0;
    }
}

/* Respect reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .bc-chem-motion *,
    .bc-chem-motion *::before {
        animation: none !important;
    }
}


/* ==========================================
   BONDING CHEMISTRY - ANIMATED ELEMENTS
========================================== */

.bc-chem-motion {
    position: relative;
    width: 100%;
    min-height: 310px;
    margin-top: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px 20px;
    border: 1px solid rgba(73, 225, 177, .18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 48%, rgba(16,185,129,.17), transparent 48%),
        linear-gradient(145deg, rgba(12,39,65,.18), rgba(4,54,57,.12));
}

.bc-motion-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #73e9bd;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-align: center;
}

.bc-motion-line {
    width: 28px;
    height: 1px;
    background: rgba(85,230,181,.5);
}

.bc-atom-scene {
    position: relative;
    width: 260px;
    height: 205px;
    display: grid;
    place-items: center;
}

.bc-nucleus {
    position: absolute;
    z-index: 4;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #072a3b;
    font-size: 2rem;
    background: linear-gradient(135deg,#67f5c1,#0fbd83);
    box-shadow: 0 0 25px rgba(16,185,129,.55);
    animation: bc-nucleus-pulse 2.5s ease-in-out infinite;
}

.bc-orbit {
    position: absolute;
    width: 180px;
    height: 75px;
    border: 1px solid rgba(90,239,192,.65);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(16,185,129,.09);
}

.orbit-one {
    transform: rotate(0deg);
    animation: bc-orbit-spin 9s linear infinite;
}

.orbit-two {
    transform: rotate(60deg);
    animation: bc-orbit-spin 12s linear infinite reverse;
}

.orbit-three {
    transform: rotate(120deg);
    animation: bc-orbit-spin 15s linear infinite;
}

.bc-electron {
    position: absolute;
    z-index: 5;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #75f3c4;
    box-shadow: 0 0 15px #10b981;
}

.electron-one {
    top: 34px;
    left: 125px;
    animation: bc-electron-float 3s ease-in-out infinite;
}

.electron-two {
    bottom: 34px;
    right: 47px;
    animation: bc-electron-float 3.5s ease-in-out infinite reverse;
}

.electron-three {
    bottom: 38px;
    left: 45px;
    animation: bc-electron-float 4s ease-in-out infinite;
}

.bc-element {
    position: absolute;
    z-index: 6;
    width: 43px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(82,236,183,.6);
    border-radius: 8px;
    color: #a3f5d7;
    background: rgba(8,37,57,.92);
    box-shadow: 0 7px 22px rgba(0,0,0,.2);
    font-size: 1.05rem;
    font-weight: 850;
    animation: bc-element-hover 4s ease-in-out infinite;
}

.bc-element small {
    font-size: .52rem;
    font-weight: 600;
    opacity: .75;
}

.element-h { top: 0; left: 0; }
.element-o { top: 12px; right: 4px; animation-delay: .7s; }
.element-c { bottom: 0; left: 15px; animation-delay: 1.2s; }
.element-na { bottom: 2px; right: 10px; animation-delay: 1.8s; }
.element-cl { top: 75px; left: -13px; animation-delay: 2.2s; }
.element-fe { top: 78px; right: -15px; animation-delay: 2.7s; }

.bc-motion-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.bc-motion-caption strong {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 850;
}

.bc-motion-caption span {
    color: #a9c9d5;
    font-size: .75rem;
}

/* Animations */
@keyframes bc-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bc-nucleus-pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

@keyframes bc-electron-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes bc-element-hover {
    0%,100% { translate: 0 0; }
    50% { translate: 0 -9px; }
}

/* Mobile */
@media (max-width: 767.98px) {
    .bc-chem-motion {
        min-height: 275px;
        margin-top: 8px;
    }

    .bc-atom-scene {
        transform: scale(.88);
        margin: -5px 0;
    }
}

/* Respect reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .bc-chem-motion *,
    .bc-chem-motion *::before {
        animation: none !important;
    }
}


/* ADMIN MOBILE SIDEBAR WIDTH */
@media (max-width: 991.98px) {
    #adminMobileNav {
        width: 68vw;
        max-width: 320px;
        min-width: 250px;
    }
}



/* STUDENT MOBILE SIDEBAR WIDTH */
#studentMobileDrawer {
    --bs-offcanvas-width: 65vw;
    max-width: 320px;
}

/* CHEMISTRY ANNOUNCEMENT MARQUEE */
.chem-announcement {
    width: 100%;
    overflow: hidden;
    background: #FFD600;
    color: #111111;
    padding: 12px 0;
    white-space: nowrap;
    border-top: 1px solid #e5bd00;
    border-bottom: 1px solid #e5bd00;
}

.chem-announcement-track {
    display: flex;
    width: max-content;
    animation: chemistry-marquee 32s linear infinite;
}

.chem-announcement-track > span {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 30px;
    padding-right: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
}

.chem-announcement-dot {
    color: #9b4d00;
}

.chem-announcement:hover .chem-announcement-track {
    animation-play-state: paused;
}

@keyframes chemistry-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 576px) {
    .chem-announcement {
        padding: 10px 0;
    }

    .chem-announcement-track > span {
        font-size: 12px;
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chem-announcement-track {
        animation: none;
    }
}


/* PREMIUM ACHIEVERS SHOWCASE */

.bc-achievers-section {
    background: linear-gradient(180deg, #f5f9ff, #ffffff);
}

.bc-achievers-eyebrow {
    color: #087c91;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bc-achiever-card {
    background: #ffffff;
    border: 1px solid #dce7f2;
    border-radius: 18px;
    overflow: hidden;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.bc-achiever-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(12, 39, 75, .12);
}

.bc-achiever-photo-wrap {
    position: relative;
    padding: 28px 15px 12px;
    background: linear-gradient(145deg, #e8f4fa, #f7fbff);
}

.bc-achiever-photo {
    width: 105px;
    height: 105px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 18px rgba(0,0,0,.12);
}

.bc-achiever-atom {
    position: absolute;
    right: 18px;
    top: 18px;
    color: #087c91;
    font-size: 19px;
}

.bc-achiever-content {
    padding: 18px 16px 22px;
}

.bc-achiever-content h3 {
    font-size: 17px;
    font-weight: 800;
    color: #102747;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.bc-achiever-result {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #fff4d6;
    color: #855900;
    font-size: 13px;
    font-weight: 800;
}

.bc-achiever-exam {
    color: #315574;
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
}

.bc-achiever-content p {
    color: #65778a;
    font-size: 13px;
    line-height: 1.7;
    margin: 12px 0 0;
}

.bc-achievers-button {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    border: 1px solid #0c7890;
    border-radius: 10px;
    color: #0c617b;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.bc-achievers-button:hover {
    background: #0c617b;
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .bc-achiever-photo {
        width: 85px;
        height: 85px;
    }

    .bc-achiever-content {
        padding: 15px 12px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-achiever-card {
        transition: none;
    }
}


/* BONDING - WHY CHOOSE US */
.bc-why-section {
    padding: 75px 0;
    background: #f7faff;
    border-top: 1px solid #e7edf5;
    border-bottom: 1px solid #e7edf5;
}

.bc-why-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}

.bc-why-eyebrow {
    display: inline-block;
    color: #087fc4;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.bc-why-heading h2 {
    color: #102747;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
}

.bc-why-heading p {
    color: #687991;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.bc-why-card {
    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 13px;
    padding: 30px 27px;
    box-shadow: 0 2px 5px rgba(15, 40, 75, .035);
    transition: transform .25s ease, box-shadow .25s ease,
                border-color .25s ease;
}

.bc-why-card:hover {
    transform: translateY(-5px);
    border-color: #8ac8eb;
    box-shadow: 0 12px 28px rgba(15, 50, 90, .09);
}

.bc-why-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf6ff;
    color: #087fc4;
    font-size: 23px;
    margin-bottom: 23px;
}

.bc-why-card h3 {
    color: #102747;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.5;
    margin-bottom: 12px;
}

.bc-why-card p {
    color: #65758b;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 767.98px) {
    .bc-why-section {
        padding: 48px 0;
    }

    .bc-why-heading {
        margin-bottom: 28px;
    }

    .bc-why-card {
        padding: 23px;
    }
}

/* SUBTLE CHEMISTRY MOLECULE BACKGROUND */

.bc-why-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
}

.bc-why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .16;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='180' viewBox='0 0 220 180'%3E%3Cg fill='none' stroke='%230b9acb' stroke-width='1.2'%3E%3Cpath d='M145 30 L165 42 L165 66 L145 78 L125 66 L125 42 Z M165 42 L185 30 M165 66 L185 78'/%3E%3Cpath d='M35 110 L55 122 L55 146 L35 158 L15 146 L15 122 Z M55 122 L75 110'/%3E%3Ccircle cx='185' cy='30' r='4'/%3E%3Ccircle cx='185' cy='78' r='4'/%3E%3Ccircle cx='75' cy='110' r='4'/%3E%3C/g%3E%3Cg fill='%230b9acb' font-family='Arial' font-size='10'%3E%3Ctext x='85' y='32'%3EH2O%3C/text%3E%3Ctext x='105' y='155'%3ECO2%3C/text%3E%3C/g%3E%3C/svg%3E");

    background-repeat: repeat;
    background-size: 220px 180px;
    animation: bcMoleculeFloat 35s linear infinite;
}

.bc-why-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    top: -75px;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 180, 220, .08),
        transparent 70%
    );
}

@keyframes bcMoleculeFloat {
    from { background-position: 0 0; }
    to { background-position: 110px 90px; }
}

@media (prefers-reduced-motion: reduce) {
    .bc-why-card::before {
        animation: none;
    }
}

/* FEATURED CHEMISTRY COURSES */

.bc-courses-section {
    background: #f7faff;
    padding-top: 75px !important;
    padding-bottom: 75px !important;
}

.bc-courses-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 34px;
}

.bc-course-eyebrow {
    color: #078bbd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bc-courses-heading h2 {
    color: #102747;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 800;
    margin: 9px 0;
}

.bc-courses-heading p {
    color: #738197;
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

.bc-all-courses-btn {
    flex-shrink: 0;
    text-decoration: none;
    color: #087eaf;
    border: 1px solid #b8d9e9;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease;
}

.bc-all-courses-btn:hover {
    background: #eaf7ff;
    color: #075c87;
}

.bc-course-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
    border: 1px solid #e0e9f2;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(15, 42, 75, .035);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bc-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(15, 42, 75, .09);
}

.bc-course-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 19px 19px 0;
}

.bc-course-class,
.bc-course-status {
    font-size: 11px;
    font-weight: 750;
    border-radius: 6px;
    padding: 7px 9px;
}

.bc-course-class {
    color: #126b9b;
    background: #edf7ff;
}

.bc-course-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bc-course-status.is-open {
    color: #16804c;
    background: #eaf8f0;
}

.bc-course-status.is-closed {
    color: #737d8b;
    background: #f0f2f5;
}

.bc-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.bc-course-visual {
    height: 145px;
    margin: 16px 19px 0;
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 193, 220, .16), transparent 42%),
        linear-gradient(125deg, #102a4b, #123c62 60%, #075b78);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-course-atom {
    color: #8beaff;
    font-size: 52px;
    filter: drop-shadow(0 0 12px rgba(91, 224, 255, .35));
    animation: bcAtomFloat 5s ease-in-out infinite;
}

.bc-course-orbit {
    position: absolute;
    width: 105px;
    height: 55px;
    border: 1px solid rgba(126, 231, 255, .32);
    border-radius: 50%;
    transform: rotate(35deg);
}

.bc-course-orbit.orbit-two {
    transform: rotate(-35deg);
}

.bc-course-index {
    position: absolute;
    bottom: 12px;
    right: 13px;
    color: rgba(218, 245, 255, .65);
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
}

.bc-course-body {
    padding: 21px 20px 19px;
}

.bc-course-body h3 {
    color: #142e4e;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 800;
    margin: 0 0 10px;
}

.bc-course-description {
    color: #748196;
    font-size: 13px;
    line-height: 1.7;
    min-height: 44px;
    margin-bottom: 18px;
}

.bc-course-details {
    display: grid;
    gap: 11px;
    padding: 15px 0;
    border-top: 1px solid #edf1f5;
    border-bottom: 1px solid #edf1f5;
}

.bc-course-details div {
    display: grid;
    grid-template-columns: 18px 76px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.bc-course-details i {
    color: #0b9bc1;
}

.bc-course-details span {
    color: #8792a2;
}

.bc-course-details strong {
    color: #263e5b;
    text-align: right;
    overflow-wrap: anywhere;
}

.bc-course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 17px;
}

.bc-fee-label {
    display: block;
    color: #8995a5;
    font-size: 11px;
    margin-bottom: 3px;
}

.bc-course-footer strong {
    color: #102747;
    font-size: 19px;
    font-weight: 800;
}

.bc-course-view-btn {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #102f50;
    color: #fff;
    text-decoration: none;
    transition: .25s ease;
}

.bc-course-view-btn:hover {
    background: #078bbd;
    color: #fff;
    transform: translateX(3px);
}

@keyframes bcAtomFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 767.98px) {
    .bc-courses-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .bc-courses-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .bc-course-visual {
        height: 125px;
    }

    .bc-course-body {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-course-atom {
        animation: none;
    }
}

/* COMPACT FEATURED COURSE CARDS */

.bc-course-visual,
.bc-course-atom,
.bc-course-orbit {
    display: none !important;
}

.bc-course-body {
    padding-top: 20px;
}

.bc-course-description {
    min-height: auto;
}

.bc-course-card {
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    .bc-course-body {
        padding: 16px;
    }
}

/* CENTERED FEATURED CHEMISTRY COURSES */

.bc-courses-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 17px;
    margin: 0 auto 35px;
}

.bc-courses-heading h2 {
    text-align: center;
    margin: 10px 0;
}

.bc-courses-heading p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.bc-course-eyebrow {
    display: inline-block;
    text-align: center;
}

.bc-all-courses-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(0, 174, 220, .45);
    color: #087eaf;
    background: #fff;
    border-radius: 9px;
    padding: 12px 23px;
    box-shadow:
        0 0 10px rgba(0, 174, 220, .12),
        0 0 22px rgba(0, 174, 220, .07);
    transition: all .3s ease;
}

.bc-all-courses-btn:hover {
    color: #fff;
    background: #087eaf;
    border-color: #087eaf;
    box-shadow:
        0 0 12px rgba(0, 174, 220, .35),
        0 0 28px rgba(0, 174, 220, .18);
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .bc-courses-heading {
        margin-bottom: 27px;
        gap: 15px;
    }
}

/* PREMIUM CHEMISTRY NOTICE BOARD */

.bc-notice-section {
    padding: 30px 0 45px;
}

.bc-notice-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    gap: 15px;
}

.bc-notice-eyebrow {
    color: #078bbd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bc-notice-heading h2 {
    color: #102747;
    font-size: 27px;
    font-weight: 800;
    margin: 7px 0;
}

.bc-notice-heading p {
    color: #78869a;
    font-size: 13px;
    margin: 0;
}

.bc-notice-heading-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #078bbd;
    background: #eaf7ff;
    font-size: 19px;
}

.bc-notice-card {
    background: #fff;
    border: 1px solid #e0eaf2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(16, 39, 71, .045);
}

.bc-notice-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    color: #fff;
    background: linear-gradient(110deg, #102747, #145477);
    font-size: 13px;
    font-weight: 750;
}

.bc-notice-card-header i {
    color: #75e6ff;
    margin-right: 7px;
}

.bc-notice-live {
    font-size: 9px;
    letter-spacing: 1px;
    color: #a8edff;
    border: 1px solid rgba(168, 237, 255, .35);
    border-radius: 20px;
    padding: 5px 9px;
}

.bc-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    padding: 21px 20px;
    border-bottom: 1px solid #edf1f5;
    transition: background .25s ease;
}

.bc-notice-item:last-child {
    border-bottom: 0;
}

.bc-notice-item:hover {
    background: #f6fbff;
}

.bc-notice-date {
    min-width: 100px;
    color: #078bbd;
    font-size: 11px;
    font-weight: 700;
    padding-top: 3px;
}

.bc-notice-date i {
    margin-right: 4px;
}

.bc-notice-content {
    flex: 1;
    min-width: 0;
}

.bc-notice-category {
    display: inline-block;
    color: #087eaf;
    background: #edf8ff;
    border: 1px solid #d9effa;
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 750;
    margin-bottom: 8px;
}

.bc-notice-content h3 {
    color: #152e4c;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 800;
    margin: 0 0 6px;
}

.bc-notice-content p {
    color: #78869a;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

.bc-notice-arrow {
    color: #0b9bc1;
    font-size: 13px;
    padding-top: 24px;
    transition: transform .2s ease;
}

.bc-notice-item:hover .bc-notice-arrow {
    transform: translateX(4px);
}

.bc-notice-empty {
    text-align: center;
    padding: 35px 15px;
    color: #8996a7;
}

.bc-notice-empty i {
    font-size: 25px;
    color: #0b9bc1;
    margin-bottom: 10px;
}

.bc-notice-empty p {
    margin: 0;
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .bc-notice-section {
        padding: 22px 0 32px;
    }

    .bc-notice-heading h2 {
        font-size: 23px;
    }

    .bc-notice-item {
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 17px 15px;
    }

    .bc-notice-date {
        width: 100%;
    }

    .bc-notice-arrow {
        padding-top: 28px;
    }

    .bc-notice-card-header {
        padding: 14px 15px;
    }
}

/* NOTICE BOARD - CENTERED PREMIUM TEXT */

.bc-notice-heading {
    justify-content: center;
    text-align: center;
    margin-bottom: 28px;
}

.bc-notice-heading > div:first-child {
    width: 100%;
}

.bc-notice-heading h2 {
    text-align: center;
    font-weight: 850;
}

.bc-notice-heading p {
    text-align: center;
    font-weight: 500;
}

.bc-notice-card-header {
    justify-content: center;
    font-weight: 800;
    text-align: center;
}

.bc-notice-item {
    text-align: center;
    align-items: center;
    padding: 24px 30px;
}

.bc-notice-date {
    min-width: 115px;
    font-weight: 750;
}

.bc-notice-content {
    text-align: center;
}

.bc-notice-content h3 {
    font-weight: 800;
}

.bc-notice-content p {
    font-weight: 500;
}

.bc-notice-arrow {
    display: none;
}

.bc-notice-category {
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .bc-notice-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .bc-notice-heading {
        padding-left: 8px;
        padding-right: 8px;
    }

    .bc-notice-item {
        padding: 20px 14px;
        gap: 9px;
    }

    .bc-notice-date {
        width: 100%;
        text-align: center;
    }

    .bc-notice-content {
        width: 100%;
    }

    .bc-notice-content h3 {
        font-size: 15px;
    }

    .bc-notice-content p {
        font-size: 13px;
        line-height: 1.75;
    }
}
