/* ============================================
   ROLOF IMT – PROGRAMMES PAGE STYLESHEET
   programmes.css — extends style2.css & about.css
   ============================================ */

/* ============================================
   PROGRAMMES HERO
   ============================================ */
.programmes-hero {
    background-image: linear-gradient(rgba(4, 43, 107, 0.80), rgba(4, 43, 107, 0.70)),
                      url('../images/campus.png');
}

/* ============================================
   INTRO / WHO IS IT FOR
   ============================================ */
.prog-intro-section {
    background: #fff;
}

.prog-audience-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prog-audience-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.prog-audience-list li i {
    color: var(--secondary-color);
    font-size: 16px;
    flex-shrink: 0;
}

.prog-categories-overview {
    background: #f5f7fb;
    border-radius: 16px;
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
}

.prog-categories-overview h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.cat-overview-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-overview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.cat-overview-item:hover {
    border-left-color: var(--primary-color);
    background: #eef1fb;
    color: var(--primary-color);
    transform: translateX(4px);
}

.cat-ov-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}

.cat-ov-icon.blue   { background: linear-gradient(135deg, #0b5ed7, #042b6b); }
.cat-ov-icon.green  { background: linear-gradient(135deg, #198754, #146c43); }
.cat-ov-icon.orange { background: linear-gradient(135deg, #fd7e14, #c05c00); }
.cat-ov-icon.purple { background: linear-gradient(135deg, #6f42c1, #59359e); }
.cat-ov-icon.red    { background: linear-gradient(135deg, #dc3545, #b02a37); }

/* ============================================
   PROGRAMME GOALS
   ============================================ */
.prog-goals-section {
    background: #f5f7fb;
}

.goal-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.goal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.goal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-icon {
    background: linear-gradient(135deg, var(--accent-color), #e0a800);
    color: #333;
}

.goal-card h6 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.goal-card p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   SCHOOLS SECTION
   ============================================ */
.schools-section {
    background: #fff;
}

.schools-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 16px;
    padding: 30px 36px;
    color: #fff;
}

.schools-banner h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.school-block {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.school-block:hover {
    background: rgba(255,255,255,0.16);
}

.school-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: #333;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.school-block h6 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.school-block span {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

/* ============================================
   ND SECTION
   ============================================ */
.nd-section {
    background: #f5f7fb;
}

.nd-intro {
    font-size: 15px;
    color: var(--text-light);
    max-width: 680px;
    margin: 8px auto 0;
    line-height: 1.8;
}

.nd-details-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 14px;
    padding: 24px 28px;
    margin: 28px 0 0;
}

.nd-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
}

.nd-detail-item > i {
    font-size: 22px;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.nd-detail-item div {
    display: flex;
    flex-direction: column;
}

.nd-detail-item strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nd-detail-item span {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
    line-height: 1.4;
}

/* ND Cards */
.nd-card {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.nd-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.nd-card-header {
    padding: 30px 28px 24px;
    color: #fff;
    text-align: center;
}

.nd-blue .nd-card-header  { background: linear-gradient(135deg, #0b5ed7, #042b6b); }
.nd-green .nd-card-header { background: linear-gradient(135deg, #198754, #146c43); }
.nd-orange .nd-card-header{ background: linear-gradient(135deg, #fd7e14, #c05c00); }

.nd-card-icon {
    width: 68px;
    height: 68px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 14px;
}

.nd-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    font-weight: 600;
}

.nd-card-header h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.nd-card-body {
    padding: 24px 28px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nd-card-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
    margin: 0;
}

.nd-card-body h6 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.nd-career-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nd-career-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.nd-career-list li i {
    color: var(--primary-color);
    font-size: 11px;
    flex-shrink: 0;
}

.nd-card-footer {
    padding: 16px 28px 24px;
    background: #fff;
}

.btn-apply-prog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-apply-prog:hover {
    background: var(--accent-color);
    color: #333;
    gap: 12px;
}

/* ============================================
   CERTIFICATE SECTION
   ============================================ */
.cert-section {
    background: #fff;
}

.cert-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e8ecf4;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.cert-featured {
    background: linear-gradient(160deg, #f0f4ff, #fff);
    border-color: var(--primary-color);
}

.cert-card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cert-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}

.ms-blue   { background: linear-gradient(135deg, #0b5ed7, #042b6b); }
.ms-gold   { background: linear-gradient(135deg, #e0a800, #b98300); }
.hw-red    { background: linear-gradient(135deg, #dc3545, #b02a37); }
.combo-purple { background: linear-gradient(135deg, #6f42c1, #59359e); }

.cert-card-top h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.cert-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #eef1fb;
    color: var(--primary-dark);
}

.badge-gold {
    background: #fff4cc;
    color: #7a5400;
}

.cert-card > p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.cert-courses h6,
.cert-careers h6 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.course-tags span {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    background: #eef1fb;
    color: var(--primary-dark);
    border: 1px solid #d0d8f0;
    transition: all 0.2s ease;
}

.course-tags span:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.cert-careers ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cert-careers ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.cert-careers ul li i {
    color: var(--primary-color);
    font-size: 10px;
    flex-shrink: 0;
}

.btn-cert-enrol {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.btn-cert-enrol:hover {
    background: var(--primary-color);
    color: #fff;
    gap: 12px;
}

/* ============================================
   DIGITAL SKILLS SECTION
   ============================================ */
.digital-section {
    background: #f5f7fb;
}

.digital-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.digital-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.digi-featured {
    box-shadow: 0 8px 32px rgba(11,94,215,0.2);
    border: 2px solid var(--primary-color);
}

.digi-header {
    padding: 28px 24px 20px;
    color: #fff;
    text-align: center;
}

.web-design-bg { background: linear-gradient(135deg, #0b5ed7, #042b6b); }
.web-dev-bg    { background: linear-gradient(135deg, #198754, #146c43); }
.photo-bg      { background: linear-gradient(135deg, #6f42c1, #59359e); }

.digi-header i {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.9;
}

.digi-header h5 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.digi-body {
    padding: 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.digi-body p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

.digi-body h6 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dark);
    margin: 0;
}

.dark-tags span {
    background: #f0f3fa;
    color: var(--primary-dark);
    border-color: #d8def2;
}

.digi-careers ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.digi-careers ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.digi-careers ul li i {
    color: var(--secondary-color);
    font-size: 10px;
    flex-shrink: 0;
}

.digi-footer {
    padding: 14px 22px 22px;
}

.btn-digi-enrol {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-digi-enrol:hover {
    background: var(--primary-color);
    color: #fff;
    gap: 12px;
}

/* GRAPHICS DESIGN SUB-BLOCK */
.graphics-block {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
}

.graphics-block-header {
    text-align: center;
    margin-bottom: 32px;
}

.graphics-block-header i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.graphics-block-header h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.graphics-block-header p {
    font-size: 14px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

.graphics-card {
    background: #f5f7fb;
    border-radius: 14px;
    padding: 26px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.graphics-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary-color);
}

.gc-highlight {
    background: linear-gradient(160deg, #eef1fb, #f8f9ff);
    border-bottom: 3px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.gc-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 14px;
}

.coreldraw-col { background: linear-gradient(135deg, #0b5ed7, #042b6b); }
.photoshop-col { background: linear-gradient(135deg, #6f42c1, #59359e); }
.combo-col     { background: linear-gradient(135deg, #fd7e14, #c05c00); }

.graphics-card h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.graphics-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   BOOTCAMP SECTION
   ============================================ */
.bootcamp-section {
    background: #fff;
}

.bootcamp-card {
    border-radius: 16px;
    padding: 30px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    color: #fff;
}

.bootcamp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.bc-blue   { background: linear-gradient(160deg, #0b5ed7, #042b6b); }
.bc-green  { background: linear-gradient(160deg, #198754, #146c43); }
.bc-orange { background: linear-gradient(160deg, #fd7e14, #c05c00); }

.bc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.bc-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bc-badge {
    background: var(--accent-color);
    color: #333;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bootcamp-card h5 {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
}

.bootcamp-card p {
    font-size: 14px;
    opacity: 0.88;
    line-height: 1.7;
    margin: 0;
}

.bc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.bc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.bc-list li i {
    color: var(--accent-color);
    font-size: 12px;
    flex-shrink: 0;
}

.btn-bootcamp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-bootcamp:hover {
    background: var(--accent-color);
    color: #333;
    border-color: var(--accent-color);
    gap: 12px;
}

/* ============================================
   EXAM PREP SECTION
   ============================================ */
.exam-section {
    background: #f5f7fb;
}

.exam-visual {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.exam-icon-big {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: var(--accent-color);
    margin: 0 auto 28px;
}

.exam-stat-row {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.exam-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.exam-stat span {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.exam-stat small {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   PROGRAMME CTA
   ============================================ */
.prog-cta-section {
    background: #fff;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .nd-details-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .schools-banner {
        padding: 24px 22px;
    }
}

@media (max-width: 767px) {
    .nd-details-strip {
        grid-template-columns: 1fr 1fr;
        padding: 18px 16px;
        gap: 12px;
    }

    .prog-categories-overview {
        padding: 22px 18px;
    }

    .graphics-block {
        padding: 24px 18px;
    }

    .exam-stat-row {
        gap: 16px;
    }

    .bootcamp-card {
        padding: 24px 20px;
    }
}

@media (max-width: 575px) {
    .nd-details-strip {
        grid-template-columns: 1fr;
    }

    .cat-overview-item span {
        font-size: 13px;
    }

    .exam-stat-row {
        gap: 12px;
    }
}
