/* ============================================
   PUBLIC PAGES — Central Stylesheet
   Used by: Branch, College, Department landing pages
   Requires CSS custom properties set via branch-head partial:
     --primary-color, --secondary-color, --third-color
   ============================================ */


/* ==================================================
   1. SHARED COMPONENTS
   Used by multiple landing pages
   ================================================== */

/* ---- Section Labels & Headings ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.section-sub {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 36px;
    max-width: 580px;
}

/* ---- Staff Photo-Overlay Cards ---- */
.staff-photo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 340px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}
.staff-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.staff-photo-wrapper {
    width: 100%;
    height: 100%;
}
.staff-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.staff-photo-card:hover .staff-photo-wrapper img {
    transform: scale(1.08);
}

.staff-initials-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.staff-initials-placeholder span {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    letter-spacing: 6px;
}

.staff-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: padding-bottom 0.3s ease;
}
.staff-photo-card:hover .staff-overlay {
    padding-bottom: 22px;
}

.staff-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}
.staff-role-badge.dean       { background: var(--third-color, #bf7955); color: #fff; }
.staff-role-badge.supervisor  { background: var(--primary-color); color: #fff; }
.staff-role-badge.coordinator { background: var(--secondary-color); color: #fff; }
.staff-role-badge.staff       { background: rgba(255,255,255,0.2); color: #fff; }

.staff-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
    line-height: 1.3;
}

.staff-designation {
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.staff-contact-icons {
    display: flex;
    gap: 10px;
}
.staff-contact-icons a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.staff-contact-icons a:hover {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

/* ---- Contact Theme (Glassmorphism) ---- */
.contact-theme {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
}
.contact-theme::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 0;
}
.contact-theme .container {
    position: relative;
    z-index: 1;
}

.contact-theme-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
}
.contact-theme-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}

.contact-theme-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.contact-theme-icon i { font-size: 1.2rem; color: #fff; }

.contact-theme-card h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.contact-theme-card p  { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 0; line-height: 1.6; }

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-state .empty-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.empty-state .empty-icon i { font-size: 2.5rem; color: #94a3b8; }
.empty-state h3 { font-size: 1.3rem; font-weight: 700; color: #334155; margin-bottom: 8px; }
.empty-state p  { font-size: 0.95rem; color: #64748b; }


/* ==================================================
   2. BRANCH LANDING PAGE
   ================================================== */

/* ---- Page Hero ---- */
.page-hero {
    margin-top: 0;
    padding-top: 120px;
    position: relative;
    padding-bottom: 60px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
    animation: rotateBg 30s linear infinite;
    transform-origin: center;
}

@keyframes rotateBg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 600px 600px;
    }
}

.page-hero .container          { position: relative; z-index: 3; }
.page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 16px;
}
.page-hero h1     { font-size: 2.6rem; font-weight: 800; color: #ffffff !important; line-height: 1.2; margin-bottom: 14px; }
.page-hero p { font-size: 1.08rem; color: #ffffff !important; max-width: 580px; line-height: 1.7; margin-bottom: 20px; }

.hero-stats       { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .stat-num   { font-size: 1.4rem; font-weight: 800; color: #ffffff !important; }
.hero-stat .stat-label { font-size: 0.78rem; color: #ffffff !important; font-weight: 500; }

.hero-actions          { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions .btn-hero {
    padding: 11px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-actions .btn-hero-primary       { background: #fff; color: var(--primary-color); }
.hero-actions .btn-hero-primary:hover { background: var(--secondary-color); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.hero-actions .btn-hero-outline       { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.hero-actions .btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }

/* ---- Theme Cards ---- */
.theme-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    height: 100%;
    transition: all 0.35s ease;
}
.theme-card:hover       { transform: translateY(-6px); box-shadow: 0 20px 48px -12px rgba(0,0,0,0.1); border-color: var(--primary-color); }
.theme-card .card-body  { padding: 28px; }

/* ---- Why Choose Us ---- */
.why-section { padding: 80px 0; background: #fff; }
.why-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    border: 1px solid #e8ecf1;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.why-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary-color); border-radius: 14px 14px 0 0; }
.why-card:hover   { transform: translateY(-6px); box-shadow: 0 16px 48px -12px rgba(0,0,0,0.1); border-color: transparent; }
.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.why-card h5 { font-size: 1.1rem; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.why-card p  { color: #64748b; line-height: 1.75; margin-bottom: 0; font-size: 0.95rem; }

/* ---- Programs (Branch) ---- */
.programs-section { padding: 80px 0; background: #f8fafc; }

.program-theme-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}
.program-theme-card:hover      { transform: translateY(-6px); box-shadow: 0 20px 48px -12px rgba(0,0,0,0.1); border-color: var(--primary-color); }
.program-theme-card .card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.program-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(var(--bs-primary-rgb,59,130,246),0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 16px;
}
.program-icon-box i { font-size: 1.3rem; color: var(--primary-color); }

.program-theme-card h4       { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.program-theme-card h4 a     { color: #1e293b; text-decoration: none; transition: color 0.2s; }
.program-theme-card h4 a:hover { color: var(--primary-color); }

/* Program meta (branch — stats row inside .program-theme-card) */
.program-theme-card .program-meta {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.program-meta-item {
    flex: 1;
    text-align: center;
    padding: 10px 6px;
    background: #f8fafc;
    border-right: 1px solid #f1f5f9;
}
.program-meta-item:last-child { border-right: none; }
.program-meta-item .pm-num   { font-size: 0.95rem; font-weight: 800; color: var(--primary-color); display: block; line-height: 1; margin-bottom: 3px; }
.program-meta-item .pm-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #94a3b8; }

.program-theme-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s;
    margin-top: auto;
}
.program-theme-btn:hover   { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.program-theme-btn i       { margin-left: 6px; transition: transform 0.2s; }
.program-theme-btn:hover i { transform: translateX(4px); }

/* ---- Colleges (Branch) ---- */
.colleges-section { padding: 80px 0; background: #fff; }
.college-theme-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}
.college-theme-card:hover      { transform: translateY(-6px); box-shadow: 0 20px 48px -12px rgba(0,0,0,0.1); border-color: var(--primary-color); }
.college-theme-card .card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.college-theme-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(var(--bs-primary-rgb,59,130,246),0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.college-theme-icon i { font-size: 1.3rem; color: var(--primary-color); }

.college-theme-card h4       { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.college-theme-card h4 a     { color: #1e293b; text-decoration: none; transition: color 0.2s; }
.college-theme-card h4 a:hover { color: var(--primary-color); }

.college-stats-row {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.college-stat-item             { flex: 1; text-align: center; padding: 12px 8px; background: #f8fafc; border-right: 1px solid #f1f5f9; }
.college-stat-item:last-child  { border-right: none; }
.college-stat-item .cs-num    { font-size: 1.15rem; font-weight: 800; color: var(--primary-color); display: block; line-height: 1; margin-bottom: 4px; }
.college-stat-item .cs-label  { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #94a3b8; }

.college-theme-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s;
    margin-top: auto;
}
.college-theme-btn:hover   { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.college-theme-btn i       { margin-left: 6px; transition: transform 0.2s; }
.college-theme-btn:hover i { transform: translateX(4px); }

/* ---- Admission Steps (Branch) ---- */
.admission-section { padding: 80px 0; background: #f8fafc; }
.step-theme-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    border: 1px solid #e8ecf1;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.step-theme-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px -12px rgba(0,0,0,0.1); border-color: transparent; }
.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 16px;
}
.step-theme-card h5 { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.step-theme-card p  { color: #64748b; line-height: 1.75; margin-bottom: 0; font-size: 0.92rem; }

/* ---- How to Apply (Branch) ---- */
.how-apply-section { padding: 80px 0; background: #fff; }

/* ---- CTA Banner (Branch) ---- */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.cta-banner .container { position: relative; z-index: 1; }

.cta-btn {
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.cta-btn-white       { background: #fff; color: var(--primary-color); }
.cta-btn-white:hover { background: #f1f5f9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.cta-btn-outline       { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.cta-btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ---- Gallery (Branch) ---- */
.gallery-section-theme { padding: 80px 0; background: #f8fafc; }
.gallery-theme-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    height: 100%;
    transition: all 0.35s ease;
}
.gallery-theme-card:hover     { transform: translateY(-6px); box-shadow: 0 20px 48px -12px rgba(0,0,0,0.1); border-color: var(--primary-color); }
.gallery-theme-card img       { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-theme-card:hover img { transform: scale(1.05); }
.gallery-theme-card .card-body { padding: 20px; }
.gallery-theme-card h5        { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.gallery-theme-card p         { font-size: 0.88rem; color: #64748b; margin-bottom: 0; line-height: 1.6; }

/* ---- Portal Cards (Branch) ---- */
.portals-section { padding: 80px 0; background: #fff; }
.portal-theme-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    height: 100%;
    transition: all 0.35s ease;
    text-align: center;
    padding: 32px 24px;
    position: relative;
}
.portal-theme-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 14px 14px 0 0; }
.portal-theme-card.student::before { background: var(--primary-color); }
.portal-theme-card.staff::before   { background: var(--secondary-color); }
.portal-theme-card.admin::before   { background: var(--third-color, #bf7955); }
.portal-theme-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px -12px rgba(0,0,0,0.1); border-color: transparent; }

.portal-theme-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.5rem;
    color: #fff;
}
.portal-theme-icon.student-bg { background: linear-gradient(135deg, var(--primary-color), #5b4ac7); }
.portal-theme-icon.staff-bg   { background: linear-gradient(135deg, var(--secondary-color), #e0436d); }
.portal-theme-icon.admin-bg   { background: linear-gradient(135deg, var(--third-color, #bf7955), #d19744); }

.portal-theme-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.portal-theme-card p  { color: #64748b; font-size: 0.92rem; margin-bottom: 16px; }

.portal-login-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s;
    border: 1px solid #e2e8f0;
    color: #475569;
}
.portal-login-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }


/* ==================================================
   3. COLLEGE LANDING PAGE
   ================================================== */

/* ---- College Hero Fallback ---- */
.college-hero-fallback {
    position: relative;
    margin-top: 0;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.college-hero-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}
.college-hero-fallback .hero-inner {
    position: relative;
    z-index: 3;
    padding: 120px 0 80px;
}
.college-hero-fallback .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.15);
}
.college-hero-fallback h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.college-hero-fallback .hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 28px;
}
.college-hero-fallback .btn-hero-primary {
    background: #fff;
    color: var(--primary-color);
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.college-hero-fallback .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--primary-color);
}
.college-hero-fallback .btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 11px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.college-hero-fallback .btn-hero-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ---- About Section (College) ---- */
.college-about { padding: 90px 0; background: #fff; }

.about-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 12px;
}
.about-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 20px;
}
.about-text       { font-size: 1.05rem; line-height: 1.85; color: #475569; }
.about-text p     { margin-bottom: 14px; }

.about-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px -12px rgba(0,0,0,0.14);
}
.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;
}

.about-stats-row         { display: flex; gap: 32px; margin-top: 28px; }
.about-stat-item h4      { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); margin-bottom: 0; }
.about-stat-item span    { font-size: 0.85rem; font-weight: 500; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Mission / Vision / Values (College) ---- */
.mvv-section { padding: 90px 0; background: #f8fafc; }

.mvv-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px;
    height: 100%;
    border: 1px solid #e8ecf1;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.mvv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 14px 14px 0 0; }
.mvv-card.mission::before { background: var(--primary-color); }
.mvv-card.vision::before  { background: var(--secondary-color); }
.mvv-card.values::before  { background: var(--third-color, #bf7955); }
.mvv-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px -12px rgba(0,0,0,0.1); border-color: transparent; }

.mvv-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #fff;
}
.mvv-icon.mission-bg { background: linear-gradient(135deg, var(--primary-color), #5b4ac7); }
.mvv-icon.vision-bg  { background: linear-gradient(135deg, var(--secondary-color), #e0436d); }
.mvv-icon.values-bg  { background: linear-gradient(135deg, var(--third-color, #bf7955), #d19744); }

.mvv-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--primary-color); margin-bottom: 12px; }
.mvv-card p  { color: #64748b; line-height: 1.75; margin-bottom: 0; font-size: 0.98rem; }

/* ---- Programs (College — overrides .programs-section bg) ---- */
.college-about ~ .programs-section,
.mvv-section ~ .programs-section {
    padding: 90px 0;
    background: #fff;
}

.program-grid-card {
    background: #fff;
    border-radius: 14px;
    padding: 0;
    height: 100%;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    transition: all 0.35s ease;
}
.program-grid-card:hover { border-color: var(--primary-color); transform: translateY(-6px); box-shadow: 0 16px 48px -12px rgba(0,0,0,0.1); }

.program-grid-card .card-top {
    padding: 28px 24px 20px;
    border-bottom: 1px solid #f1f5f9;
}
.program-grid-card .program-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(46, 28, 123, 0.08);
    color: var(--primary-color);
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.program-grid-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.35;
}
.program-grid-card .card-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.program-grid-card .card-bottom {
    padding: 16px 24px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Program meta (college — inline compact label inside .program-grid-card) */
.program-grid-card .program-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}
.program-grid-card .program-meta i { color: var(--primary-color); font-size: 0.78rem; }

/* ---- Departments (College) ---- */
.departments-section { padding: 90px 0; background: #f8fafc; }

.dept-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    border: 1px solid #e8ecf1;
    transition: all 0.35s ease;
    position: relative;
}
.dept-card:hover { border-color: var(--primary-color); transform: translateY(-5px); box-shadow: 0 14px 40px -10px rgba(0,0,0,0.1); }

.dept-icon-box {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.dept-card h5 { font-size: 1.1rem; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.dept-card .dept-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dept-meta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.dept-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}
.dept-meta-badge i { color: var(--primary-color); font-size: 0.72rem; }

/* ---- Features Split (College) ---- */
.features-split {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}
.features-split::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath fill-rule='evenodd' d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E") repeat;
}
.features-split .container { position: relative; z-index: 2; }

.features-col-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-glass-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s ease;
}
.feature-glass-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }

.feature-glass-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
    color: #fff;
}
.feature-glass-card h6 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.feature-glass-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.82); line-height: 1.65; margin-bottom: 0; }

/* ---- Benefits (College) ---- */
.benefits-section { padding: 90px 0; background: #fff; }

.benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
}
.benefit-row:hover { box-shadow: 0 8px 28px -8px rgba(0,0,0,0.08); border-color: var(--primary-color); transform: translateX(4px); }

.benefit-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}
.benefit-row h6 { font-size: 1rem; font-weight: 700; color: var(--primary-color); margin-bottom: 3px; }
.benefit-row p  { font-size: 0.9rem; color: #64748b; margin-bottom: 0; line-height: 1.6; }

/* ---- Leadership (College) ---- */
.leadership-section { padding: 90px 0; background: #f8fafc; }

/* ---- Admission Tabs (College) ---- */
.admission-tabs-section { padding: 90px 0; background: #fff; }

.tabs-nav {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}
.tabs-nav .nav-link {
    border-radius: 8px;
    padding: 10px 18px;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    border: none;
    background: transparent;
}
.tabs-nav .nav-link:hover  { background: #fff; color: var(--primary-color); }
.tabs-nav .nav-link.active { background: var(--primary-color); color: #fff; box-shadow: 0 4px 14px -3px rgba(0,0,0,0.2); }

.tab-pane-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px;
    margin-top: 24px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 6px 24px -10px rgba(0,0,0,0.06);
}
.tab-pane-card h4       { color: var(--primary-color); font-weight: 700; margin-bottom: 20px; font-size: 1.25rem; }
.tab-pane-card ul       { list-style: none; padding: 0; margin: 0; }
.tab-pane-card ul li    { padding: 10px 0; border-bottom: 1px solid #f1f5f9; display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: #475569; }
.tab-pane-card ul li:last-child { border-bottom: none; }
.tab-pane-card ul li i  { color: var(--primary-color); margin-top: 4px; flex-shrink: 0; }

/* ---- Section Header Utility (College) ---- */
.section-header             { margin-bottom: 48px; }
.section-header .section-title    { margin-bottom: 10px; }
.section-header .section-subtitle { max-width: 640px; margin: 0 auto; }


/* ==================================================
   4. DEPARTMENT LANDING PAGE
   ================================================== */

/* ---- Department Hero Slider ---- */
.dept-hero-section {
    margin-top: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
}
.dept-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.dept-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.dept-hero-slide.active { opacity: 1; }

.dept-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* ---- Staff Section & Filters (Department) ---- */
.dept-staff-section { background: #f8fafc; padding: 90px 0; }

.staff-filter-tabs {
    display: inline-flex;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf1;
}
.staff-filter-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
}
.staff-filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.staff-filter-btn:hover:not(.active) { background: #f1f5f9; color: #1e293b; }


/* ==================================================
   5. COLLEGE-LANDING LIST PAGE
   ================================================== */

/* ---- College Listing Cards ---- */
.college-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}
.college-card:hover       { transform: translateY(-6px); box-shadow: 0 20px 48px -12px rgba(0,0,0,0.1); border-color: var(--primary-color); }
.college-card-body        { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.college-header           { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.college-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(var(--bs-primary-rgb,59,130,246),0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.college-icon-box i               { font-size: 1.3rem; color: var(--primary-color); }
.college-header h4                { font-size: 1.1rem; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.college-header h4 a              { color: #1e293b; text-decoration: none; transition: color 0.2s; }
.college-header h4 a:hover        { color: var(--primary-color); }
.college-header .college-location { font-size: 0.82rem; color: #94a3b8; }
.college-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.college-btn       { display: block; width: 100%; text-align: center; padding: 11px 20px; border-radius: 10px; border: 1px solid #e2e8f0; color: #475569; font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: all 0.25s; margin-top: auto; }
.college-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.college-btn i       { margin-left: 6px; transition: transform 0.2s; }
.college-btn:hover i { transform: translateX(4px); }


/* ==================================================
   6. DEPARTMENT-LANDING LIST PAGE
   ================================================== */

.department-card       { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.department-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important; }
.department-icon {
    width: 45px;
    height: 45px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ==================================================
   7. BRANCH HOME LANDING — Section Redesigns
   ================================================== */

/* ---- MVV Section (Branch Landing — scoped to avoid college MVV conflicts) ---- */
.branch-mvv {
    padding: 80px 0;
}
.branch-mvv .mvv-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.branch-mvv .mvv-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.mvv-divider {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
}
.branch-mvv .mvv-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    position: relative;
    padding: 0;
    border: none;
}
.branch-mvv .mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: transparent;
}
.mvv-card-accent { height: 6px; }
.mvv-accent-primary  { background: linear-gradient(90deg, var(--primary-color), var(--third-color)); }
.mvv-accent-secondary { background: linear-gradient(90deg, var(--secondary-color), var(--third-color)); }
.mvv-card-body { padding: 32px; }
.mvv-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #fff;
}
.mvv-icon-primary  { background: var(--primary-color); }
.mvv-icon-secondary { background: var(--secondary-color); }
.mvv-card-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
}
.mvv-card-body p {
    font-size: 0.97rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

.mvv-values-wrapper {
    margin-top: 48px;
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
}
.mvv-values-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.mvv-values-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 28px;
}
.mvv-values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.mvv-value-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(46,28,123,0.06), rgba(157,34,53,0.06));
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
}
.mvv-value-chip i {
    color: var(--primary-color);
    font-size: 0.85rem;
}
.mvv-value-chip:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(46,28,123,0.1), rgba(157,34,53,0.1));
    transform: translateY(-2px);
}

/* ---- Info Cards Section ---- */
.info-section {
    padding: 80px 0;
    background: #fff;
}
.info-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.info-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.info-section-header p {
    font-size: 0.97rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
}
.info-tile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}
.info-tile:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.info-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
}
.info-tile-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.info-tile-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 18px;
}
.info-tile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.2s ease;
    margin-top: auto;
}
.info-tile-link:hover {
    gap: 10px;
    color: var(--secondary-color);
}

/* ---- News Section ---- */
.news-section {
    padding: 80px 0;
    background: #f8fafc;
}
.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.news-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.news-section-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}
.news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}
.news-view-all:hover {
    background: var(--primary-color);
    color: #fff;
}
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.news-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e8ecf1;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.news-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}
.news-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
.news-card-img-placeholder i {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.4);
}
.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.news-card-date {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-card-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(46,28,123,0.08);
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .news-card-title {
    color: var(--primary-color);
}
.news-card-excerpt {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-read {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: gap 0.2s ease;
}
.news-card:hover .news-card-read {
    gap: 10px;
}
.news-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.news-empty i {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
}

/* ---- Campus / Branches Section ---- */
.campus-section {
    padding: 80px 0;
    background: #fff;
}
.campus-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.campus-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.campus-section-header p {
    font-size: 0.97rem;
    color: #64748b;
    margin-bottom: 16px;
}
.campus-divider {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
}
.campus-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: all 0.25s ease;
}
.campus-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.campus-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.campus-logo-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
    overflow: hidden;
}
.campus-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.campus-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 2px;
    line-height: 1.3;
}
.campus-type {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.campus-location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}
.campus-location i {
    color: var(--secondary-color);
    margin-right: 4px;
}
.campus-stats-row {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}
.campus-stat {
    flex: 1;
    text-align: center;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 14px 8px;
}
.campus-stat-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}
.campus-stat-lbl {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.campus-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}
.campus-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.campus-btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.campus-children {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.campus-children-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 10px;
}
.campus-child-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    margin-bottom: 6px;
}
.campus-child-name {
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
}
.campus-child-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.2s ease;
}
.campus-child-link:hover {
    background: var(--primary-color);
    color: #fff;
}
.campus-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.campus-empty i {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
}
.campus-empty h4 {
    color: #64748b;
    margin-bottom: 8px;
}

/* ---- Site Footer ---- */
.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1050 100%);
    color: #fff;
    padding: 64px 0 0;
    position: relative;
}
.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.footer-about {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-socials {
    display: flex;
    gap: 8px;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.footer-socials a:hover {
    background: var(--third-color);
    color: #fff;
    transform: translateY(-2px);
}
.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-links a:hover {
    color: var(--third-color);
    padding-left: 4px;
}
.footer-map {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.footer-map-link {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-map-link:hover {
    color: var(--third-color);
}
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.footer-bottom-contact {
    display: flex;
    gap: 20px;
}
.footer-bottom-contact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}


/* ==================================================
   8. RESPONSIVE
   ================================================== */

/* Shared — Staff cards */
@media (max-width: 575px) {
    .staff-photo-card  { height: 280px; }
    .staff-name        { font-size: 0.88rem; }
    .staff-designation { font-size: 0.72rem; }
}

/* Branch — Hero */
@media (max-width: 767px) {
    .page-hero h1   { font-size: 2rem; }
    .hero-stats     { flex-direction: column; gap: 10px; }
    .hero-actions   { flex-direction: column; }
}

/* Department — Hero */
@media (max-width: 768px) {
    .dept-hero-section { min-height: 400px; }
}

/* College — Layout */
@media (max-width: 991px) {
    .college-hero-fallback h1 { font-size: 2.4rem; }
    .about-stats-row          { gap: 20px; }
    .about-stat-item h4       { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .college-hero-fallback             { min-height: 440px; }
    .college-hero-fallback h1          { font-size: 2rem; }
    .college-hero-fallback .hero-inner { padding: 100px 0 60px; }
    .tabs-nav                          { flex-direction: column; }
    .tabs-nav .nav-link                { text-align: center; }
    .about-stats-row                   { flex-direction: column; gap: 12px; }
}

/* Branch Home Landing — Sections */
@media (max-width: 768px) {
    .branch-mvv { padding: 48px 0; }
    .mvv-card-body { padding: 24px; }
    .mvv-values-wrapper { padding: 28px 20px; }
    .info-section { padding: 48px 0; }
    .news-section { padding: 48px 0; }
    .news-card-img { height: 160px; }
    .campus-section { padding: 48px 0; }
    .campus-card { padding: 24px; }
    .campus-stats-row { gap: 6px; }
    .site-footer { padding: 40px 0 0; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-contact { flex-direction: column; gap: 4px; }
}

/* ===== Org Chart Hierarchy ===== */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.org-card-wrapper {
    position: relative;
    z-index: 2;
}

.org-card-wrapper .staff-photo-card {
    height: 300px;
}

.org-node-hod .org-card-wrapper .staff-photo-card {
    height: 360px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 3px solid var(--primary-color);
}

/* Vertical connector line from parent to children group */
.org-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    position: relative;
    z-index: 1;
}

/* Children container */
.org-children {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    position: relative;
    padding-top: 32px;
}

/* Horizontal connector rail across children */
.org-children::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color) 10%, var(--primary-color) 90%, transparent);
}

/* Vertical connector from rail down to each child */
.org-children > .org-node::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 50%;
    width: 2px;
    height: 32px;
    background: var(--primary-color);
}

/* Hide horizontal rail when only one child */
.org-children:has(> .org-node:only-child)::before {
    display: none;
}

/* Single child just gets a straight line down (already handled by org-connector) */
.org-children > .org-node:only-child::before {
    left: 50%;
}

/* Depth-based sizing */
.org-node.depth-0 > .org-card-wrapper {
    min-width: 260px;
    max-width: 320px;
}
.org-node.depth-1 > .org-card-wrapper {
    min-width: 220px;
    max-width: 260px;
}
.org-node.depth-1 > .org-card-wrapper .staff-photo-card {
    height: 270px;
}
.org-node.depth-2 > .org-card-wrapper {
    min-width: 180px;
    max-width: 220px;
}
.org-node.depth-2 > .org-card-wrapper .staff-photo-card {
    height: 240px;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 768px) {
    .org-children {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding-top: 20px;
    }
    .org-children::before {
        display: none;
    }
    .org-children > .org-node::before {
        top: -20px;
        height: 20px;
    }
    .org-connector {
        height: 20px;
    }
    .org-node.depth-0 > .org-card-wrapper,
    .org-node.depth-1 > .org-card-wrapper,
    .org-node.depth-2 > .org-card-wrapper {
        min-width: 200px;
        max-width: 280px;
    }
    .org-node-hod .org-card-wrapper .staff-photo-card,
    .org-card-wrapper .staff-photo-card {
        height: 280px;
    }
}
