/* ============================================================
   LIFEWAY COMPUTERS - COMPLETE STYLESHEET
   Institute Management System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --primary: #0878f7;
  --primary-dark: #0561cc;
  --accent: #ff6b00;
  --accent-dark: #e05a00;
  --red: #e11d48;
  --green: #16a34a;
  --yellow: #f59e0b;
  --bg: #f0f4f8;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 14px;
  --font: 'Poppins', sans-serif;
  --font-display: 'Rajdhani', sans-serif;
  --cen-primary: #0878f7;
  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea, button {
  font-family: var(--font);
  font-size: 14px;
  outline: none;
}
input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 12px;
  display: block;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,120,247,0.12);
  background: #fff;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* ── Page Sections (SPA routing) ────────────────────────── */
.page-section { display: none; }
.active-page { display: block !important; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ─────────────────────────────────────────────── */
.top-header {
  background: #1a1a2e;
  color: #ccc;
  padding: 7px 30px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.top-header span { display: flex; align-items: center; gap: 6px; }
.top-header b { color: #fff; }

.logo-area {
  background: #fff;
  padding: 10px 20px;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Lang Box */
.lang-box-custom {
  display: flex;
  gap: 6px;
  align-items: center;
}
.gflag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #444;
  transition: all var(--transition);
}
.gflag:hover { background: #f0f0f0; }
.gflag img { border-radius: 2px; }

.btn-track-post { transition: all var(--transition) !important; }
.btn-track-post:hover { background: #d0021b !important; color: #fff !important; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 500;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-item {
  color: rgba(255,255,255,0.85);
  padding: 16px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,0.1); }
.drop-icon { font-size: 10px; opacity: 0.6; }

.dropdown { position: relative; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-top: 3px solid var(--primary);
  z-index: 1000;
  animation: dropIn 0.2s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  color: #444;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover {
  background: #f0f7ff;
  color: var(--primary);
  padding-left: 24px;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-blue  { background: var(--primary);  color: #fff; }
.btn-green { background: var(--green);    color: #fff; }
.btn-red   { background: var(--red);      color: #fff; }
.btn-orange{ background: var(--accent);   color: #fff; }

/* ── CARD ────────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ── HERO SLIDER ─────────────────────────────────────────── */
.sg-hero-section {
  position: relative;
  overflow: hidden;
  height: 480px;
}
.sg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.sg-slide.active { opacity: 1; }
.sg-slide-caption {
  position: absolute;
  bottom: 60px;
  left: 60px;
  color: #fff;
  max-width: 500px;
  animation: fadeUp 0.6s ease;
}
.sg-slide-caption h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
.sg-slide-caption p {
  font-size: 1rem;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
@keyframes fadeUp {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  width: 45px; height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition);
  z-index: 10;
}
.slider-btn:hover { background: rgba(255,255,255,0.4); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* ── ONLINE LEARNING SECTION ─────────────────────────────── */
.online-feat-box {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  flex-wrap: wrap;
}
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 260px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.feat-item:hover { border-color: var(--primary); transform: translateX(4px); }
.feat-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #5ba4ff);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.feat-img {
  flex: 1;
  min-width: 200px;
  height: 280px;
  background: linear-gradient(135deg, #0878f7 0%, #5ba4ff 100%);
  border-radius: var(--radius-lg);
  background-image: url('https://images.unsplash.com/photo-1531482615713-2afd69097998?w=600&q=80');
  background-size: cover;
  background-position: center;
}

/* ── ACHIEVEMENTS GRID ───────────────────────────────────── */
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}
.achieve-card {
  padding: 35px 20px;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition);
}
.achieve-card:last-child { border-right: none; }
.achieve-card:hover { background: rgba(255,255,255,0.08); }
.achieve-icon {
  font-size: 2.2rem;
  color: #60a5fa;
  margin-bottom: 12px;
  display: block;
}
.achieve-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.achieve-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 5px;
}

/* ── NEWS LINKS SECTION ──────────────────────────────────── */
.news-links-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 20px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.link-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-btn {
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  text-align: left;
}
.left-style { background: #e8f0fe; color: #1a56db; }
.left-style:hover { background: #1a56db; color: #fff; }
.right-side { background: #fef3c7; color: #92400e; }
.right-side:hover { background: #92400e; color: #fff; }
.quick-icon { width: 18px; }
.quick-link-box { background: #fff; border-radius: 10px; border: 1px solid #f0f0f0; box-shadow: var(--shadow); }

/* ── ACTIVITY SECTION ────────────────────────────────────── */
.activity-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.activity-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.act-header {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.act-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--primary);
}
.act-name { font-weight: 700; font-size: 15px; color: #333; }
.act-desc { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── SECTION TITLE ───────────────────────────────────────── */
.sec-title {
  text-align: center;
  padding: 40px 20px 20px;
}
.sec-title h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
  padding-bottom: 8px;
}

/* ── COURSE CATEGORIES ───────────────────────────────────── */
.course-cat-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
}
.cat-circle {
  width: 120px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition);
}
.cat-circle:hover { transform: translateY(-5px); }
.cat-icon {
  font-size: 2.5rem;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #e8f0fe, #c7d9fd);
  border-radius: 50%;
  line-height: 80px;
  margin: 0 auto 10px;
}
.cat-title { font-size: 12px; font-weight: 600; color: #444; }

/* ── SOCIAL / MEDIA ──────────────────────────────────────── */
.media-bubble {
  width: 80px; height: 80px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.media-bubble:hover { transform: scale(1.15); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

/* ── MODALS ──────────────────────────────────────────────── */
.cen-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}
.cen-modal[style*="flex"] { display: flex !important; }
.cen-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity:0; transform: scale(0.92) translateY(15px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.cen-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 14px;
  background: #f8fafc;
  transition: border-color var(--transition);
  display: block;
}
.cen-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(8,120,247,0.1); }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.abt-banner {
  background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.52)),
              url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1200&q=80') center/cover;
  padding: 90px 20px;
  text-align: center;
  color: #fff;
}
.abt-banner h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.abt-banner p { font-size: 1.1rem; opacity: 0.85; }

.abt-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 40px 0;
}
.abt-sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  height: fit-content;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.abt-menu-item {
  padding: 13px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
}
.abt-menu-item:hover { background: #f0f7ff; color: var(--primary); }
.abt-menu-item.active { background: var(--primary); color: #fff; }
.abt-content { background: #fff; border-radius: 12px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.abt-tab { display: none; }
.abt-tab.active-tab { display: block; }
.abt-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}
.abt-text-block p { line-height: 1.8; color: #555; margin-bottom: 15px; }
.abt-float-img {
  float: right;
  width: 250px;
  border-radius: 10px;
  margin: 0 0 15px 20px;
  box-shadow: var(--shadow-md);
}
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv-card {
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border-top: 4px solid var(--primary);
  text-align: center;
}
.mv-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.mv-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: #333; }
.mv-card p { color: #666; font-size: 14px; line-height: 1.7; }
.dream-box {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  padding: 40px;
  border-radius: 12px;
  position: relative;
}
.dream-quote {
  font-size: 4rem;
  color: rgba(255,255,255,0.15);
  position: absolute;
  top: 20px;
  left: 25px;
}
.dream-text {
  font-size: 1.05rem;
  line-height: 1.9;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.adv-list { padding: 0; }
.adv-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #444;
}
.adv-list li i { color: var(--green); margin-top: 2px; flex-shrink: 0; font-size: 16px; }
.adv-list li:last-child { border-bottom: none; }
.dir-card { display: flex; gap: 25px; }
.dir-card img { width: 160px; border-radius: 10px; object-fit: cover; height: 200px; flex-shrink: 0; }
.dir-content { flex: 1; }
.dir-content h3 { font-size: 1.3rem; font-weight: 700; color: #333; margin-bottom: 4px; }
.dir-pos { color: var(--primary); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.team-card {
  text-align: center;
  background: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-img-box { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; border: 3px solid var(--primary); }
.team-img-box img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 4px; }
.team-card p { font-size: 11px; color: var(--text-muted); }

/* ── COURSES PAGE ────────────────────────────────────────── */
/* (course cards are rendered via JS) */

/* ── DOWNLOADS / RESOURCES ───────────────────────────────── */
.res-banner {
  background: linear-gradient(135deg, #0878f7, #0561cc);
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}
.res-banner h1 { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 10px; }
.res-banner p { opacity: 0.85; font-size: 1rem; }

.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 30px; }
.dl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all var(--transition);
}
.dl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dl-card.pdf { border-left: 4px solid var(--red); }
.dl-card.img { border-left: 4px solid #9333ea; }
.dl-card.doc { border-left: 4px solid var(--primary); }
.dl-info { flex: 1; }
.dl-info h4 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 4px; }
.dl-info p { font-size: 12px; color: #888; }
.dl-btn {
  width: 38px; height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.dl-btn:hover { background: var(--primary-dark); transform: scale(1.1); }

/* Steps */
.steps-container { background: #fff; border-radius: 12px; padding: 25px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.step-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), #5ba4ff);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-item h4 { font-size: 15px; font-weight: 700; color: #333; margin-bottom: 6px; }
.step-item p { color: #666; font-size: 14px; line-height: 1.6; }

/* Franchise Process */
.page-banner {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1200&q=80') center/cover;
  padding: 90px 20px;
  text-align: center;
  color: #fff;
}
.page-banner h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 700; margin-bottom: 10px; }
.page-banner p { font-size: 1.1rem; opacity: 0.85; }
.process-row { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex;
  gap: 25px;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  align-items: flex-start;
  transition: all var(--transition);
}
.process-step:hover { transform: translateX(6px); border-color: var(--primary); }
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent), #ff9933);
  color: #fff;
  font-size: 22px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; color: #333; margin-bottom: 8px; }
.step-content p { color: #666; font-size: 14px; line-height: 1.7; }

/* ── LINKAGE & PARTNERS ───────────────────────────────────── */
.linkage-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-logo { height: 60px; width: auto; object-fit: contain; margin: 0 auto 12px; }
.partner-name { font-size: 13px; font-weight: 600; color: #555; }

/* Appreciation */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.cert-item { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.cert-item:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.cert-item img { width: 100%; height: 300px; object-fit: cover; }
.cert-caption { background: #fff; padding: 12px 15px; font-size: 13px; font-weight: 600; color: #444; text-align: center; }

/* ── CENTER DASHBOARD (Franchise) ────────────────────────── */
.cen-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 60px);
}
.cen-sidebar {
  background: #1e293b;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}
.cen-sidebar-header {
  padding: 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
}
.cen-sidebar-header h3 { font-size: 14px; font-weight: 700; letter-spacing: 1px; color: #fff; }
.cen-sidebar-header p { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.cen-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.cen-menu-item:hover { background: rgba(255,255,255,0.07); color: #fff; border-left-color: rgba(255,255,255,0.3); }
.cen-menu-item.active { background: rgba(8,120,247,0.2); color: #60a5fa; border-left-color: #60a5fa; }
.cen-menu-item i { width: 20px; font-size: 15px; }

.cen-main {
  background: #f0f4f8;
  padding: 30px;
  overflow-y: auto;
  min-height: 100vh;
}

/* Center Stats */
.cen-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.cen-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.cen-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cen-stat-card.card-green { border-top: 4px solid #10b981; }
.cen-stat-card.card-blue  { border-top: 4px solid var(--primary); }
.cen-stat-card.card-red   { border-top: 4px solid var(--red); }
.cen-stat-card.card-orange{ border-top: 4px solid var(--accent); }
.cen-stat-icon { font-size: 1.8rem; opacity: 0.15; position: absolute; top: 12px; right: 15px; }
.cen-stat-card h2 { font-size: 1.8rem; font-weight: 800; color: #1e293b; margin-bottom: 4px; }
.cen-stat-card p { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* Center Profile Card */
.cen-welcome-section { margin-bottom: 20px; }
.cen-welcome-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
}
.cen-profile-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cen-profile-header {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  padding: 16px 20px;
}
.cen-profile-header h3 { font-size: 15px; font-weight: 600; }
.cen-profile-body { display: flex; gap: 20px; padding: 20px; flex-wrap: wrap; }
.cen-profile-info { flex: 1; min-width: 250px; }
.cen-info-table { width: 100%; border-collapse: collapse; }
.cen-info-table tr { border-bottom: 1px solid #f0f0f0; }
.cen-info-table tr:last-child { border-bottom: none; }
.info-label { padding: 10px 0; font-size: 12px; color: var(--text-muted); font-weight: 600; width: 140px; }
.info-value { padding: 10px 0; font-size: 14px; color: #333; font-weight: 500; }
.cen-profile-photo-box { width: 150px; flex-shrink: 0; }
.photo-frame {
  width: 130px; height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.cen-profile-footer {
  background: #f8fafc;
  padding: 15px 20px;
  font-size: 12px;
  color: #666;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cen-profile-footer p { margin: 0; }

/* Center Table */
.cen-table-container {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  overflow-x: auto;
  border: 1px solid var(--border);
}
.cen-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cen-table thead tr { background: #f8fafc; }
.cen-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}
.cen-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #f5f5f5;
  color: #444;
  vertical-align: middle;
}
.cen-table tbody tr:hover { background: #f8faff; }
.cen-table-search-row th input {
  padding: 6px 10px;
  font-size: 12px;
  margin-bottom: 0;
}

/* Center form */
.cen-admission-container { background: #f8fafc; border-radius: 10px; padding: 25px; border: 1px solid var(--border); }
.cen-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 15px; }
.cen-form-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; margin-bottom: 5px; display: block; }
.cen-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  background: #fff;
  transition: border-color var(--transition);
}
.cen-form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(8,120,247,0.1); }
.cen-file-input-wrapper { background: #fff; border: 2px dashed #ccc; border-radius: 8px; padding: 15px; }
.cen-form-group { margin-bottom: 15px; }
.cen-form-group label { font-size: 12px; font-weight: 600; color: #666; display: block; margin-bottom: 6px; }
.cen-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cen-form-header { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; padding: 10px 0 5px; border-bottom: 1px solid var(--border); }

/* Student Stats Header */
.cen-std-header-stats { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; }
.btn-stat-display {
  background: #e8f0fe;
  color: #1a56db;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: default;
}

/* Action Buttons */
.action-btn { background: none; border: none; cursor: pointer; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 5px; transition: all var(--transition); }
.text-blue { color: var(--primary); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.action-btn:hover { background: rgba(0,0,0,0.05); }

/* Batch Grid */
.batch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }

/* Exam Cards */
.exam-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-bottom: 20px; }

/* Marks Sheet */
.marks-sheet-header {
  display: grid;
  grid-template-columns: 1fr 120px 100px 130px;
  background: #f8fafc;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

/* Attendance */
.att-layout { display: grid; grid-template-columns: 360px 1fr; gap: 20px; margin-top: 20px; }
.att-qr-card { background: #fff; border-radius: 12px; padding: 25px; text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow); }
.att-timer { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.att-qr-box { width: 180px; height: 180px; margin: 20px auto; background: #f9f9f9; border: 2px dashed #ccc; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.att-panel { display: flex; flex-direction: column; gap: 15px; }
.att-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.att-stat-card { background: #fff; border-radius: 10px; padding: 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.att-icon-box { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; flex-shrink: 0; }
.att-blue { background: #3b82f6; }
.att-green { background: #10b981; }
.att-red { background: #ef4444; }
.att-stat-info h4 { font-size: 22px; font-weight: 700; color: #1e293b; }
.att-stat-info p { font-size: 12px; color: var(--text-muted); }
.att-log-container { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); flex: 1; }
.att-log-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border); background: #f8fafc; }
.att-log-body { max-height: 300px; overflow-y: auto; padding: 10px; }
.manual-att-input { padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px 0 0 8px; font-size: 14px; width: 200px; }
.manual-att-btn { background: var(--green); color: #fff; border: none; border-radius: 0 8px 8px 0; padding: 10px 18px; cursor: pointer; font-weight: 600; font-size: 13px; }

/* Payments */
.pay-layout { display: grid; grid-template-columns: 320px 1fr; gap: 20px; }
.pay-action-card { background: #fff; border-radius: 12px; padding: 25px; border: 1px solid var(--border); height: fit-content; box-shadow: var(--shadow); }
.sa-qr-box { text-align: center; margin-bottom: 15px; }
.sa-qr-title { font-size: 13px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.sa-qr-desc { font-size: 11px; color: #888; margin-top: 8px; }
.pay-form-title { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.pay-input-group { display: flex; align-items: center; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.pay-input-icon { padding: 0 12px; color: var(--text-muted); font-size: 14px; flex-shrink: 0; }
.pay-input { border: none; background: transparent; padding: 11px 14px 11px 0; margin-bottom: 0; }
.pay-input:focus { box-shadow: none; }
.pay-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 15px; }
.pay-stat-card { background: #fff; border-radius: 10px; padding: 16px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border); box-shadow: var(--shadow); }
.pay-stat-val { font-size: 1.4rem; font-weight: 800; }
.pay-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.pay-stat-icon { font-size: 1.8rem; opacity: 0.2; }

/* Staff Modal */
.staff-photo-input { margin-bottom: 0 !important; }

/* Receipt Print */
.rec-container { width: 360px; margin: 0 auto; padding: 20px; border: 1px solid #ddd; font-size: 13px; background: #fff; }
.rec-header { text-align: center; border-bottom: 2px solid #333; padding-bottom: 10px; margin-bottom: 15px; }
.rec-title { font-size: 18px; font-weight: 700; }
.rec-subtitle { font-size: 12px; color: #666; }
.rec-meta { display: flex; justify-content: space-between; margin-bottom: 15px; }
.rec-table { width: 100%; border-collapse: collapse; }
.rec-table th, .rec-table td { border: 1px solid #ddd; padding: 8px; }
.rec-footer { margin-top: 30px; text-align: right; }
.rec-sign { border-top: 1px solid #333; display: inline-block; padding-top: 8px; font-size: 12px; }

/* ── SUPER ADMIN DASHBOARD ───────────────────────────────── */
.sa-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 60px);
}
.sa-sidebar {
  background: #0f172a;
  color: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sa-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sa-sidebar-header h3 { font-size: 16px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.sa-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.sa-menu-item:hover { background: rgba(255,255,255,0.06); color: #e2e8f0; }
.sa-menu-item.active { background: rgba(59,130,246,0.15); color: #60a5fa; border-left-color: #3b82f6; }
.sa-menu-item i { width: 20px; font-size: 14px; }

.sa-main { background: #f0f4f8; padding: 30px; overflow-y: auto; }
.sa-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }

.sa-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.sa-stat-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.sa-stat-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sa-stat-box h2, .sa-stat-box h3 { font-size: 1.8rem; font-weight: 800; color: #1e293b; }
.sa-stat-box p { font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin-top: 5px; letter-spacing: 0.04em; }

.sa-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.sa-card h3 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 15px; }
.sa-card h4 { font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 10px; }

.sa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sa-table thead tr { background: #f8fafc; }
.sa-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 2px solid var(--border);
}
.sa-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
  color: #444;
}
.sa-table tbody tr:hover { background: #f8faff; }
.sa-grid-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }

/* Academics */
.ac-layout { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }
.ac-list-panel { background: #fff; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); height: fit-content; }
.ac-list-header { padding: 15px 18px; background: #f8fafc; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.ac-list-header h4 { font-size: 14px; color: #333; }
.ac-list-container { overflow-y: auto; max-height: 500px; }
.ac-editor-panel { background: #fff; border-radius: 12px; padding: 25px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Docs Panel */
.dp-header { display: flex; gap: 5px; padding: 0 5px; }
.dp-tab {
  padding: 12px 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.dp-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.dp-tab:hover { color: var(--primary); }
.dp-content { display: none; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}
.bg-red { background: var(--red); color: #fff; }

/* ── STUDENT DASHBOARD ───────────────────────────────────── */
.std-layout { padding-top: 10px; }
.std-menu-btn {
  width: 100%;
  padding: 12px;
  text-align: left;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.std-menu-btn.active { background: #f0f7ff !important; color: var(--primary) !important; }
.std-menu-btn:hover:not(.active) { background: #f5f5f5; }

/* Document Print Area */
.print-container { position: absolute; left: -9999px; top: 0; }
.doc-template {
  position: relative;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.doc-field {
  position: absolute;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}
.doc-photo { position: absolute; object-fit: cover; }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  gap: 0;
}
.contact-info-panel {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  padding: 50px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.info-head h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 12px; }
.info-head p { color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 30px; font-size: 14px; }
.info-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; }
.info-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.info-item p { margin: 0; font-size: 13px; }
.mini-map { flex: 1; border-radius: 10px; overflow: hidden; min-height: 200px; border: 2px solid rgba(255,255,255,0.15); }

.contact-form-panel {
  background: #fff;
  padding: 50px 40px;
}
.form-header { margin-bottom: 30px; }
.form-header h3 { font-size: 1.5rem; font-weight: 700; color: #1e293b; }
.input-box { position: relative; margin-bottom: 20px; }
.input-field {
  width: 100%;
  padding: 16px 14px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #f8fafc;
  transition: all var(--transition);
  margin-bottom: 0;
}
.input-field:focus { border-color: var(--primary); background: #fff; }
.input-label {
  position: absolute;
  top: 12px; left: 14px;
  font-size: 13px;
  color: #888;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}
.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
  top: 4px;
  font-size: 10px;
  color: var(--primary);
  font-weight: 600;
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), #5ba4ff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(8,120,247,0.35); }

/* ── FOOTER ──────────────────────────────────────────────── */
.main-footer {
  background: #0f172a;
  color: #94a3b8;
  margin-top: 0;
}

/* Footer 4 Columns Horizontal Layout */
.footer-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 20px 40px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

/* Logo & Description */
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}
.footer-desc { 
  font-size: 13px; 
  line-height: 1.8; 
  margin-bottom: 20px; 
}

/* Social Icons */
.footer-socials { 
  display: flex; 
  gap: 10px; 
}
.footer-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-socials a:hover { 
  background: var(--primary); 
  color: #fff; 
}

/* Headings & Quick Links */
.footer-col h4 { 
  color: #fff; 
  font-size: 15px; 
  font-weight: 700; 
  margin-bottom: 18px; 
  padding-bottom: 10px; 
  border-bottom: 2px solid rgba(255,255,255,0.1); 
}
.footer-links { padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { 
  color: #94a3b8; 
  font-size: 13px; 
  display: flex; 
  align-items: center; 
  gap: 6px; 
  transition: color var(--transition); 
  cursor: pointer; 
}
.footer-links li a:hover { color: #60a5fa; }

/* Contact List Horizontal Layout */
.contact-list { 
  padding: 0; 
  margin: 0;
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
}
.contact-list li { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
  margin-bottom: 0; 
  font-size: 13px; 
}
.contact-list li i { 
  color: #60a5fa; 
  flex-shrink: 0; 
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}
.footer-bottom-flex strong { color: #fff; }

/* ── SA HEADER ───────────────────────────────────────────── */
.sa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

/* ── ADMIN NAV (Staff) ───────────────────────────────────── */
.admin-nav {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}
.admin-nav button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: #555;
  transition: all var(--transition);
}
.admin-nav button.active { background: var(--primary); color: #fff; }
.admin-nav button:hover:not(.active) { background: #f0f0f0; }
.staff-content { display: none; }

/* ── GALLERY ─────────────────────────────────────────────── */
/* Gallery cards rendered via JS */

/* ── ALLOTMENT LIST ──────────────────────────────────────── */
.allot-list { max-height: 350px; overflow-y: auto; border: 1px solid var(--border); border-radius: 8px; padding: 5px; margin-top: 10px; }
.allot-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; transition: background var(--transition); }
.allot-item:hover { background: #f8f9fa; }
.allot-item input[type="checkbox"] { width: 16px; height: 16px; margin: 0; }

/* ── VERIFY DOC ──────────────────────────────────────────── */
.verify-tab.active {
  color: var(--primary) !important;
  border-bottom: 3px solid var(--primary) !important;
}

/* ── GOOGLE TRANSLATE ────────────────────────────────────── */
#google_translate_element { display: none; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ── PRINT STYLES ────────────────────────────────────────── */
@media print {
  header, nav, footer, .cen-sidebar, .sa-sidebar, .std-sidebar { display: none !important; }
  .page-section { display: block !important; }
  body { background: #fff; }
  .cen-main, .sa-main { padding: 0; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .cen-layout, .sa-layout { grid-template-columns: 1fr; }
  .cen-sidebar, .sa-sidebar { position: relative; height: auto; min-height: unset; }
  .contact-container { grid-template-columns: 1fr; }
  .abt-layout { grid-template-columns: 1fr; }
  .sa-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .att-layout { grid-template-columns: 1fr; }
  .pay-layout { grid-template-columns: 1fr; }
  .ac-layout { grid-template-columns: 1fr; }
  .sa-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 10px; }
  .nav-item { padding: 12px 10px; font-size: 12px; }
  .sg-hero-section { height: 300px; }
  .sg-slide-caption h2 { font-size: 1.6rem; }
  .sg-slide-caption { left: 20px; bottom: 30px; }
  .news-links-wrapper { grid-template-columns: 1fr; }
  .dir-card { flex-direction: column; }
  .dir-card img { width: 100%; height: 200px; }
  .cen-form-row { grid-template-columns: 1fr; }
  .marks-sheet-header { grid-template-columns: 1fr 80px 70px 90px; }
  .contact-form-panel, .contact-info-panel { padding: 30px 20px; }
  .cen-main, .sa-main { padding: 15px; }
  .sa-stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .top-header { justify-content: center; }
  .logo-area { justify-content: center !important; }
  .sg-hero-section { height: 220px; }
  .achieve-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-item { font-size: 11px; padding: 10px 8px; }
  .sa-stat-grid { grid-template-columns: 1fr; }
  .cen-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .att-stats-row { grid-template-columns: 1fr; }
  .pay-stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid { grid-template-columns: 1fr; }
}

/* ── CENTER MODAL TABS ───────────────────────────────────── */
.cen-form-tab { transition: all 0.2s ease; }
.cen-form-tab:hover { background: rgba(8,120,247,0.05) !important; }
.cen-modal-tab-panel { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }

/* ── TEAM PERMISSION CHECKBOXES ─────────────────────────── */
.tm-perm:checked + * { color: var(--primary) !important; }

/* ── ENQUIRY PIPELINE STATUS COLORS ─────────────────────── */
.enq-pipeline-card { cursor:pointer; transition:all 0.2s ease; }
.enq-pipeline-card:hover { transform:translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

/* ── FILTER BAR ─────────────────────────────────────────── */
#cen-search-input:focus, #team-search:focus, #enq-search:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── CENTER MODAL COURSE CHECKBOXES ─────────────────────── */
#cen-course-checkboxes label:hover { border-color: var(--primary); background: #f0f7ff; }
#cen-course-checkboxes input:checked ~ span,
#cen-course-checkboxes label:has(input:checked) {
  border-color: var(--primary);
  background: #e8f0fe;
  color: var(--primary);
}

/* ── SA STATS PULSE ─────────────────────────────────────── */
#cen-stat-active-count, #enq-count-new, #team-count-inactive {
  transition: all 0.3s ease;
}
/* CSS for the marquee container */
        .my-marquee {
            width: 100%;
            background-color: #f8f9fa; /* Optional: adds a subtle background color */
            padding: 10px 0; /* Optional: adds a little space above and below the images */
        }

        /* CSS to uniformly size and space all images inside the marquee */
        .marquee-img {
            height: 50px;            /* Keeps all images at a consistent height */
            margin: 0 40px;          /* Adds space between the images */
            vertical-align: middle;  /* Aligns them perfectly on the same line */
            border: none;            /* Replaces the old border="0" attribute */
        }
        
        
        
        
        
        
        /* All modals scrollable */
.cen-modal-content {
    max-height: 92vh !important;
    overflow-y: auto !important;
}

/* SA marks container scrollable */
#sa-marks-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Marks modal sheet body */
#marks-sheet-body {
    max-height: 420px !important;
    overflow-y: auto !important;
}

/* Team/center/enquiry modal inner content */
#sa-team-modal   .cen-modal-content,
#sa-center-modal .cen-modal-content,
#sa-enq-modal    .cen-modal-content {
    max-height: 90vh !important;
    overflow-y: auto !important;
}

/* Allot student list */
.allot-list {
    max-height: 320px !important;
    overflow-y: auto !important;
}

/* SA + Center main panels — scrollable */
.sa-main,
.cen-main {
    overflow-y: auto !important;
    height: 100vh;
}

/* Center students table scrollable */
#cen-view-students .cen-table-container {
    max-height: calc(100vh - 260px);
    overflow-y: auto;
}

/* Receipt print area hidden by default */
#receipt-print-area { display: none; }

/* Receipt print bar */
#receipt-print-bar {
    display: none;
    align-items: center;
    gap: 10px;
    background: #d4edda;
}
@media print {
    body > *:not(#lw-print-frame) { display: none !important; }
    #lw-print-frame { display: block !important; }
}
#lw-print-frame { display: none; }
