/* ============================================================
   EduInstitute – Main Stylesheet
   Palette: Deep Navy #0a1628 | Royal Blue #1a56db | Sky #3b82f6
            Accent Gold #f59e0b | White #fff | Light #f1f5f9
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0a1628;
  --blue:    #1a56db;
  --sky:     #3b82f6;
  --light-blue: #eff6ff;
  --gold:    #f59e0b;
  --green:   #10b981;
  --red:     #ef4444;
  --white:   #ffffff;
  --light:   #f1f5f9;
  --gray:    #64748b;
  --dark:    #1e293b;
  --border:  #e2e8f0;
  --shadow:  0 4px 24px rgba(10,22,40,.10);
  --shadow-lg: 0 8px 40px rgba(10,22,40,.16);
  --radius:  12px;
  --radius-lg: 20px;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── UTILITIES ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-blue  { color: var(--blue); }
.text-gold  { color: var(--gold); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); background: var(--light-blue);
  padding: 6px 18px; border-radius: 50px; margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy); line-height: 1.2; margin-bottom: 16px;
}
.section-header p { color: var(--gray); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.divider {
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px; margin: 18px auto 0;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: .95rem; cursor: pointer; border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0e3fad);
  color: var(--white); box-shadow: 0 4px 20px rgba(26,86,219,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,86,219,.5); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--white); box-shadow: 0 4px 20px rgba(245,158,11,.4);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 22px; font-size: .875rem; }

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy); color: #94a3b8;
  font-size: .82rem; padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; }
.topbar-left span, .topbar-right a { display: flex; align-items: center; gap: 6px; }
.topbar-right a { color: #cbd5e1; transition: color var(--transition); }
.topbar-right a:hover { color: var(--gold); }
.topbar i { font-size: .75rem; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: all var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.2rem;
}
.brand-name { display: block; font-weight: 700; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.brand-sub  { display: block; font-size: .68rem; color: var(--gray); letter-spacing: .05em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-weight: 500;
  font-size: .9rem; color: var(--dark); transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--light-blue); }
.nav-links .btn-nav {
  background: linear-gradient(135deg, var(--blue), #0e3fad);
  color: var(--white) !important; padding: 9px 22px; border-radius: 50px;
}
.nav-links .btn-nav:hover { box-shadow: 0 4px 16px rgba(26,86,219,.4); background: var(--light-blue) !important; color: var(--blue) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: all var(--transition);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 92vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2463 50%, #0a1e5e 100%);
  display: flex; align-items: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%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");
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .25;
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--blue); top: -200px; right: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: var(--gold); bottom: -150px; left: -50px; }

.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #cbd5e1; padding: 8px 18px; border-radius: 50px; font-size: .82rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px; backdrop-filter: blur(8px);
  animation: fadeInDown .8s ease;
}
.hero-badge span { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white); line-height: 1.15;
  margin-bottom: 24px; animation: fadeInUp .9s ease;
}
.hero h1 .highlight { color: var(--gold); }
.hero p {
  color: #94a3b8; font-size: 1.1rem; margin-bottom: 36px;
  line-height: 1.75; animation: fadeInUp 1s ease;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 1.1s ease; }

.hero-stats {
  display: flex; gap: 24px; margin-top: 48px; flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--white); }
.hero-stat span { font-size: .8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .08em; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,.15); align-self: stretch; }

.hero-visual { position: relative; animation: fadeInRight 1s ease; }
.hero-card {
  background: rgba(255,255,255,.08); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg);
  padding: 32px; color: var(--white);
}
.hero-card-title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.07); border-radius: 10px; padding: 14px 18px;
  transition: background var(--transition);
}
.feature-item:hover { background: rgba(255,255,255,.12); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(59,130,246,.3); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; color: #93c5fd; flex-shrink: 0;
}
.feature-item h4 { font-size: .95rem; margin-bottom: 2px; }
.feature-item p  { font-size: .8rem; color: #94a3b8; }

/* ── STATS BAND ──────────────────────────────────────────── */
.stats-band {
  background: linear-gradient(135deg, var(--blue), #0e3fad);
  padding: 50px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.15); border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: linear-gradient(135deg, var(--blue), #0e3fad);
  padding: 36px 24px; text-align: center; color: var(--white);
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(255,255,255,.1); }
.stat-number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.stat-label { font-size: .9rem; color: #bfdbfe; margin-top: 8px; }
.stat-icon { font-size: 2rem; color: var(--gold); margin-bottom: 12px; }

/* ── COURSES ─────────────────────────────────────────────── */
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px;
}
.course-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-card:hover::before { transform: scaleX(1); }
.course-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--light-blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  transition: all var(--transition);
}
.course-card:hover .course-icon { background: var(--blue); color: var(--white); }
.course-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); background: var(--light-blue);
  padding: 4px 12px; border-radius: 50px; margin-bottom: 12px;
}
.course-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.course-card p  { font-size: .9rem; color: var(--gray); margin-bottom: 20px; line-height: 1.6; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.course-meta span {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--gray);
}
.course-meta i { color: var(--blue); }
.course-fee { font-size: 1.2rem; font-weight: 700; color: var(--blue); }

/* ── TOPPERS ─────────────────────────────────────────────── */
.toppers-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px;
}
.topper-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  transition: all var(--transition); position: relative;
}
.topper-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.topper-rank {
  position: absolute; top: 16px; left: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center;
}
.rank-gold   { background: #fef3c7; color: #d97706; }
.rank-silver { background: #f1f5f9; color: #64748b; }
.rank-bronze { background: #fef3c7; color: #b45309; }
.rank-other  { background: var(--light-blue); color: var(--blue); }

.topper-photo {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 16px;
  overflow: hidden; border: 3px solid var(--light-blue);
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.topper-photo img { width: 100%; height: 100%; object-fit: cover; }
.topper-photo i { font-size: 2.5rem; color: var(--gray); }
.topper-card h3  { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.topper-course   { font-size: .82rem; color: var(--gray); margin-bottom: 14px; }
.topper-percent  {
  font-size: 2rem; font-weight: 700; color: var(--blue);
  font-family: var(--font-display);
}
.topper-year  { font-size: .8rem; color: var(--gray); margin-top: 4px; }
.topper-badge {
  display: inline-block; margin-top: 12px; font-size: .75rem; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--white); padding: 5px 14px; border-radius: 50px;
}

/* ── RESULTS ─────────────────────────────────────────────── */
.search-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow); max-width: 600px; margin: 0 auto 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; font-size: .9rem;
  margin-bottom: 8px; color: var(--dark);
}
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: var(--font-body); font-size: .95rem;
  color: var(--dark); background: var(--white); transition: all var(--transition);
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,.12); }

.results-table-wrap { overflow-x: auto; }
.results-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.results-table thead { background: linear-gradient(135deg, var(--blue), #0e3fad); color: var(--white); }
.results-table th, .results-table td { padding: 14px 18px; text-align: left; }
.results-table tbody tr:nth-child(even) { background: var(--light); }
.results-table tbody tr:hover { background: var(--light-blue); }
.grade-badge {
  display: inline-block; padding: 3px 12px; border-radius: 50px;
  font-weight: 700; font-size: .8rem;
}
.grade-a { background: #d1fae5; color: #065f46; }
.grade-b { background: #dbeafe; color: #1e40af; }
.grade-c { background: #fef3c7; color: #92400e; }
.grade-f { background: #fee2e2; color: #991b1b; }

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 22px; border-radius: 50px; border: 1.5px solid var(--border);
  background: var(--white); font-family: var(--font-body); font-size: .875rem;
  font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue); border-color: var(--blue); color: var(--white);
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4/3; cursor: pointer; background: var(--light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.8) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: .95rem; }
.gallery-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--gray);
  background: linear-gradient(135deg, var(--light), #e2e8f0);
}
.gallery-placeholder i { font-size: 2.5rem; margin-bottom: 8px; opacity: .5; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-bg { background: var(--light); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { color: var(--gold); margin-bottom: 16px; font-size: 1rem; }
.testimonial-text { color: var(--gray); font-size: .95rem; line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 50px; height: 50px; border-radius: 50%; background: var(--light-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-author h4 { font-weight: 700; font-size: .95rem; }
.testimonial-author span { font-size: .8rem; color: var(--gray); }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image-wrap { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--light-blue), var(--light));
  display: flex; align-items: center; justify-content: center;
}
.about-img-main i { font-size: 5rem; color: var(--blue); opacity: .3; }
.about-badge-float {
  position: absolute; bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: var(--white); padding: 20px 24px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge-float strong { display: block; font-size: 2rem; font-family: var(--font-display); }
.about-badge-float span  { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }

.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border);
}
.mv-card.mission { border-top: 4px solid var(--blue); }
.mv-card.vision  { border-top: 4px solid var(--gold); }
.mv-icon { font-size: 2rem; margin-bottom: 14px; }
.mv-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.mv-card p  { font-size: .9rem; color: var(--gray); }

.faculty-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px;
}
.faculty-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 20px; text-align: center;
  transition: all var(--transition);
}
.faculty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.faculty-photo {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--light-blue), #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--blue);
}
.faculty-card h4 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.faculty-dept  { font-size: .82rem; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.faculty-exp   { font-size: .8rem; color: var(--gray); }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; display: flex;
  align-items: flex-start; gap: 16px;
  transition: box-shadow var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow); }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: var(--light-blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-info-card h4 { font-weight: 700; margin-bottom: 4px; }
.contact-info-card p  { font-size: .9rem; color: var(--gray); }

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow);
}
.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  height: 250px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  margin-top: 20px; font-size: .9rem; color: var(--gray);
}

/* ── DASHBOARD ───────────────────────────────────────────── */
.dashboard-grid {
  display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start;
}
.sidebar {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px;
}
.sidebar-avatar {
  text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.sidebar-avatar-img {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px;
  background: var(--light-blue); display: flex; align-items: center;
  justify-content: center; font-size: 2.2rem; color: var(--blue);
}
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--dark);
  margin-bottom: 4px; transition: all var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--light-blue); color: var(--blue); }
.dashboard-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px;
}
.dashboard-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.dashboard-card h4 { font-size: .85rem; color: var(--gray); margin-bottom: 8px; }
.dashboard-card .value { font-size: 1.8rem; font-weight: 700; color: var(--navy); }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--navy); color: var(--white);
  padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand {
  padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-display); font-size: 1.15rem;
  display: flex; align-items: center; gap: 10px;
}
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  color: #94a3b8; font-size: .9rem; font-weight: 500; transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active { color: var(--white); background: rgba(255,255,255,.07); border-color: var(--blue); }
.admin-main { background: #f8fafc; padding: 32px; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.admin-stat-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border-left: 4px solid var(--blue); box-shadow: var(--shadow);
}
.admin-stat-card.gold-border  { border-color: var(--gold); }
.admin-stat-card.green-border { border-color: var(--green); }
.admin-stat-card.red-border   { border-color: var(--red); }
.admin-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.admin-table thead { background: var(--navy); color: var(--white); }
.admin-table th, .admin-table td { padding: 12px 16px; text-align: left; font-size: .9rem; }
.admin-table tbody tr:hover { background: var(--light); }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert {
  padding: 14px 20px; border-radius: 8px; margin-bottom: 20px;
  font-size: .9rem; display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: var(--light-blue); color: #1e40af; border: 1px solid #93c5fd; }

/* ── AUTH PAGES ──────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; background: linear-gradient(135deg, var(--navy), #0d2463);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.auth-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px 40px; width: 100%; max-width: 440px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 32px; }
.auth-card h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  text-align: center; margin-bottom: 8px; color: var(--navy);
}
.auth-card .auth-sub { text-align: center; color: var(--gray); font-size: .9rem; margin-bottom: 28px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--navy); color: #94a3b8; }
.footer-top { padding: 60px 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--white);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.footer-col p { font-size: .9rem; line-height: 1.75; margin-bottom: 20px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; font-weight: 700; }
.footer-col ul li a {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; padding: 4px 0; color: #94a3b8;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li a i { font-size: .7rem; color: var(--blue); }
.footer-contact p { font-size: .875rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #94a3b8; font-size: .9rem;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--blue); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; text-align: center; font-size: .85rem;
}

/* ── SCROLL TOP ──────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; box-shadow: 0 4px 16px rgba(26,86,219,.4);
  opacity: 0; pointer-events: none; transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--navy); transform: translateY(-2px); }

/* ── SEARCH INPUT ────────────────────────────────────────── */
.search-bar {
  display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap;
}
.search-bar .form-control { flex: 1; min-width: 200px; }
.search-bar select.form-control { flex: 0 0 180px; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

.animate-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-stat-cards { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 24px; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-cards { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .topbar-left { display: none; }
  .section { padding: 50px 0; }
  .auth-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
