/* ========================================
    SCROLL PROGRESS
======================================== */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #170006, #c0392b);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ========================================
    COURSE HERO — full bleed image
======================================== */
.course-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.course-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/quality.webp');
    background-size: cover;
    background-position: center top;
    filter: brightness(0.28);
    transform: scale(1.04);
    transition: transform 7s ease;
}
.course-hero:hover .course-hero-bg { transform: scale(1.08); }
.course-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(23,0,6,0.8) 0%, rgba(23,0,6,0.35) 100%);
}
.ch-inner {
    position: relative;
    z-index: 2;
    padding: 90px 0 75px;
    width: 100%;
}
.ch-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.ch-trail a {
    color: rgba(255,255,255,0.48);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.ch-trail a:hover { color: #fff; }
.ch-trail .sep { color: rgba(255,255,255,0.22); font-size: 11px; }
.ch-trail .cur { color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 600; }
.ch-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.ch-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 13px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.ch-tag.body  { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }
.ch-tag.cat   { background: #c0392b; color: #fff; }
.ch-tag.level { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: #fff; }
.ch-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 22px;
    max-width: 780px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.ch-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ch-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    font-weight: 500;
}

/* ========================================
    DESCRIPTION PARAGRAPHS
======================================== */
.course-desc-wrap {
    background: #fff;
    padding: 58px 0 54px;
    border-bottom: 1px solid #efefef;
}
.course-desc-wrap p {
    font-size: 15px;
    color: #444;
    line-height: 1.88;
    margin-bottom: 22px;
}
.course-desc-wrap p:last-child { margin-bottom: 0; }

/* ========================================
    COURSE OVERVIEW — TABS
======================================== */
.overview-section {
    background: #f7f7f8;
    padding: 60px 0 70px;
}
.overview-label {
    text-align: center;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 14px;
}
.overview-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #170006;
    line-height: 1.15;
    margin-bottom: 38px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* TAB BUTTONS */
.tab-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 42px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.tab-btn {
    flex: 1;
    padding: 18px 14px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    background: #781921;
    color: rgba(255,255,255,0.7);
    transition: background 0.25s, color 0.25s;
    letter-spacing: 0.3px;
    line-height: 1.3;
}
.tab-btn:hover { background: #fdb714; color: #fff; }
.tab-btn.active { background: #fdb714; color: #fff; }

/* TAB CONTENT */
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tab-content-box {
    background: #fff;
    border-radius: 14px;
    padding: 42px 48px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.06);
}

/* Content typography */
.tab-content-box p {
    font-size: 15px;
    color: #444;
    line-height: 1.85;
    margin-bottom: 20px;
}
.tab-content-box ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 24px;
}
.tab-content-box ul li {
    position: relative;
    padding-left: 20px;
    font-size: 14.5px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}
.tab-content-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c0392b;
}
.tab-content-box ol {
    padding-left: 0;
    list-style: none;
    counter-reset: item;
    margin-bottom: 24px;
}
.tab-content-box ol li {
    counter-increment: item;
    position: relative;
    padding-left: 34px;
    font-size: 14.5px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
}
.tab-content-box ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #170006;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-content-box h4 {
    font-size: 17px;
    font-weight: 800;
    color: #170006;
    margin: 28px 0 10px;
}
.tab-content-box h4:first-child { margin-top: 0; }

/* entry req highlight box */
.req-box {
    background: #fdf0f0;
    border-left: 4px solid #c0392b;
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    margin-bottom: 22px;
}
.req-box p { margin: 0; color: #444; }

/* ========================================
    FAQ ACCORDION
======================================== */
.faq-section {
    background: #fff;
    padding: 65px 0 75px;
}
.faq-label {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #170006;
    margin-bottom: 38px;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-item:first-child { border-top: 1px solid #eee; }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: #f7f7f8;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #170006;
    cursor: pointer;
    transition: background 0.22s, color 0.22s;
}
.faq-q:hover { background: #f0eef0; }
.faq-q.open {
    background: #c0392b;
    color: #fff;
}
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s;
}
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
    display: none;
    padding: 22px 26px;
    font-size: 14.5px;
    color: #555;
    line-height: 1.8;
    background: #fff;
}
.faq-a.open { display: block; animation: fadeUp 0.3s ease; }

/* ========================================
    ENROL CTA STRIP
======================================== */
.enrol-strip {
    background: #170006;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.enrol-strip::before {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.enrol-strip h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}
.enrol-strip p {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    margin-bottom: 28px;
}
.enrol-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #c0392b;
    color: #fff;
    padding: 15px 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 22px rgba(192,57,43,0.45);
}
.enrol-btn:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(192,57,43,0.55);
    color: #fff;
}

/* Footer */
.footer { position: relative; z-index: 1; margin-top: 0; }
.footer-cta { padding: 40px 0 35px; }

@media (max-width: 767px) {
    .ch-title { font-size: 26px; }
    .overview-title { font-size: 22px; }
    .tab-bar { flex-direction: column; border-radius: 10px; }
    .tab-btn { padding: 14px; font-size: 13px; }
    .tab-content-box { padding: 26px 20px; }
    .faq-label { font-size: 26px; }
}
@media (max-width: 575px) {
    .ch-inner { padding: 70px 0 55px; }
}

.question-text {
    flex: 1;
}

.arrow {
    flex-shrink: 0;
}

