/* ============================================
   DSA2Z — Digital Shiksha Academy
   Professional Education Website Theme
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #e0e7ff;
  --accent: #06b6d4;
  --accent-2: #f59e0b;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --success: #16a34a;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.topbar i { color: var(--accent); margin-right: 0.3rem; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-social { display: flex; gap: 0.7rem; }
.topbar-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.topbar-social a:hover { background: var(--primary); color: #fff; }

/* ---------- Navbar ---------- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-mark {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}
.logo-mark span { color: var(--accent-2); }
.logo-text {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.logo-text.light { color: #fff; }
.logo-text.light small { color: #94a3b8; }

.nav-links { display: flex; list-style: none; gap: 0.3rem; align-items: center; }
.nav-links a {
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.nav-links a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4); color: #fff; }
.nav-links a.nav-cta.active { background: var(--primary-dark); color: #fff; }

.hamburger {
  display: none;
  color: var(--dark);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}
.hamburger:hover { background: var(--bg-alt); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 2rem 5rem;
  background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 50%, #ecfeff 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: -50%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.badge i { color: var(--accent-2); }
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
}
.btn-ghost:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); color: var(--primary-dark); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.85rem; }

.hero-trust {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(79, 70, 229, 0.15);
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}
.hero-trust span {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.3rem;
}

.hero-image { position: relative; }
.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.floating-card {
  position: absolute;
  background: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: float 3s ease-in-out infinite;
}
.floating-card i {
  font-size: 1.4rem;
  color: var(--primary);
  background: var(--primary-light);
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.floating-card div { display: flex; flex-direction: column; }
.floating-card strong { font-size: 0.95rem; color: var(--dark); font-weight: 700; }
.floating-card span { font-size: 0.75rem; color: var(--text-light); }
.card-1 { top: 2rem; left: -1.5rem; animation-delay: 0s; }
.card-2 { bottom: 2rem; right: -1.5rem; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--dark);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: none; }
.stat i { font-size: 1.6rem; color: var(--accent); margin-bottom: 0.6rem; }
.stat strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}
.stat span {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 900px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.7rem;
}
.section-head h2 {
  font-size: 2.2rem;
  color: var(--dark);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.section-head p { font-size: 1.05rem; color: var(--text-light); }
.section-head.light h2 { color: #fff; }
.section-head.light .eyebrow { color: var(--accent); }
.section-head.light p { color: #94a3b8; }

h2 {
  font-size: 1.7rem;
  color: var(--dark);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}
h3 { color: var(--dark); font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.6rem; }
p { margin-bottom: 1rem; }

/* ---------- Two Column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: white;
  background-clip: text;
}

.feature-list { list-style: none; margin: 1.5rem 0 2rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--text);
}
.feature-list i { color: var(--success); font-size: 1.1rem; margin-top: 0.25rem; flex-shrink: 0; }

/* ---------- Courses Grid ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.18);
}
.course-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.course-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
}
.course-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: #fff;
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}
.course-tag.popular {
  background: linear-gradient(135deg, var(--accent-2), #f97316);
  color: #fff;
}
.course-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { margin-top: 0; font-size: 1.2rem; margin-bottom: 0.6rem; }
.course-body p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 1rem; }

.course-features { list-style: none; margin: 0 0 1.2rem; }
.course-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.3rem 0;
}
.course-features i { color: var(--success); font-size: 0.8rem; }

.course-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
}
.course-meta i { color: var(--primary); margin-right: 0.3rem; }

.center-btn { text-align: center; margin-top: 3rem; }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-top: 0; font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-light); font-size: 0.93rem; margin: 0; }

/* ---------- Why Grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.why-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.why-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { color: #94a3b8; font-size: 0.9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}
.testimonial:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.stars { color: var(--accent-2); margin-bottom: 1rem; font-size: 1.05rem; letter-spacing: 2px; }
.testimonial p { color: var(--text); font-size: 0.95rem; margin-bottom: 1.5rem; font-style: italic; }
.person { display: flex; align-items: center; gap: 0.9rem; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.person div { display: flex; flex-direction: column; }
.person strong { color: var(--dark); font-size: 0.95rem; font-weight: 700; }
.person span { color: var(--text-light); font-size: 0.82rem; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--accent) 100%);
  color: #fff;
  padding: 4rem 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 1.9rem; margin: 0 0 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; max-width: 560px; }

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, var(--primary-dark) 100%);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
}
.page-header h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 0.6rem; position: relative; }
.page-header p { color: #94a3b8; font-size: 0.95rem; position: relative; }
.page-header a { color: var(--accent); }
.page-header a:hover { color: #fff; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2.8rem; margin: 2rem 0; max-width: 700px; margin-left: auto; margin-right: auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: -2.8rem; top: 0;
  width: 2.2rem; height: 2.2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--primary-light);
}
.timeline-item h3 { margin: 0 0 0.4rem; color: var(--dark); font-size: 1.1rem; }
.timeline-item p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* ---------- Info Box ---------- */
.info-box {
  background: linear-gradient(135deg, #eef2ff, #f0f9ff);
  border: 1px solid var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.info-box h3 { margin-top: 0; color: var(--primary-dark); font-size: 1.15rem; }
.info-box p { margin-bottom: 0.6rem; font-size: 0.98rem; }
.info-box p:last-child { margin-bottom: 0; }
.info-box i { color: var(--primary); margin-right: 0.4rem; }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0 3rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: all 0.3s;
  color: var(--text);
  display: block;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); color: var(--text); }
.contact-card .icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: var(--primary);
  margin: 0 auto 1.2rem;
}
.contact-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.contact-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.contact-value {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.location-box {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.location-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}
.location-box h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.location-address {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.8rem;
}
.location-address strong { color: var(--accent); font-size: 1.1rem; }
.location-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.office-hours {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}
.office-hours h3 {
  margin-top: 0;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}
.office-hours h3 i { color: var(--primary); }
.office-hours ul { list-style: none; }
.office-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.office-hours li:last-child { border-bottom: none; }
.office-hours span { color: var(--text-light); }
.office-hours strong { color: var(--dark); font-weight: 600; }

/* ---------- YouTube Page ---------- */
.yt-subscribe-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #fff5f5, #ffe5e5);
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.yt-icon {
  width: 60px;
  height: 60px;
  background: #ff0000;
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.3);
  flex-shrink: 0;
}
.yt-info { flex: 1; min-width: 200px; }
.yt-info h3 { margin: 0 0 0.3rem; color: var(--dark); font-size: 1.15rem; }
.yt-info p { margin: 0; color: var(--text-light); font-size: 0.9rem; }
.yt-btn {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.3);
}
.yt-btn:hover { background: linear-gradient(135deg, #cc0000, #990000); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.video-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-info { padding: 1.3rem 1.4rem; }
.video-info h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--dark); line-height: 1.35; }
.video-info p { margin: 0; font-size: 0.88rem; color: var(--text-light); line-height: 1.55; }

/* ---------- Course Search & Filter ---------- */
.course-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.search-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.search-box i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}
.search-box input {
  width: 100%;
  padding: 1rem 1.2rem 1rem 3rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.filter-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.results-count {
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.results-count strong {
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
}
.no-results {
  text-align: center;
  color: var(--text-light);
  padding: 3rem 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.no-results i {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.course-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.2rem;
}
.course-list-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: 1.1rem;
  transition: all 0.25s;
  align-items: flex-start;
}
.course-list-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.cli-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.cli-content { flex: 1; }
.cli-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.cli-head h3 { margin: 0; font-size: 1rem; color: var(--dark); line-height: 1.35; font-weight: 700; }
.cli-cat {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cli-content > p { color: var(--text-light); font-size: 0.88rem; margin: 0 0 0.7rem; line-height: 1.5; }
.cli-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-light); }
.cli-meta i { color: var(--primary); margin-right: 0.35rem; }
.featured-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ---------- Footer ---------- */
footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 4rem 0 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { color: #94a3b8; line-height: 1.7; margin: 1.2rem 0; max-width: 320px; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  color: #cbd5e1;
  transition: all 0.25s;
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-inner h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.footer-inner ul { list-style: none; }
.footer-inner ul li { margin-bottom: 0.7rem; }
.footer-inner ul a { color: #94a3b8; font-size: 0.9rem; }
.footer-inner ul a:hover { color: var(--accent); padding-left: 4px; }
.contact-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}
.contact-list i { color: var(--accent); margin-top: 0.25rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-image img { height: 360px; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .about-image img { height: 360px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat:nth-child(2) { border-right: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; font-size: 0.8rem; }
  .topbar-social { display: none; }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 1rem 1.5rem;
    gap: 0.3rem;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.show { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 0.7rem 1rem; }
  .nav-links a.nav-cta { text-align: center; margin-top: 0.4rem; }
  .navbar { padding: 0.8rem 1.2rem; }

  .hero { padding: 3rem 1.2rem 3.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-trust { gap: 1.5rem; }
  .hero-trust strong { font-size: 1.25rem; }
  .hero-image img { height: 280px; }
  .floating-card { padding: 0.6rem 0.9rem; }
  .floating-card i { width: 34px; height: 34px; font-size: 1.1rem; }
  .card-1 { left: -0.5rem; top: 1rem; }
  .card-2 { right: -0.5rem; bottom: 1rem; }

  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.2rem; }
  .section-head h2 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .page-header { padding: 3rem 1.2rem; }
  .page-header h1 { font-size: 1.7rem; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-band .btn { width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 1.5rem 1.2rem; }

  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; justify-content: center; }

  .course-list-grid { grid-template-columns: 1fr; }
  .course-list-item { padding: 1.2rem; gap: 0.9rem; }
  .cli-icon { width: 40px; height: 40px; font-size: 1rem; }
  .cli-head h3 { font-size: 0.95rem; }
  .filter-buttons { gap: 0.4rem; }
  .filter-btn { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
  .search-box input { padding: 0.85rem 1rem 0.85rem 2.8rem; font-size: 0.95rem; }

  .video-grid { grid-template-columns: 1fr; }
  .yt-subscribe-card { padding: 1.2rem; gap: 1rem; }
  .yt-icon { width: 50px; height: 50px; font-size: 1.5rem; }
  .yt-info h3 { font-size: 1rem; }
  .yt-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 1.5rem; }
  .stat:last-child { border-bottom: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
/* Video Thumbnail Style */
.video-thumb {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.video-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.video-thumb:hover img {
  transform: scale(1.05);
}
.play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4);
  transition: all 0.3s;
  pointer-events: none;
}
.video-thumb:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff0000;
}
/* ============================================
   LANGUAGE TOGGLE
   ============================================ */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem;
  margin-left: 0.5rem;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-light);
  transition: all 0.25s;
}

.lang-btn:hover {
  color: var(--primary);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.lang-divider {
  color: var(--border);
  font-size: 0.75rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile me toggle dikhao, desktop me hide */
.lang-toggle-mobile { display: none; }
.lang-toggle-desktop { display: inline-flex; }

/* Hindi font — thoda better readability */
body.lang-hi {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

body.lang-hi h1,
body.lang-hi h2,
body.lang-hi h3,
body.lang-hi h4 {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
}

/* Mobile */
@media (max-width: 768px) {
  .lang-toggle-desktop { display: none; }
  .lang-toggle-mobile {
    display: block;
    margin-top: 0.8rem;
    text-align: center;
  }
  .lang-toggle-mobile .lang-toggle {
    margin: 0 auto;
    display: inline-flex;
  }
}
/* ============================================
   LANGUAGE TOGGLE
   ============================================ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem;
  margin-left: 0.5rem;
}
.lang-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-light);
  transition: all 0.25s;
}
.lang-btn:hover { color: var(--primary); }
.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}
.lang-divider { color: var(--border); font-size: 0.75rem; }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.lang-toggle-mobile { display: none; }
.lang-toggle-desktop { display: inline-flex; }
body.lang-hi { font-family: 'Noto Sans Devanagari', 'Inter', sans-serif; }
body.lang-hi h1, body.lang-hi h2, body.lang-hi h3, body.lang-hi h4 {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;
}
@media (max-width: 768px) {
  .lang-toggle-desktop { display: none; }
  .lang-toggle-mobile { display: block; margin-top: 0.8rem; text-align: center; }
  .lang-toggle-mobile .lang-toggle { margin: 0 auto; display: inline-flex; }
  .nav-right { gap: 0.3rem; }
}
/* ============================================
   MODERN COMPARISON TABLE
   ============================================ */

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  background: #fff;
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.compare-table thead th {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  padding: 1.4rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.3px;
  border: none;
  position: relative;
}

.compare-table thead th:first-child {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  width: 26%;
}

.compare-table thead th.highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  position: relative;
}

.compare-table thead th.highlight::after {
  content: '★ RECOMMENDED';
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.compare-table tbody tr {
  transition: background 0.25s;
}

.compare-table tbody tr:hover {
  background: #f8fafc;
}

.compare-table tbody td {
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: middle;
  color: var(--text);
  line-height: 1.6;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* Feature name column */
.compare-table tbody td.feature {
  font-weight: 700;
  color: var(--dark);
  background: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  padding-left: 3rem;
}

.compare-table tbody td.feature i {
  position: absolute;
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1rem;
  width: 22px;
  text-align: center;
}

/* RNTU column (Recommended) */
.compare-table tbody td.rntu-col {
  background: linear-gradient(90deg, #eef2ff 0%, #ffffff 100%);
  font-weight: 600;
  color: var(--dark);
  position: relative;
}

.compare-table tbody td.rntu-col::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* Other column */
.compare-table tbody td.other-col {
  color: var(--text-light);
  position: relative;
}

.compare-table tbody td.other-col::before {
  content: '○';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .compare-table {
    font-size: 0.85rem;
  }
  .compare-table thead th {
    padding: 1rem 0.8rem;
    font-size: 0.78rem;
  }
  .compare-table thead th.highlight::after {
    font-size: 0.55rem;
    top: -10px;
    padding: 0.2rem 0.45rem;
  }
  .compare-table tbody td {
    padding: 1rem 0.8rem;
    font-size: 0.82rem;
  }
  .compare-table tbody td.feature {
    padding-left: 2.2rem;
    font-size: 0.8rem;
  }
  .compare-table tbody td.feature i {
    left: 0.7rem;
    font-size: 0.85rem;
    width: 18px;
  }
  .compare-table tbody td.rntu-col::before,
  .compare-table tbody td.other-col::before {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    margin-right: 0.35rem;
  }
}
/* ============================================
   ACHIEVEMENTS CARDS
   ============================================ */

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.achievement-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.achievement-year-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.achievement-photo {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
}
.achievement-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.achievement-card:hover .achievement-photo img {
  transform: scale(1.06);
}

.achievement-body {
  padding: 1.4rem 1.3rem 1.6rem;
}

.achievement-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 700;
}

.achievement-course {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 1rem;
}

.achievement-text {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  text-align: left;
}

@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.3rem;
  }
  .achievement-photo { height: 200px; }
  .achievement-body { padding: 1.2rem 1rem 1.3rem; }
  .achievement-body h3 { font-size: 1.05rem; }
  .achievement-text { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .achievements-grid { grid-template-columns: 1fr; }
}
/* ============================================
   STAFF / TEAM CARDS
   ============================================ */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.staff-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.staff-photo {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.staff-card:hover .staff-photo img {
  transform: scale(1.06);
}

.staff-body {
  padding: 1.3rem 1rem 1.5rem;
}
.staff-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 700;
}
.staff-designation {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
  }
  .staff-photo { height: 200px; }
  .staff-body { padding: 1rem 0.8rem 1.2rem; }
  .staff-body h3 { font-size: 0.98rem; }
  .staff-designation { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-photo { height: 160px; }
}

.achievement-message {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  text-align: center;
  flex: 1;
}
/* ============================================
   RECENT EVENTS STRIP (Index page)
   ============================================ */

.recent-events-section {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.recent-events-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.recent-events-head-left .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.recent-events-head-left h2 {
  margin: 0;
  font-size: 1.9rem;
  color: var(--dark);
  font-weight: 800;
}

.recent-events-head .btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transition: all 0.25s;
  white-space: nowrap;
}
.recent-events-head .btn-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4);
  color: #fff;
}

.recent-events-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-strip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.event-strip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.event-strip-photo {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
}
.event-strip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.event-strip-card:hover .event-strip-photo img {
  transform: scale(1.06);
}

.event-strip-body {
  padding: 1.3rem 1.3rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-strip-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}
.event-strip-date i {
  font-size: 0.75rem;
}

.event-strip-body h3 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.4;
}

.event-strip-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: auto;
}
.event-strip-loc i {
  color: var(--accent);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .recent-events-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .recent-events-section { padding: 3rem 0; }
  .recent-events-head {
    flex-direction: column;
    align-items: stretch;
  }
  .recent-events-head-left h2 { font-size: 1.5rem; }
  .recent-events-head .btn-view-all {
    justify-content: center;
    width: 100%;
  }
  .recent-events-strip {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .event-strip-photo { height: 200px; }
}

/* ============================================
   ALL EVENTS PAGE (events.html)
   ============================================ */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.event-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.event-photo {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light), #f0f9ff);
}
.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.event-card:hover .event-photo img {
  transform: scale(1.06);
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.event-date-badge i {
  font-size: 0.7rem;
}

.event-body {
  padding: 1.5rem 1.4rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.4;
}

.event-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.event-location i {
  color: var(--accent);
  font-size: 0.8rem;
}

.event-desc {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .event-photo { height: 200px; }
  .event-body { padding: 1.2rem 1.1rem 1.3rem; }
  .event-body h3 { font-size: 1.05rem; }
  .event-desc { font-size: 0.86rem; }
}
/* ============================================
   UNIVERSITY CARDS (universities.html)
   ============================================ */

.uni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.uni-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.uni-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.uni-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: var(--primary-light);
}

.uni-card:hover::before {
  transform: scaleX(1);
}

/* Logo container */
.uni-logo {
  width: 110px;
  height: 110px;
  margin-bottom: 1.2rem;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}

.uni-card:hover .uni-logo {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
  border-color: var(--primary-light);
}

.uni-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Location badge */
.uni-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-alt);
  color: var(--text-light);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.uni-location i {
  color: var(--primary);
  font-size: 0.72rem;
}

/* University name */
.uni-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Description */
.uni-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 1.4rem;
  text-align: center;
  flex: 1;
}

/* Button */
.uni-card .btn {
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .uni-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .uni-card {
    padding: 1.6rem 1.3rem;
  }

  .uni-logo {
    width: 90px;
    height: 90px;
  }

  .uni-card h3 {
    font-size: 1rem;
    min-height: auto;
  }
}
/* ============================================
   UNIVERSITY CARDS (universities.html)
   ============================================ */

.uni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.uni-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.uni-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.uni-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: var(--primary-light);
}

.uni-card:hover::before {
  transform: scaleX(1);
}

.uni-logo {
  width: 110px;
  height: 110px;
  margin-bottom: 1.2rem;
  background: #fff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}

.uni-card:hover .uni-logo {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
  border-color: var(--primary-light);
}

.uni-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.uni-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-alt);
  color: var(--text-light);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}

.uni-location i {
  color: var(--primary);
  font-size: 0.72rem;
}

.uni-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uni-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 1.4rem;
  text-align: center;
  flex: 1;
}

.uni-card .btn {
  margin-top: auto;
}

@media (max-width: 768px) {
  .uni-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .uni-card {
    padding: 1.6rem 1.3rem;
  }
  .uni-logo {
    width: 90px;
    height: 90px;
  }
  .uni-card h3 {
    font-size: 1rem;
    min-height: auto;
  }
}
/* ---------- Admission Offer ---------- */
.admission-offer {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-bottom: 1px solid #fed7aa;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.offer-icon {
  width: 48px;
  height: 48px;
  background: #f97316;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.offer-content {
  flex: 0 1 650px;
}

.offer-status {
  color: #ea580c;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.offer-content h2 {
  margin: 0.15rem 0 0.2rem;
  color: #9a3412;
  font-size: 1.25rem;
}

.offer-content p {
  margin: 0;
  color: #7c2d12;
  font-size: 0.9rem;
}

.offer-content strong {
  color: #c2410c;
}

.offer-btn {
  background: #ea580c;
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  white-space: nowrap;
}

.offer-btn:hover {
  background: #c2410c;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .admission-offer {
    padding: 1rem 1.2rem;
    justify-content: flex-start;
  }

  .offer-content {
    flex: 1;
    min-width: 220px;
  }

  .offer-content h2 {
    font-size: 1.05rem;
  }

  .offer-content p {
    font-size: 0.82rem;
  }

  .offer-btn {
    width: 100%;
    justify-content: center;
  }
}