/* Google Fonts used by the department pages (was an @import in every page) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    /* Main Color Palette */
    --navy: #0b2d6e;
    --navy-deep: #061840;
    --royal: #1a4fbd;
    --sky: #3b82d8;
    --sky-light: #5b9fe8;
    --pale: #eef4fc;
    --pale2: #f5f9ff;
    --gold: #c8991e;
    --gold-light: #e8b830;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);

    /* Text & Borders */
    --text: #0d1f40;
    --text-mid: #3a5075;
    --text-light: #6b88aa;
    --border: #d0e2f5;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
     --brand-primary: #0A3263;
            --brand-sky: #0056B3;
            --brand-light-blue: #F0F5FA;
            --brand-dark-text: #1E293B;
            --brand-muted-text: #64748B;
            --brand-border: #E2E8F0;
             --obe-color-navy: #0B192C;
            --obe-color-blue: #1E3E62;
            --obe-color-gold: #D4AF37;
            --obe-color-gold-bg: #FFFBEB;
            --obe-color-border: #E2E8F0;
            --obe-color-bg: #F8FAFC;
            --obe-color-surface: #FFFFFF;
            --obe-color-text: #1E293B;
            --obe-color-muted: #64748B;
            --obe-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --obe-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        }
}

/* --- GLOBAL RESET --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}




section { 
    padding: 40px 2%; 
}

.container { 
    max-width: 1180px; 
    margin: 0 auto; 
    width: 100%;
}

.section-tag { 
    display: inline-block; 
       font-size: 1.1rem;
    font-weight: 600; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--royal); 
    background: var(--pale); 
    border: 1px solid #c8ddf5; 
    padding: 4px 13px; 
    border-radius: 20px; 
    margin-bottom: 14px; 
}

.section-title { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(24px, 4vw, 40px); 
    color: var(--navy); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 14px; 
}

.section-sub { 
    color: #000; 
    font-size: clamp(14px, 2vw, 15.5px); 
    max-width: 620px; 
    line-height: 1.75; 
    font-weight: 500; 
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.accent-bar { width: 52px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin: 18px 0 22px; }

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 6% 80px 6%;
    z-index: 1;
    background-color: var(--navy-deep);
    top: 70;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-position: 65% center; 
    background-size: cover;
    z-index: -2;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* --- CAPTION BOXES --- */
.caption-box {
    position: absolute;
    bottom: 0%;
    padding: 0px 20px;
    border-radius: 4px;
    z-index: 5;
    max-width: 650px;
  
    animation: fadeInUp 0.8s ease-out;margin-bottom: 2.5rem;
}

.caption-box:not(.right-bottom) {
    left: 0%;
    

}

.caption-box.right-bottom {
    right: 6%;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    border-right: 0px solid var(--gold); 
    text-align: right;
}

.caption-box h2 { color: #fff; font-size: clamp(2.5rem, 3vw, 1.7rem); font-weight: 900; margin-bottom: 8.5rem; }
.caption-box p { color: #fff; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 500; }

/* --- ADMISSIONS PANEL (HERO) --- */
.admissions-panel {
    position: absolute;
    right:0%;
    top: 30%;
    transform: translateY(-50%);
    background-color: #1158ce;
   
   
    padding: 0px;
    text-align: center;
    z-index: 5;
    max-width: 160px;
    width: 100%;
    animation: fadeInRight 0.8s ease-out;
}

.admissions-badge {
    width: 130px;
    height: 130px;
    background-color: var(--gold);
    border: 0px solid var(--white);
    border-radius: 00%;
    margin: 0 auto 15px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.admissions-badge .badge-title { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: #1e293b; letter-spacing: 1px; }
.admissions-badge .badge-year { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--navy-deep); line-height: 1.1; }
.admissions-panel .panel-text { color: var(--white); font-size: 1rem; line-height: 1.5; margin-bottom: 25px; opacity: 0.95; }

.panel-ctas { display: flex; flex-direction: column; gap: 12px; }
.cta-btn { display: block; width: 100%; padding: 10px 0px; font-size: 0.95rem; font-weight: 700; text-decoration: none; text-transform: capitalize; border-radius: 6px; transition: all 0.25s ease; }
.cta-btn.primary { background-color: var(--gold); color: var(--navy-deep); }
.cta-btn.primary:hover { background-color: var(--gold-light); transform: translateY(-2px); }
.cta-btn.secondary { background-color: transparent; color: var(--white); border: 0px solid rgba(255, 255, 255, 0.4); }
.cta-btn.secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* --- PROGRAMME CARDS --- */
.prog-section { background: var(--pale2); padding:0px 0% 0}
.prog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 22px; 
    margin-top: 48px; 
}
.prog-card { background: #061840; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 30px 16px; transition: .25s; position: relative; overflow: hidden;margin:0.3rem }
.prog-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--sky), var(--gold)); transform: scaleX(0); transition: .3s; transform-origin: left; }
.prog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(10,45,107,.3); border-color: rgba(59,130,216,.4); }
.prog-card:hover::after { transform: scaleX(1); }
.prog-icon-wrap { width: 52px; height: 52px; background: rgba(255,255,255,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; transition: .25s; }
.prog-card:hover .prog-icon-wrap { background: rgba(255,255,255,.18); transform: scale(1.05); }
.prog-card h3 { font-family: 'Playfair Display', serif; font-size: 17px; color: #f2b233; margin-bottom: 9px; font-weight: 700; }
.prog-card p { font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.65; margin-bottom: 18px; }
.prog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.prog-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 20px; letter-spacing: .3px; }
.prog-link { color: var(--gold-light); font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; background-color:#061840; padding:0.5rem }
.prog-link:hover { color: #fff; }
.prog-link::after { content: '→'; transition: .2s; }
.prog-link:hover::after { transform: translateX(3px); }

/* --- SYLLABUS --- */
.syllabus-section { background: #fff; }
.syllabus-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 32px; 
    margin-top: 48px; 
}
.syl-card { border: 1px solid var(--border); border-radius: 14px; padding: 28px; transition: .25s; }
.syl-card:hover { border-color: var(--sky-light); box-shadow: 0 12px 40px rgba(10,45,107,.07); }
.syl-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--navy); margin-bottom: 16px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.syl-card h3 span.badge { background: var(--navy); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .5px; padding: 3px 9px; border-radius: 20px; }
.syl-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.syl-list li { font-size: 13.5px; color: var(--text-mid); padding: 9px 14px; background: var(--pale2); border-radius: 8px; display: flex; align-items: center; gap: 10px; transition: .15s; }
.syl-list li:hover { background: var(--pale); color: var(--navy); }
.syl-list li::before { content: '📘'; font-size: 14px; }
.syl-download { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--royal); font-size: 13px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--border); padding: 9px 18px; border-radius: 6px; transition: .2s; }
.syl-download:hover { background: var(--royal); color: #fff; border-color: var(--royal); }

/* --- DEPARTMENTS --- */
.dept-section { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.dept-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.01) 0px, rgba(255,255,255,.01) 1px, transparent 1px, transparent 40px); }
.dept-section .section-tag { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: var(--gold-light); }
.dept-section .section-title { color: #fff; }
.dept-section .section-sub { color: rgba(255,255,255,.65); }
.dept-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 24px; 
    margin-top: 48px; 
}
.dept-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 36px 28px; transition: .25s; cursor: default; position: relative; overflow: hidden; }
.dept-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(200,153,30,.06); }
.dept-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); border-color: rgba(200,153,30,.35); }
.dept-card .dept-num { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 900; color: var(--gold-light); opacity: .3; position: absolute; top: 16px; right: 24px; line-height: 1; }
.dept-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 12px; font-weight: 700; color: #fff; padding-right: 40px; }
.dept-card p { font-size: 13.5px; opacity: .65; line-height: 1.7; }
.dept-card .dept-tag-inner { display: inline-block; background: rgba(200,153,30,.15); color: var(--gold-light); font-size: 10px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 14px; border: 1px solid rgba(200,153,30,.2); }
.dept-subjects { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.dept-subjects span { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); font-size: 11.5px; padding: 4px 10px; border-radius: 20px; }

/* --- STUDENT HUB --- */
.student-hub { background: var(--pale2); }
.hub-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-top: 48px; 
}
.hub-card { background: #061840; border: 1px solid var(--border); border-radius: 14px; padding: 10px; transition: .25s; align-items: flex-start; gap: 18px; }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(10,45,107,.09); border-color: rgba(59,130,216,.3); }
.hub-icon { width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; transition: .25s; }
.hub-card:hover .hub-icon { background:; transform: scale(1.05); color: #fff; }
.hub-body h3 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: #d6a726; margin-bottom: 7px; }
.hub-body p { font-size:0.95rem; color: #fff; line-height: 1.6; }
.hub-body a { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: #d6a726; text-decoration: none; }
.hub-body a:hover { color: var(--navy); }
.hub-body a::after { content: '→'; font-size: 12px; transition: .2s; }
.hub-body a:hover::after { transform: translateX(3px); }

/* --- CAREERS --- */
.careers-section { background: #fff; }
.careers-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
    margin-top: 48px; 
}
.careers-text .section-tag { display: block; width: fit-content; }
.careers-text p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.placement-stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 14px; 
    margin-top: 28px; 
}
.pstat { padding: 20px; background: var(--pale2); border-radius: 12px; border: 1px solid var(--border); text-align: center; }
.pstat .num { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 36px); font-weight: 700; color: var(--navy); line-height: 1; }
.pstat .label { font-size: 12px; color: var(--text-light); margin-top: 5px; line-height: 1.4; }
.careers-companies { background: var(--pale2); border-radius: 16px; border: 1px solid var(--border); padding: 28px; }
.careers-companies h4 { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--navy); margin-bottom: 20px; font-weight: 700; }
.company-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    gap: 10px; 
}
.company-chip { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 12px; font-weight: 600; color: var(--text-mid); text-align: center; transition: .2s; }
.company-chip:hover { border-color: var(--royal); color: var(--royal); }

/* --- ADMISSIONS BANNER --- */
.admissions-banner { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; padding: 60px 6%; text-align: center; position: relative; overflow: hidden; border-radius: 12px; margin: 40px auto; max-width: 1180px; }
.admissions-banner::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.01) 0, rgba(255,255,255,.01) 1px, transparent 1px, transparent 40px); }
.admissions-banner h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 4vw, 38px); font-weight: 700; margin-bottom: 14px; position: relative; z-index: 1; }
.admissions-banner p { color: rgba(255,255,255,.7); font-size: 15px; max-width: 520px; margin: 0 auto 28px; line-height: 1.7; position: relative; z-index: 1; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-gold { background: var(--gold); color: var(--navy-deep); font-weight: 700; font-size: 14px; padding: 14px 30px; border-radius: 5px; text-decoration: none; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,153,30,.4); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-weight: 500; font-size: 14px; padding: 14px 30px; border-radius: 5px; text-decoration: none; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* --- ACHIEVEMENTS --- */
.achievements-section { background: #0b2f59; padding: 80px 6%; position: relative; overflow: hidden; }
.achievements-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.01) 0px, rgba(255,255,255,.01) 1px, transparent 1px, transparent 40px); }
.achievements-section .section-tag { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: var(--gold-light); }
.achievements-section .section-title { color: #fff; font-style: italic; }
.achievements-section .section-sub { color: rgba(255,255,255,.65); margin: 0 auto; text-align: center; }
.achieve-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 18px; 
    margin-top: 52px; 
}
.achieve-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 32px 24px 28px; transition: .25s; }
.achieve-card:hover { background: rgba(255,255,255,.10); transform: translateY(-4px); border-color: rgba(200,153,30,.4); }
.achieve-num { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 900; color: var(--gold-light); line-height: 1; margin-bottom: 16px; }
.achieve-num sup { font-size: 22px; vertical-align: super; }
.achieve-card h4 { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); line-height: 1.5; margin-bottom: 10px; }
.achieve-card .achieve-src { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.35); }

/* --- TESTIMONIALS --- */
.testimonials-section { background: var(--pale2); padding: 80px 6%; }
.testimonial-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 22px; 
    margin-top: 48px; 
}
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px 22px 28px; text-align: center; transition: .25s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(10,45,107,.1); border-color: var(--sky-light); }
.testimonial-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--royal)); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; margin: 0 auto 20px; box-shadow: 0 4px 16px rgba(10,45,107,.2); }
.testimonial-card h4 { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.testimonial-card .role { font-size: 12.5px; color: var(--text-light); line-height: 1.55; }

.ticker {
      background:var(--navy);
      display: flex;
      align-items: center;
      overflow: hidden;
      font-size: 12.5px;
    }

    .hero-ticker {
      /* Changed from absolute to fixed */
      position: fixed; 
      bottom: 0;
      left: 0;
      right: 0;
      
      /* High z-index ensures it stays above other content */
      z-index: 999; 
      
      background:#061840;
      backdrop-filter: blur(6px);
      
      /* Ensures it spans the full viewport width */
      width: 100%; 
    }

    .ticker-badge {
      background:#f2b233;
      color: var(--navy-deep);
      font-weight: 700;
      font-size: 15px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 9px 16px;
      white-space: nowrap;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .ticker-badge::before {
      content: '📌';
      font-size: 12px;
    }

    .ticker-track {
      overflow: hidden;
      flex: 1;
    }

    .ticker-inner {
      display: flex;
      animation: scroll-ticker 32s linear infinite;
      white-space: nowrap;
      color: rgba(255, 255, 255, .85);
      font-size: 15px;
    }

    .ticker-inner span {
      padding: 9px 48px;
    }

    .ticker-inner span::after {
      content: '◆';
      margin-left: 48px;
      color: var(--gold);
      font-size: 8px;
    }

    /* --- Added Close Button CSS --- */
    .ticker-close-btn {
      background: #f2b233;
      color: rgba(6, 24, 64, 1);
      border: none;
      font-size: 22px;
      font-weight: bold;
      padding: 0 16px;
      cursor: pointer;
      align-self: stretch;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    /* --- Added Animation Keyframes --- */
    @keyframes scroll-ticker {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    /* --- Added Stop on Hover Rule --- */
    .ticker-track:hover .ticker-inner {
      animation-play-state: paused;
    }
/* ──────────────────────────────────────────────────────────────────────────
   MEDIAS QUERIES - FOR MAX RESPONSIVENESS
   ────────────────────────────────────────────────────────────────────────── */

/* Tablets / Small Laptops */
@media (max-width: 1024px) {
    section { padding: 60px 4%; }
    
    .hero-section {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 120px 4% 180px 4%; /* Add bottom spacing to prevent element overlap */
        min-height: auto;
    }
    
    .hero-section::before {
        background-position: center center; 
    }

    /* Pull captions and panels out of absolute positions so they stack nicely */
    .caption-box, .caption-box.right-bottom {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 550px;
        margin: 20px 0;
        text-align: left;
        border-radius: 12px;
    }

    .admissions-panel {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 550px;
        margin-top: 20px;
        animation: fadeInUp 0.8s ease-out;
    }

    .careers-layout {
        grid-template-columns: 1fr; /* Stacks the sidebar layout columns */
        gap: 30px;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    section { padding: 40px 4%; }

    .hero-section {
        padding-top: 90px;
    }

    .admissions-panel {
        padding: 30px 20px;
    }

    .admissions-badge {
        width: 110px;
        height: 110px;
    }

    .admissions-badge .badge-year {
        font-size: 1.7rem;
    }

    .caption-box {
        padding: 20px;
    }
    
    .syl-card {
        padding: 20px;
    }

    .ticker-inner span {
        padding: 9px 24px; /* shortens scroll gaps on small screen viewports */
    }
    .ticker-inner span::after {
        margin-left: 24px;
    }
}


/* ─── FOOTER ─── */
footer{background:#04102a;color:rgba(255,255,255,.65);padding:45px 48px 50px;}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-top{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:56px;margin-bottom: 30px;}
.footer-brand-logo{width:64px;height:64px;object-fit:contain;margin-bottom:16px;filter:brightness(1.2)}
.footer-brand-name{font-family:'Playfair Display',serif;font-size:clamp(26px,3vw,20px);color:#fff;margin-bottom:6px;font-weight:700}
.footer-brand-sub{font-size:15px;letter-spacing:.8px;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:16px}
.footer-brand-desc{font-size:15px;line-height:1.75;}
.footer-contact{margin-top:20px;display:flex;flex-direction:column;gap:7px;font-size:15px; margin-bottom: 12px}
.footer-contact a{color:var(--gold-light);text-decoration:none;font-size:15px;}
.footer-contact a:hover{color:#fff}
footer h5{color:#fff;font-size:clamp(26px,3vw,20px);font-family:'Playfair Display',serif;font-weight:700;margin-bottom:18px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.08)}
footer ul{list-style:none}
footer ul li{margin-bottom:9px}
footer ul li a{color:rgba(255,255,255,.95);text-decoration:none;font-size:15px;transition:.18s}
footer ul li a:hover{color:var(--gold-light);padding-left:4px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding-top:22px;display:flex;justify-content:space-between;align-items:center;font-size:15px;flex-wrap:wrap;gap:10px}
.footer-bottom a{color:rgba(255,255,255,.35);text-decoration:none;margin-left:18px;transition:.15s;font-size:15px;}
.footer-bottom a:hover{color:var(--gold-light)}






.department-menu{
    background:#061840;
    border:1px solid #ddd;
}

.department-menu ul{
    list-style:none;
    margin:0;
    padding:0;
}

.department-menu li{
    border-bottom:1px solid #d5d5d5;
}

.department-menu a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 20px;
    color:#f2b233;
    text-decoration:none;
    transition:.3s;
}

.department-menu a:hover,
.department-menu a.active{
    background:#fff;
    color:#c79b43;
}

.department-menu i{
    color:#c79b43;
}

.sticky-menu{
    position:sticky;
    top:20px;
}

/* Sections */

.content-section{
    background:#fff;
    padding:40px;
    margin-bottom:25px;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.section-title{
   
    color:#041e42;
    font-size:32px;
    font-weight:700;
    margin-bottom:25px;
}

.content-section p{
    line-height:20px;
    font-size: 0.95rem;
    color: #000;
    text-align: left;
}

/* Vision Mission */

.vm-card{
    background:#fff;
    padding:35px;
    height:100%;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
    position:relative;
    font-size: 0.9rem;
    color: #000;
}

.vm-card ul li{
    font-size: 0.95rem;
    padding: 0px;
}


.vm-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:5px;
    height:80px;
    background:#c79b43;
}

.vm-title{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
    font-size: 0.95rem;
}

.vm-title p{
    
    font-size: 0.95rem;
}

.vm-title i{
    color:#c79b43;
    font-size:28px;
}

.vm-title h2{
 
    color:#041e42;
    font-size:32px;
    font-weight:600;
    margin:0;
}

/* HOD */

.hod-box{
    display:flex;
    gap:30px;
    align-items:center;
}

.hod-img{
    width:180px;
    height:220px;
    object-fit:cover;
    border-radius:6px; border:1px solid #061840;
}

/* Faculty */
.faculty-card{
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    padding:20px 10px;
    text-align:center;
    transition:.3s;
    height:100%;
}

.faculty-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 20px rgba(0,0,0,.1);
}

.faculty-card img{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:5px;
    margin-bottom:15px;
}

.faculty-card h5{
    color:#333;
    font-weight:900;
    font-size: 0.9rem ;
}

.faculty-card p{
    color:#727272;
    font-size: 0.6rem;
    text-align: center;font-weight:700;letter-spacing: -0.1px;
    line-height: 20px;
}


.faculty-card b{
 
    font-size: 0.7rem;
   color:#000;
}

.view-btn{
    background:#0a2f5d;
    color:#fff;
    padding:8px 25px;
    text-decoration:none;
    border-radius:4px;
    font-size: 0.7rem;letter-spacing: -0.1px;
}

.view-btn:hover{
    background:#c99a3d;
    color:#fff;
}

.pagination .page-link{
    color:#0a2f5d;
}

.pagination .active .page-link{
    background:#0a2f5d;
    border-color:#0a2f5d;
}

/* Events */

.event-card{
    border-left:4px solid #c79b43;
    background:#fafafa;
    padding:20px;
    margin-bottom:20px;
}

@media(max-width:991px){

.section-title{
    font-size:38px;
}

.vm-title h2{
    font-size:32px;
}

.hod-box{
    flex-direction:column;
    text-align:center;
}

.sticky-menu{
   position: -webkit-sticky; /* For Safari compatibility */
    position: sticky;
    top: 100px; /* Adjust this value so the menu stays below your main top header menu1.php */
    z-index: 100;

}

}


    .dashboard-container {
            max-width: 1240px;
        }

        /* --- Global Section Branding Headers --- */
        .header-section {
            margin-bottom: 2.8rem;
        }

        .small-title {
            font-size: 0.85rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            color: #022954 !important; /* Perfect sampled dark branding color */
            position: relative;
            padding-bottom: 8px;
            display: inline-block;
        }

        .small-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 42%;
            width: 16%;
            height: 2.5px;
            background-color: #1a5193;
            border-radius: 2px;
        }

        .main-title {
            color: #022954;
            font-weight: 700;
            font-size: 2.65rem;
            margin-top: 0.5rem;
            margin-bottom: 0.6rem;
            letter-spacing: -0.02em;
        }

        .subtitle {
            max-width: 720px;
            font-size: 0.98rem;
            line-height: 1.5;
            color: #556882;
        }

        /* --- Control Buttons Framework --- */
        .filter-row {
            margin-bottom: 1.8rem;
        }

        .btn-filter-primary {
            background-color: #022954;
            color: #ffffff;
            border-radius: 8px;
            padding: 0 16px;
            font-size: 0.9rem;
            font-weight: 600;
            border: none;
            height: 44px;
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .btn-filter-secondary {
            background-color: #ffffff;
            color: #2c3a4e;
            border-radius: 8px;
            padding: 0 16px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid #dce4ec;
            height: 44px;
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .search-custom {
            position: relative;
        }

        .search-custom input {
            height: 44px;
            border-radius: 8px;
            border: 1px solid #dce4ec;
            background-color: #ffffff;
            padding-left: 45px;
            font-size: 0.92rem;
            box-shadow: none;
        }
        .search-custom input::placeholder {
            color: #94a3b8;
        }

        .search-custom .search-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
        }

        /* --- Pixel Perfect Custom CSS Grid Layout Architecture --- */
       .event-card-grid {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e8eef3;
    box-shadow: 0 4px 15px rgba(4, 42, 84, 0.012);
    display: grid;
    /* Uses responsive flexible columns instead of fixed pixels */
    grid-template-columns: 90px minmax(140px, 180px) 1fr auto;
    align-items: center;
    overflow: hidden;
    gap: 0;
}

/* --- Grid Items Compartments --- */
.date-badge {
    background-color: #022954; 
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 105px;
}

.date-badge .day {
    font-size: 1rem;
    font-weight: 700;
    line-height: 0.95;
}

.date-badge .day-range {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.date-badge .header-compact {
    font-size: 1rem;
}

.date-badge .month {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 4px;
}

.date-badge .year {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.85;
}

/* Structural Spacing Containers */
.tag-column {
    padding: 15px 10px 15px 15px;
}

.title-column {
    padding: 15px;
}

.desc-column {
    padding: 15px 20px;
}

.metrics-column {
    padding: 15px 20px 15px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto; /* Keeps participants pushed cleanly to the right */
}

/* --- Element Typography --- */
.event-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #022954;
    line-height: 1.35;
    margin-bottom: 4px;
}

.event-description {
    font-size: 0.88rem;
    color: #4b586c;
    line-height: 1.45;
    margin-bottom: 0;
}

.label-participants {
    font-size: 0.75rem;
    font-weight: 500;
    color: #7a8ba3;
    display: block;
    margin-bottom: 1px;
}

.count-text {
    font-size: 1rem;
    font-weight: 700;
}

/* --- Component Pill Badge Configurations --- */
.badge-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
}

/* --- Color Matched Design Themes --- */
.pill-blue, .pill-green, .pill-gold, .pill-purple, 
.pill-pink, .pill-teal, .pill-lightblue, .pill-terracotta { 
    background-color: #fef8e6; 
    color: #f2b233; 
}

.text-tag-blue, .text-tag-green, .text-tag-gold, .text-tag-purple { color: #f2b233; }
.text-tag-pink { color: #cc3c4e; }
.text-tag-teal { color: #217c5e; }
.text-tag-lightblue { color: #196fa0; }
.text-tag-terracotta { color: #bc5828; }

.circle-blue, .circle-green, .circle-gold, .circle-purple, 
.circle-teal, .circle-lightblue, .circle-terracotta { 
    background-color: #fef8e6; 
    color: #f2b233; 
}
.circle-pink { background-color: #fbebee; color: #cc3c4e; }

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Dynamic Viewport Breakpoints --- */

/* Intermediate Tablet View (768px - 991px) */
@media (max-width: 991.98px) {
    .event-card-grid {
        grid-template-columns: 80px 1fr auto;
        grid-template-areas: 
            "badge title metrics"
            "badge desc  desc";
    }

    .date-badge { grid-area: badge; }
    .title-column { grid-area: title; padding: 12px 15px 5px 15px; }
    .metrics-column { grid-area: metrics; padding: 12px 15px 5px 0; }
    .desc-column { grid-area: desc; padding: 0 15px 12px 15px; }
    .tag-column { display: none; } /* Optional: Hide tag pill on tablet to save horizontal space */
}

/* Full Mobile View (< 576px) */
@media (max-width: 575.98px) {
    .event-card-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .date-badge {
        width: 100%;
        min-height: auto;
        padding: 10px;
    }

    .title-column, .metrics-column, .desc-column {
        padding: 10px 15px;
    }
}



.sjcc-mou-wrapper{
    max-width:1100px;
    margin:auto;
    background:#ffffff;
    border-radius:30px;
    padding:20px;
    position:relative;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.sjcc-mou-wrapper::before{
    content:"";
    position:absolute;
    width:200px;
    height:280px;
    background:#0b2f59;
    border-radius:50%;
    top:-150px;
    left:-150px;
}

.sjcc-mou-wrapper::after{
    content:"";
    position:absolute;
    width:200px;
    height:280px;
    background:#0b2f59;
    border-radius:50%;
    bottom:-150px;
    right:-150px;
}

/*==========================
      TITLE
==========================*/

.sjcc-mou-heading{
    text-align:center;
    font-size:42px;
    font-weight:700;
    color:#0b2f59;
    position:relative;
    z-index:2;
}

.sjcc-mou-divider{
    width:180px;
    height:3px;
    background:#d8a320;
    margin:18px auto 45px;
    position:relative;
    z-index:2;
}

.sjcc-mou-divider::after{
    content:"🤝";
    position:absolute;
    left:50%;
    top:-16px;
    transform:translateX(-50%);
    background:#fff;
    padding:0 10px;
    font-size:20px;
}

/*==========================
       CARD
==========================*/

.sjcc-mou-card{
    background:#fff;
    border-radius:20px;
    padding:6px;
    margin-bottom:22px;
    position:relative;
    z-index:2;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.sjcc-mou-card:hover{
    transform:translateY(-4px);
}

/*==========================
       ICON
==========================*/

.sjcc-mou-icon{
    width:72px;
    height:72px;
    background:#0b2f59;
    border-radius:50%;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    margin:auto;
}

/*==========================
       TEXT
==========================*/

.sjcc-mou-title{
    font-size:18px;
    font-weight:700;
    color:#0b2f59;
    margin-bottom:2px;
}

.sjcc-mou-subtitle{
    color:#666;
    font-size:13px;
}

/*==========================
      YEAR BOX
==========================*/

.sjcc-mou-year-box{
    background:#f5f7fb;
    border-radius:16px;
    padding:18px;
    text-align:center;
}

.sjcc-mou-year-box i{
    font-size:28px;
    color:#0b2f59;
    margin-bottom:10px;
}

.sjcc-mou-year{
    font-size:10px;
    font-weight:700;
    color:#0b2f59;
}

.sjcc-mou-renew{
    color:#666;
    font-size:15px;
}

/*==========================
      MOBILE
==========================*/

@media(max-width:768px){

    .sjcc-mou-wrapper{
        padding:25px;
    }

    .sjcc-mou-heading{
        font-size:28px;
    }

    .sjcc-mou-title{
        font-size:22px;
        text-align:center;
        margin-top:15px;
    }

    .sjcc-mou-subtitle{
        text-align:center;
    }

    .sjcc-mou-year-box{
        margin-top:20px;
    }

}



 /* Custom Palette Colors */
        .bg-navy { background-color: #1a365d; }
        .bg-teal { background-color: #4a7c7a; }
        .bg-card-light { background-color: #fcfbf7; }
        
        /* Banner Settings */
        .report-banner {
            border-bottom: 4px solid #bfa15f; /* Gold accent line */
            padding: 1.5rem 2rem;
        }
        .banner-subtitle {
            font-size: 0.9rem;
            letter-spacing: 1px;
            font-weight: 500;
        }
        .banner-title {
            font-weight: 700;
            font-size: 1.8rem;
        }

        /* Section Header Badges */
        .section-header {
            color: #ffffff;
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            text-align: center;
            padding: 0.5rem;
            text-transform: uppercase;
        }

        /* Institutional Performance Custom Styling */
        .stat-badge-gold {
            background-color: #dfba6b;
            color: #000000;
            font-weight: 700;
            font-size: 0.8rem;
            padding: 0.25rem 0.6rem;
            display: inline-block;
            letter-spacing: 0.5px;
        }
        .stat-badge-teal {
            background-color: #82b2b1;
            color: #000000;
            font-weight: 700;
            font-size: 0.8rem;
            padding: 0.25rem 0.6rem;
            display: inline-block;
            letter-spacing: 0.5px;
        }
        .stat-pass-rate {
            font-weight: 700;
            font-size: 1rem;
            margin-top: 0.3rem;
            margin-bottom: 0.1rem;
        }
        .stat-award-text {
            font-size: 0.75rem;
            color: #777777;
            line-height: 1.3;
        }
        
        /* Custom Bullet Indicators */
        .list-item-container {
            position: relative;
            padding-left: 1.5rem;
        }
        .list-bullet-gold::before {
            content: "•";
            color: #dfba6b;
            font-size: 1.8rem;
            position: absolute;
            left: 0;
            top: -0.6rem;
        }
        .list-bullet-teal::before {
            content: "•";
            color: #82b2b1;
            font-size: 1.8rem;
            position: absolute;
            left: 0;
            top: -0.6rem;
        }

        /* Spotlight Spotlight Cards */
        .spotlight-card {
            border: 1px solid #e9e7df;
            border-radius: 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }
        .profile-img {
            width: 75px;
            height: 85px;
            object-fit: cover;
            border: 1px solid #dddddd;
        }
        .profile-name {
            font-weight: 900;
            font-size: 1rem;
            letter-spacing: 0.5px;
            text-transform: capitalize;
            color: #846a35;
        }
        .profile-rank {
            font-size: 0.88rem;
            font-weight: 500;
            color: #111111;
        }


  .utility-bar {
            background-color: #F8FAFC;
            border-bottom: 1px solid var(--brand-border);
            font-size: 12px;
        }
        .utility-bar__link {
            color: var(--brand-dark-text);
            text-decoration: none;
        }
        .utility-bar__link:hover {
            color: var(--brand-sky);
        }

        /* ==========================================================================
           BLOCK: Main Site Header / Navbar
           ========================================================================== */
        .site-header {
            background-color: #FFFFFF;
            box-shadow: 0 2px 4px rgba(0,0,0,0.02);
        }
        .site-header__logo-crest {
            width: 40px; 
            height: 45px; 
            border: 1px solid #cbd5e1;
        }
        .site-header__nav-link {
            color: #334155 !important;
            font-weight: 500;
            padding: 0.5rem 1rem !important;
        }
        .site-header__nav-link--active {
            color: var(--brand-sky) !important;
            border-bottom: 2px solid var(--brand-sky);
        }

        /* ==========================================================================
           BLOCK: Careers Page Hero Section
           ========================================================================== */
        .careers-hero {
            background: linear-gradient(135deg, #062247 0%, #0C427F 100%);
            color: #FFFFFF;
            padding: 50px 0;
            position: relative;
            overflow: hidden;
        }
        .careers-hero::before {
            content: "";
            position: absolute;
            bottom: 0; left: 0; right: 0; height: 120px;
            background: url('https://www.transparenttextures.com/patterns/absurdity.png');
            opacity: 0.05;
            pointer-events: none;
        }
        .careers-hero__title {
            font-size: 42px;
            font-weight: 700;
            letter-spacing: 1px;
        }
        .careers-hero__subtitle {
            font-size: 16px;
            color: #E2E8F0;
            max-width: 500px;
            font-weight: 300;
        }
        .careers-hero__stat-icon {
            width: 55px;
            height: 55px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin: 0 auto 12px;
        }
        .careers-hero__stat-number {
            font-size: 26px;
            font-weight: 700;
        }
        .careers-hero__stat-label {
            font-size: 13px;
            color: #CBD5E1;
        }
        .careers-hero__stat-sublabel {
            font-size: 11px;
            color: #94A3B8;
        }
        .careers-hero__stat-divider {
            border-right: 1px solid rgba(255,255,255,0.15);
        }

        /* ==========================================================================
           BLOCK: Alert Notification Ribbon
           ========================================================================== */
        .alert-banner {
           background-color:#061840; /* Rich Blue Background */
            border: 2px solid #f2b233;  /* Metallic Golden Border */
            border-radius: 8px;
            padding: 15px 20px;
            color: var(--brand-sky);
            display: flex;
            align-items: center;
        }
        .alert-banner__icon {
            font-size: 24px;
            margin-right: 15px;
            color: #d6a726;
        }
        .alert-banner__title {
            font-size: 15px; 
            color: #fff;
        }
        .alert-banner__text {
            font-size: 13px; color: #fff;http://localhost/sjcc_1/Department_of_Commerce.php
        }

        /* ==========================================================================
           BLOCK: Modern Dashboard Component Cards
           ========================================================================== */
        .dashboard-card {
            background: #f6f4f0;
            border: 1px solid var(--brand-border);
            border-radius: 12px;
            padding: 24px;
            height: 100%;
        }
        .dashboard-card__header {
            font-size: 16px;
            font-weight: 700;
            color: var(--brand-primary);
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        .dashboard-card__header-icon {
            margin-right: 10px;
            font-size: 18px;
        }
        .dashboard-card__link {
            color: var(--brand-sky);
            text-decoration: none;
            font-weight: 600;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            transition: gap 0.2s;
        }
        .dashboard-card__link:hover {
            gap: 5px;
        }

        /* Elements inside Dashboard Card: Layout Grids */
        .dashboard-card__recruiter-grid {
            display: grid;
            grid-template-columns: repeat(4, 2fr);
            gap: 12px;
        }
        .dashboard-card__roles-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

        /* ==========================================================================
           BLOCKS: Embedded Discrete Items (Badges, Pills)
           ========================================================================== */
        .company-logo-badge {
            border: 1px solid #F1F5F9;
            border-radius: 6px;
            height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px;
            background: #FFFFFF;
            box-shadow: 0 1px 2px rgba(0,0,0,0.02);
            font-weight: 700;
            color: #475569;
            font-size: 12px;
            text-align: center;
            box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 25px -5px rgba(13, 27, 42, 0.2);
        }
        /* Item Modifiers for branded logo colors */
        .company-logo-badge--jpm { color: #2563EB; font-style: italic; }
        .company-logo-badge--gs { color: #1E3A8A; }
        .company-logo-badge--deloitte { color: #000000; }
        .company-logo-badge--zomato { color: #E11D48; font-weight: 800; }

        .job-role-pill {
            background: #F8FAFC;
            border: 1px solid #D4AF37;
            border-radius: 6px;
            padding: 10px 12px;
            font-size: 12px;
            font-weight: 500;
            color: #334155;
            display: flex;
            align-items: center;
            box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 25px -5px rgba(13, 27, 42, 0.2);
        }
        .job-role-pill__icon {
            color: var(--brand-sky);
            margin-right: 8px;
            font-size: 12px;
            width: 14px;
            text-align: center;

        }

        /* ==========================================================================
           BLOCK: Metric Metric Display Cards (Bottom Section)
           ========================================================================== */
        .metric-card {
            background: #13244a;
            border: 1px solid var(--brand-border);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            height: 100%;
            color: #f2b233;
        }
        .metric-card__icon-wrap {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #f2b233;
            font-size: 21px;
            margin-bottom: 12px;
        }
        /* Modifiers for Contextual Metric Styling */
        .metric-card--placements .metric-card__icon-wrap { background-color: ; }
        .metric-card--internships .metric-card__icon-wrap { background-color: ; }
        .metric-card--education .metric-card__icon-wrap { background-color: ; }
        .metric-card--explore .metric-card__icon-wrap { background-color: ; }
        
        .metric-card__title {
            font-size: 14px;
            font-weight: 700;
            color:#f2b233;
            margin-bottom: 2px;
        }
        .metric-card__subtitle {
            font-size: 11px;
            color: var(--brand-muted-text);
            margin-bottom: 12px;
            color: #f2b233;
        }
        .metric-card__value {
            font-size: 28px;
            font-weight: 700;
            color: #f2b233;

        }
        /* Metric specific color helpers */
        .metric-card__value--green { color: #f2b233; }
        .metric-card__value--orange { color: #f2b233; }
        .metric-card__value--purple { color: #f2b233; font-weight: 800; }
        
        .metric-card__action-btn {
            background-color: #062247;
            color: white;
            font-size: 10px;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 6px;
            width: 100%;
            margin-top: 15px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .metric-card__action-btn:hover {
            background-color: #0A3263;
            color: white;
        }

        /* ==========================================================================
           BLOCK: Global Footing Panel
           ========================================================================== */
        .site-footer {
            background-color: #061830;
            color: #94A3B8;
            font-size: 12px;
            padding: 20px 0;
            margin-top: 40px;
        }
        .site-footer__link {
            color: #CBD5E1;
            text-decoration: none;
            margin-right: 15px;
        }
        .site-footer__link:hover {
            color: #FFFFFF;
        }
        .site-footer__social-icon {
            font-size: 16px;
            margin-left: 15px;
            color: #94A3B8;
        }
        .site-footer__social-icon:hover {
            color: #FFFFFF;
        }

        /* Responsive Breakdowns */
        @media (max-width: 1200px) {
            .dashboard-card__recruiter-grid { grid-template-columns: repeat(4, 1fr); }
            .dashboard-card__roles-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .dashboard-card__recruiter-grid { grid-template-columns: repeat(3, 1fr); }
            .dashboard-card__roles-grid { grid-template-columns: repeat(1, 1fr); }
            .careers-hero__stat-divider { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 15px; margin-bottom: 15px; }
        }


      .social-bar { position: fixed; top: 500px;  right: 0;
    overflow: hidden; transform: translateY(-50%); z-index: 999; font-family: 'DM Sans', sans-serif;  }
.social-bar a {
    display: flex; align-items: center; width: 180px; height: 45px; margin: 2px 0;
    color: #fff; text-decoration: none; border-radius: 30px 0 0 30px;
    overflow: hidden; position: relative; transform: translateX(130px);
    transition: 0.4s ease;
}
.social-bar a:hover { transform: translateX(0); }
.social-bar a i { width: 50px; text-align: center; font-size: 18px; }
.facebook { background: #3b5998; }
.instagram { background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, 
    #fdf497 5%, 
    #fd5949 45%, 
    #d6249f 60%, 
    #285AEB 90%); }
.youtube { background: #ff0000; }
.linkedin { background: #0077b5; }
.apply { background: #cd9826; }
  
#about,
#vision, 
#mission, 
#hod, 
#programmes, 
#faculty, 
#Collaboration, 
#activities, 
#research, 
#association_activities, 
#achievements, 
#student_achievements {
    scroll-margin-top: 120px; 
}




.obe-page {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 04px;
            width:;
        }

        /* Top Bar */
        .obe-topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .obe-topbar__institution {
            color: var(--obe-color-blue);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .obe-topbar__badge {
            background-color: var(--obe-color-gold-bg);
            color: #854D0E;
            border: 1px solid #FEF08A;
            padding: 4px 12px;
            border-radius: 9999px;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Hero Header */
        .obe-header {
            background: #061840;
            color: #FFFFFF;
            padding: 48px;
            border-radius: 12px;
            box-shadow: var(--obe-shadow-md);
            margin-bottom: 32px;
            position: relative;
            overflow: hidden;
        }

        .obe-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 6px;
            height: 100%;
            background-color: #f2b233;
        }

        .obe-header__title {
            font-size: 2.25rem;
            font-weight: 800;
            letter-spacing: -0.025em;
            margin-bottom: 12px;
            line-height: 1.2;
        }

        .obe-header__description {
            font-size: 1.05rem;
            color: #94A3B8;
           
            font-weight: 400;
            line-height: 1.6;
        }

        /* Key Metrics Row */
        .obe-metrics {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        @media (max-width: 768px) {
            .obe-metrics { grid-template-columns: repeat(2, 1fr); }
        }

        .obe-kpi {
            background: var(--obe-color-surface);
            border: 1px solid var(--obe-color-border);
            border-radius: 10px;
            padding: 20px 24px;
            box-shadow: var(--obe-shadow-sm);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .obe-kpi:hover {
            transform: translateY(-2px);
            box-shadow: var(--obe-shadow-md);
        }

        .obe-kpi__value {
            font-size: 1.85rem;
            font-weight: 800;
            color: var(--obe-color-navy);
            line-height: 1.2;
            margin-bottom: 4px;
        }

        .obe-kpi__label {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--obe-color-muted);
        }

        /* Content Blocks */
        .obe-section {
            background: var(--obe-color-surface);
            border: 1px solid var(--obe-color-border);
            border-radius: 12px;
            padding: 36px;
            margin-bottom: 32px;
            box-shadow: var(--obe-shadow-sm);
        }

        .obe-section__heading {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--obe-color-navy);
            letter-spacing: -0.01em;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--obe-color-border);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .obe-section__heading::before {
            content: '';
            width: 4px;
            height: 18px;
            background-color: var(--obe-color-gold);
            border-radius: 2px;
            display: inline-block;
        }

        p.obe-paragraph {
            font-size: 0.975rem;
            color: var(--obe-color-text);
            margin-bottom: 16px;
            text-align: justify;
        }

        /* Quote Callout */
        .obe-quote {
            background-color: #F8FAFC;
            border-left: 4px solid var(--obe-color-blue);
            padding: 20px 24px;
            border-radius: 0 8px 8px 0;
            margin: 24px 0;
            font-style: italic;
            color: var(--obe-color-navy);
            font-weight: 500;
            font-size: 1rem;
        }

        /* Grid Cards */
        .obe-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .obe-grid { grid-template-columns: 1fr; }
        }

        .obe-card {
            border: 1px solid var(--obe-color-border);
            border-radius: 8px;
            padding: 20px;
            background: #FAFAFA;
            transition: border-color 0.2s ease, background-color 0.2s ease;
        }

        .obe-card:hover {
            border-color: var(--obe-color-blue);
            background: #FFFFFF;
        }

        .obe-card__title {
            font-size: 0.975rem;
            font-weight: 700;
            color: var(--obe-color-navy);
            margin-bottom: 6px;
        }

        .obe-card__text {
            font-size: 0.875rem;
            color: var(--obe-color-muted);
            line-height: 1.55;
        }

        /* Table */
        .obe-table-container {
            overflow-x: auto;
            margin-top: 16px;
        }

        .obe-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
            text-align: left;
        }

        .obe-table th {
            background-color: #F1F5F9;
            color: var(--obe-color-navy);
            font-weight: 700;
            padding: 12px 16px;
            border-bottom: 2px solid var(--obe-color-border);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .obe-table td {
            padding: 14px 16px;
            border-bottom: 1px solid var(--obe-color-border);
            color: var(--obe-color-text);
        }

        .obe-table tr:hover {
            background-color: #F8FAFC;
        }

        .obe-pill {
            display: inline-block;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 4px;
            background-color: #E2E8F0;
            color: var(--obe-color-navy);
        }

        /* Governance Footer Panel */
        .obe-footer {
            background: #061840;
            color: #f2b233;
            border-radius: 12px;
            padding: 32px 40px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            box-shadow: var(--obe-shadow-md);
        }

        @media (max-width: 768px) {
            .obe-footer { grid-template-columns: repeat(2, 1fr); }
        }

        .obe-footer__column {
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            padding-right: 12px;
        }

        .obe-footer__column:last-child {
            border-right: none;
        }

        .obe-footer__label {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #94A3B8;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .obe-footer__value {
            font-size: 0.95rem;
            font-weight: 600;
            color: #f2b233;
        }

        .obe-footer__subtext {
            font-size: 0.8rem;
            color: #CBD5E1;
            font-weight: 400;
        }



  /* Renamed Container */
    .roles-table-wrapper {
      width: 100%;
      max-width: 1000px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 
        0 10px 25px -5px rgba(15, 23, 42, 0.05),
        0 8px 10px -6px rgba(15, 23, 42, 0.01);
    }

    /* Renamed Table Element */
    .industry-roles-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0 0.75rem;
    }

    /* Renamed Header */
    .industry-roles-table thead th {
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #64748b;
      padding: 0 1.25rem 0.75rem;
      text-align: left;
      border-bottom: 2px solid #f1f5f9;
    }

    .industry-roles-table thead th:first-child {
      width: 30%;
    }

    /* Renamed Row Styles */
    .industry-roles-table tbody tr {
      background: #ffffff;
      transition: all 0.25s ease;
    }

    .industry-roles-table tbody tr:hover {
      background: #f8fafc;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    }

    .industry-roles-table tbody td:first-child {
      border-top-left-radius: 12px;
      border-bottom-left-radius: 12px;
      border-left: 1px solid #e2e8f0;
    }

    .industry-roles-table tbody td:last-child {
      border-top-right-radius: 12px;
      border-bottom-right-radius: 12px;
      border-right: 1px solid #e2e8f0;
    }

    .industry-roles-table tbody td {
      padding: 1.1rem 1.25rem;
      border-top: 1px solid #e2e8f0;
      border-bottom: 1px solid #e2e8f0;
      vertical-align: middle;
    }

    /* Renamed Sector Column Classes */
    .sector-heading-box {
      font-weight: 600;
      font-size: 1rem;
      color: #0f172a;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .status-marker-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #6366f1;
      flex-shrink: 0;
    }

    /* Color variations */
    tr:nth-child(3n+1) .status-marker-dot { background: #6366f1; }
    tr:nth-child(3n+2) .status-marker-dot { background: #ec4899; }
    tr:nth-child(3n+3) .status-marker-dot { background: #0284c7; }

    /* Renamed Roles List Classes */
    .roles-tag-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .job-title-pill {
      background: #f1f5f9;
      border: 1px solid #cbd5e1;
      color: #334155;
      font-size: 0.85rem;
      font-weight: 500;
      padding: 0.35rem 0.75rem;
      border-radius: 8px;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .job-title-pill:hover {
      background: #e0e7ff;
      border-color: #818cf8;
      color: #3730a3;
      transform: translateY(-1px);
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .roles-table-wrapper {
        padding: 1rem;
        border-radius: 16px;
      }

      .industry-roles-table thead {
        display: none;
      }

      .industry-roles-table, 
      .industry-roles-table tbody, 
      .industry-roles-table tr, 
      .industry-roles-table td {
        display: block;
        width: 100%;
      }

      .industry-roles-table tbody tr {
        margin-bottom: 1rem;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
      }

      .industry-roles-table tbody td:first-child,
      .industry-roles-table tbody td:last-child {
        border-radius: 0;
        border: none;
      }

      .industry-roles-table tbody td {
        padding: 1rem;
        border: none;
      }

      .industry-roles-table tbody td:first-child {
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 0.75rem;
      }
    }



.activity-card {
      width: 100%;
      max-width: 1200px;
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .card-title {
      margin-top: 0;
      margin-bottom: 1.25rem;
      font-size: 1.25rem;
      color: #1e293b;
    }

    .activities-grid-table {
      width: 100%;
      table-layout: fixed;
      /* CSS border-spacing separates the columns cleanly */
      border-collapse: separate;
      border-spacing: 20px 0;
      margin-left: -20px;
      margin-right: -20px;
    }

    .category-header {
      background-color: #f1f5f9;
      color: #475569;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-top: 1px solid #e2e8f0;
      border-bottom: 1px solid #e2e8f0;
      padding: 12px 16px;
      vertical-align: top;
      text-align: left;
      width: 33.333%;
      line-height: 1.4;
      border-radius: 4px 4px 0 0;
    }

    .category-content-cell {
      padding: 16px;
      vertical-align: top;
      text-align: left;
      width: 33.333%;
      background-color: #ffffff;
      border-bottom: 1px solid #e2e8f0;
      border-radius: 0 0 4px 4px;
    }

    .activity-list {
      margin: 0;
      padding-left: 1rem;
      list-style-position: outside;
    }

    .activity-item {
      margin-bottom: 0.4rem;
      font-size: 0.875rem;
      line-height: 1.4;
      color: #475569;
    }

    .activity-item:last-child {
      margin-bottom: 0;
    }



  /* Top Department Header */
    .exam-header {
      background-color: #061840;
      border-radius: 12px;
    }

    .exam-header-sub {
      color: #c59b27;
      font-weight: 600;
    }

    /* Officer Profile Card */
    .exam-card-officer {
      border: 1px solid #e9ecef;
      border-top: 4px solid #c59b27 !important;
      border-radius: 12px;
    }

    .exam-officer-img {
      width: 190px;
      height:190px;
      border: 3px solid #c59b27;
    }

    .exam-officer-title {
      color: #3e2752;

    }

 .exam-officer-title h5 {
      color: #3e2752;
      font-size: 1rem;

    }

    .exam-officer-role {
      color: #c59b27;
      letter-spacing: 0.5px;
    }



    .exam-contact-btn {
      background-color: #f4f5f8;
      color: #2c3e50;
      text-decoration: none;
      font-size: 0.85rem;
      word-break: break-all;
      transition: all 0.2s ease-in-out;
    }

    .exam-contact-btn:hover {
      background-color: #3e2752;
      color: #ffffff;
    }

    /* Shortcut Action Buttons */
    .exam-shortcut-btn {
      background-color: #fffdf5;
      border: 1px solid #c59b27;
      color: #3e2752;
      font-weight: 700;
      font-size: 0.85rem;
      text-decoration: none;
      border-radius: 8px;
      transition: all 0.2s ease-in-out;
    }

    .exam-shortcut-btn:hover {
      background-color: #c59b27;
      color: #ffffff;
    }

    /* Main Content Container */
    .exam-content-card {
      border: 1px solid #e9ecef;
      border-radius: 12px;
    }

    .exam-heading {
      color: #3e2752;
      border-bottom: 2px solid #e9ecef;
    }

    /* Bootstrap Accordion Styling Override */
    .exam-accordion .accordion-button {
      color: #3e2752;
      font-weight: 600;
    }

    .exam-accordion .accordion-button:not(.collapsed) {
      background-color:#f0f0f0;
      color: #3e2752;
      box-shadow: none;
    }

    .exam-accordion .accordion-button:focus {
      box-shadow: none;
      border-color: #c59b27;
    }


.rs-slider {
      width: 100%;
      max-width: 1200px;
    
      position: relative;
      background-color: var(--rs-card-bg);
      border-radius: 16px;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      touch-action: pan-y;
      user-select: none;
    }

    .rs-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform var(--rs-transition);
      will-change: transform;
    }

    .rs-slide {
      min-width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .rs-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: var(--rs-control-bg);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #ffffff;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(8px);
      transition: all 0.2s ease;
    }

    .rs-btn:hover {
      background: var(--rs-accent);
      color: #0f172a;
      transform: translateY(-50%) scale(1.08);
      border-color: var(--rs-accent);
    }

    .rs-btn:focus-visible {
      outline: 2px solid var(--rs-accent);
      outline-offset: 2px;
    }

    .rs-btn--prev { left: 1.25rem; }
    .rs-btn--next { right: 1.25rem; }

    .rs-dots {
      position: absolute;
      bottom: 1.25rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 0.6rem;
      padding: 0.5rem 0.8rem;
      background: rgba(15, 23, 42, 0.5);
      backdrop-filter: blur(6px);
      border-radius: 9999px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .rs-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.35);
      cursor: pointer;
      border: none;
      transition: all 0.3s ease;
    }

    .rs-dot:hover {
      background: rgba(255, 255, 255, 0.7);
    }

    .rs-dot--active {
      background: #000;
      width: 26px;
      border-radius: 12px;
    }

    @media (max-width: 640px) {
      .rs-slider {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
      }

      .rs-btn {
        width: 38px;
        height: 38px;
      }

      .rs-btn--prev { left: 0.75rem; }
      .rs-btn--next { right: 0.75rem; }
    }


/* ##########################################################################
   ADDITIONS – October 2026
   1. Styles for the new sections (sliders, coordinators, associations)
   2. Fluid text for every element in this file
   3. Responsive layout: phone < 576 | tablet 576–991 | small laptop 992–1199 |
      desktop | projector >= 1920 | 4K >= 2560
   ########################################################################## */


/* ==========================================================================
   TABBED IMAGE SLIDER (.sa-*)
   Used by: dpt_bba_studentachievements.php (department Student Achievements)
   and the ACCA / CMA / CIMA results sections on the programme pages.
   Script: sa_slider_script.php. All classes start with "sa-" so they do not
   clash with the existing .arrow / .prev / .next / .subtitle rules above.
   ========================================================================== */
.sa-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  color: #061840;
}

.sa-subtitle {
  font-size: 14px;
  color: #3a5075;
  margin: 0 0 12px;
  text-align: left;
}

/* Tabs (years / sessions / categories) */
.sa-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.sa-tab {
  border: 1px solid #061840;
  background: #ffffff;
  color: #061840;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.sa-tab:hover { background: #eef4fc; }

.sa-tab.sa-is-active {
  background: #061840;
  color: #f2b233;
}

.sa-panel { display: none; }
.sa-panel.sa-is-active { display: block; }

/* Slider */
.sa-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sa-slider:focus-visible {
  outline: 3px solid #f2b233;
  outline-offset: 2px;
}

.sa-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  touch-action: pan-y;          /* page scrolls vertically, script handles horizontal swipes */
}

.sa-slide {
  flex: 0 0 100%;               /* each slide is exactly the slider width */
  min-width: 100%;
  max-width: 100%;
}

.sa-slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;                 /* keeps the banner's own shape (1600 x 600) */
  max-height: 340px;            /* keeps the slider small on large screens */
  object-fit: contain;          /* when capped, show the whole banner, no cropping */
  background: #ffffff;
}

.sa-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
  z-index: 10;
}

.sa-arrow:hover { background: rgba(0, 0, 0, 0.8); }

.sa-prev { left: 10px; }
.sa-next { right: 10px; }

.sa-counter {
  font-size: 13px;
  color: #3a5075;
  margin: 8px 0 0;
  text-align: center !important;
}

/* Shown when a tab has no images yet */
.sa-empty {
  display: none;
  background: #ffffff;
  border-radius: 8px;
  padding: 24px 16px;
  color: #3a5075;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sa-panel.sa-is-empty .sa-slider,
.sa-panel.sa-is-empty .sa-counter { display: none; }
.sa-panel.sa-is-empty .sa-empty { display: block; }

@media (max-width: 768px) {
  .sa-slide img { max-height: 260px; }
}

@media (max-width: 480px) {
  .sa-slider { border-radius: 6px; }
  .sa-slide img { max-height: 200px; }
  .sa-arrow { width: 28px; height: 28px; font-size: 13px; }
  .sa-prev { left: 6px; }
  .sa-next { right: 6px; }
  .sa-tab { padding: 5px 12px; font-size: 13px; }
}

@media (hover: none) {
  .sa-arrow { background: rgba(0, 0, 0, 0.6); }
}


/* ==========================================================================
   PROFESSIONAL PROGRAMMES PAGES (.pp-*)
   Coordinators (300 x 300 photos), coordinator messages, associations,
   testimonials tabs, ACCA exam table. Used by Department_of_ProfessionalProgrammes.php,
   BCom_Analytics.php, BCom_InternationalAccountingFinance.php,
   BCom_ProfessionalStrategicFinance.php and bba_ProfessionalFinanceAccountancy.php.
   ========================================================================== */

/* Sub-headings inside a section */
.pp-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #041e42;
  margin: 1.5rem 0 1rem;
}

.pp-subhead {
  font-size: 1.05rem;
  font-weight: 700;
  color: #041e42;
  margin: 1.5rem 0 0.75rem;
  padding-left: 10px;
  border-left: 4px solid #c79b43;
}

.pp-list {
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.pp-list li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: #000;
}

.pp-note {
  color: #3a5075;
  font-style: italic;
}

/* Coordinator / person cards */
.pp-people {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.pp-person {
  width: 300px;
  max-width: 100%;
  text-align: center;
}

.pp-person-photo {
  display: block;
  box-sizing: border-box;       /* border included, so the photo is exactly 300 x 300 */
  width: 300px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1 / 1;          /* stays square when it shrinks on small screens */
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  border: 3px solid #c59b27;
  background: #eef4fc;
  margin: 0 auto 12px;
}

.pp-person-name {
  font-size: 1rem;
  font-weight: 700;
  color: #061840;
}

.pp-person-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c59b27;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.pp-person-reg {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #f4f5f8;
  color: #2c3e50;
  font-size: 0.85rem;
}

.pp-person-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 16px;
  border-radius: 6px;
  background: #061840;
  color: #f2b233;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.pp-person-link:hover { background: #0b2d6e; color: #ffffff; }

/* Coordinator message */
.pp-message {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: #fef8e7;
  border-left: 4px solid #c59b27;
  border-radius: 0 10px 10px 0;
}

.pp-message .pp-subhead { margin-top: 0; }

.pp-message p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #000;
}

.pp-message-sign {
  margin-bottom: 0;
  text-align: left !important;
}

/* Associations */
.pp-assoc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #041e42;
  margin: 0.5rem 0 0.75rem;
}

.pp-assoc-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #000;
}

/* Testimonials – video tab */
.pp-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.pp-video-grid:empty { display: none; }

.pp-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #061840;
}

.pp-video iframe,
.pp-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ACCA exam structure table */
.pp-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
}

.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #ffffff;
}

.pp-table th,
.pp-table td {
  border: 1px solid #d0e2f5;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: #000;
}

.pp-table thead th {
  background: #061840;
  color: #f2b233;
}

.pp-table tbody th {
  background: #f5f9ff;
  color: #041e42;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .pp-people { justify-content: center; }
  .pp-message { padding: 1rem; }
  .pp-table tbody th { white-space: normal; }
}




/* ==========================================================================
   FLUID TEXT – ALL DEPARTMENT PAGES
   Generated from every font-size in this file. Each element keeps the size it
   already had on a 1366px laptop (shown in the comment) and then changes
   smoothly with the screen width – no jumps between devices:
     text      : ~92% on phones/tablets -> 100% at 1366 -> 110% at 1920 -> up to 125% on 4K
     headings  : ~73% on phones -> 84% on tablets -> 100% at 1366 -> 115% at 1920 -> up to 130%
   Formula: clamp(smallest, base + share-of-screen-width, largest).
   "html " in front of each selector makes these win over older fixed sizes
   in other stylesheets without needing !important.
   ========================================================================== */
html .section-tag { font-size: clamp(16.19px, 13.260px + 0.3177vw, 22px); }  /* 17.6px at 1366 */
html .section-sub { font-size: clamp(14.26px, 11.678px + 0.2798vw, 19.38px); }  /* 15.5px at 1366 */
html .caption-box h2 { font-size: clamp(28.8px, 25.203px + 1.0832vw, 52px); }  /* 40px at 1366 */
html .caption-box p { font-size: clamp(19.87px, 16.274px + 0.3899vw, 27px); }  /* 21.6px at 1366 */
html .admissions-badge .badge-title { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .admissions-badge .badge-year { font-size: clamp(23.04px, 20.163px + 0.8666vw, 41.6px); }  /* 32px at 1366 */
html .admissions-panel .panel-text { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .cta-btn { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .prog-icon-wrap { font-size: clamp(17.28px, 15.122px + 0.6499vw, 31.2px); }  /* 24px at 1366 */
html .prog-card h3 { font-size: clamp(15.64px, 12.808px + 0.3069vw, 21.25px); }  /* 17px at 1366 */
html .prog-card p { font-size: clamp(12.42px, 10.171px + 0.2437vw, 16.88px); }  /* 13.5px at 1366 */
html .prog-tag { font-size: clamp(9.66px, 7.911px + 0.1895vw, 13.12px); }  /* 10.5px at 1366 */
html .prog-link { font-size: clamp(11.96px, 9.795px + 0.2346vw, 16.25px); }  /* 13px at 1366 */
html .syl-card h3 { font-size: clamp(16.56px, 13.562px + 0.3249vw, 22.5px); }  /* 18px at 1366 */
html .syl-card h3 span.badge { font-size: clamp(9.2px, 7.534px + 0.1805vw, 12.5px); }  /* 10px at 1366 */
html .syl-list li { font-size: clamp(12.42px, 10.171px + 0.2437vw, 16.88px); }  /* 13.5px at 1366 */
html .syl-list li::before { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .syl-download { font-size: clamp(11.96px, 9.795px + 0.2346vw, 16.25px); }  /* 13px at 1366 */
html .dept-card .dept-num { font-size: clamp(40.32px, 35.285px + 1.5165vw, 72.8px); }  /* 56px at 1366 */
html .dept-card h3 { font-size: clamp(20.24px, 16.576px + 0.3971vw, 27.5px); }  /* 22px at 1366 */
html .dept-card p { font-size: clamp(12.42px, 10.171px + 0.2437vw, 16.88px); }  /* 13.5px at 1366 */
html .dept-card .dept-tag-inner { font-size: clamp(9.2px, 7.534px + 0.1805vw, 12.5px); }  /* 10px at 1366 */
html .dept-subjects span { font-size: clamp(10.58px, 8.665px + 0.2076vw, 14.38px); }  /* 11.5px at 1366 */
html .hub-icon { font-size: clamp(17.28px, 15.122px + 0.6499vw, 31.2px); }  /* 24px at 1366 */
html .hub-body h3 { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .hub-body p { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .hub-body a { font-size: clamp(11.5px, 9.418px + 0.2256vw, 15.62px); }  /* 12.5px at 1366 */
html .hub-body a::after { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .careers-text p { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .pstat .num { font-size: clamp(25.92px, 22.683px + 0.9749vw, 46.8px); }  /* 36px at 1366 */
html .pstat .label { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .careers-companies h4 { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .company-chip { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .admissions-banner h2 { font-size: clamp(27.36px, 23.943px + 1.0290vw, 49.4px); }  /* 38px at 1366 */
html .admissions-banner p { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .btn-gold { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .btn-ghost { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .achieve-num { font-size: clamp(40.32px, 35.285px + 1.5165vw, 72.8px); }  /* 56px at 1366 */
html .achieve-num sup { font-size: clamp(20.24px, 16.576px + 0.3971vw, 27.5px); }  /* 22px at 1366 */
html .achieve-card h4 { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .achieve-card .achieve-src { font-size: clamp(9.2px, 7.534px + 0.1805vw, 12.5px); }  /* 10px at 1366 */
html .testimonial-avatar { font-size: clamp(20.24px, 16.576px + 0.3971vw, 27.5px); }  /* 22px at 1366 */
html .testimonial-card h4 { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .testimonial-card .role { font-size: clamp(11.5px, 9.418px + 0.2256vw, 15.62px); }  /* 12.5px at 1366 */
html .ticker { font-size: clamp(11.5px, 9.418px + 0.2256vw, 15.62px); }  /* 12.5px at 1366 */
html .ticker-badge { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .ticker-badge::before { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .ticker-inner { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .ticker-inner span::after { font-size: clamp(7.36px, 6.027px + 0.1444vw, 10px); }  /* 8px at 1366 */
html .ticker-close-btn { font-size: clamp(20.24px, 16.576px + 0.3971vw, 27.5px); }  /* 22px at 1366 */
html .footer-brand-name { font-size: clamp(18.72px, 16.382px + 0.7041vw, 33.8px); }  /* 26px at 1366 */
html .footer-brand-sub { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .footer-brand-desc { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .footer-contact { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .footer-contact a { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html footer h5 { font-size: clamp(18.72px, 16.382px + 0.7041vw, 33.8px); }  /* 26px at 1366 */
html footer ul li a { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .footer-bottom { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .footer-bottom a { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .section-title { font-size: clamp(23.04px, 20.163px + 0.8666vw, 41.6px); }  /* 32px at 1366 */
html .content-section p { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .vm-card { font-size: clamp(13.25px, 10.849px + 0.2599vw, 18px); }  /* 14.4px at 1366 */
html .vm-card ul li { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .vm-title { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .vm-title p { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .vm-title i { font-size: clamp(20.16px, 17.642px + 0.7582vw, 36.4px); }  /* 28px at 1366 */
html .vm-title h2 { font-size: clamp(23.04px, 20.163px + 0.8666vw, 41.6px); }  /* 32px at 1366 */
html .faculty-card h5 { font-size: clamp(13.25px, 10.849px + 0.2599vw, 18px); }  /* 14.4px at 1366 */
html .faculty-card p { font-size: clamp(8.83px, 7.233px + 0.1733vw, 12px); }  /* 9.6px at 1366 */
html .faculty-card b { font-size: clamp(10.3px, 8.438px + 0.2022vw, 14px); }  /* 11.2px at 1366 */
html .view-btn { font-size: clamp(10.3px, 8.438px + 0.2022vw, 14px); }  /* 11.2px at 1366 */
html .small-title { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .main-title { font-size: clamp(30.53px, 26.716px + 1.1482vw, 55.12px); }  /* 42.4px at 1366 */
html .subtitle { font-size: clamp(14.43px, 11.814px + 0.2830vw, 19.6px); }  /* 15.68px at 1366 */
html .btn-filter-primary { font-size: clamp(13.25px, 10.849px + 0.2599vw, 18px); }  /* 14.4px at 1366 */
html .btn-filter-secondary { font-size: clamp(13.25px, 10.849px + 0.2599vw, 18px); }  /* 14.4px at 1366 */
html .search-custom input { font-size: clamp(13.54px, 11.091px + 0.2657vw, 18.4px); }  /* 14.72px at 1366 */
html .date-badge .day { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .date-badge .day-range { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .date-badge .header-compact { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .date-badge .month { font-size: clamp(10.6px, 8.680px + 0.2079vw, 14.4px); }  /* 11.52px at 1366 */
html .date-badge .year { font-size: clamp(10.6px, 8.680px + 0.2079vw, 14.4px); }  /* 11.52px at 1366 */
html .event-title { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .event-description { font-size: clamp(12.95px, 10.608px + 0.2541vw, 17.6px); }  /* 14.08px at 1366 */
html .label-participants { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .count-text { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .badge-pill { font-size: clamp(11.48px, 9.403px + 0.2253vw, 15.6px); }  /* 12.48px at 1366 */
html .sjcc-mou-heading { font-size: clamp(30.24px, 26.464px + 1.1374vw, 54.6px); }  /* 42px at 1366 */
html .sjcc-mou-divider::after { font-size: clamp(18.4px, 15.069px + 0.3610vw, 25px); }  /* 20px at 1366 */
html .sjcc-mou-icon { font-size: clamp(17.28px, 15.122px + 0.6499vw, 31.2px); }  /* 24px at 1366 */
html .sjcc-mou-title { font-size: clamp(16.56px, 13.562px + 0.3249vw, 22.5px); }  /* 18px at 1366 */
html .sjcc-mou-subtitle { font-size: clamp(11.96px, 9.795px + 0.2346vw, 16.25px); }  /* 13px at 1366 */
html .sjcc-mou-year-box i { font-size: clamp(20.16px, 17.642px + 0.7582vw, 36.4px); }  /* 28px at 1366 */
html .sjcc-mou-year { font-size: clamp(9.2px, 7.534px + 0.1805vw, 12.5px); }  /* 10px at 1366 */
html .sjcc-mou-renew { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .banner-subtitle { font-size: clamp(13.25px, 10.849px + 0.2599vw, 18px); }  /* 14.4px at 1366 */
html .banner-title { font-size: clamp(20.74px, 18.147px + 0.7799vw, 37.44px); }  /* 28.8px at 1366 */
html .section-header { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .stat-badge-gold { font-size: clamp(11.78px, 9.644px + 0.2310vw, 16px); }  /* 12.8px at 1366 */
html .stat-badge-teal { font-size: clamp(11.78px, 9.644px + 0.2310vw, 16px); }  /* 12.8px at 1366 */
html .stat-pass-rate { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .stat-award-text { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .list-bullet-gold::before { font-size: clamp(20.74px, 18.147px + 0.7799vw, 37.44px); }  /* 28.8px at 1366 */
html .list-bullet-teal::before { font-size: clamp(20.74px, 18.147px + 0.7799vw, 37.44px); }  /* 28.8px at 1366 */
html .profile-name { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .profile-rank { font-size: clamp(12.95px, 10.608px + 0.2541vw, 17.6px); }  /* 14.08px at 1366 */
html .utility-bar { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .careers-hero__title { font-size: clamp(30.24px, 26.464px + 1.1374vw, 54.6px); }  /* 42px at 1366 */
html .careers-hero__subtitle { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .careers-hero__stat-icon { font-size: clamp(20.24px, 16.576px + 0.3971vw, 27.5px); }  /* 22px at 1366 */
html .careers-hero__stat-number { font-size: clamp(18.72px, 16.382px + 0.7041vw, 33.8px); }  /* 26px at 1366 */
html .careers-hero__stat-label { font-size: clamp(11.96px, 9.795px + 0.2346vw, 16.25px); }  /* 13px at 1366 */
html .careers-hero__stat-sublabel { font-size: clamp(10.12px, 8.288px + 0.1986vw, 13.75px); }  /* 11px at 1366 */
html .alert-banner__icon { font-size: clamp(17.28px, 15.122px + 0.6499vw, 31.2px); }  /* 24px at 1366 */
html .alert-banner__title { font-size: clamp(13.8px, 11.302px + 0.2707vw, 18.75px); }  /* 15px at 1366 */
html .alert-banner__text { font-size: clamp(11.96px, 9.795px + 0.2346vw, 16.25px); }  /* 13px at 1366 */
html .dashboard-card__header { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .dashboard-card__header-icon { font-size: clamp(16.56px, 13.562px + 0.3249vw, 22.5px); }  /* 18px at 1366 */
html .dashboard-card__link { font-size: clamp(11.96px, 9.795px + 0.2346vw, 16.25px); }  /* 13px at 1366 */
html .company-logo-badge { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .job-role-pill { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .job-role-pill__icon { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .metric-card__icon-wrap { font-size: clamp(19.32px, 15.822px + 0.3790vw, 26.25px); }  /* 21px at 1366 */
html .metric-card__title { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .metric-card__subtitle { font-size: clamp(10.12px, 8.288px + 0.1986vw, 13.75px); }  /* 11px at 1366 */
html .metric-card__value { font-size: clamp(20.16px, 17.642px + 0.7582vw, 36.4px); }  /* 28px at 1366 */
html .metric-card__action-btn { font-size: clamp(9.2px, 7.534px + 0.1805vw, 12.5px); }  /* 10px at 1366 */
html .site-footer { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .site-footer__social-icon { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .social-bar a i { font-size: clamp(16.56px, 13.562px + 0.3249vw, 22.5px); }  /* 18px at 1366 */
html .obe-topbar { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .obe-topbar__badge { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .obe-header__title { font-size: clamp(25.92px, 22.683px + 0.9749vw, 46.8px); }  /* 36px at 1366 */
html .obe-header__description { font-size: clamp(15.46px, 12.658px + 0.3032vw, 21px); }  /* 16.8px at 1366 */
html .obe-kpi__value { font-size: clamp(21.31px, 18.651px + 0.8016vw, 38.48px); }  /* 29.6px at 1366 */
html .obe-kpi__label { font-size: clamp(11.78px, 9.644px + 0.2310vw, 16px); }  /* 12.8px at 1366 */
html .obe-section__heading { font-size: clamp(18.4px, 15.069px + 0.3610vw, 25px); }  /* 20px at 1366 */
html p.obe-paragraph { font-size: clamp(14.35px, 11.754px + 0.2816vw, 19.5px); }  /* 15.6px at 1366 */
html .obe-quote { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .obe-card__title { font-size: clamp(14.35px, 11.754px + 0.2816vw, 19.5px); }  /* 15.6px at 1366 */
html .obe-card__text { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .obe-table { font-size: clamp(13.25px, 10.849px + 0.2599vw, 18px); }  /* 14.4px at 1366 */
html .obe-table th { font-size: clamp(11.78px, 9.644px + 0.2310vw, 16px); }  /* 12.8px at 1366 */
html .obe-pill { font-size: clamp(11.04px, 9.041px + 0.2166vw, 15px); }  /* 12px at 1366 */
html .obe-footer__label { font-size: clamp(10.3px, 8.438px + 0.2022vw, 14px); }  /* 11.2px at 1366 */
html .obe-footer__value { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .obe-footer__subtext { font-size: clamp(11.78px, 9.644px + 0.2310vw, 16px); }  /* 12.8px at 1366 */
html .industry-roles-table thead th { font-size: clamp(11.78px, 9.644px + 0.2310vw, 16px); }  /* 12.8px at 1366 */
html .sector-heading-box { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .job-title-pill { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .card-title { font-size: clamp(18.4px, 15.069px + 0.3610vw, 25px); }  /* 20px at 1366 */
html .category-header { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .activity-item { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .exam-officer-title h5 { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .exam-contact-btn { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .exam-shortcut-btn { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .sa-subtitle { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .sa-tab { font-size: clamp(12.88px, 10.548px + 0.2527vw, 17.5px); }  /* 14px at 1366 */
html .sa-arrow { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .sa-counter { font-size: clamp(11.96px, 9.795px + 0.2346vw, 16.25px); }  /* 13px at 1366 */
html .pp-subtitle { font-size: clamp(19.87px, 16.274px + 0.3899vw, 27px); }  /* 21.6px at 1366 */
html .pp-subhead { font-size: clamp(15.46px, 12.658px + 0.3032vw, 21px); }  /* 16.8px at 1366 */
html .pp-list li { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .pp-person-name { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */
html .pp-person-role { font-size: clamp(11.78px, 9.644px + 0.2310vw, 16px); }  /* 12.8px at 1366 */
html .pp-person-reg { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .pp-person-link { font-size: clamp(12.51px, 10.247px + 0.2455vw, 17px); }  /* 13.6px at 1366 */
html .pp-message p { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .pp-assoc-name { font-size: clamp(17.28px, 15.122px + 0.6499vw, 31.2px); }  /* 24px at 1366 */
html .pp-assoc-body p { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px); }  /* 15.2px at 1366 */
html .pp-table { font-size: clamp(13.54px, 11.091px + 0.2657vw, 18.4px); }  /* 14.72px at 1366 */
html .content-section > p { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px) !important; }  /* 15.2px at 1366 */
html .vm-card > p { font-size: clamp(13.98px, 11.452px + 0.2744vw, 19px) !important; }  /* 15.2px at 1366 */
html body { font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); }  /* 16px at 1366 */

/* ==========================================================================
   RESPONSIVE LAYOUT – DEPARTMENT & PROGRAMME PAGES (whole website)
   Applies automatically to every page built on the department template
   (<section class="prog-section"> containing the .department-menu), except the
   association pages (.assoc-wrap), which have their own layout.
   Breakpoints: phone < 576 | tablet 576–991 | small laptop 992–1199 | desktop | projector >= 1920
   ========================================================================== */

.prog-section:has(.department-menu):not(.assoc-wrap) .content-section:not(.row > *) { padding: clamp(20px, 1.9vw + 14px, 64px); overflow-wrap: anywhere; }  /* 40px at 1366 */
.prog-section:has(.department-menu):not(.assoc-wrap) .vm-card { padding: clamp(18px, 1.6vw + 13px, 56px); overflow-wrap: anywhere; }  /* 35px at 1366 */
.prog-section:has(.department-menu):not(.assoc-wrap) .content-section > p,
.prog-section:has(.department-menu):not(.assoc-wrap) .vm-card > p,
.prog-section:has(.department-menu):not(.assoc-wrap) .pp-list li,
.prog-section:has(.department-menu):not(.assoc-wrap) .pp-message p { line-height: 1.65; }
.prog-section:has(.department-menu):not(.assoc-wrap) img { max-width: 100%; }
.prog-section:has(.department-menu):not(.assoc-wrap) .hod-img { height: auto; aspect-ratio: 180 / 220; }
.prog-section:has(.department-menu):not(.assoc-wrap) .prog-grid { grid-template-columns: minmax(0, 1fr);  /* one card per column, never wider than it */ }
/* tables size their columns as before (the card's "break anywhere" rule made columns narrower) */
.prog-section:has(.department-menu):not(.assoc-wrap) table { overflow-wrap: normal; }
@media (max-width: 991.98px) {
  .prog-section:has(.department-menu):not(.assoc-wrap) table.table { display: block; max-width: 100%; overflow-x: auto;  /* wide tables scroll inside the card (phones/tablets) */ }
}
.prog-section:has(.department-menu):not(.assoc-wrap) .d-flex > * { min-width: 0;  /* flex children may shrink, so tables inside them cannot overflow */ }
.prog-section:has(.department-menu):not(.assoc-wrap) .sa-slide img { max-height: clamp(200px, 23vw, 600px); }
.prog-section:has(.department-menu):not(.assoc-wrap) .sa-arrow { width: clamp(28px, 1.5vw + 20px, 52px); height: clamp(28px, 1.5vw + 20px, 52px); font-size: clamp(13px, 0.6vw + 10px, 24px); }

@media (max-width: 991.98px) {
  .prog-section:has(.department-menu):not(.assoc-wrap) { padding-top: 48px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) > section { padding-left: 0; padding-right: 0; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .sticky-menu { position: static; top: auto; z-index: auto;  /* menu no longer sticks over content */ }
  .prog-section:has(.department-menu):not(.assoc-wrap) .hod-img { width: 180px; }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .prog-section:has(.department-menu):not(.assoc-wrap) .row > .prog-grid.col-md-4 { flex: 0 0 50%; max-width: 50%;  /* 2 programme cards per row */ }
}

@media (max-width: 575.98px) {
  .prog-section:has(.department-menu):not(.assoc-wrap) { padding-top: 24px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) > section { padding-top: 16px; padding-bottom: 16px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .content-section,
  .prog-section:has(.department-menu):not(.assoc-wrap) .vm-card { margin-bottom: 18px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .content-section .container { padding-left: 0; padding-right: 0; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .sjcc-mou-wrapper { padding: 16px; border-radius: 18px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .vm-title { gap: 10px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) p { text-align: left;  /* justified text leaves big gaps on narrow screens */ }
  .prog-section:has(.department-menu):not(.assoc-wrap) .pp-person-photo { width: 260px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .pp-message { padding: 1rem 0.9rem; }
}

@media (min-width: 1920px) {
  .prog-section:has(.department-menu):not(.assoc-wrap) > section > .container-fluid { max-width: 1760px; margin-left: auto; margin-right: auto;  /* readable line length on projectors */ }
  .prog-section:has(.department-menu):not(.assoc-wrap) .sjcc-mou-wrapper { max-width: 1400px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .pp-people { gap: 36px; }
}

@media (min-width: 2560px) {
  .prog-section:has(.department-menu):not(.assoc-wrap) > section > .container-fluid { max-width: 2240px; }
  .prog-section:has(.department-menu):not(.assoc-wrap) .sjcc-mou-wrapper { max-width: 1800px; }
}

/* Recruiter logo grid ("Where Our Students Go"): logos had a fixed 100px width,
   so the grid overflowed on phones. Logos now shrink to fit their tile. */
.dashboard-card__recruiter-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); }
.dashboard-card__recruiter-grid > * { min-width: 0; }
.company-logo-badge img { max-width: 100% !important; max-height: 100%; height: auto; object-fit: contain; }


/* ==========================================================================
   RESPONSIVE FIXES FOR SHARED BLOCKS (all department pages)
   ========================================================================== */

/* Card grids: a card may never be wider than the screen (old minimums of
   220–320px overflowed small phones) */
.prog-grid       { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.syllabus-grid   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.dept-cards      { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.hub-grid        { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.achieve-grid    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.testimonial-grid{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.company-grid    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 100px), 1fr)); }

/* Hero caption: the old rule kept a 136px gap under the heading on every screen */
.caption-box h2 { margin-bottom: clamp(1rem, 6vw, 8.5rem); }

/* Footer: 4 columns on desktop, 2 on tablet, 1 on phone */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 40px 24px 50px; }
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin-left: 10px; margin-right: 10px; }
}

/* Tables and wide blocks scroll inside their card instead of stretching the page */
.obe-table-container, .roles-table-wrapper { max-width: 100%; overflow-x: auto; }

/* Phones */
@media (max-width: 575.98px) {
  .obe-header, .obe-section { padding: 24px 18px; }
  .obe-metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
  .careers-hero__stat-divider { border-right: none; }
  .dashboard-card { padding: 18px; }
  .admissions-banner { padding: 40px 18px; margin: 24px 12px; }
  .btn-gold, .btn-ghost { padding: 12px 20px; }
}

/* Projector / large screens: wider containers so content uses the screen,
   but lines stay readable */
@media (min-width: 1920px) {
  .container { max-width: 1440px; }
  .dashboard-container { max-width: 1500px; }
  .admissions-banner { max-width: 1440px; }
  .roles-table-wrapper, .activity-card, .rs-slider { max-width: 1440px; }
}
@media (min-width: 2560px) {
  .container { max-width: 1840px; }
  .dashboard-container { max-width: 1900px; }
  .admissions-banner { max-width: 1840px; }
  .roles-table-wrapper, .activity-card, .rs-slider { max-width: 1840px; }
}

/* Activity cards on phones: the tablet layout gave each part a named grid area;
   with the areas removed on phones they all landed in the same cell and overlapped.
   One column, date as a strip on top. */
@media (max-width: 575.98px) {
  .event-card-grid .date-badge,
  .event-card-grid .title-column,
  .event-card-grid .desc-column,
  .event-card-grid .metrics-column { grid-area: auto; }
  .event-card-grid .date-badge { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 6px; padding: 8px 15px; }
  .event-card-grid .date-badge .month, .event-card-grid .date-badge .year { margin-top: 0; }
  .event-card-grid .metrics-column { margin-left: 0; padding-top: 0; }
}

/* Activities table (3 categories side by side): on phones the three narrow
   columns broke words into single letters. Below 768px it becomes one column:
   heading, its list, next heading, its list ... */
@media (max-width: 767.98px) {
  .activity-card { padding: 1rem; }
  .activities-grid-table { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; width: 100%; table-layout: auto; }
  .activities-grid-table thead, .activities-grid-table tbody, .activities-grid-table tr { display: contents; }
  .activities-grid-table th, .activities-grid-table td { display: block; width: auto; }
  .activities-grid-table th:nth-child(1) { order: 1; }  .activities-grid-table td:nth-child(1) { order: 2; }
  .activities-grid-table th:nth-child(2) { order: 3; }  .activities-grid-table td:nth-child(2) { order: 4; }
  .activities-grid-table th:nth-child(3) { order: 5; }  .activities-grid-table td:nth-child(3) { order: 6; }
  .activities-grid-table td { margin-bottom: 14px; border: 1px solid #e2e8f0; border-top: 0; }
  .activities-grid-table td:last-child { margin-bottom: 0; }
}

/* Job-role tags: long titles wrap instead of running out of their box on phones */
@media (max-width: 575.98px) {
  .job-title-pill { white-space: normal; max-width: 100%; }
  .roles-table-wrapper { padding: .75rem; }
  .industry-roles-table tbody td { padding: .85rem; }
}

/* Data tables on phones: columns keep a readable width and the table scrolls
   sideways inside its card, instead of squeezing words into fragments */
@media (max-width: 767.98px) {
  .prog-section table.table td, .prog-section table.table th { min-width: 8.5rem; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .prog-section table.table tr > :first-child { min-width: 3.5rem; }
}

/* ##########################################################################
   PAGE COMPONENTS (moved here from the pages, October 2026)
   Previously each page carried these in its own <style> blocks.
   ########################################################################## */

/* ===== Shared by all department pages: safety net, tabs, sliders, coordinator
   cards, association tabs, hero, phone menu bar, tables ===== */
/* ---------- Safety net: nothing may make the page wider than the screen ----------
   (the site header from menu1.php currently loses its own styles, so its logo
   renders at full image size; these rules keep the page inside the screen) */
html { overflow-x: hidden; }
body { max-width: 100%; overflow-x: clip;  /* clip (not hidden) so the sticky menu bar keeps working */ }
img, video, iframe { max-width: 100%; }
img { height: auto; }

/* ---------- Tabs ---------- */
.sa-section { width: 100%; max-width: 100%; margin: 0 auto; color: #061840; }
.sa-subtitle { font-size: 0.9rem; color: #3a5075; margin: 0 0 12px; text-align: left; }
.sa-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.sa-tab {
  appearance: none; -webkit-appearance: none;
  border: 1.5px solid #061840; background: #fff; color: #061840;
  padding: 7px 20px; border-radius: 999px; font: inherit; font-size: 0.9rem; font-weight: 600;
  line-height: 1.3; cursor: pointer; transition: background .25s, color .25s;
}
.sa-tab:hover { background: #eef4fc; }
.sa-tab.sa-is-active { background: #061840; color: #f2b233; }
.sa-panel { display: none; }
.sa-panel.sa-is-active { display: block; }

/* ---------- Slider ---------- */
.sa-slider {
  position: relative; width: 100%; max-width: 100%; overflow: hidden;
  border-radius: 10px; background: #fff; box-shadow: 0 6px 20px rgba(6, 24, 64, .12);
}
.sa-slider:focus-visible { outline: 3px solid #f2b233; outline-offset: 2px; }
.sa-track { display: flex; transition: transform .5s ease-in-out; touch-action: pan-y; }
.sa-slide { flex: 0 0 100%; min-width: 100%; max-width: 100%; }
.sa-slide img {
  display: block; width: 100%; max-width: 100%; height: auto;
  max-height: clamp(200px, 23vw, 600px); object-fit: contain; background: #fff;
}
.sa-arrow {
  appearance: none; -webkit-appearance: none;
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: clamp(30px, 1.5vw + 20px, 52px); height: clamp(30px, 1.5vw + 20px, 52px);
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; background: rgba(6, 24, 64, .65); color: #fff;
  font-size: clamp(13px, .6vw + 10px, 22px); line-height: 1; cursor: pointer; padding: 0;
  transition: background .25s;
}
.sa-arrow:hover { background: rgba(6, 24, 64, .9); }
.sa-prev { left: 10px; }
.sa-next { right: 10px; }
.sa-counter { margin: 10px 0 0; text-align: center !important; font-size: 0.85rem; color: #3a5075; }
.sa-empty {
  display: none; margin: 0; padding: 26px 16px; border-radius: 10px; background: #fff;
  text-align: center !important; color: #3a5075; box-shadow: 0 6px 20px rgba(6, 24, 64, .08);
}
.sa-panel.sa-is-empty .sa-slider, .sa-panel.sa-is-empty .sa-counter { display: none; }
.sa-panel.sa-is-empty .sa-empty { display: block; }
.sa-panel.sa-single .sa-arrow, .sa-panel.sa-single .sa-counter { display: none; }

/* ---------- Coordinator / person cards ---------- */
.pp-people { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start; margin: 4px 0 0; }
.pp-person {
  position: relative; width: 340px; max-width: 100%; box-sizing: border-box;
  background: #fff; border: 1px solid #e3e9f2; border-radius: 14px; overflow: hidden;
  padding: 20px 20px 22px; text-align: center; box-shadow: 0 6px 20px rgba(6, 24, 64, .08);
  transition: transform .25s, box-shadow .25s;
}
.pp-person::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: #c59b27; }
.pp-person:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(6, 24, 64, .14); }
.pp-person-photo {
  display: block; box-sizing: border-box; width: 300px; max-width: 100%; height: auto; aspect-ratio: 1 / 1;
  margin: 0 auto 16px; object-fit: cover; object-position: center top;
  border-radius: 12px; border: 3px solid #f2e6c4; background: #eef4fc;
}
.pp-person-initials {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: 300px; max-width: 100%; aspect-ratio: 1 / 1; margin: 0 auto 16px; border-radius: 12px;
  background: #f5f1e6; color: #b8891a; border: 3px solid #f2e6c4;
  font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 700;
}
.pp-person-name { font-size: 1.1rem; font-weight: 700; color: #061840; line-height: 1.3; }
.pp-person-role {
  display: block; margin-top: 6px; color: #b8891a; font-size: 0.78rem; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
}
.pp-person-reg { margin-top: 10px; font-size: 0.85rem; color: #3a5075; }
.pp-person-link {
  display: inline-block; margin-top: 14px; padding: 8px 22px; border-radius: 6px;
  background: #c59b27; color: #fff !important; font-size: 0.85rem; font-weight: 700; text-decoration: none;
  transition: background .25s;
}
.pp-person-link:hover { background: #a9831d; }

/* ---------- Coordinator message page ---------- */
.pp-msg-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.pp-msg-layout .pp-person { width: 100%; }
.pp-msg-layout .pp-message { margin-top: 0; padding-top: 52px; }  /* room for the quote mark */
.pp-back-link { display: inline-block; margin-top: 20px; color: #0b2d6e; font-weight: 600; text-decoration: none; }
/* Message pages have no hero: give the content its own breathing room under the site header */
.pp-msg-page { padding-top: 24px; }
.pp-msg-page .vm-card { padding-top: 40px; }
.pp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 0.85rem; color: #3a5075; }
.pp-breadcrumb a { color: #0b2d6e; font-weight: 600; text-decoration: none; }
.pp-breadcrumb a:hover { color: #b8891a; }
.pp-breadcrumb span[aria-hidden] { color: #b8891a; }
.pp-back-link:hover { color: #b8891a; }
@media (max-width: 991.98px) {
  .pp-msg-layout { grid-template-columns: 1fr; }
  .pp-msg-layout .pp-person { max-width: 340px; margin: 0 auto; }
}

/* ---------- Coordinator message ---------- */
.pp-message {
  position: relative; margin-top: 28px; padding: 26px 30px 22px;
  background: #fbf8f0; border: 1px solid #efe3c4; border-left: 5px solid #c59b27; border-radius: 12px;
}
.pp-message::before {
  content: "\201C"; position: absolute; top: 4px; right: 22px;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(197, 155, 39, .25);
}
.pp-message .pp-subhead { margin-top: 0; }
.pp-message p { margin: 0 0 12px; font-size: 0.95rem; line-height: 1.7; color: #1f2937; text-align: left; }
.pp-message .pp-message-sign { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed #e0cf9f; color: #061840; line-height: 1.5; }

/* ---------- Headings, lists, notes, table ---------- */
.pp-subhead {
  margin: 1.5rem 0 .75rem; padding-left: 10px; border-left: 4px solid #c79b43;
  font-size: 1.05rem; font-weight: 700; color: #041e42;
}
.pp-subtitle { margin: 1.5rem 0 1rem; font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: #041e42; }
.pp-assoc-name { margin: .5rem 0 .75rem; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #041e42; }
.pp-assoc-body p { font-size: 0.95rem; line-height: 1.7; color: #000; }
.pp-list { padding-left: 1.25rem; margin: 0 0 .5rem; }
.pp-list li { margin-bottom: .5rem; font-size: 0.95rem; line-height: 1.6; color: #000; list-style: disc; }
.pp-note { color: #3a5075; font-style: italic; }
.pp-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; margin-top: 1rem; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; }
.pp-table th, .pp-table td { border: 1px solid #d0e2f5; padding: 10px 14px; text-align: left; vertical-align: top; color: #000; }
.pp-table thead th { background: #061840; color: #f2b233; }
.pp-table tbody th { background: #f5f9ff; color: #041e42; white-space: nowrap; }

/* ---------- Video testimonials ---------- */
.pp-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.pp-video-grid:empty { display: none; }
.pp-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #061840; }
.pp-video iframe, .pp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Recruiter logos ("Where Our Students Go") fit small phones ---------- */
.dashboard-card__recruiter-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)) !important; }
.dashboard-card__recruiter-grid > * { min-width: 0; }
.company-logo-badge img { max-width: 100% !important; max-height: 100%; height: auto; object-fit: contain; }
/* Programme cards: each column holds one card, so it may never be wider than its column */
.prog-grid { grid-template-columns: minmax(0, 1fr); }

/* ---------- Hero (video + caption + Admissions), all screen sizes ---------- */
.pp-hero {
  position: relative; width: 100%; overflow: hidden; background: #061840;
  height: clamp(340px, 42vw, 640px);   /* ~575px on a laptop, 640px on projectors */
}
.pp-hero .video-hero { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; }
.pp-hero .video-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-hero .video-hero .pp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.pp-hero .video-hero .hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 64, .78) 0%, rgba(6, 24, 64, .35) 55%, rgba(6, 24, 64, .15) 100%);
}
.pp-hero .scroll-indicator {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255, 255, 255, .85); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
}
/* Caption: programme name + Contact Us, bottom-left of the video */
.pp-hero .caption-box,
.pp-hero .caption-box:not(.right-bottom) {
  position: absolute; z-index: 5; left: clamp(16px, 5vw, 96px); right: auto; bottom: clamp(36px, 8%, 96px); top: auto;
  width: auto; max-width: min(760px, calc(100% - 32px)); margin: 0; padding: 0; text-align: left; background: none;
  border-radius: 0;
}
.pp-hero .caption-box h2 {
  margin: 0 0 clamp(12px, 1.6vw, 22px); padding: 0; color: #fff; background: none;
  font-family: var(--bs-body-font-family, system-ui, sans-serif); font-style: normal;
  font-size: clamp(1.6rem, 3.4vw, 3.4rem); font-weight: 800; line-height: 1.15; text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.pp-hero .caption-box .cta-btn {
  display: inline-block; width: auto; max-width: 100%; margin: 0 !important;
  padding: clamp(9px, .8vw, 14px) clamp(22px, 2vw, 34px); border-radius: 6px;
  background: #1158ce !important; color: #fff; font-size: clamp(.9rem, .9vw, 1.1rem); font-weight: 700; text-align: center;
  flex: none; transition: background .25s;
}
.pp-hero .caption-box .cta-btn:hover { background: #0d47a8 !important; }
.pp-hero .caption-box.right-bottom { display: none; }      /* empty box (content is commented out) */
/* Admissions: tab on the right edge, vertically centred */
.pp-hero .admissions-panel {
  position: absolute; z-index: 6; right: 0; left: auto; top: 50%; bottom: auto; transform: translateY(-50%);
  width: auto; max-width: none; margin: 0; padding: 0; background: #1158ce; border-radius: 8px 0 0 8px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25); animation: none;
}
.pp-hero .admissions-panel .cta-btn {
  display: block; width: auto; padding: clamp(10px, 1vw, 16px) clamp(16px, 1.6vw, 28px);
  color: #fff; font-size: clamp(.8rem, .85vw, 1.05rem); font-weight: 800; letter-spacing: 1px; text-align: center;
}
.pp-hero .admissions-panel .cta-btn:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 991.98px) {
  /* the site header is a solid 70px bar here, so start the video below it;
     otherwise the header covers the top of the video and the Admissions button */
  .pp-hero { margin-top: 70px; }
}
@media (max-width: 575.98px) {
  .pp-hero { height: clamp(300px, 92vw, 420px); }
  .pp-hero .caption-box, .pp-hero .caption-box:not(.right-bottom) { bottom: 40px; }
  .pp-hero .admissions-panel { top: 16px; transform: none; }
  .pp-hero .scroll-indicator { display: none; }
}

/* Cards with a fixed width (e.g. style="width: 18rem") never grow wider than their
   column, so they cannot run over the text next to them */
.prog-section .card { max-width: 100%; }

/* ---------- SIDE MENU – SAME LOOK ON EVERY PAGE ----------
   Every side menu (department, programme, About, Exams, Library, Associations ...)
   looks like the B.Com (Professional – Strategic Finance) page: navy list,
   18px × 20px items with light dividers, gold text, white on hover.
   Text: 16px on a 1366px laptop, growing smoothly on projectors. */
.prog-section .department-menu { background: #061840; border: 1px solid #ddd; border-radius: 0; overflow: visible; }
.prog-section .department-menu ul { margin: 0; padding: 0; list-style: none; }
.prog-section .department-menu li { border-top: 0; border-bottom: 1px solid #d5d5d5; list-style: none !important; margin-left: 0; }
.prog-section .department-menu li::marker { content: none; }
.prog-section .department-menu li:last-child { border-bottom: 0; }
.prog-section .department-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 18px 20px; color: #f2b233; text-decoration: none; transition: .3s;
  font-size: clamp(14.72px, 12.055px + 0.2888vw, 20px); font-weight: 400; line-height: 1.5;
}
.prog-section .department-menu a:hover { background: #fff; color: #c79b43; }
.prog-section .department-menu i { color: #c79b43; font-size: 1em; margin-left: 0; }
/* entries with a sub-list (e.g. Faculty, Syllabus): same style, slightly indented */
.prog-section .department-menu li ul a { padding: 14px 20px 14px 32px; font-size: clamp(13.8px, 11.3px + 0.2708vw, 18.75px); }
@media (min-width: 992px) {
  .prog-section .department-menu.sticky-menu { position: sticky; top: 20px; }
}

/* ---------- Side menu on phones & tablets (all pages with a side menu) ----------
   Desktop keeps the sidebar exactly as it was. Below 992px every menu in the side
   column folds into one bar ("Menu" / "Department Menu" + current page or section)
   that stays under the site header while scrolling; tapping it opens the same
   vertical list with arrows. The script in footer.php adds .pp-dm-box/.pp-dm-panel. */
.pp-dm-toggle { display: none; }
@media (min-width: 992px) {
  .pp-dm-box, .pp-dm-panel { display: contents; }
}
@media (max-width: 991.98px) {
  .prog-section .department-menu > ul { display: block !important; overflow: visible !important; }
  .prog-section .department-menu li { display: block !important; flex: none !important; border-right: 0 !important; }
  .prog-section .department-menu li > ul { display: block !important; }
  .prog-section .department-menu a { white-space: normal !important; padding: 16px 20px !important; }
  .prog-section .department-menu a i { display: inline-block !important; }
  .prog-section .sticky-menu { position: static !important; }

  /* the side column is "unwrapped" so the bar can stay in view over the whole page;
     anything else in that column (e.g. a contact card) stays where it was */
  .pp-dm-flat { display: contents !important; }
  .pp-dm-flat > br { display: none; }
  .pp-dm-flat > :not(.pp-dm-flat):not(.pp-dm-box):not(script):not(style):not(br),
  .pp-dm-box {
    flex: 0 0 auto; width: calc(100% - var(--bs-gutter-x, 1.5rem)); max-width: none;
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * .5); margin-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
    margin-top: var(--bs-gutter-y, 0);
  }
  .pp-dm-box { position: sticky; top: var(--pp-dm-top, 70px); z-index: 900; border-radius: 12px; box-shadow: 0 8px 22px rgba(4, 30, 66, .22); }
  .pp-dm-box.pp-dm-open { z-index: 1001;  /* open list sits above the floating side buttons */ }

  .pp-dm-toggle {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; margin: 0;
    padding: 9px 16px 9px 10px; border: 0; border-radius: 12px; background: #061840; color: #fff;
    text-align: left; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent;
  }
  .pp-dm-open .pp-dm-toggle { border-radius: 12px 12px 0 0; }
  .pp-dm-toggle:focus-visible { outline: 3px solid #c79b43; outline-offset: 2px; }
  .pp-dm-icon { flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(199, 155, 67, .18); color: #c79b43; font-size: 1.05rem; }
  .pp-dm-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
  .pp-dm-label { font-size: .68rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #c79b43; }
  .pp-dm-current { font-size: 1rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pp-dm-caret { flex: 0 0 auto; color: #c79b43; transition: transform .25s ease; }
  .pp-dm-open .pp-dm-caret { transform: rotate(180deg); }

  /* the list: drops down over the page, scrolls on its own if taller than the screen */
  .pp-dm-panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--pp-dm-top, 70px) - 76px); max-height: calc(100dvh - var(--pp-dm-top, 70px) - 76px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    background: #061840; border-top: 1px solid rgba(199, 155, 67, .4); border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 32px rgba(4, 30, 66, .35);
  }
  .pp-dm-open .pp-dm-panel { display: block; }
  .pp-dm-panel > br { display: none; }
  .pp-dm-panel .department-menu {
    position: static !important; top: auto !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  }
  .pp-dm-panel .department-menu + .department-menu,
  .pp-dm-panel > * + .ap-siblings { border-top: 2px solid rgba(199, 155, 67, .45) !important; }
  .pp-dm-panel .department-menu ul { margin: 0 !important; padding: 0 !important; background: transparent !important; }
  .pp-dm-panel .department-menu li { border-bottom: 1px solid rgba(255, 255, 255, .08) !important; margin: 0 !important; }
  .pp-dm-panel .department-menu li:last-child { border-bottom: 0 !important; }
  .pp-dm-panel .department-menu a {
    display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 50px; padding: 12px 18px !important; color: #fff !important; font-size: .95rem; line-height: 1.35; background: transparent !important;
    border: 0 !important; border-radius: 0 !important; width: 100% !important; box-sizing: border-box;
  }
  .pp-dm-panel .department-menu a i { flex: 0 0 auto; font-size: .8rem; color: #c79b43; transition: transform .2s ease; }
  .pp-dm-panel .department-menu a:active { background: rgba(255, 255, 255, .08) !important; }
  .pp-dm-panel .department-menu a.pp-dm-here,
  .pp-dm-panel .department-menu a.active { background: #fff !important; color: #b8891a !important; font-weight: 600; }

  /* entries with their own sub-list: tap to show it */
  .pp-dm-panel .pp-dm-parent > ul { display: none !important; background: rgba(255, 255, 255, .05) !important; }
  .pp-dm-panel .pp-dm-parent.pp-dm-sub-open > ul { display: block !important; }
  .pp-dm-panel .pp-dm-parent > a i { transform: rotate(90deg); }
  .pp-dm-panel .pp-dm-parent.pp-dm-sub-open > a i { transform: rotate(-90deg); }
  .pp-dm-panel .pp-dm-parent > ul a { min-height: 46px; padding-left: 34px !important; font-size: .9rem; color: #dfe3ec !important; }
  .pp-dm-panel .pp-dm-parent-link > a i { padding: 10px 12px; margin: -10px -12px -10px 0; border-left: 1px solid rgba(255, 255, 255, .15); }
  .pp-dm-panel .pp-dm-parent > ul li[style] { margin-left: 0 !important; padding-left: 18px; }

  /* association pages: the "other associations" list inside the same panel */
  .pp-dm-panel .ap-siblings { margin: 0 !important; padding: 12px 0 4px !important; background: transparent !important; border: 0; box-shadow: none !important; }
  .pp-dm-panel .ap-siblings__title { margin: 0 18px 6px !important; font-size: .7rem !important; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #c79b43 !important; }
  .pp-dm-panel .ap-siblings__list { margin: 0 !important; padding: 0 !important; list-style: none; }
  .pp-dm-panel .ap-siblings__list li { border-bottom: 1px solid rgba(255, 255, 255, .08); margin: 0 !important; }
  .pp-dm-panel .ap-siblings__link { display: block; padding: 12px 18px !important; color: #fff !important; font-size: .92rem; text-decoration: none; background: transparent !important; }
  .pp-dm-panel .ap-siblings__link.is-current, .pp-dm-panel .ap-siblings__link.pp-dm-here { background: #fff !important; color: #b8891a !important; font-weight: 600; }

  /* sections land just below the header + menu bar */
  .prog-section [id] { scroll-margin-top: calc(var(--pp-dm-top, 70px) + 74px); }
}

/* Activity cards never wider than the screen */
.event-card-grid { max-width: 100%; min-width: 0; }
.event-card-grid > * { min-width: 0; }

/* Activity cards on phones: the tablet layout gave each part a named grid area;
   with the areas removed on phones they all landed in the same cell and overlapped.
   One column, date as a strip on top. */
@media (max-width: 575.98px) {
  .event-card-grid .date-badge,
  .event-card-grid .title-column,
  .event-card-grid .desc-column,
  .event-card-grid .metrics-column { grid-area: auto; }
  .event-card-grid .date-badge { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 6px; padding: 8px 15px; }
  .event-card-grid .date-badge .month, .event-card-grid .date-badge .year { margin-top: 0; }
  .event-card-grid .metrics-column { margin-left: 0; padding-top: 0; }
}

/* Activities table (3 categories side by side): on phones the three narrow
   columns broke words into single letters. Below 768px it becomes one column:
   heading, its list, next heading, its list ... */
@media (max-width: 767.98px) {
  .activity-card { padding: 1rem; }
  .activities-grid-table { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; width: 100%; table-layout: auto; }
  .activities-grid-table thead, .activities-grid-table tbody, .activities-grid-table tr { display: contents; }
  .activities-grid-table th, .activities-grid-table td { display: block; width: auto; }
  .activities-grid-table th:nth-child(1) { order: 1; }  .activities-grid-table td:nth-child(1) { order: 2; }
  .activities-grid-table th:nth-child(2) { order: 3; }  .activities-grid-table td:nth-child(2) { order: 4; }
  .activities-grid-table th:nth-child(3) { order: 5; }  .activities-grid-table td:nth-child(3) { order: 6; }
  .activities-grid-table td { margin-bottom: 14px; border: 1px solid #e2e8f0; border-top: 0; }
  .activities-grid-table td:last-child { margin-bottom: 0; }
}

/* Job-role tags: long titles wrap instead of running out of their box on phones */
@media (max-width: 575.98px) {
  .job-title-pill { white-space: normal; max-width: 100%; }
  .roles-table-wrapper { padding: .75rem; }
  .industry-roles-table tbody td { padding: .85rem; }
}

/* Data tables on phones: columns keep a readable width and the table scrolls
   sideways inside its card, instead of squeezing words into fragments */
@media (max-width: 767.98px) {
  .prog-section table.table td, .prog-section table.table th { min-width: 8.5rem; overflow-wrap: normal; word-break: normal; hyphens: manual; }
  .prog-section table.table tr > :first-child { min-width: 3.5rem; }
}

/* ---------- Phones ---------- */
@media (max-width: 575.98px) {
  .pp-people { justify-content: center; }
  .pp-person { padding: 16px 14px 18px; }
  .pp-message { padding: 20px 16px 18px; }
  .pp-message::before { font-size: 3.5rem; right: 12px; }
  .pp-table tbody th { white-space: normal; }
  .sa-tab { padding: 6px 14px; font-size: 0.85rem; }
  .sa-prev { left: 6px; } .sa-next { right: 6px; }
}

/* ---------- HOME PAGE QUICK LINKS on phones ----------
   Six tiles in a compact 3 x 2 grid instead of three tall rows of two,
   so the section takes about a third of the screen. */
@media (max-width: 575.98px) {
  .quicklinks { padding: 14px 12px; }
  .quicklinks .quick-links-section { padding: 0; }
  .quicklinks .quick-links-section > .container-fluid { padding-left: 0 !important; padding-right: 0 !important; }
  .quicklinks .quick-links-section .row { --bs-gutter-x: 8px; --bs-gutter-y: 8px; }
  .quicklinks .quick-links-section .row > .col-6 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .quicklinks .quick-card1 { height: 76px; margin-bottom: 0; padding: 6px 4px; gap: 6px; border-radius: 10px; }
  .quicklinks .quick-card1 svg { width: 24px; height: 24px; }
  .quicklinks .quick-card1 i { font-size: 1.45rem !important; }
  .quicklinks .quick-card1 h6 { font-size: .72rem; line-height: 1.2; }
}
/* tablets: three per row as well, slightly larger */
@media (min-width: 576px) and (max-width: 991.98px) {
  .quicklinks .quick-links-section { padding: 0; }
  .quicklinks .quick-links-section .row > .col-md-3 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .quicklinks .quick-card1 { height: 88px; margin-bottom: 0; }
}


/* ===== B.Sc. department page (bsc_economics.php) ===== */
    .hod-box1{
    display:flex;
    gap:30px;
    align-items:center;
}
.sub-info {
      background-color: #ffffff;
      padding: 15px 20px;
      border-radius: 6px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
      margin-bottom: 25px;
      border-left: 4px solid #0b2e58;
    }
    .sub-info h2 {
      margin-bottom: 20px;
      color: #0b2e58;
    }
   
.hod-img1{
    width: 100%;
    height:250px;
    object-fit:cover;
    border-radius:6px;
    border:1px solid #061840;
}
/* ===== B.Sc page: year tabs > semester drop-downs, magazines, testimonials ===== */
.bsc-years { margin-top: 6px; }
.bsc-sem { margin: 0 0 12px; border: 1px solid #dde5f0; border-radius: 10px; background: #fff; overflow: hidden; }
.bsc-sem-head {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px; cursor: pointer; list-style: none;
  background: #061840; color: #fff; font-weight: 600; user-select: none;
}
.bsc-sem-head::-webkit-details-marker { display: none; }
.bsc-sem-head::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8rem;
  margin-left: auto; color: #f2b233; transition: transform .25s;
}
.bsc-sem[open] > .bsc-sem-head::after { transform: rotate(180deg); }
.bsc-sem-head:focus-visible { outline: 3px solid #f2b233; outline-offset: -3px; }
.bsc-sem-name { font-size: 1rem; }
.bsc-sem-count { font-size: .78rem; font-weight: 600; color: #f2b233; background: rgba(242, 178, 51, .14); padding: 3px 10px; border-radius: 999px; }
.bsc-sem-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.bsc-sem-empty { margin: 0; padding: 8px 4px; color: #3a5075; text-align: left !important; }
.bsc-hl:not(:has(.sa-slide)), .sa-panel.sa-is-empty .bsc-hl { display: none;  /* shown only once photos are added */ }
.bsc-hl-title { margin: 22px 0 10px; font-size: 1.25rem; font-weight: 700; color: #061840; text-align: left; }

.bsc-mag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.bsc-mag-link {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: 8px;
  background: #1158ce; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s, transform .2s;
}
.bsc-mag-link:hover { background: #0b45a8; color: #fff; transform: translateY(-2px); }
.bsc-mag-link i { color: #f2b233; font-size: 1.1rem; }

html .vm-card > p.bsc-recognition { font-size: clamp(1.1rem, 0.85rem + 0.75vw, 1.75rem) !important; line-height: 1.5; text-align: left; }
.bsc-recognition-name { color: #c40000; font-weight: 800; }

/* Student Research table */
.bsc-research-table { margin: 0; }
.bsc-research-table > thead > tr > th { --bs-table-bg: #061840; --bs-table-color: #f2b233; background: #061840 !important; color: #f2b233 !important; font-weight: 700; vertical-align: middle; text-align: left; }
.bsc-research-table td { vertical-align: top; text-align: left; line-height: 1.5; font-size: .92rem; }
.bsc-research-table th:first-child, .bsc-research-table td:first-child,
.bsc-research-table th:nth-child(4), .bsc-research-table td:nth-child(4) { text-align: center; white-space: nowrap; }
.bsc-research-table td:nth-child(2) { font-weight: 600; color: #061840; }
.bsc-research-table td:first-child { width: 4.5rem; }
.bsc-research-table td:nth-child(4) { width: 6.5rem; }
.bsc-research-table tbody tr:nth-child(even) td { background: #f7f9fc; }

/* phones: each research entry becomes a card with labels */
@media (max-width: 767.98px) {
  .bsc-research-table, .bsc-research-table tbody, .bsc-research-table tr, .bsc-research-table td { display: block; width: auto !important; min-width: 0 !important; }
  .bsc-research-table { border: 0; overflow: visible !important; }
  .bsc-research-table thead { display: none; }
  .bsc-research-table tr { margin: 0 0 14px; border: 1px solid #dde5f0; border-radius: 10px; overflow: hidden; background: #fff; }
  .bsc-research-table tbody tr:nth-child(even) td { background: transparent; }
  .bsc-research-table td, .bsc-research-table td:first-child, .bsc-research-table td:nth-child(4) { border: 0; border-bottom: 1px solid #eef2f7; padding: 10px 14px; text-align: left; white-space: normal; }
  .bsc-research-table td:last-child { border-bottom: 0; }
  .bsc-research-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #b8891a; }
  .bsc-research-table td:first-child { background: #061840 !important; color: #f2b233; font-weight: 700; }
  .bsc-research-table td:first-child::before { display: inline; margin-right: 6px; color: #f2b233; }
}

/* Video Testimonials: one row that scrolls sideways */
.bsc-vt { position: relative; }
.bsc-vt-row {
  display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 14px; scroll-padding-inline: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #b8891a #eef2f7;
}
.bsc-vt-row::-webkit-scrollbar { height: 8px; }
.bsc-vt-row::-webkit-scrollbar-track { background: #eef2f7; border-radius: 8px; }
.bsc-vt-row::-webkit-scrollbar-thumb { background: #b8891a; border-radius: 8px; }
.bsc-vt-row:focus-visible { outline: 3px solid #f2b233; outline-offset: 2px; }
.bsc-vt-item { flex: 0 0 min(326px, 86%); scroll-snap-align: start; min-width: 0; }
.bsc-vt-item .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; border-radius: 12px !important; }
.bsc-vt-item blockquote.instagram-media { background: #f5f9ff; border: 1px solid #dde5f0; padding: 0; }
.bsc-vt-fallback { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 200px; padding: 20px; color: #061840; font-weight: 600; text-decoration: none; text-align: center; }
.bsc-vt-fallback i { font-size: 1.6rem; color: #d6249f; }
.bsc-vt-arrow {
  appearance: none; -webkit-appearance: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0;
  border: 0; border-radius: 50%; background: rgba(6, 24, 64, .85); color: #fff; font-size: 18px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 24, 64, .25); transition: opacity .2s, background .2s;
}
.bsc-vt-arrow:hover { background: #061840; }
.bsc-vt-arrow:disabled { opacity: 0; pointer-events: none; }
.bsc-vt-prev { left: -10px; }
.bsc-vt-next { right: -10px; }
.bsc-vt-fits .bsc-vt-arrow { display: none; }
.bsc-vt-hint { margin: 6px 0 0; font-size: .8rem; color: #64748b; text-align: center !important; }
.bsc-vt-fits + .bsc-vt-hint { display: none; }
@media (max-width: 767.98px) {
  .bsc-vt-arrow { width: 38px; height: 38px; font-size: 15px; }
  .bsc-vt-prev { left: -4px; }
  .bsc-vt-next { right: -4px; }
}

/* HOD photo (300 x 300) */
html .prog-section .hod-img.bsc-hod-photo { width: clamp(180px, 15vw, 260px) !important; height: auto !important; aspect-ratio: 1 / 1 !important; object-fit: cover; border-radius: 10px; flex-shrink: 0; }

@media (max-width: 575.98px) {
  .bsc-sem-head { padding: 12px 14px; }
  .bsc-sem-body { padding: 10px; }
  .bsc-sem-count { font-size: .72rem; }
}

/* ===== B.Sc. Student Achievements slider (bsc_student_slide.php) ===== */
  .ach-carousel-inner {
    width: 100%;
    position: relative;
    box-sizing: border-box;
  }

  /* Hide radio controls */
  .ach-carousel-inner input[type="radio"] {
    display: none !important;
  }

  /* Carousel Viewport */
  .ach-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  /* Slide Track */
  .ach-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
  }

  /* Slide Group Base */
  .ach-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    gap: 15px;
    box-sizing: border-box;
    padding: 10px 0;
    align-items: stretch;
  }

  /* Achievement Card Flex Behavior (3 cards = 33% width, 2 cards = 50% width) */
  .ach-card {
    flex: 1 1 0;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .ach-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  }

  /* Profile Avatar */
  .ach-profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
    margin-bottom: 12px;
    flex-shrink: 0;
  }

  /* Card Typography */
  .ach-desc p {
    color: #475569;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 0 0 12px 0;
    text-align: center;
  }

  .ach-name {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: auto;
    width: 100%;
  }

  /* Scrollable Container for Group Cards (Slide 3) */
  .ach-name-list {
    max-height: 90px;
    overflow-y: auto;
    font-size: 0.8rem;
    line-height: 1.45;
    padding-right: 4px;
    text-align: center;
  }

  .ach-name-list::-webkit-scrollbar {
    width: 4px;
  }
  .ach-name-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }

  /* Pagination Dots */
  .ach-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }

  .ach-dot-label {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  /* Slide Transitions (6 Slides Total) */
  #ach-s1:checked ~ .ach-carousel .ach-track { transform: translateX(0%); }
  #ach-s2:checked ~ .ach-carousel .ach-track { transform: translateX(-100%); }
  #ach-s3:checked ~ .ach-carousel .ach-track { transform: translateX(-200%); }
  #ach-s4:checked ~ .ach-carousel .ach-track { transform: translateX(-300%); }
  #ach-s5:checked ~ .ach-carousel .ach-track { transform: translateX(-400%); }
  #ach-s6:checked ~ .ach-carousel .ach-track { transform: translateX(-500%); }

  /* Active Dot Styling */
  #ach-s1:checked ~ .ach-dots .dot1,
  #ach-s2:checked ~ .ach-dots .dot2,
  #ach-s3:checked ~ .ach-dots .dot3,
  #ach-s4:checked ~ .ach-dots .dot4,
  #ach-s5:checked ~ .ach-dots .dot5,
  #ach-s6:checked ~ .ach-dots .dot6 {
    background-color: #007bff;
    transform: scale(1.15);
  }

  .ach-dot-label:focus-visible { outline: 2px solid #007bff; outline-offset: 3px; }
  .ach-profile-img { background: #f1f5f9; }

  @media (max-width: 768px) {
    .ach-slide {
      flex-direction: column;
      gap: 12px;
    }
    .ach-card { flex: 0 0 auto; padding: 16px 14px; }
    .ach-name { margin-top: 4px; }
    .ach-dots { gap: 12px; }
    .ach-dot-label { width: 12px; height: 12px; }
  }

/* ===== B.Com (Accounting and Taxation) page (BCom_AccountingTaxation.php) and photo heroes ===== */
.pp-hero .video-hero .pp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.acc-subhead { margin: 18px 0 10px; font-size: 1.2rem; font-weight: 700; color: #041e42; }
.acc-media { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.acc-logo { max-width: 240px; margin: 0 auto; }
.acc-ach { margin: 0 auto; }
.acc-acts { display: flex; flex-direction: column; gap: 22px; }
.acc-act { padding: 20px; border: 1px solid #e3e9f2; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(6, 24, 64, .06); }
.acc-act-title { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; color: #061840; }
.acc-act-sub { margin: 0 0 8px !important; font-weight: 600; color: #b8891a !important; }
.acc-act p { line-height: 1.6; }
.acc-act-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 12px; }
.acc-act-photos img { width: 100%; height: clamp(180px, 18vw, 320px); object-fit: cover; border-radius: 8px; display: block; }
.acc-syllabus { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.acc-syl-btn {
  display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 16px; border-radius: 8px;
  background: #1158ce; color: #fff; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s;
}
.acc-syl-btn:hover { background: #0b45a8; color: #fff; transform: translateY(-2px); }
.acc-syl-btn i { color: #f2b233; font-size: 1.15rem; }
@media (max-width: 575.98px) {
  .acc-act { padding: 14px; }
  .acc-act-photos img { height: auto; aspect-ratio: 4 / 3; }
}


/* ==========================================================================
   B.Sc. department page (bsc_economics.php)
   Moved here from the page's own <style> blocks. Every selector is scoped to
   .bsc-page, a class that only bsc_economics.php carries (on its hero, its main
   content section and its careers section), so none of these rules can reach
   the other department pages that share this stylesheet.
   ========================================================================== */
/* Justify running prose (this page only). */
.bsc-page #hod p,
.bsc-page #about p,
.bsc-page #achievements p,
.bsc-page #activities .event-description,
.bsc-page #association_activities .event-description {
    text-align: justify;
    text-justify: inter-word;
}
/* Academic-year dropdown + single-semester table, shared by Department
   Activities, Association Activities, Newsletters/Magazines via .ay-scope. */
.bsc-page .ay-scope .ay-switch { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.bsc-page .ay-scope .ay-dd { position: relative; }
.bsc-page .ay-scope .ay-btn {
    font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: .02em;
    padding: 10px 20px; border: 1px solid #061840; border-radius: 4px;
    background: #061840; color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.bsc-page .ay-scope .ay-btn:hover { background: #0a2a5c; border-color: #0a2a5c; }
.bsc-page .ay-scope .ay-btn.is-active {
    background: #061840; border-color: #061840; color: #fff;
    box-shadow: inset 0 -3px 0 #f2b233;
}
.bsc-page .ay-scope .ay-btn:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; }
.bsc-page .ay-scope .ay-caret { font-size: .7em; line-height: 1; transition: transform .2s; }
.bsc-page .ay-scope .ay-btn[aria-expanded="true"] .ay-caret { transform: rotate(180deg); }
.bsc-page .ay-scope .ay-menu {
    position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 100%;
    background: #fff; border: 1px solid #cfd6e2; border-radius: 4px;
    box-shadow: 0 8px 20px rgba(6, 24, 64, .16); padding: 6px; white-space: nowrap;
}
.bsc-page .ay-scope .ay-menu[hidden] { display: none; }
.bsc-page .ay-scope .ay-item {
    display: flex; align-items: center; justify-content: flex-start;
    width: 100%; font: inherit; font-size: .92rem; text-align: left;
    padding: 9px 14px; border: 0; border-radius: 3px; background: transparent;
    color: #061840; cursor: pointer;
}
.bsc-page .ay-scope .ay-item:hover { background: #eef2f9; }
.bsc-page .ay-scope .ay-item.is-selected { background: #061840; color: #fff; font-weight: 600; }
.bsc-page .ay-scope .ay-panel[hidden] { display: none; }
.bsc-page .ay-scope .ay-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.bsc-page .ay-scope .ay-table > thead > tr > th {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: #061840; color: #fff; text-align: left;
    padding: 6px 14px;
    font-size: .85rem; font-weight: 600; line-height: 1.5;
    border-bottom: 2px solid #f2b233;
}
/* The site header is fixed, 80px tall; pin the bar just below it so Hide is always reachable. */
.bsc-page .ay-scope .ay-table > thead { position: sticky; top: 80px; z-index: 5; }
.bsc-page .ay-scope .ay-th-text { display: inline; }
.bsc-page .ay-scope .ay-th-text > span {
    display: inline; font-size: .78rem; font-weight: 400; opacity: .8;
}
.bsc-page .ay-scope .ay-th-text > span::before { content: "\00A0\00B7\00A0"; opacity: .55; }
.bsc-page .ay-scope .ay-table > tbody > tr > td { padding: 16px; border: 1px solid #dbe1ea; border-top: 0; background: #fff; }
.bsc-page .ay-scope .ay-table .event-card-grid { margin: 0 0 18px; }
.bsc-page .ay-scope .ay-table .event-card-grid:last-child { margin-bottom: 0; }
.bsc-page .ay-scope .ay-empty { margin: 0; color: #6b7280; font-style: italic; text-align: left; }
/* Description stays in the markup for search but is hidden in the card;
   "Read more" opens it in a small message box. */
.bsc-page .ay-scope .evt-grid .event-description { display: none; }
.bsc-page .ay-scope .evt-more-btn {
    font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .01em;
    color: #1158ce; background: none; border: 0; padding: 2px 0; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.bsc-page .ay-scope .evt-more-btn::after { content: "\2192"; font-size: .95em; line-height: 1; }
.bsc-page .ay-scope .evt-more-btn:hover { text-decoration: underline; }
.bsc-page .ay-scope .evt-more-btn:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; border-radius: 2px; }
.bsc-page .evt-dialog {
    width: min(460px, calc(100vw - 32px));
    padding: 24px 26px 26px; border: 1px solid #cfd6e2; border-radius: 8px;
    box-shadow: 0 18px 50px rgba(6, 24, 64, .28); color: #1f2937; background: #fff;
}
.bsc-page .evt-dialog::backdrop { background: rgba(6, 24, 64, .45); }
.bsc-page .evt-dialog-close {
    position: absolute; top: 10px; right: 12px;
    font-size: 1.4rem; line-height: 1; color: #6b7280;
    background: none; border: 0; cursor: pointer; padding: 4px 8px; border-radius: 4px;
}
.bsc-page .evt-dialog-close:hover { background: #eef2f9; color: #061840; }
.bsc-page .evt-dialog-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin: 0 0 10px; padding-right: 28px;
}
.bsc-page .evt-dialog-date {
    background: #022954; color: #fff; font-size: .75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 4px;
}
.bsc-page .evt-dialog-pill {
    background: #fdf1d8; color: #8a6114; font-size: .75rem; font-weight: 600;
    padding: 4px 12px; border-radius: 50px;
}
.bsc-page .evt-dialog-pill:empty { display: none; }
.bsc-page .evt-dialog-title {
    font-size: 1rem; font-weight: 700; color: #022954; line-height: 1.35; margin: 0 0 10px;
}
.bsc-page .evt-dialog-body {
    margin: 0; font-size: .92rem; line-height: 1.6;
    text-align: justify; text-justify: inter-word;
}
.bsc-page .ay-scope .evt-grid .date-badge {
    flex: 0 0 auto; height: auto; min-height: 0; width: auto; align-self: flex-start;
}
/* Cards laid out 3 across. */
.bsc-page .ay-scope .evt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bsc-page .ay-scope .evt-grid .event-card-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 14px;
    height: 100%;
}
.bsc-page .ay-scope .evt-grid .date-badge {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 5px;
    width: auto;
    min-height: 0;
    padding: 5px 10px;
    border-radius: 4px;
}
.bsc-page .ay-scope .evt-grid .date-badge .day { font-size: .85rem; line-height: 1; }
.bsc-page .ay-scope .evt-grid .date-badge .month,
.bsc-page .ay-scope .evt-grid .date-badge .year { font-size: .72rem; margin-top: 0; }
.bsc-page .ay-scope .evt-grid .date-badge .day-range { font-size: .8rem; }
.bsc-page .ay-scope .evt-grid .title-column,
.bsc-page .ay-scope .evt-grid .desc-column { width: 100%; padding: 0; }
.bsc-page .ay-scope .evt-grid .event-title { font-size: .9rem; margin-bottom: 6px; }
.bsc-page .ay-scope .evt-grid .badge-pill { white-space: normal; }
.bsc-page .ay-scope .evt-grid .desc-column { margin-top: auto; }
@media (max-width: 991.98px) {
    .bsc-page .ay-scope .evt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .bsc-page .ay-scope .evt-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 575.98px) {
    .bsc-page .ay-scope .ay-switch { gap: 8px; }
    .bsc-page .ay-scope .ay-btn { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: .88rem; }
    .bsc-page .ay-scope .ay-table > tbody > tr > td { padding: 12px; }
}
.bsc-page .ay-scope .ay-hide {
    flex: 0 0 auto; font: inherit; font-size: .74rem; font-weight: 600;
    color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px; padding: 2px 9px; cursor: pointer; line-height: 1.4;
    white-space: nowrap;
}
.bsc-page .ay-scope .ay-hide:hover { background: rgba(255, 255, 255, .26); }
.bsc-page .ay-scope .ay-hide:focus-visible { outline: 2px solid #f2b233; outline-offset: 2px; }
/* Hero: no colour over the video itself (the hero-bg overlay is removed). Only the
   heading gets a see-through band, so the video still shows through it. With
   Contact Us gone, the heading sits on the caption's baseline. */
.pp-hero.bsc-page .caption-box h2 {
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 24px;
    border-radius: 6px;
    background: rgba(4, 18, 41, .45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
/* Category pill hidden on the cards; the message box still shows it. */
.bsc-page .ay-scope .evt-grid .badge-pill { display: none; }
/* Slow strip of activity photographs (set duplicated for a seamless loop).
   NOTE: placeholder photographs - swap the four <img> sources in each
   .img-group (both copies) when the real ones arrive. */
.bsc-page .ay-scope .img-marquee { --ig: 16px; overflow: hidden; margin-top: 22px; }
.bsc-page .ay-scope .img-track {
    display: flex; gap: var(--ig); width: max-content;
    will-change: transform;
    animation: img-scroll 21s linear infinite;
}
.bsc-page .ay-scope .img-marquee:hover .img-track { animation-play-state: paused; }
.bsc-page .ay-scope .img-group { display: flex; gap: var(--ig); flex: 0 0 auto; }
.bsc-page .ay-scope .img-group img {
    display: block; width: 220px; height: 150px;
    object-fit: cover; border-radius: 8px; background: #eef2f7;
}
@keyframes img-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - (var(--ig) / 2))); }
}
@media (prefers-reduced-motion: reduce) {
    .bsc-page .ay-scope .img-track { animation: none; }
    .bsc-page .ay-scope .img-marquee { overflow-x: auto; }
}
@media (max-width: 575.98px) {
    .bsc-page .ay-scope .img-group img { width: 170px; height: 118px; }
}
/* Testimonials - one card at a time, auto-rotating. */
.bsc-page #testimonials .tst-card {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    min-height: 0;
    margin: 0;
    background: linear-gradient(135deg, #0a2350 0%, #061840 55%, #041129 100%);
    border: 1px solid #e3e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(4, 42, 84, .07);
}
.bsc-page #testimonials .tst-photo { position: relative; background: #041129; }
.bsc-page #testimonials .tst-photo img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
}
.bsc-page #testimonials .tst-now {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 34px 18px 14px;
    background: linear-gradient(to top, rgba(4, 17, 41, .92) 30%, rgba(4, 17, 41, 0));
    color: #fff;
}
.bsc-page #testimonials .tst-now span { display: block; font-size: .74rem; line-height: 1.3; opacity: .85; }
.bsc-page #testimonials .tst-now strong { display: block; font-size: .84rem; line-height: 1.35; color: #f2b233; margin-top: 2px; }
.bsc-page #testimonials .tst-body {
    position: relative; margin: 0; padding: 30px 34px;
    background: none; color: #eef2f9;
    display: flex; flex-direction: column; justify-content: center;
}
.bsc-page #testimonials .tst-body::before {
    content: "\201C"; position: absolute; top: 10px; right: 26px;
    font-family: Georgia, "Times New Roman", serif; font-size: 3.6rem; line-height: 1;
    color: #f2b233; opacity: .45;
}
.bsc-page #testimonials .tst-quote {
    margin: 0; font-size: .7rem; line-height: 1.5; font-style: italic;
    text-align: left; position: relative; z-index: 1;
}
.bsc-page #testimonials .tst-who {
    margin-top: 14px; padding-top: 10px;
    border-top: 1px solid rgba(242, 178, 51, .28);
}
.bsc-page #testimonials .tst-name {
    margin: 0; font-size: .95rem; font-weight: 700; letter-spacing: .01em; color: #f2b233;
}
.bsc-page #testimonials .tst-degree { margin: 2px 0 0; font-size: .75rem; color: #cdd7e6; }
@media (max-width: 767.98px) {
    .bsc-page #testimonials .tst-card { grid-template-columns: 1fr; min-height: 0; }
    .bsc-page #testimonials .tst-photo img { aspect-ratio: 4 / 3; height: auto; }
    .bsc-page #testimonials .tst-body { padding: 24px 22px 26px; }
    .bsc-page #testimonials .tst-body::before { font-size: 3rem; right: 16px; }
}
/* Testimonials sit beside a Video Testimonials column. */
.bsc-page #testimonials .tst-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: stretch;
}
.bsc-page #testimonials .tst-col { min-width: 0; display: flex; }
.bsc-page #testimonials .tst-slider { flex: 1 1 auto; min-width: 0; display: flex; }
.bsc-page #testimonials .tst-viewport { flex: 1 1 auto; min-width: 0; }
.bsc-page #testimonials .tst-track { height: 100%; }
.bsc-page #testimonials .vt-card {
    display: flex; flex-direction: column;
    background: none; border: 0; border-radius: 0; padding: 0;
}
.bsc-page #testimonials .tst-head { position: relative; }
.bsc-page #testimonials .vt-head {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 340px; margin: 0; padding: 0; background: none; border: 0;
}
.bsc-page #testimonials .vt-viewport {
    overflow: hidden; flex: 1 1 auto;
    display: flex; align-items: center;
}
/* width:100% gives the tiles a fixed reference width, so the cover images' own
   640px size (or anything in the shared stylesheet) cannot stretch the strip.
   The script also sets each tile's width in pixels. */
.bsc-page #testimonials .vt-track { display: flex; gap: 10px; width: 100%; will-change: transform; }
.bsc-page #testimonials .vt-slot { flex: 0 0 calc((100% - 10px) / 2); min-width: 0; }
.bsc-page #testimonials .vt-box {
    position: relative; display: block; width: 100%; padding: 0;
    aspect-ratio: 9 / 16;
    border: 0; border-radius: 8px; overflow: hidden; cursor: pointer;
    background: #061840;
}
.bsc-page #testimonials .vt-box.is-empty { cursor: default; }
.bsc-page #testimonials .vt-close {
    position: absolute; top: 6px; right: 6px; z-index: 2;
    width: 24px; height: 24px; padding: 0;
    font: 700 16px/1 system-ui, sans-serif;
    color: #fff; background: rgba(4, 17, 41, .72);
    border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
    cursor: pointer;
}
.bsc-page #testimonials .vt-close:hover { background: rgba(4, 17, 41, .95); }
.bsc-page #testimonials .vt-close:focus-visible { outline: 2px solid #f2b233; outline-offset: 2px; }
.bsc-page #testimonials .vt-replay {
    position: absolute; top: 6px; right: 34px; z-index: 2;
    width: 24px; height: 24px; padding: 0;
    font: 700 14px/1 system-ui, sans-serif;
    color: #fff; background: rgba(4, 17, 41, .72);
    border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
    cursor: pointer;
}
.bsc-page #testimonials .vt-replay:hover { background: rgba(4, 17, 41, .95); }
.bsc-page #testimonials .vt-replay:focus-visible { outline: 2px solid #f2b233; outline-offset: 2px; }
.bsc-page #testimonials .vt-cover {
    position: absolute; inset: 0;   /* out of the layout flow, so its size never moves the tile */
    display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .85;
}
.bsc-page #testimonials .vt-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.bsc-page #testimonials .vt-play::after {
    content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
    border-style: solid; border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #061840;
}
.bsc-page #testimonials .vt-box:hover .vt-play { background: #fff; }
.bsc-page #testimonials .vt-box:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; }
.bsc-page #testimonials .vt-embed {
    position: relative; width: 100%; aspect-ratio: 9 / 16;
    overflow: hidden; border-radius: 8px; background: #000;
}
.bsc-page #testimonials .vt-embed iframe {
    position: absolute; left: 0; top: 0;
    width: 340px; height: 760px; max-width: none; border: 0; display: block;
    transform-origin: top left;
}
@media (max-width: 991.98px) {
    .bsc-page #testimonials .tst-columns { grid-template-columns: minmax(0, 1fr); }
    /* single column: keep the video strip a phone-sized panel, centred */
    .bsc-page #testimonials .vt-card { width: 100%; max-width: 360px; margin: 0 auto; }
}
/* The tile widths are set from the panel width; without these the panel could
   grow to fit the tiles, which re-sized the tiles, and so on without end. */
.bsc-page #testimonials .vt-card { min-width: 0; }
.bsc-page #testimonials .vt-viewport { width: 100%; min-width: 0; }
.bsc-page #testimonials .tst-viewport { overflow: hidden; }
.bsc-page #testimonials .tst-track {
    display: flex;
    align-items: stretch;
    transition: transform .6s cubic-bezier(.77, 0, .175, 1);
    will-change: transform;
}
.bsc-page #testimonials .tst-track > .tst-card { flex: 0 0 100%; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
    .bsc-page #testimonials .tst-track { transition: none; }
}
@media (max-width: 991.98px) {
    .bsc-page #testimonials .tst-photo { width: 260px; }
}
@media (max-width: 575.98px) {
    .bsc-page #testimonials .tst-photo { float: none; width: auto; margin: -22px -22px 16px; }
    .bsc-page #testimonials .tst-photo img { aspect-ratio: 4 / 3; }
    .bsc-page #testimonials .tst-body::before { font-size: 3.2rem; }
}
/* A table nested inside a panel cell (the placements table) is plain data. */
.bsc-page .ay-scope .ay-table td table { width: 100%; border-collapse: collapse; background: #fff; }
.bsc-page .ay-scope .ay-table td table th,
.bsc-page .ay-scope .ay-table td table td {
    display: table-cell; padding: 10px 14px; border: 1px solid #dbe1ea;
    font-size: .86rem; text-align: left; vertical-align: top;
}
.bsc-page .ay-scope .ay-table td table thead th {
    background: #f2f5fa; color: #061840; font-weight: 700; border-bottom: 2px solid #cfd8e6;
}
.bsc-page .ay-scope .ay-table td table tbody tr:nth-child(even) td { background: #fafbfd; }
/* Student Research - same table look as Placement Highlights. */
.bsc-page #research .res-table { width: 100%; border-collapse: collapse; background: #fff; margin: 0; }
.bsc-page #research .res-table th,
.bsc-page #research .res-table td {
    padding: 10px 14px; border: 1px solid #dbe1ea;
    font-size: .86rem; text-align: left !important; vertical-align: top;
}
.bsc-page #research .res-table thead th {
    background: #f2f5fa; color: #061840; font-weight: 700; border-bottom: 2px solid #cfd8e6;
}
.bsc-page #research .res-table tbody tr:nth-child(even) td { background: #fafbfd; }
.bsc-page #research .res-table th:first-child,
.bsc-page #research .res-table td:first-child { width: 64px; }
.bsc-page #research .res-table th:nth-child(4),
.bsc-page #research .res-table td:nth-child(4) { width: 90px; white-space: nowrap; }
@media (max-width: 767.98px) {
    .bsc-page #research .res-table { display: block; overflow-x: auto; }
}
/* Newsletter / magazine issue links hover in grey. */
.bsc-page #magazine .pub-grid > a {
    background: #e5e8ee !important; color: #061840 !important;
    border: 1px solid #cfd5df; box-shadow: none;
}
.bsc-page #magazine .pub-grid > a:hover { background: #d3d8e0 !important; color: #061840 !important; }
.bsc-page #magazine .ay-item:hover { background: #e5e8ee; }
/* Placement Highlights - year buttons open a table directly. */
.bsc-page #placement_highlights .pl-btn { cursor: pointer; }
.bsc-page #placement_highlights .ay-panel[hidden] { display: none; }
.bsc-page #association_activities .assoc-intro {
    margin: 0 0 20px;
    font-size: .92rem;
    line-height: 1.75;
    color: #334155;
    text-align: justify;
    text-justify: inter-word;
}
.bsc-page #association_activities .assoc-name {
    font-weight: 700;
    font-size: 1.08em;
    color: #061840;
    letter-spacing: .01em;
}
#careers.bsc-page .higher-ed-header {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}
/* Newsletters / Magazines - two tabs, and a grid of issue links. */
.bsc-page #magazine .pub-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.bsc-page #magazine .pub-tab {
    font: inherit; font-size: .92rem; font-weight: 600; letter-spacing: .01em;
    padding: 9px 22px; border: 1px solid #061840; border-radius: 50px;
    background: #fff; color: #061840; cursor: pointer;
    transition: background .2s, color .2s;
}
.bsc-page #magazine .pub-tab:hover { background: #eef2f9; }
.bsc-page #magazine .pub-tab.is-active { background: #061840; color: #fff; }
.bsc-page #magazine .pub-tab:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; }
.bsc-page #magazine .pub-panel[hidden] { display: none; }
.bsc-page #magazine .pub-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.bsc-page #magazine .pub-grid > a { width: 100%; margin: 0; }
@media (max-width: 991.98px) {
    .bsc-page #magazine .pub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .bsc-page #magazine .pub-grid { grid-template-columns: 1fr; }
}
/* Student Achievements - a continuous marquee (list duplicated once). */
.bsc-page #student_achievements .sa-marquee { --sa-gap: 16px; overflow: hidden; position: relative; }
.bsc-page #student_achievements .sa-track {
    display: flex;
    gap: var(--sa-gap);
    width: max-content;
    will-change: transform;
    animation: sa-scroll var(--sa-dur, 90s) linear infinite;
}
.bsc-page #student_achievements .sa-marquee:hover .sa-track { animation-play-state: paused; }
.bsc-page #student_achievements .sa-group {
    display: flex; gap: var(--sa-gap); flex: 0 0 auto; align-items: flex-start; padding: 10px 0;
}
@keyframes sa-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - (var(--sa-gap) / 2))); }
}
.bsc-page #student_achievements .ach-card {
    flex: 0 0 var(--sa-card, 280px);
    width: var(--sa-card, 280px);
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: block;
    padding: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    transition: transform .3s ease, box-shadow .3s ease;
}
.bsc-page #student_achievements .ach-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.bsc-page #student_achievements .ach-profile-img {
    float: left;
    width: var(--sa-photo, 104px); height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover; object-position: center top;
    border: 0; border-radius: 0;
    margin: -10px 9px 7px -10px;
    background: #eef2f7;
}
.bsc-page #student_achievements .ach-desc { padding: 0; }
.bsc-page #student_achievements .ach-desc p {
    color: #475569; font-size: .62rem; line-height: 1.3; margin: 0; text-align: left;
}
.bsc-page #student_achievements .ach-name {
    margin-top: 4px; padding: 0;
    color: #0f172a; font-size: .65rem; line-height: 1.3; font-weight: 600; text-align: left;
}
@media (prefers-reduced-motion: reduce) {
    .bsc-page #student_achievements .sa-track { animation: none; }
    .bsc-page #student_achievements .sa-marquee { overflow-x: auto; }
}



/* ---- PASTE THIS WHOLE BLOCK AT THE VERY END OF THE LIVE dept_main.css ----
   Do not replace dept_main.css with any other copy; only add this block. */

/* ==========================================================================
   B.Sc. department page (bsc_economics.php)
   Moved here from the page's own <style> blocks. Every selector is scoped to
   .bsc-page, a class that only bsc_economics.php carries (on its hero, its main
   content section and its careers section), so none of these rules can reach
   the other department pages that share this stylesheet.
   ========================================================================== */
/* Justify running prose (this page only). */
.bsc-page #hod p,
.bsc-page #about p,
.bsc-page #achievements p,
.bsc-page #activities .event-description,
.bsc-page #association_activities .event-description {
    text-align: justify;
    text-justify: inter-word;
}
/* Academic-year dropdown + single-semester table, shared by Department
   Activities, Association Activities, Newsletters/Magazines via .ay-scope. */
.bsc-page .ay-scope .ay-switch { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.bsc-page .ay-scope .ay-dd { position: relative; }
.bsc-page .ay-scope .ay-btn {
    font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: .02em;
    padding: 10px 20px; border: 1px solid #061840; border-radius: 4px;
    background: #061840; color: #fff; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.bsc-page .ay-scope .ay-btn:hover { background: #0a2a5c; border-color: #0a2a5c; }
.bsc-page .ay-scope .ay-btn.is-active {
    background: #061840; border-color: #061840; color: #fff;
    box-shadow: inset 0 -3px 0 #f2b233;
}
.bsc-page .ay-scope .ay-btn:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; }
.bsc-page .ay-scope .ay-caret { font-size: .7em; line-height: 1; transition: transform .2s; }
.bsc-page .ay-scope .ay-btn[aria-expanded="true"] .ay-caret { transform: rotate(180deg); }
.bsc-page .ay-scope .ay-menu {
    position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 100%;
    background: #fff; border: 1px solid #cfd6e2; border-radius: 4px;
    box-shadow: 0 8px 20px rgba(6, 24, 64, .16); padding: 6px; white-space: nowrap;
}
.bsc-page .ay-scope .ay-menu[hidden] { display: none; }
.bsc-page .ay-scope .ay-item {
    display: flex; align-items: center; justify-content: flex-start;
    width: 100%; font: inherit; font-size: .92rem; text-align: left;
    padding: 9px 14px; border: 0; border-radius: 3px; background: transparent;
    color: #061840; cursor: pointer;
}
.bsc-page .ay-scope .ay-item:hover { background: #eef2f9; }
.bsc-page .ay-scope .ay-item.is-selected { background: #061840; color: #fff; font-weight: 600; }
.bsc-page .ay-scope .ay-panel[hidden] { display: none; }
.bsc-page .ay-scope .ay-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.bsc-page .ay-scope .ay-table > thead > tr > th {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: #061840; color: #fff; text-align: left;
    padding: 6px 14px;
    font-size: .85rem; font-weight: 600; line-height: 1.5;
    border-bottom: 2px solid #f2b233;
}
/* The site header is fixed, 80px tall; pin the bar just below it so Hide is always reachable. */
.bsc-page .ay-scope .ay-table > thead { position: sticky; top: 80px; z-index: 5; }
.bsc-page .ay-scope .ay-th-text { display: inline; }
.bsc-page .ay-scope .ay-th-text > span {
    display: inline; font-size: .78rem; font-weight: 400; opacity: .8;
}
.bsc-page .ay-scope .ay-th-text > span::before { content: "\00A0\00B7\00A0"; opacity: .55; }
.bsc-page .ay-scope .ay-table > tbody > tr > td { padding: 16px; border: 1px solid #dbe1ea; border-top: 0; background: #fff; }
.bsc-page .ay-scope .ay-table .event-card-grid { margin: 0 0 18px; }
.bsc-page .ay-scope .ay-table .event-card-grid:last-child { margin-bottom: 0; }
.bsc-page .ay-scope .ay-empty { margin: 0; color: #6b7280; font-style: italic; text-align: left; }
/* Description stays in the markup for search but is hidden in the card;
   "Read more" opens it in a small message box. */
.bsc-page .ay-scope .evt-grid .event-description { display: none; }
.bsc-page .ay-scope .evt-more-btn {
    font: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .01em;
    color: #1158ce; background: none; border: 0; padding: 2px 0; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.bsc-page .ay-scope .evt-more-btn::after { content: "\2192"; font-size: .95em; line-height: 1; }
.bsc-page .ay-scope .evt-more-btn:hover { text-decoration: underline; }
.bsc-page .ay-scope .evt-more-btn:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; border-radius: 2px; }
.bsc-page .evt-dialog {
    width: min(460px, calc(100vw - 32px));
    padding: 24px 26px 26px; border: 1px solid #cfd6e2; border-radius: 8px;
    box-shadow: 0 18px 50px rgba(6, 24, 64, .28); color: #1f2937; background: #fff;
}
.bsc-page .evt-dialog::backdrop { background: rgba(6, 24, 64, .45); }
.bsc-page .evt-dialog-close {
    position: absolute; top: 10px; right: 12px;
    font-size: 1.4rem; line-height: 1; color: #6b7280;
    background: none; border: 0; cursor: pointer; padding: 4px 8px; border-radius: 4px;
}
.bsc-page .evt-dialog-close:hover { background: #eef2f9; color: #061840; }
.bsc-page .evt-dialog-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin: 0 0 10px; padding-right: 28px;
}
.bsc-page .evt-dialog-date {
    background: #022954; color: #fff; font-size: .75rem; font-weight: 700;
    padding: 4px 10px; border-radius: 4px;
}
.bsc-page .evt-dialog-pill {
    background: #fdf1d8; color: #8a6114; font-size: .75rem; font-weight: 600;
    padding: 4px 12px; border-radius: 50px;
}
.bsc-page .evt-dialog-pill:empty { display: none; }
.bsc-page .evt-dialog-title {
    font-size: 1rem; font-weight: 700; color: #022954; line-height: 1.35; margin: 0 0 10px;
}
.bsc-page .evt-dialog-body {
    margin: 0; font-size: .92rem; line-height: 1.6;
    text-align: justify; text-justify: inter-word;
}
.bsc-page .ay-scope .evt-grid .date-badge {
    flex: 0 0 auto; height: auto; min-height: 0; width: auto; align-self: flex-start;
}
/* Cards laid out 3 across. */
.bsc-page .ay-scope .evt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bsc-page .ay-scope .evt-grid .event-card-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 14px;
    height: 100%;
}
.bsc-page .ay-scope .evt-grid .date-badge {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 5px;
    width: auto;
    min-height: 0;
    padding: 5px 10px;
    border-radius: 4px;
}
.bsc-page .ay-scope .evt-grid .date-badge .day { font-size: .85rem; line-height: 1; }
.bsc-page .ay-scope .evt-grid .date-badge .month,
.bsc-page .ay-scope .evt-grid .date-badge .year { font-size: .72rem; margin-top: 0; }
.bsc-page .ay-scope .evt-grid .date-badge .day-range { font-size: .8rem; }
.bsc-page .ay-scope .evt-grid .title-column,
.bsc-page .ay-scope .evt-grid .desc-column { width: 100%; padding: 0; }
.bsc-page .ay-scope .evt-grid .event-title { font-size: .9rem; margin-bottom: 6px; }
.bsc-page .ay-scope .evt-grid .badge-pill { white-space: normal; }
.bsc-page .ay-scope .evt-grid .desc-column { margin-top: auto; }
@media (max-width: 991.98px) {
    .bsc-page .ay-scope .evt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .bsc-page .ay-scope .evt-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 575.98px) {
    .bsc-page .ay-scope .ay-switch { gap: 8px; }
    .bsc-page .ay-scope .ay-btn { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: .88rem; }
    .bsc-page .ay-scope .ay-table > tbody > tr > td { padding: 12px; }
}
.bsc-page .ay-scope .ay-hide {
    flex: 0 0 auto; font: inherit; font-size: .74rem; font-weight: 600;
    color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 4px; padding: 2px 9px; cursor: pointer; line-height: 1.4;
    white-space: nowrap;
}
.bsc-page .ay-scope .ay-hide:hover { background: rgba(255, 255, 255, .26); }
.bsc-page .ay-scope .ay-hide:focus-visible { outline: 2px solid #f2b233; outline-offset: 2px; }
/* Hero: no colour over the video itself (the hero-bg overlay is removed). Only the
   heading gets a see-through band, so the video still shows through it. With
   Contact Us gone, the heading sits on the caption's baseline. */
.pp-hero.bsc-page .caption-box h2 {
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 24px;
    border-radius: 6px;
    background: rgba(4, 18, 41, .45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
/* Category pill hidden on the cards; the message box still shows it. */
.bsc-page .ay-scope .evt-grid .badge-pill { display: none; }
/* Slow strip of activity photographs (set duplicated for a seamless loop).
   NOTE: placeholder photographs - swap the four <img> sources in each
   .img-group (both copies) when the real ones arrive. */
.bsc-page .ay-scope .img-marquee { --ig: 16px; overflow: hidden; margin-top: 22px; }
.bsc-page .ay-scope .img-track {
    display: flex; gap: var(--ig); width: max-content;
    will-change: transform;
    animation: img-scroll 21s linear infinite;
}
.bsc-page .ay-scope .img-marquee:hover .img-track { animation-play-state: paused; }
.bsc-page .ay-scope .img-group { display: flex; gap: var(--ig); flex: 0 0 auto; }
.bsc-page .ay-scope .img-group img {
    display: block; width: 220px; height: 150px;
    object-fit: cover; border-radius: 8px; background: #eef2f7;
}
@keyframes img-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - (var(--ig) / 2))); }
}
@media (prefers-reduced-motion: reduce) {
    .bsc-page .ay-scope .img-track { animation: none; }
    .bsc-page .ay-scope .img-marquee { overflow-x: auto; }
}
@media (max-width: 575.98px) {
    .bsc-page .ay-scope .img-group img { width: 170px; height: 118px; }
}
/* Testimonials - one card at a time, auto-rotating. */
.bsc-page #testimonials .tst-card {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    min-height: 0;
    margin: 0;
    background: linear-gradient(135deg, #0a2350 0%, #061840 55%, #041129 100%);
    border: 1px solid #e3e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(4, 42, 84, .07);
}
.bsc-page #testimonials .tst-photo { position: relative; background: #041129; }
.bsc-page #testimonials .tst-photo img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
}
.bsc-page #testimonials .tst-now {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 34px 18px 14px;
    background: linear-gradient(to top, rgba(4, 17, 41, .92) 30%, rgba(4, 17, 41, 0));
    color: #fff;
}
.bsc-page #testimonials .tst-now span { display: block; font-size: .74rem; line-height: 1.3; opacity: .85; }
.bsc-page #testimonials .tst-now strong { display: block; font-size: .84rem; line-height: 1.35; color: #f2b233; margin-top: 2px; }
.bsc-page #testimonials .tst-body {
    position: relative; margin: 0; padding: 30px 34px;
    background: none; color: #eef2f9;
    display: flex; flex-direction: column; justify-content: center;
}
.bsc-page #testimonials .tst-body::before {
    content: "\201C"; position: absolute; top: 10px; right: 26px;
    font-family: Georgia, "Times New Roman", serif; font-size: 3.6rem; line-height: 1;
    color: #f2b233; opacity: .45;
}
.bsc-page #testimonials .tst-quote {
    margin: 0; font-size: .7rem; line-height: 1.5; font-style: italic;
    text-align: left; position: relative; z-index: 1;
}
.bsc-page #testimonials .tst-who {
    margin-top: 14px; padding-top: 10px;
    border-top: 1px solid rgba(242, 178, 51, .28);
}
.bsc-page #testimonials .tst-name {
    margin: 0; font-size: .95rem; font-weight: 700; letter-spacing: .01em; color: #f2b233;
}
.bsc-page #testimonials .tst-degree { margin: 2px 0 0; font-size: .75rem; color: #cdd7e6; }
@media (max-width: 767.98px) {
    .bsc-page #testimonials .tst-card { grid-template-columns: 1fr; min-height: 0; }
    .bsc-page #testimonials .tst-photo img { aspect-ratio: 4 / 3; height: auto; }
    .bsc-page #testimonials .tst-body { padding: 24px 22px 26px; }
    .bsc-page #testimonials .tst-body::before { font-size: 3rem; right: 16px; }
}
/* Testimonials sit beside a Video Testimonials column. */
.bsc-page #testimonials .tst-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: stretch;
}
.bsc-page #testimonials .tst-col { min-width: 0; display: flex; }
.bsc-page #testimonials .tst-slider { flex: 1 1 auto; min-width: 0; display: flex; }
.bsc-page #testimonials .tst-viewport { flex: 1 1 auto; min-width: 0; }
.bsc-page #testimonials .tst-track { height: 100%; }
.bsc-page #testimonials .vt-card {
    display: flex; flex-direction: column;
    background: none; border: 0; border-radius: 0; padding: 0;
}
.bsc-page #testimonials .tst-head { position: relative; }
.bsc-page #testimonials .vt-head {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 340px; margin: 0; padding: 0; background: none; border: 0;
}
.bsc-page #testimonials .vt-viewport {
    overflow: hidden; flex: 1 1 auto;
    display: flex; align-items: center;
}
/* width:100% gives the tiles a fixed reference width, so the cover images' own
   640px size (or anything in the shared stylesheet) cannot stretch the strip.
   The script also sets each tile's width in pixels. */
.bsc-page #testimonials .vt-track { display: flex; gap: 10px; width: 100%; will-change: transform; }
.bsc-page #testimonials .vt-slot { flex: 0 0 calc((100% - 10px) / 2); min-width: 0; }
.bsc-page #testimonials .vt-box {
    position: relative; display: block; width: 100%; padding: 0;
    aspect-ratio: 9 / 16;
    border: 0; border-radius: 8px; overflow: hidden; cursor: pointer;
    background: #061840;
}
.bsc-page #testimonials .vt-box.is-empty { cursor: default; }
.bsc-page #testimonials .vt-close {
    position: absolute; top: 6px; right: 6px; z-index: 2;
    width: 24px; height: 24px; padding: 0;
    font: 700 16px/1 system-ui, sans-serif;
    color: #fff; background: rgba(4, 17, 41, .72);
    border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
    cursor: pointer;
}
.bsc-page #testimonials .vt-close:hover { background: rgba(4, 17, 41, .95); }
.bsc-page #testimonials .vt-close:focus-visible { outline: 2px solid #f2b233; outline-offset: 2px; }
.bsc-page #testimonials .vt-replay {
    position: absolute; top: 6px; right: 34px; z-index: 2;
    width: 24px; height: 24px; padding: 0;
    font: 700 14px/1 system-ui, sans-serif;
    color: #fff; background: rgba(4, 17, 41, .72);
    border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
    cursor: pointer;
}
.bsc-page #testimonials .vt-replay:hover { background: rgba(4, 17, 41, .95); }
.bsc-page #testimonials .vt-replay:focus-visible { outline: 2px solid #f2b233; outline-offset: 2px; }
.bsc-page #testimonials .vt-cover {
    position: absolute; inset: 0;   /* out of the layout flow, so its size never moves the tile */
    display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .85;
}
.bsc-page #testimonials .vt-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.bsc-page #testimonials .vt-play::after {
    content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
    border-style: solid; border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #061840;
}
.bsc-page #testimonials .vt-box:hover .vt-play { background: #fff; }
.bsc-page #testimonials .vt-box:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; }
.bsc-page #testimonials .vt-embed {
    position: relative; width: 100%; aspect-ratio: 9 / 16;
    overflow: hidden; border-radius: 8px; background: #000;
}
.bsc-page #testimonials .vt-embed iframe {
    position: absolute; left: 0; top: 0;
    width: 340px; height: 760px; max-width: none; border: 0; display: block;
    transform-origin: top left;
}
@media (max-width: 991.98px) {
    .bsc-page #testimonials .tst-columns { grid-template-columns: minmax(0, 1fr); }
    /* single column: keep the video strip a phone-sized panel, centred */
    .bsc-page #testimonials .vt-card { width: 100%; max-width: 360px; margin: 0 auto; }
}
/* The tile widths are set from the panel width; without these the panel could
   grow to fit the tiles, which re-sized the tiles, and so on without end. */
.bsc-page #testimonials .vt-card { min-width: 0; }
.bsc-page #testimonials .vt-viewport { width: 100%; min-width: 0; }
.bsc-page #testimonials .tst-viewport { overflow: hidden; }
.bsc-page #testimonials .tst-track {
    display: flex;
    align-items: stretch;
    transition: transform .6s cubic-bezier(.77, 0, .175, 1);
    will-change: transform;
}
.bsc-page #testimonials .tst-track > .tst-card { flex: 0 0 100%; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
    .bsc-page #testimonials .tst-track { transition: none; }
}
@media (max-width: 991.98px) {
    .bsc-page #testimonials .tst-photo { width: 260px; }
}
@media (max-width: 575.98px) {
    .bsc-page #testimonials .tst-photo { float: none; width: auto; margin: -22px -22px 16px; }
    .bsc-page #testimonials .tst-photo img { aspect-ratio: 4 / 3; }
    .bsc-page #testimonials .tst-body::before { font-size: 3.2rem; }
}
/* A table nested inside a panel cell (the placements table) is plain data. */
.bsc-page .ay-scope .ay-table td table { width: 100%; border-collapse: collapse; background: #fff; }
.bsc-page .ay-scope .ay-table td table th,
.bsc-page .ay-scope .ay-table td table td {
    display: table-cell; padding: 10px 14px; border: 1px solid #dbe1ea;
    font-size: .86rem; text-align: left; vertical-align: top;
}
.bsc-page .ay-scope .ay-table td table thead th {
    background: #f2f5fa; color: #061840; font-weight: 700; border-bottom: 2px solid #cfd8e6;
}
.bsc-page .ay-scope .ay-table td table tbody tr:nth-child(even) td { background: #fafbfd; }
/* Student Research - same table look as Placement Highlights. */
.bsc-page #research .res-table { width: 100%; border-collapse: collapse; background: #fff; margin: 0; }
.bsc-page #research .res-table th,
.bsc-page #research .res-table td {
    padding: 10px 14px; border: 1px solid #dbe1ea;
    font-size: .86rem; text-align: left !important; vertical-align: top;
}
.bsc-page #research .res-table thead th {
    background: #f2f5fa; color: #061840; font-weight: 700; border-bottom: 2px solid #cfd8e6;
}
.bsc-page #research .res-table tbody tr:nth-child(even) td { background: #fafbfd; }
.bsc-page #research .res-table th:first-child,
.bsc-page #research .res-table td:first-child { width: 64px; }
.bsc-page #research .res-table th:nth-child(4),
.bsc-page #research .res-table td:nth-child(4) { width: 90px; white-space: nowrap; }
@media (max-width: 767.98px) {
    .bsc-page #research .res-table { display: block; overflow-x: auto; }
}
/* Newsletter / magazine issue links hover in grey. */
.bsc-page #magazine .pub-grid > a {
    background: #e5e8ee !important; color: #061840 !important;
    border: 1px solid #cfd5df; box-shadow: none;
}
.bsc-page #magazine .pub-grid > a:hover { background: #d3d8e0 !important; color: #061840 !important; }
.bsc-page #magazine .ay-item:hover { background: #e5e8ee; }
/* Placement Highlights - year buttons open a table directly. */
.bsc-page #placement_highlights .pl-btn { cursor: pointer; }
.bsc-page #placement_highlights .ay-panel[hidden] { display: none; }
.bsc-page #association_activities .assoc-intro {
    margin: 0 0 20px;
    font-size: .92rem;
    line-height: 1.75;
    color: #334155;
    text-align: justify;
    text-justify: inter-word;
}
.bsc-page #association_activities .assoc-name {
    font-weight: 700;
    font-size: 1.08em;
    color: #061840;
    letter-spacing: .01em;
}
#careers.bsc-page .higher-ed-header {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}
/* Newsletters / Magazines - two tabs, and a grid of issue links. */
.bsc-page #magazine .pub-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.bsc-page #magazine .pub-tab {
    font: inherit; font-size: .92rem; font-weight: 600; letter-spacing: .01em;
    padding: 9px 22px; border: 1px solid #061840; border-radius: 50px;
    background: #fff; color: #061840; cursor: pointer;
    transition: background .2s, color .2s;
}
.bsc-page #magazine .pub-tab:hover { background: #eef2f9; }
.bsc-page #magazine .pub-tab.is-active { background: #061840; color: #fff; }
.bsc-page #magazine .pub-tab:focus-visible { outline: 2px solid #1158ce; outline-offset: 2px; }
.bsc-page #magazine .pub-panel[hidden] { display: none; }
.bsc-page #magazine .pub-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.bsc-page #magazine .pub-grid > a { width: 100%; margin: 0; }
@media (max-width: 991.98px) {
    .bsc-page #magazine .pub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .bsc-page #magazine .pub-grid { grid-template-columns: 1fr; }
}
/* Student Achievements - a continuous marquee (list duplicated once). */
.bsc-page #student_achievements .sa-marquee { --sa-gap: 16px; overflow: hidden; position: relative; }
.bsc-page #student_achievements .sa-track {
    display: flex;
    gap: var(--sa-gap);
    width: max-content;
    will-change: transform;
    animation: sa-scroll var(--sa-dur, 90s) linear infinite;
}
.bsc-page #student_achievements .sa-marquee:hover .sa-track { animation-play-state: paused; }
.bsc-page #student_achievements .sa-group {
    display: flex; gap: var(--sa-gap); flex: 0 0 auto; align-items: flex-start; padding: 10px 0;
}
@keyframes sa-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - (var(--sa-gap) / 2))); }
}
.bsc-page #student_achievements .ach-card {
    flex: 0 0 var(--sa-card, 280px);
    width: var(--sa-card, 280px);
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: block;
    padding: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    transition: transform .3s ease, box-shadow .3s ease;
}
.bsc-page #student_achievements .ach-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.bsc-page #student_achievements .ach-profile-img {
    float: left;
    width: var(--sa-photo, 104px); height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover; object-position: center top;
    border: 0; border-radius: 0;
    margin: -10px 9px 7px -10px;
    background: #eef2f7;
}
.bsc-page #student_achievements .ach-desc { padding: 0; }
.bsc-page #student_achievements .ach-desc p {
    color: #475569; font-size: .62rem; line-height: 1.3; margin: 0; text-align: left;
}
.bsc-page #student_achievements .ach-name {
    margin-top: 4px; padding: 0;
    color: #0f172a; font-size: .65rem; line-height: 1.3; font-weight: 600; text-align: left;
}
@media (prefers-reduced-motion: reduce) {
    .bsc-page #student_achievements .sa-track { animation: none; }
    .bsc-page #student_achievements .sa-marquee { overflow-x: auto; }
}