:root {
    --primary: #6f42c1;
    --primary-dark: #5a32a3;
    --primary-light: #8b5dd4;
    --accent: #d32f2f;
    --accent-dark: #b71c1c;
    --dark-bg: #1a1a2e;
    --card-bg: #ffffff;
    --body-bg: #f8f9fc;
    --text-dark: #1e1e2f;
    --text-muted: #6c757d;
    --gold: #f5a623;
    --success: #28a745;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--body-bg); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: var(--transition); }

.navbar { padding: 0.6rem 0; backdrop-filter: blur(12px); background: rgba(255,255,255,0.95) !important; border-bottom: 1px solid rgba(111,66,193,0.08); }
.navbar-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--primary) !important; display: flex; align-items: center; gap: 0.5rem; }
.navbar-brand .logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; font-family: 'Playfair Display', serif; }
.navbar .nav-link { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.88rem; color: var(--text-dark) !important; padding: 0.5rem 0.7rem !important; position: relative; transition: var(--transition); }
.navbar .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2.5px; background: var(--accent); transition: var(--transition); transform: translateX(-50%); border-radius: 2px; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { width: 70%; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary) !important; }
.btn-enquire { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff !important; border: none; border-radius: 50px; padding: 0.5rem 1.4rem; font-weight: 600; font-size: 0.85rem; transition: var(--transition); box-shadow: 0 4px 15px rgba(211,47,47,0.3); }
.btn-enquire:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(211,47,47,0.45); color: #fff !important; }

.hero-section { background: linear-gradient(135deg, rgba(26,26,46,0.92), rgba(111,66,193,0.88)); color: #fff; min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%); border-radius: 50%; animation: heroPulse 6s ease-in-out infinite; }
.hero-section::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(111,66,193,0.2) 0%, transparent 70%); border-radius: 50%; animation: heroPulse 8s ease-in-out infinite reverse; }
@keyframes heroPulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 1; } }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; padding: 0.4rem 1.2rem; font-size: 0.85rem; backdrop-filter: blur(8px); margin-bottom: 1.5rem; animation: fadeInDown 0.8s ease; }
.hero-title { font-size: 3.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 1rem; animation: fadeInUp 0.8s ease 0.2s both; }
.hero-subtitle { font-size: 1.3rem; opacity: 0.9; margin-bottom: 2rem; animation: fadeInUp 0.8s ease 0.4s both; }
.hero-stats { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; animation: fadeInUp 0.8s ease 0.8s both; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2.2rem; font-weight: 700; color: var(--gold); display: block; font-family: 'Playfair Display', serif; }
.hero-stat .label { font-size: 0.8rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 1px; }
.btn-hero-primary { background: linear-gradient(135deg, var(--gold), #e8941e); color: var(--text-dark) !important; border: none; padding: 0.85rem 2.2rem; border-radius: 50px; font-weight: 700; font-size: 1rem; transition: var(--transition); box-shadow: 0 6px 20px rgba(245,166,35,0.4); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(245,166,35,0.55); color: var(--text-dark) !important; }
.btn-hero-outline { border: 2px solid rgba(255,255,255,0.5); color: #fff !important; padding: 0.85rem 2.2rem; border-radius: 50px; font-weight: 600; font-size: 1rem; background: transparent; transition: var(--transition); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff !important; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.section-padding { padding: 5rem 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; position: relative; display: inline-block; margin-bottom: 1rem; }
.section-title::after { content: ''; position: absolute; width: 60px; height: 3.5px; background: linear-gradient(90deg, var(--accent), var(--primary)); bottom: -10px; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 1.5rem auto 0; }

.feature-card { background: var(--card-bg); border-radius: var(--radius); padding: 2rem 1.5rem; border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); height: 100%; text-align: center; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(111,66,193,0.15); }
.feature-card .icon-wrap { width: 65px; height: 65px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; font-size: 1.5rem; background: linear-gradient(135deg, rgba(111,66,193,0.1), rgba(111,66,193,0.05)); color: var(--primary); transition: var(--transition); }
.feature-card:hover .icon-wrap { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; transform: scale(1.1); }
.feature-card h5 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

.program-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; border: 1px solid rgba(0,0,0,0.06); }
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.program-card .card-header { padding: 1.2rem 1.5rem; font-weight: 700; font-size: 1.1rem; font-family: 'Playfair Display', serif; letter-spacing: 0.5px; border: none; }
.program-card .card-header.history-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.program-card .card-header.gs-header { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.program-card .list-group-item { border-color: rgba(0,0,0,0.05); padding: 0.85rem 1.5rem; font-size: 0.92rem; transition: var(--transition); }
.program-card .list-group-item:hover { background: rgba(111,66,193,0.04); padding-left: 1.8rem; }
.program-card .list-group-item i { color: var(--success); margin-right: 0.5rem; }

.founder-section { background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%); }
.founder-card { background: var(--card-bg); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-md); border-left: 4px solid var(--primary); }
.founder-card .lead { color: var(--primary); font-weight: 600; }
.founder-img-wrap { position: relative; }
.founder-img-wrap .img-placeholder { width: 100%; max-width: 300px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 4rem; margin: 0 auto; box-shadow: 0 15px 40px rgba(111,66,193,0.3); border: 5px solid rgba(255,255,255,0.8); }
.founder-profile-img { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; object-position: top center; border-radius: 50%; margin: 0 auto; display: block; box-shadow: 0 15px 40px rgba(111,66,193,0.3); border: 5px solid rgba(255,255,255,0.8); }

.accordion-item { border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius) !important; margin-bottom: 0.8rem; overflow: hidden; }
.accordion-button { font-weight: 600; font-family: 'Inter', sans-serif; padding: 1.1rem 1.5rem; font-size: 1rem; }
.accordion-button:not(.collapsed) { background: linear-gradient(135deg, rgba(111,66,193,0.08), rgba(111,66,193,0.03)); color: var(--primary); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

.faculty-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: 1px solid rgba(0,0,0,0.06); text-align: center; }
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.faculty-card .img-placeholder { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, var(--primary-light), var(--primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.5rem; }
.faculty-card .card-body { padding: 1.2rem; }
.faculty-card h6 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; }

.testimonial-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); height: 100%; position: relative; }
.testimonial-card::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 4rem; color: rgba(111,66,193,0.12); position: absolute; top: 0.2rem; left: 1rem; line-height: 1; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-card p { font-style: italic; color: var(--text-muted); position: relative; z-index: 1; }

.table-styled thead th { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-weight: 600; padding: 0.9rem; font-size: 0.92rem; border: none; }
.table-styled tbody td { padding: 0.85rem; font-size: 0.9rem; vertical-align: middle; }
.table-styled tbody tr { transition: var(--transition); }
.table-styled tbody tr:hover { background: rgba(111,66,193,0.04); }

.contact-section { background: #fff; }
.form-control { border-radius: var(--radius); padding: 0.85rem 1.2rem; border: 1.5px solid rgba(0,0,0,0.1); font-size: 0.92rem; transition: var(--transition); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(111,66,193,0.12); }
.btn-submit { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border: none; border-radius: 50px; padding: 0.85rem 2.5rem; font-weight: 600; font-size: 1rem; transition: var(--transition); box-shadow: 0 4px 15px rgba(211,47,47,0.3); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(211,47,47,0.45); color: #fff; }
.contact-info-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius); padding: 2.5rem; height: 100%; }
.contact-info-card h4 { color: #fff; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item .icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }

.site-footer { background: var(--dark-bg); color: rgba(255,255,255,0.8); padding: 4rem 0 1.5rem; }
.site-footer h5, .site-footer h6 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 1.2rem; }
.site-footer a { color: rgba(255,255,255,0.6); display: block; padding: 0.25rem 0; font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; margin-top: 2.5rem; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.social-icons a { display: inline-flex !important; width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: #fff !important; margin-right: 0.5rem; transition: var(--transition); font-size: 0.95rem; }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }

.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1000; border: none; cursor: pointer; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

@media (max-width: 1199.98px) { .navbar .nav-link { font-size: 0.82rem; padding: 0.5rem 0.5rem !important; } }
@media (max-width: 991.98px) {
    .navbar-collapse { background: #fff; border-radius: var(--radius); padding: 1rem; margin-top: 0.5rem; box-shadow: var(--shadow-md); }
    .navbar .nav-link { padding: 0.7rem 1rem !important; font-size: 0.95rem; border-bottom: 1px solid rgba(0,0,0,0.04); }
    .navbar .nav-link::after { display: none; }
    .btn-enquire { margin: 0.8rem 0 0 0; width: 100%; text-align: center; display: block; }
    .hero-title { font-size: 2.4rem; } .hero-subtitle { font-size: 1.1rem; }
    .hero-stats { gap: 1.5rem; } .hero-stat .number { font-size: 1.8rem; }
    .section-padding { padding: 3.5rem 0; } .section-title { font-size: 1.8rem; }
    .founder-card { padding: 1.8rem; } .founder-img-wrap { margin-top: 2rem; }
}
@media (max-width: 767.98px) {
    .hero-section { min-height: auto; padding: 6rem 0 4rem; }
    .hero-title { font-size: 2rem; } .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 1rem; } .hero-stat .number { font-size: 1.6rem; } .hero-stat .label { font-size: 0.7rem; }
    .btn-hero-primary, .btn-hero-outline { display: block; width: 100%; text-align: center; }
    .section-padding { padding: 3rem 0; } .section-title { font-size: 1.6rem; } .section-subtitle { font-size: 0.95rem; }
    .founder-card { padding: 1.5rem; } .founder-img-wrap .img-placeholder { max-width: 200px; font-size: 3rem; }
    .contact-info-card { margin-top: 2rem; padding: 1.8rem; }
}
@media (max-width: 575.98px) {
    .navbar-brand { font-size: 1.2rem; } .navbar-brand .logo-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .hero-title { font-size: 1.7rem; } .hero-badge { font-size: 0.75rem; padding: 0.3rem 1rem; }
    .feature-card { padding: 1.5rem 1.2rem; } .feature-card .icon-wrap { width: 55px; height: 55px; font-size: 1.3rem; }
    .table-styled { font-size: 0.82rem; } .table-styled thead th, .table-styled tbody td { padding: 0.6rem 0.5rem; }
}

/* ========== PAGE BANNER ========== */
.page-banner { background: linear-gradient(135deg, rgba(26,26,46,0.92), rgba(111,66,193,0.88)); color: #fff; padding: 8rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; top: -40%; right: -15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%); border-radius: 50%; }
.page-banner h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 0.5rem; animation: fadeInUp 0.6s ease; }
.page-banner .lead { font-size: 1.15rem; opacity: 0.85; animation: fadeInUp 0.6s ease 0.15s both; }
.page-banner .breadcrumb { background: none; justify-content: center; margin-top: 1.2rem; animation: fadeInUp 0.6s ease 0.3s both; }
.page-banner .breadcrumb-item a { color: var(--gold); }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ========== SECTION LABEL ========== */
.section-label { display: inline-block; background: linear-gradient(135deg, rgba(111,66,193,0.1), rgba(111,66,193,0.05)); color: var(--primary); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.8rem; }

/* ========== ABOUT PAGE ========== */
.about-image-block { position: relative; }
.about-img-placeholder { width: 100%; max-width: 400px; aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 4rem; margin: 0 auto; box-shadow: var(--shadow-lg); }
.about-img-placeholder span { font-size: 1.1rem; margin-top: 0.5rem; font-weight: 600; }
.about-floating-card { position: absolute; bottom: -20px; right: 10px; background: #fff; padding: 1.2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-md); text-align: center; border-left: 4px solid var(--gold); }
.about-floating-card .floating-number { font-size: 2.2rem; font-weight: 700; color: var(--primary); font-family: 'Playfair Display', serif; line-height: 1; }
.about-floating-card .floating-text { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.vision-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); height: 100%; transition: var(--transition); }
.vision-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vision-card .vision-icon { width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.vision-card h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 1rem; }
.vision-card p { color: var(--text-muted); line-height: 1.8; }

.content-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary); }
.content-card p { line-height: 1.9; color: #444; margin-bottom: 1rem; }

/* ========== STATS ========== */
.stats-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.stat-box { padding: 2rem 1rem; }
.stat-number { font-size: 2.8rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--gold); }
.stat-label { font-size: 0.85rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

/* ========== FOUNDER PAGE ========== */
.founder-profile-wrap { padding: 2rem 0; }
.credential-badge { display: inline-block; background: rgba(111,66,193,0.08); color: var(--primary); padding: 0.35rem 0.9rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; margin: 0.3rem 0.2rem; }
.founder-message-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-md); border-left: 4px solid var(--primary); position: relative; }
.founder-message-card .quote-icon { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; color: rgba(111,66,193,0.1); }
.founder-message-card p { line-height: 1.9; color: #444; }
.founder-signature { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.08); }

/* ========== TIMELINE ========== */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 2rem 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--primary), var(--gold)); transform: translateX(-50%); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 3rem; display: flex; align-items: center; }
.timeline-item.left { flex-direction: row; }
.timeline-item.right { flex-direction: row-reverse; }
.timeline-content { width: 42%; background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); }
.timeline-content:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.timeline-year { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 0.2rem 0.8rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.timeline-content h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.5rem; }
.timeline-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.timeline-icon { position: absolute; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #e8941e); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 2; box-shadow: 0 4px 12px rgba(245,166,35,0.4); }

/* ========== SYLLABUS PAGE ========== */
.paper-format-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); text-align: center; height: 100%; transition: var(--transition); }
.paper-format-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.paper-format-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.paper-stage { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.paper-format-card h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 1.2rem; }
.paper-details { text-align: left; }
.detail-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.9rem; }
.detail-row span { color: var(--text-muted); }
.detail-row strong { color: var(--text-dark); }
.paper-nature { display: inline-block; background: rgba(111,66,193,0.08); color: var(--primary); padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; margin-top: 1.2rem; }
.syllabus-list { list-style: none; padding: 0; }
.syllabus-list li { padding: 0.7rem 0 0.7rem 1.8rem; border-bottom: 1px solid rgba(0,0,0,0.05); position: relative; font-size: 0.95rem; line-height: 1.6; }
.syllabus-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--success); }
.syllabus-body p { line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; padding-bottom: 0.8rem; border-bottom: 1px solid rgba(0,0,0,0.04); }
.syllabus-body p strong { color: var(--primary); }

/* ========== TOPPERS PAGE ========== */
.topper-featured-card { background: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); height: 100%; position: relative; overflow: hidden; }
.topper-featured-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.topper-rank-badge { position: absolute; top: 1rem; right: 1rem; background: linear-gradient(135deg, var(--gold), #e8941e); color: #fff; padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }
.topper-avatar { width: 100px; height: 100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2rem; font-weight: 700; margin: 0 auto 1.2rem; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.topper-featured-card h4 { color: var(--primary); font-size: 1.15rem; }
.topper-service { display: inline-block; background: rgba(111,66,193,0.08); color: var(--primary); padding: 0.2rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; margin-bottom: 0.8rem; }
.topper-featured-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.topper-card-avatar { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.topper-avatar-img { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto 1.2rem; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.topper-avatar-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.topper-card-avatar-img { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; margin-bottom: 1rem; }
.topper-card-avatar-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ========== FACULTY SLIDER (HOMEPAGE) ========== */
.faculty-slider-section { background: linear-gradient(180deg, #f0eef8 0%, #f8f9fc 100%); position: relative; }
.faculty-slider-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary)); }

.faculty-slider-wrap { position: relative; padding: 0 3rem; }
.faculty-slider-viewport { overflow: hidden; border-radius: var(--radius); }
.faculty-slider-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.faculty-slide { flex: 0 0 25%; padding: 0 0.6rem; box-sizing: border-box; }

/* Light theme cards */
.faculty-slide-card { background: rgba(255,255,255,0.06); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; text-align: center; transition: var(--transition); height: 100%; }
.faculty-slide-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.faculty-slide-card.light { background: #fff; border: 1px solid rgba(0,0,0,0.06); box-shadow: var(--shadow-sm); }
.faculty-slide-card.light:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.slide-avatar { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.5rem; font-weight: 700; }
.slide-avatar-img { width: 100%; aspect-ratio: 1; overflow: hidden; }
.slide-avatar-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: var(--transition); }
.faculty-slide-card:hover .slide-avatar-img img { transform: scale(1.05); }
.slide-info { padding: 1.2rem; }
.slide-info h5 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.slide-subject { color: var(--gold); font-size: 0.82rem; font-weight: 600; display: block; margin-bottom: 0.5rem; }
.slide-desc { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-bottom: 0.5rem; line-height: 1.5; }
.slide-quals { text-align: left; }
.slide-quals span { display: block; color: rgba(255,255,255,0.5); font-size: 0.75rem; padding: 0.15rem 0; }
.slide-quals span i { color: var(--gold); font-size: 0.65rem; }

/* Light theme text overrides */
.faculty-slide-card.light .slide-info h5 { color: var(--text-dark); }
.faculty-slide-card.light .slide-subject { color: var(--primary); }
.faculty-slide-card.light .slide-desc { color: var(--text-muted); }
.faculty-slide-card.light .slide-quals span { color: var(--success); }
.faculty-slide-card.light .slide-quals span i { color: var(--success); }

/* Slider arrows */
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 5; backdrop-filter: blur(8px); }
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-arrow.light { background: #fff; border: 1px solid rgba(0,0,0,0.1); color: var(--primary); box-shadow: var(--shadow-sm); }
.slider-arrow.light:hover { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--shadow-md); }
.slider-prev { left: 0; }
.slider-next { right: 0; }

/* Slider dots */
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.slider-dot.active { background: var(--gold); transform: scale(1.3); }
.slider-dots.light .slider-dot { background: rgba(111,66,193,0.15); }
.slider-dots.light .slider-dot.active { background: var(--primary); }

/* ========== YOUTUBE VIDEO SECTION ========== */
.yt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.yt-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); }
.yt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.yt-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.yt-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.yt-info { padding: 1rem 1.2rem; }
.yt-info h6 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem; margin: 0; color: var(--text-dark); line-height: 1.4; }


/* ========== FACULTY PAGE ========== */
.lead-faculty-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.06); }
.lead-faculty-avatar .img-placeholder { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 4rem; margin: 0 auto; box-shadow: 0 15px 40px rgba(111,66,193,0.3); border: 5px solid rgba(255,255,255,0.8); }
.lead-faculty-img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto; display: block; box-shadow: 0 15px 40px rgba(111,66,193,0.3); border: 5px solid rgba(255,255,255,0.8); }
.faculty-qualifications { margin: 1rem 0; }
.qual-badge { display: inline-block; background: rgba(111,66,193,0.08); color: var(--primary); padding: 0.35rem 0.9rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; margin: 0.25rem 0.15rem; }

/* Responsive auto-fit grid for faculty */
.faculty-responsive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.faculty-grid-item { display: flex; }

.faculty-detail-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); width: 100%; text-align: center; display: flex; flex-direction: column; }
.faculty-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.faculty-avatar { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.5rem; font-weight: 700; flex-shrink: 0; }
.faculty-avatar-img { width: 100%; aspect-ratio: 1; overflow: hidden; flex-shrink: 0; }
.faculty-avatar-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: var(--transition); }
.faculty-detail-card:hover .faculty-avatar-img img { transform: scale(1.05); }
.faculty-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.faculty-info h5 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }
.faculty-subject { display: inline-block; color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.6rem; }
.faculty-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.8rem; flex: 1; }
.faculty-quals { text-align: left; }
.qual-tag { display: block; font-size: 0.78rem; color: var(--success); padding: 0.2rem 0; }
.qual-tag i { font-size: 0.7rem; }

/* ========== GALLERY PAGE - MASONRY LAYOUT ========== */
.gallery-filters { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.filter-btn { background: #fff; border: 1.5px solid rgba(0,0,0,0.1); padding: 0.5rem 1.3rem; border-radius: 50px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--text-dark); }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Masonry layout using CSS columns - perfect for A4/tall images */
.gallery-masonry { column-count: 4; column-gap: 1rem; }
.gallery-masonry-item { break-inside: avoid; margin-bottom: 1rem; display: inline-block; width: 100%; }

.gallery-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #f0f0f0; }
.gallery-card img { width: 100%; height: auto; display: block; transition: var(--transition); }
.gallery-placeholder { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,0.8); gap: 0.5rem; }
.gallery-placeholder i { font-size: 2.5rem; }
.gallery-placeholder span { font-size: 0.8rem; font-weight: 500; }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; justify-content: space-between; padding: 1.2rem; }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card:hover img, .gallery-card:hover .gallery-placeholder { transform: scale(1.03); }
.gallery-info h5 { color: #fff; font-size: 0.95rem; margin: 0; }
.gallery-category { color: var(--gold); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; }
.gallery-zoom { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.gallery-zoom:hover { background: var(--primary); }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 10; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.1); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 1.2rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); z-index: 10; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
.lightbox-content { text-align: center; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-content img, .lightbox-img-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-img-wrap { display: flex; align-items: center; justify-content: center; min-height: 200px; }
.lightbox-caption { color: #fff; margin-top: 1rem; font-size: 1.05rem; font-weight: 500; opacity: 0.8; }

/* ========== NEW PAGE RESPONSIVE ========== */
@media (max-width: 1199.98px) {
    .gallery-masonry { column-count: 3; }
    .faculty-responsive-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 991.98px) {
    .page-banner { padding: 7rem 0 3rem; }
    .page-banner h1 { font-size: 2.2rem; }
    .timeline::before { left: 30px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 70px; }
    .timeline-content { width: 100%; }
    .timeline-icon { left: 30px; top: 0; }
    .gallery-masonry { column-count: 3; }
    .lead-faculty-card { padding: 1.8rem; }
    .lead-faculty-avatar { margin-bottom: 1.5rem; }
    .faculty-responsive-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
    .faculty-slider-wrap { padding: 0 2.5rem; }
    .slider-arrow { width: 36px; height: 36px; font-size: 0.9rem; }
}
@media (max-width: 767.98px) {
    .page-banner { padding: 6rem 0 2.5rem; }
    .page-banner h1 { font-size: 1.8rem; }
    .gallery-masonry { column-count: 2; column-gap: 0.8rem; }
    .gallery-masonry-item { margin-bottom: 0.8rem; }
    .about-floating-card { position: static; margin-top: 1rem; display: inline-block; }
    .founder-message-card { padding: 1.5rem; }
    .faculty-responsive-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
    .lead-faculty-img { max-width: 160px; }
    .founder-profile-img { max-width: 200px; }
    .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1rem; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .faculty-slider-wrap { padding: 0 2rem; }
    .slide-info { padding: 1rem; }
    .slide-info h5 { font-size: 0.85rem; }
    .yt-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 575.98px) {
    .page-banner h1 { font-size: 1.5rem; }
    .gallery-masonry { column-count: 2; }
    .stat-number { font-size: 2rem; }
    .faculty-responsive-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; }
    .faculty-info { padding: 1rem; }
    .faculty-info h5 { font-size: 0.9rem; }
    .faculty-desc { font-size: 0.8rem; }
    .filter-btn { padding: 0.4rem 1rem; font-size: 0.8rem; }
    .faculty-slider-wrap { padding: 0 1.5rem; }
    .slider-arrow { width: 30px; height: 30px; font-size: 0.8rem; }
    .founder-profile-img { max-width: 180px; }
}
