:root {
  --primary: #0B5ED7;
  --primary-dark: #084298;
  --secondary: #FFFFFF;
  --accent: #FFC107;
  --dark: #101828;
  --gray-light: #F5F7FB;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  color: #1f2937;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
}

a { text-decoration: none; }

/* ===== Buttons ===== */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #1f2937;
  font-weight: 600;
}
.btn-accent:hover { background-color: #e5ac06; color: #1f2937; }

.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background-color: var(--primary) !important; }
.bg-accent { background-color: var(--accent) !important; }

/* ===== Topbar & Navbar ===== */
.topbar {
  background: var(--primary-dark);
  color: #fff;
}
.navbar-brand span { font-family: var(--font-heading); font-weight: 700; color: var(--dark); }
.nav-link { font-weight: 500; color: #1f2937 !important; }
.nav-link:hover { color: var(--primary) !important; }

/* ===== Hero Slider ===== */
.hero-slider { position: relative; height: 92vh; min-height: 560px; }
.hero-slide {
  position: relative;
  height: 92vh; min-height: 560px;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,94,215,.55) 0%, rgba(16,24,40,.75) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.3rem); }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-title-badge {
  display: inline-block; background: rgba(11,94,215,.1); color: var(--primary);
  font-weight: 600; font-size: .85rem; padding: 6px 16px; border-radius: 30px; margin-bottom: 12px;
}
.bg-light-custom { background-color: var(--gray-light); }

/* ===== Cards ===== */
.card-faculty, .card-news, .card-program {
  border: none; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(16,24,40,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.card-faculty:hover, .card-news:hover, .card-program:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(16,24,40,.12);
}
.card-faculty img, .card-news img { height: 200px; object-fit: cover; width: 100%; }
.badge-accent { background: var(--accent); color: #1f2937; font-weight: 600; }

/* ===== Footer ===== */
.footer-link { color: #cbd5e1; }
.footer-link:hover { color: var(--accent); }
.text-light-50 { color: rgba(255,255,255,.6); }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.social-icon:hover { background: var(--accent); color: #1f2937; }

/* ===== WhatsApp float button ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 6px 16px rgba(0,0,0,.25);
  animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Admin dashboard ===== */
.admin-sidebar { min-height: 100vh; width: 260px; background: #101828; color: #fff; }
.admin-sidebar a { color: #cbd5e1; }
.admin-sidebar a.active, .admin-sidebar a:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-content { background: var(--gray-light); min-height: 100vh; }
body.dark-mode { background: #0d1117; color: #e6edf3; }
body.dark-mode .card { background: #161b22; color: #e6edf3; }

/* ===== Utilities ===== */
.rounded-4x { border-radius: 24px; }
.object-cover { object-fit: cover; }
