/* ===================================================================
   NEW DESIGN CSS - Al-Faiz Modern School
   Modern, vibrant, professional redesign
   =================================================================== */

:root {
  --nd-primary:   #1e3a8a;
  --nd-primary-d: #1e2f6b;
  --nd-accent:    #f59e0b;
  --nd-accent-d:  #d97706;
  --nd-green:     #059669;
  --nd-bg:        #f8fafc;
  --nd-white:     #ffffff;
  --nd-text:      #1e293b;
  --nd-text-sm:   #64748b;
  --nd-border:    #e2e8f0;
  --nd-shadow:    0 4px 24px rgba(30,58,138,.10);
  --nd-shadow-lg: 0 12px 48px rgba(30,58,138,.16);
  --nd-radius:    14px;
  --nd-radius-sm: 8px;
}

/* ── Typography reset for new design ─────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  padding-top: 110px; /* topbar (40px) + navbar (70px) */
  background: var(--nd-bg);
  color: var(--nd-text);
}

/* ── TOP BAR ────────────────────────────────────────────── */
.nd-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: 40px;
  background: var(--nd-primary-d);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nd-topbar-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.nd-topbar-left { display: flex; align-items: center; gap: 20px; }
.nd-topbar-left span {
  font-size: .72rem; color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: 5px;
}
.nd-topbar-right { display: flex; gap: 8px; }
.nd-top-btn {
  font-size: .72rem; font-weight: 600; padding: 4px 14px;
  border-radius: 20px; transition: all .25s; text-decoration: none;
}
.nd-top-btn-login { background: var(--nd-accent); color: var(--nd-primary-d); }
.nd-top-btn-login:hover { background: var(--nd-accent-d); }
.nd-top-btn-dash { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.2); }
.nd-top-btn-out  { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }

/* ── NAVBAR ─────────────────────────────────────────────── */
.nd-navbar {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 1099;
  height: 70px;
  background: var(--nd-white);
  border-bottom: 2px solid var(--nd-border);
  transition: box-shadow .3s, background .3s;
}
.nd-navbar.scrolled {
  box-shadow: var(--nd-shadow-lg);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
}
.nd-nav-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 24px; padding: 0 24px;
}
.nd-brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 1 280px; min-width: 0;
}
.nd-brand-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--nd-primary), var(--nd-accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0; overflow: hidden;
  box-shadow: 0 4px 14px rgba(30,58,138,.28);
}
.nd-brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.nd-brand-text { display: flex; flex-direction: column; min-width: 0; }
.nd-brand-name {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem; color: var(--nd-primary); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nd-brand-tag  {
  font-size: .62rem; color: var(--nd-text-sm); letter-spacing: .06em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nd-nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0 auto; padding: 0; flex: 1 1 auto; min-width: 0; justify-content: center;
}
.nd-nav-links a {
  display: block; padding: 8px 13px; border-radius: 8px;
  font-size: .875rem; font-weight: 500; color: var(--nd-text);
  text-decoration: none; transition: all .22s; white-space: nowrap;
}
.nd-nav-links a:hover,
.nd-nav-links a.active {
  background: rgba(30,58,138,.08); color: var(--nd-primary); font-weight: 600;
}
.nd-nav-links a.active { background: rgba(30,58,138,.1); }

.nd-nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nd-nav-cta {
  background: linear-gradient(135deg, var(--nd-primary), var(--nd-accent));
  color: white; padding: 9px 22px; border-radius: 50px;
  font-size: .85rem; font-weight: 700; text-decoration: none;
  transition: transform .22s, box-shadow .22s;
  box-shadow: 0 4px 14px rgba(30,58,138,.3);
  white-space: nowrap;
}
.nd-nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,138,.35); }

.nd-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.nd-hamburger span {
  width: 24px; height: 2px; background: var(--nd-primary);
  border-radius: 2px; transition: all .3s;
}
.nd-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nd-hamburger.active span:nth-child(2) { opacity: 0; }
.nd-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HEADER BANNER ──────────────────────────────────── */
.nd-page-header {
  background: linear-gradient(135deg, var(--nd-primary) 0%, #3b5ec6 100%);
  padding: 56px 0 48px;
  position: relative; overflow: hidden;
}
.nd-page-header::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.nd-page-header .container { position: relative; z-index: 1; }
.nd-page-header h1 {
  font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem,4vw,2.6rem);
  color: white; margin-bottom: 10px; font-weight: 700;
}
.nd-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.7);
}
.nd-breadcrumb a { color: var(--nd-accent); text-decoration: none; }
.nd-breadcrumb a:hover { text-decoration: underline; }
.nd-breadcrumb span { color: rgba(255,255,255,.4); }

/* ── CARDS ─────────────────────────────────────────────── */
.nd-card {
  background: var(--nd-white); border-radius: var(--nd-radius);
  border: 1px solid var(--nd-border); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  box-shadow: var(--nd-shadow);
}
.nd-card:hover { transform: translateY(-6px); box-shadow: var(--nd-shadow-lg); }

/* ── SECTION ────────────────────────────────────────────── */
.nd-section { padding: 80px 0; }
.nd-section-alt { background: var(--nd-white); }
.nd-section-header { text-align: center; margin-bottom: 56px; }
.nd-section-header .nd-label {
  display: inline-block; background: rgba(30,58,138,.08);
  color: var(--nd-primary); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px; margin-bottom: 14px;
}
.nd-section-header h2 {
  font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem,3.5vw,2.4rem);
  color: var(--nd-text); font-weight: 700; margin-bottom: 12px;
}
.nd-section-header p { color: var(--nd-text-sm); font-size: .95rem; max-width: 540px; margin: 0 auto; }
.nd-section-header .nd-divider {
  width: 56px; height: 4px; border-radius: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--nd-primary), var(--nd-accent));
}

/* ── BADGES / PILLS ─────────────────────────────────────── */
.nd-badge {
  display: inline-block; padding: 3px 12px; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
}
.nd-badge-green  { background: rgba(5,150,105,.1); color: #065f46; }
.nd-badge-blue   { background: rgba(30,58,138,.1); color: var(--nd-primary); }
.nd-badge-yellow { background: rgba(245,158,11,.1); color: #92400e; }
.nd-badge-red    { background: rgba(239,68,68,.1); color: #991b1b; }

/* ── FORM ELEMENTS ──────────────────────────────────────── */
.nd-form-card {
  background: var(--nd-white); border-radius: var(--nd-radius);
  border: 1px solid var(--nd-border); padding: 36px;
  box-shadow: var(--nd-shadow);
}
.nd-form-section {
  font-family: 'Poppins', sans-serif; font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--nd-primary); border-bottom: 2px solid var(--nd-border);
  padding-bottom: 8px; margin: 28px 0 18px;
}
.nd-form-section:first-child { margin-top: 0; }
.nd-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.nd-form-group { display: flex; flex-direction: column; gap: 6px; }
.nd-form-group.full { grid-column: 1 / -1; }
.nd-label {
  font-size: .82rem; font-weight: 600; color: var(--nd-text);
}
.nd-label .req { color: #ef4444; margin-left: 2px; }
.nd-input, .nd-select, .nd-textarea {
  padding: 11px 14px; border-radius: var(--nd-radius-sm);
  border: 1.5px solid var(--nd-border); font-size: .9rem;
  font-family: 'Inter', sans-serif; color: var(--nd-text);
  background: #f8fafc; transition: border-color .22s, box-shadow .22s;
  width: 100%;
}
.nd-input:focus, .nd-select:focus, .nd-textarea:focus {
  outline: none; border-color: var(--nd-primary);
  box-shadow: 0 0 0 3px rgba(30,58,138,.1); background: white;
}
.nd-textarea { resize: vertical; min-height: 110px; }
.nd-val-msg { color: #ef4444; font-size: .78rem; margin-top: 2px; }

/* ── BUTTONS ────────────────────────────────────────────── */
.nd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-family: 'Poppins', sans-serif; font-size: .88rem; font-weight: 700;
  cursor: pointer; border: none; transition: all .25s; text-decoration: none;
}
.nd-btn-primary {
  background: linear-gradient(135deg, var(--nd-primary), #3b5ec6);
  color: white; box-shadow: 0 4px 14px rgba(30,58,138,.3);
}
.nd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,138,.35); }
.nd-btn-accent {
  background: linear-gradient(135deg, var(--nd-accent), var(--nd-accent-d));
  color: white; box-shadow: 0 4px 14px rgba(245,158,11,.3);
}
.nd-btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.35); }
.nd-btn-outline {
  border: 2px solid var(--nd-primary) !important; color: var(--nd-primary); background: transparent;
}
.nd-btn-outline:hover { background: var(--nd-primary); color: white; }
.nd-btn-full { width: 100%; justify-content: center; border-radius: var(--nd-radius-sm); padding: 14px; }
.nd-btn-sm { padding: 8px 18px; font-size: .78rem; }

/* ── ALERTS ─────────────────────────────────────────────── */
.nd-alert {
  padding: 14px 18px; border-radius: var(--nd-radius-sm);
  font-size: .88rem; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px;
}
.nd-alert-success { background: rgba(5,150,105,.1); border: 1px solid rgba(5,150,105,.3); color: #065f46; }
.nd-alert-info    { background: rgba(30,58,138,.08); border: 1px solid rgba(30,58,138,.2); color: var(--nd-primary); }
.nd-alert-warning { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: #92400e; }

/* ── HERO SECTION ───────────────────────────────────────── */
.nd-hero {
  position: relative; overflow: hidden;
  min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--nd-primary-d) 0%, #1e3a8a 40%, #1d4ed8 100%);
}
.nd-hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.nd-hero-shape {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.nd-hero-shape-1 { width: 600px; height: 600px; right: -150px; top: -100px; }
.nd-hero-shape-2 { width: 400px; height: 400px; right: 200px; bottom: -100px; background: rgba(245,158,11,.06); }
.nd-hero-shape-3 { width: 200px; height: 200px; left: 8%; top: 20%; }

.nd-hero-inner { container: inline-size; position: relative; z-index: 2; width: 90%; max-width: 1280px; margin: 0 auto; }
.nd-hero-content { max-width: 680px; padding: 40px 0; }
.nd-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3);
  color: #fde68a; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 18px; border-radius: 30px; margin-bottom: 24px;
}
.nd-hero-title {
  font-family: 'Poppins', sans-serif; font-size: clamp(2.2rem,5vw,3.8rem);
  color: white; font-weight: 800; line-height: 1.15; margin-bottom: 20px;
}
.nd-hero-title .nd-hero-accent { color: var(--nd-accent); display: block; }
.nd-hero-desc {
  font-size: clamp(.95rem,2vw,1.1rem); color: rgba(255,255,255,.75);
  line-height: 1.8; margin-bottom: 36px; max-width: 540px;
}
.nd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.nd-hero-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  color: rgba(255,255,255,.85); border: 2px solid rgba(255,255,255,.25);
  font-size: .88rem; font-weight: 700; font-family: 'Poppins',sans-serif;
  background: rgba(255,255,255,.06); transition: all .25s;
}
.nd-hero-btn-ghost:hover { background: rgba(255,255,255,.14); color: white; }

/* Stats bar */
.nd-hero-stats {
  display: flex; gap: 0; border-radius: var(--nd-radius);
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12); overflow: hidden;
  max-width: 520px;
}
.nd-hero-stat {
  flex: 1; padding: 18px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.nd-hero-stat:last-child { border-right: none; }
.nd-hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--nd-accent); font-family: 'Poppins',sans-serif; }
.nd-hero-stat span { font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; }

/* ── WHY CHOOSE US CARDS ─────────────────────────────────── */
.nd-why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 24px; }
.nd-why-card {
  background: white; border-radius: var(--nd-radius);
  border: 1px solid var(--nd-border);
  padding: 32px 24px; text-align: center;
  transition: transform .3s, box-shadow .3s;
  box-shadow: var(--nd-shadow);
}
.nd-why-card:hover { transform: translateY(-6px); box-shadow: var(--nd-shadow-lg); }
.nd-why-icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.nd-why-card:nth-child(1) .nd-why-icon { background: rgba(30,58,138,.1); }
.nd-why-card:nth-child(2) .nd-why-icon { background: rgba(245,158,11,.1); }
.nd-why-card:nth-child(3) .nd-why-icon { background: rgba(5,150,105,.1); }
.nd-why-card:nth-child(4) .nd-why-icon { background: rgba(139,92,246,.1); }
.nd-why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--nd-text); font-family: 'Poppins',sans-serif; }
.nd-why-card p  { font-size: .85rem; color: var(--nd-text-sm); line-height: 1.7; }

/* ── EVENTS GRID ─────────────────────────────────────────── */
.nd-events-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 24px; }
.nd-event-card { background: white; border-radius: var(--nd-radius); border: 1px solid var(--nd-border); overflow: hidden; box-shadow: var(--nd-shadow); transition: transform .3s, box-shadow .3s; }
.nd-event-card:hover { transform: translateY(-5px); box-shadow: var(--nd-shadow-lg); }
.nd-event-img { height: 180px; background: linear-gradient(135deg, var(--nd-primary), #3b5ec6); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.nd-event-img img { width: 100%; height: 100%; object-fit: cover; }
.nd-event-body { padding: 20px; }
.nd-event-date { font-size: .78rem; font-weight: 700; color: var(--nd-accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.nd-event-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; font-family: 'Poppins',sans-serif; color: var(--nd-text); }
.nd-event-body p { font-size: .83rem; color: var(--nd-text-sm); line-height: 1.6; }
.nd-event-venue { font-size: .78rem; color: var(--nd-text-sm); margin-top: 10px; display: flex; align-items: center; gap: 4px; }

/* ── NEWS GRID ───────────────────────────────────────────── */
.nd-news-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; }
.nd-news-card { background: white; border-radius: var(--nd-radius); border: 1px solid var(--nd-border); overflow: hidden; box-shadow: var(--nd-shadow); transition: transform .3s, box-shadow .3s; }
.nd-news-card:hover { transform: translateY(-5px); box-shadow: var(--nd-shadow-lg); }
.nd-news-img { height: 160px; background: linear-gradient(135deg,#1e3a8a,#3b82f6); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; overflow: hidden; }
.nd-news-img img { width: 100%; height: 100%; object-fit: cover; }
.nd-news-body { padding: 18px; }
.nd-news-date { font-size: .75rem; color: var(--nd-text-sm); margin-bottom: 6px; }
.nd-news-body h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; font-family: 'Poppins',sans-serif; color: var(--nd-text); }
.nd-news-body p { font-size: .82rem; color: var(--nd-text-sm); line-height: 1.6; }

/* ── PRINCIPAL SECTION ──────────────────────────────────── */
.nd-principal {
  background: linear-gradient(135deg, var(--nd-primary-d), #1e3a8a);
  padding: 80px 0; overflow: hidden; position: relative;
}
.nd-principal::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,158,11,.08), transparent 60%);
}
.nd-principal-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
  align-items: center; position: relative; z-index: 1;
}
.nd-principal-photo {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.nd-principal-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  border: 4px solid var(--nd-accent);
  box-shadow: 0 0 0 8px rgba(245,158,11,.15), 0 20px 60px rgba(0,0,0,.4);
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
  overflow: hidden;
}
.nd-principal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nd-principal-namecard {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 14px 22px; text-align: center; width: 100%;
}
.nd-principal-namecard strong { display: block; color: white; font-family: 'Poppins',sans-serif; margin-bottom: 4px; }
.nd-principal-namecard span  { color: rgba(255,255,255,.5); font-size: .78rem; }
.nd-principal-msg .nd-label-light { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nd-accent); display: block; margin-bottom: 10px; }
.nd-principal-msg h2 { font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem,2.5vw,2rem); color: white; margin-bottom: 20px; }
.nd-principal-divider { width: 56px; height: 3px; background: linear-gradient(90deg,var(--nd-accent),transparent); border-radius: 2px; margin-bottom: 24px; }
.nd-principal-msg p { color: rgba(255,255,255,.72); line-height: 1.9; font-size: .94rem; margin-bottom: 16px; }
.nd-principal-msg strong { color: rgba(255,255,255,.9); }

/* ── CTA BANNER ──────────────────────────────────────────── */
.nd-cta {
  background: linear-gradient(135deg, var(--nd-accent-d), var(--nd-accent));
  padding: 60px 0; text-align: center;
}
.nd-cta h2 { font-family: 'Poppins',sans-serif; font-size: clamp(1.6rem,3vw,2.2rem); color: white; margin-bottom: 12px; }
.nd-cta p  { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.nd-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nd-btn-white { background: white; color: var(--nd-primary); font-family:'Poppins',sans-serif; font-weight:700; }
.nd-btn-white:hover { background: #f1f5f9; transform: translateY(-2px); }
.nd-btn-ghost-white { border: 2px solid rgba(255,255,255,.5); color: white; background: transparent; font-family:'Poppins',sans-serif; font-weight:700; }
.nd-btn-ghost-white:hover { background: rgba(255,255,255,.15); }

/* ── FACULTY GRID ────────────────────────────────────────── */
.nd-faculty-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 24px; }
.nd-faculty-card {
  background: white; border-radius: var(--nd-radius);
  border: 1px solid var(--nd-border); overflow: hidden;
  box-shadow: var(--nd-shadow); transition: transform .3s, box-shadow .3s;
  text-align: center;
}
.nd-faculty-card:hover { transform: translateY(-6px); box-shadow: var(--nd-shadow-lg); }
.nd-faculty-photo-wrap {
  height: 220px; background: linear-gradient(145deg, #eef2ff, #dbeafe);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  position: relative;
}
.nd-faculty-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.nd-faculty-photo-placeholder {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--nd-primary), #3b82f6);
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem;
}
.nd-faculty-status {
  position: absolute; top: 12px; right: 12px;
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid white;
}
.nd-faculty-status.active   { background: #10b981; }
.nd-faculty-status.inactive { background: #94a3b8; }
.nd-faculty-info { padding: 20px; }
.nd-faculty-info h3 { font-family: 'Poppins',sans-serif; font-size: .98rem; font-weight: 700; margin-bottom: 4px; color: var(--nd-text); }
.nd-faculty-designation { font-size: .82rem; font-weight: 600; color: var(--nd-primary); margin-bottom: 12px; }
.nd-faculty-contacts { display: flex; flex-direction: column; gap: 4px; }
.nd-faculty-contact-item { font-size: .77rem; color: var(--nd-text-sm); display: flex; align-items: center; justify-content: center; gap: 5px; }
.nd-faculty-contact-item a { color: var(--nd-text-sm); text-decoration: none; }
.nd-faculty-contact-item a:hover { color: var(--nd-primary); }

/* ── CONTACT PAGE ────────────────────────────────────────── */
.nd-contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.nd-contact-info { background: linear-gradient(145deg, var(--nd-primary), #3b5ec6); border-radius: var(--nd-radius); padding: 36px; color: white; }
.nd-contact-info h2 { font-family: 'Poppins',sans-serif; font-size: 1.5rem; margin-bottom: 8px; }
.nd-contact-info p { color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.7; margin-bottom: 28px; }
.nd-contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.nd-contact-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.nd-contact-text strong { display: block; color: white; font-size: .85rem; margin-bottom: 3px; }
.nd-contact-text span,
.nd-contact-text a { color: rgba(255,255,255,.65); font-size: .82rem; line-height: 1.5; text-decoration: none; }
.nd-contact-text a:hover { color: white; }
.nd-contact-map { margin-top: 28px; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.1); }
.nd-contact-map iframe { display: block; }

/* ── ADMISSION PAGE ──────────────────────────────────────── */
.nd-admission-wrap { max-width: 860px; margin: 0 auto; }
.nd-admission-info-bar {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; margin-bottom: 32px;
}
.nd-info-bar-item {
  background: white; border-radius: var(--nd-radius-sm); border: 1px solid var(--nd-border);
  padding: 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--nd-shadow);
}
.nd-info-bar-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.nd-info-bar-icon.blue   { background: rgba(30,58,138,.1); }
.nd-info-bar-icon.amber  { background: rgba(245,158,11,.1); }
.nd-info-bar-icon.green  { background: rgba(5,150,105,.1); }
.nd-info-bar-text strong { display: block; font-size: .82rem; font-weight: 700; color: var(--nd-text); }
.nd-info-bar-text span   { font-size: .75rem; color: var(--nd-text-sm); }

/* ── FOOTER ──────────────────────────────────────────────── */
.nd-footer {
  background: var(--nd-primary-d); color: rgba(255,255,255,.7);
  padding-top: 0; position: relative;
}
.nd-footer-wave { line-height: 0; }
.nd-footer-wave svg { width: 100%; height: 60px; display: block; }
.nd-footer-inner { padding-bottom: 0; }
.nd-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding: 48px 0 36px;
}
.nd-footer-about .nd-footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.nd-footer-logo span { font-size: 1.5rem; }
.nd-footer-logo strong { font-family:'Poppins',sans-serif; color: white; font-size: 1rem; }
.nd-footer-about p { font-size: .83rem; line-height: 1.8; max-width: 280px; }
.nd-footer-social { display: flex; gap: 8px; margin-top: 18px; }
.nd-footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6); font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: all .22s;
}
.nd-footer-social a:hover { background: var(--nd-accent); color: white; border-color: var(--nd-accent); }
.nd-footer-col h4 { font-family: 'Poppins',sans-serif; color: white; font-size: .88rem; margin-bottom: 16px; }
.nd-footer-col ul { list-style: none; padding: 0; }
.nd-footer-col ul li { margin-bottom: 8px; }
.nd-footer-col ul a { color: rgba(255,255,255,.6); font-size: .82rem; text-decoration: none; transition: color .22s; }
.nd-footer-col ul a:hover { color: var(--nd-accent); }
.nd-footer-contact h4 { font-family:'Poppins',sans-serif; color: white; font-size: .88rem; margin-bottom: 16px; }
.nd-footer-contact p { font-size: .8rem; line-height: 1.7; margin-bottom: 8px; }
.nd-footer-contact a { color: rgba(255,255,255,.6); text-decoration: none; }
.nd-footer-contact a:hover { color: var(--nd-accent); }
.nd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; color: rgba(255,255,255,.4);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.nd-animate {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.nd-animate.nd-visible { opacity: 1; transform: translateY(0); }

@keyframes ndFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nd-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nd-principal-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .nd-principal-photo { order: -1; }
  .nd-principal-divider { margin: 0 auto 24px; }
  .nd-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1240px) {
  .nd-topbar-inner, .nd-nav-inner { padding-left: 18px; padding-right: 18px; }
  .nd-topbar-left { gap: 14px; }
  .nd-brand { flex-basis: 240px; }
  .nd-brand-tag { display: none; }
  .nd-nav-links a { padding: 8px 10px; font-size: .82rem; }
  .nd-nav-actions { gap: 8px; }
  .nd-nav-cta { padding: 9px 16px; font-size: .8rem; }
}
@media (max-width: 1120px) {
  body { padding-top: 110px; }
  .nd-topbar-left span:not(:first-child) { display: none; }
  .nd-nav-inner { gap: 12px; }
  .nd-nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: white; padding: 12px; flex-direction: column;
    border-bottom: 2px solid var(--nd-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 100;
  }
  .nd-nav-links.open { display: flex; }
  .nd-nav-links a { padding: 11px 16px; border-radius: 8px; font-size: .9rem; }
  .nd-hamburger { display: flex; }
  .nd-nav-cta { display: none; }
}
@media (max-width: 768px) {
  body { padding-top: 110px; }
  .nd-topbar-inner, .nd-nav-inner { padding-left: 14px; padding-right: 14px; }
  .nd-brand { flex-basis: auto; max-width: calc(100% - 56px); }
  .nd-brand-name { font-size: .9rem; }
  .nd-hero-stats { flex-direction: column; max-width: 260px; }
  .nd-hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nd-hero-stat:last-child { border-bottom: none; }
  .nd-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nd-footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .nd-form-grid { grid-template-columns: 1fr; }
  .nd-form-group.full { grid-column: 1; }
  .nd-admission-info-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .nd-top-btn { padding: 4px 10px; font-size: .68rem; }
  .nd-brand-icon { width: 42px; height: 42px; }
  .nd-brand-name { font-size: .86rem; }
  .nd-hero-actions { flex-direction: column; }
  .nd-admission-info-bar { grid-template-columns: 1fr; }
}
