/* =====================================================
 IICT – Professional Design System
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary:    #0b5ed7;
  --primary-dark: #0845a0;
  --accent:     #ff7a00;
  --accent-light: #fff0e0;
  --success:    #10b981;
  --danger:     #ef4444;
  --warning: #f59e0b;
  --bg:     #f5f7fb;
  --bg-alt:     #eef2fa;
  --header-bg:  #062b66;
  --nav-bg:     #ffffff;
  --footer-bg:  #020c1b;
  --text:       #1a1f36;
  --text-muted: #64748b;
  --card-bg:    #ffffff;
  --card-shadow: 0 4px 24px rgba(0,0,0,.06);
  --card-hover-shadow: 0 12px 40px rgba(11,94,215,.12);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font:       'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  margin: 0;
line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.site-content { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* ---------- Utility classes ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.bg-gradient-accent  { background: linear-gradient(135deg, var(--accent), #e06800); }
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-title {
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: .25rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}
.divider {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 1rem 0 1.5rem;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%    { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%  { transform: scale(1.05); }
}
.animate-fadeInUp { animation: fadeInUp .7s ease both; }
.animate-fadeIn   { animation: fadeIn .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* ---------- Top Bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--header-bg), #0a3a7d);
  color: #fff;
  font-size: .88rem;
  padding: .5rem 0;
  border-bottom: 2px solid rgba(255,255,255,.08);
}
.topbar .contact { display: flex; align-items: center; gap: .5rem; }
.topbar .social a {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  transition: all var(--transition);
}
.topbar .social a:hover { color: var(--accent); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar {
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.1); }
.navbar .container { padding-top: 6px; padding-bottom: 6px; }
.navbar-brand .brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.3px;
}
.navbar-brand small { color: var(--text-muted); font-size: .78rem; }

/* Nav Links */
.navbar .nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  padding: .55rem .85rem;
  border-radius: 8px;
  position: relative;
  transition: all var(--transition);
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: all var(--transition);
  transform: translateX(-50%);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--primary);
background: rgba(11,94,215,.04);
}
.navbar .nav-link:hover::after { width: 60%; }

/* Dropdown */
.navbar .dropdown-menu {
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  border-radius: var(--radius);
  padding: .5rem;
  animation: fadeInUp .25s ease;
}
.navbar .dropdown-item {
  border-radius: 8px;
  padding: .5rem .9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.navbar .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(11,94,215,.06), rgba(255,122,0,.04));
  color: var(--primary);
  padding-left: 1.1rem;
}

/* Admin button */
.navbar .btn-outline-primary {
  color: var(--primary);
  border: 2px solid rgba(11,94,215,.2);
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
}
.navbar .btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(11,94,215,.25);
  transform: translateY(-1px);
}

/* ---------- Page Header (reusable banner for inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--header-bg) 0%, #0a3a7d 60%, #1352a8 100%);
  padding: 3.5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: -3rem -3rem 2.5rem -3rem;
  /* If inside .container.my-5, we counter the container margins */
}
.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.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 0V0h-2v4h-4v2h4v4h2V4h4V0h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 0V0H4v4H0v2h4v4h2V4h4V0H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .6;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.page-header h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
  margin-bottom: .5rem;
}
.page-header .breadcrumb-text {
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb-text a { color: var(--accent); }

/* ---------- Hero (Home page) ---------- */
.hero {
  background: linear-gradient(135deg, rgba(6,43,102,.96), rgba(10,58,125,.88)), 
     url('/images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,.15), transparent 70%);
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,94,215,.15), transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}
.hero.home-hero { padding: 5rem 0 4.5rem; }
.hero .container { position: relative; z-index: 2; }
.hero .display-5 { color: #fff; font-weight: 800; font-size: 2.8rem; line-height: 1.2; }
.hero .lead { color: rgba(255,255,255,.88); font-size: 1.15rem; line-height: 1.7; }
.hero-list {
  color: rgba(255,255,255,.9);
  padding-left: 0;
  list-style: none;
  margin-bottom: 1.5rem;
}
.hero-list li {
  position: relative;
padding-left: 1.6rem;
  margin-bottom: .5rem;
}
.hero-list li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--accent);
font-weight: 700;
}
.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.1);
animation: fadeInUp .8s ease .3s both;
}
.hero-card img { border-radius: 14px; }

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}
.hero-stat .label { font-size: .82rem; color: rgba(255,255,255,.7); }

/* ---------- CTA Button ---------- */
.cta-btn {
  background: linear-gradient(135deg, var(--accent), #e06800);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(255,122,0,.3);
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,122,0,.4);
}
.cta-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 15px rgba(11,94,215,.3);
}
.cta-btn-primary:hover {
  box-shadow: 0 8px 30px rgba(11,94,215,.4);
}

/* ---------- Brand Button ---------- */
.btn-brand {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: .55rem 1.5rem;
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(11,94,215,.2);
}
.btn-brand:hover {
  color: #fff;
transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(11,94,215,.3);
}

/* ---------- Sections ---------- */
.home-section { padding: 4.5rem 0; }
.bg-light-alt { background: var(--bg-alt); }
.bg-white-section { background: #fff; }

/* ---------- Feature / Service Cards ---------- */
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(11,94,215,.1);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.feature-card:hover .icon-wrap { transform: scale(1.08); }
.icon-blue    { background: rgba(11,94,215,.08); color: var(--primary); }
.icon-orange  { background: rgba(255,122,0,.08); color: var(--accent); }
.icon-green   { background: rgba(16,185,129,.08); color: var(--success); }
.icon-purple  { background: rgba(139,92,246,.08); color: #8b5cf6; }
.icon-red     { background: rgba(239,68,68,.08); color: var(--danger); }
.icon-teal    { background: rgba(20,184,166,.08); color: #14b8a6; }

.feature-card h5 { font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p{ color: var(--text-muted); font-size: .92rem; margin-bottom: 0; }
.feature-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-weight: 600;
  font-size: .88rem;
  margin-top: 1rem;
  color: var(--primary);
  transition: gap var(--transition);
}
.feature-card:hover .card-link { gap: .6rem; }

/* Old .feature class compat */
.feature {
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,.04);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}

/* ---------- Check List ---------- */
.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: .6rem;
  color: var(--text);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .45rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: .15;
}
.check-list li::after {
  content: '?';
  position: absolute;
  left: 4px;
top: .2rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--header-bg), #0a3a7d);
  padding: 3.5rem 0;
  color: #fff;
}
.stat-item {
  text-align: center;
  padding: 1rem;
}
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  display: block;
}
.stat-item .stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  margin-top: .25rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.04);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: .15;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.testimonial-card p { color: var(--text-muted); font-style: italic; font-size: .95rem; }
.testimonial-card .author {
  font-weight: 700;
  color: var(--text);
  margin-top: 1rem;
}
.testimonial-card .role { font-size: .82rem; color: var(--text-muted); }

/* ---------- Process / How It Works ---------- */
.process-step {
  text-align: center;
  position: relative;
}
.process-step .step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(11,94,215,.25);
}
.process-step h6 { font-weight: 700; }
.process-step p  { color: var(--text-muted); font-size: .9rem; }

/* ---------- Course / Training Cards ---------- */
.course-card {
background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.04);
  transition: all var(--transition);
  height: 100%;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
}
.course-card .course-icon {
  background: linear-gradient(135deg, var(--primary), #1868d4);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  font-size: 2rem;
}
.course-card .course-body { padding: 1.25rem; }
.course-card .course-body h5 { font-weight: 700; font-size: 1.05rem; }
.course-card .course-body p  { color: var(--text-muted); font-size: .9rem; }
.course-card .course-meta {
  display: flex;
  gap: .75rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .75rem;
}
.course-card .course-meta span { display: flex; align-items: center; gap: .25rem; }

/* ---------- Info Box ---------- */
.info-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
}
.info-box.accent { border-left-color: var(--accent); }
.info-box h6 { font-weight: 700; margin-bottom: .5rem; }

/* ---------- Contact Form styling ---------- */
.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,.04);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-info-item .ci-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-info-item h6 { font-weight: 700; margin-bottom: .15rem; font-size: .95rem; }
.contact-info-item p  { color: var(--text-muted); margin-bottom: 0; font-size: .9rem; }

/* ---------- Form Controls ---------- */
.form-control {
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  padding: .65rem 1rem;
  font-size: .92rem;
  transition: all var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,94,215,.1);
}

/* ---------- Cards (Bootstrap override) ---------- */
.card {
  border: 1px solid rgba(0,0,0,.05);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.card-body { padding: 1.75rem; }

/* ---------- KPI / Info blocks in verify result ---------- */
.kpi {
  background: var(--bg-alt);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.04);
}
.kpi small { color: var(--text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.kpi .fw-bold { font-size: 1.05rem; }

/* ---------- Badges ---------- */
.badge-soft {
  background: rgba(16,185,129,.1);
  color: var(--success);
  font-weight: 600;
  border-radius: 8px;
}
.badge-warn-soft {
  background: rgba(245,158,11,.1);
  color: var(--warning);
  font-weight: 600;
  border-radius: 8px;
}

/* ---------- Table ---------- */
.table { border-radius: var(--radius); overflow: hidden; }
.table thead th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: .85rem;
text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  border-bottom: 2px solid rgba(0,0,0,.06);
}
.table tbody tr { transition: background var(--transition); }
.table tbody tr:hover { background: rgba(11,94,215,.02); }

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover { transform: translateY(-4px) scale(1.02); box-shadow: var(--card-hover-shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: 1.5rem;
}
.gallery-placeholder i { font-size: 2rem; display: block; margin-bottom: .5rem; opacity: .4; }

/* ---------- Footer ---------- */
.footer-dark {
  background: linear-gradient(180deg, var(--footer-bg), #010a15);
  color: #94a7be;
  padding: 3.5rem 0 0;
  margin-top: 0;
}
.footer-dark .container { max-width: 1140px; }
.footer-dark h5,
.footer-dark h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer-dark p { color: #8299b3; line-height: 1.7; }
.footer-dark a { color: #b8ccdf; text-decoration: none; transition: all var(--transition); }
.footer-dark a:hover { color: #fff; padding-left: 2px; }
.footer-dark .list-unstyled li { margin-bottom: .6rem; }
.footer-dark .list-unstyled li a { display: flex; align-items: center; gap: .4rem; }
.footer-dark .list-unstyled li a::before { content: '›'; color: var(--accent); font-weight: 700; }

/* Social icons in footer */
.footer-dark .social-icons { display: flex; gap: .75rem; margin-top: .75rem; }
.footer-dark .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: #b8ccdf;
  font-size: 1rem;
  transition: all var(--transition);
}
.footer-dark .social-icons a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(11,94,215,.3);
}

/* Footer bottom */
.footer-dark .bottom-row {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
  margin-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.footer-dark .bottom-row .legal-links { display: flex; gap: 1.25rem; }
.footer-dark .bottom-row .legal-links a { color: #6b829a; }
.footer-dark .bottom-row .legal-links a:hover { color: #fff; }

/* ---------- Alert refinements ---------- */
.alert { border-radius: 10px; border: none; font-size: .92rem; }
.alert-info {
  background: rgba(11,94,215,.06);
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
}
.alert-danger {
  background: rgba(239,68,68,.06);
  color: #b91c1c;
  border-left: 4px solid var(--danger);
}
.alert-warning {
  background: rgba(245,158,11,.06);
  color: #92400e;
  border-left: 4px solid var(--warning);
}
.alert-success {
  background: rgba(16,185,129,.06);
  color: #065f46;
  border-left: 4px solid var(--success);
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(11,94,215,.3);
  z-index: 999;
  border: none;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero.home-hero { padding: 3.5rem 0 3rem; }
  .hero .display-5 { font-size: 2rem; }
  .hero-stats { gap: 1.2rem; flex-wrap: wrap; }
  .page-header { margin: -3rem -1rem 2rem -1rem; padding: 2.5rem 1rem 2rem; }
  .page-header h1 { font-size: 1.8rem; }
}
@media (max-width: 767px) {
  .hero.home-hero { padding: 3rem 0 2.5rem; }
  .hero .display-5 { font-size: 1.75rem; }
  .hero .hero-card { margin-top: 1.5rem; }
  .navbar .nav-link { padding: .5rem .7rem; }
  .stat-item .stat-number { font-size: 2rem; }
  .footer-dark { padding: 2.5rem 0 0; }
  .footer-dark .bottom-row {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }
  .home-section { padding: 3rem 0; }
  .page-header { margin: -3rem -.75rem 1.5rem -.75rem; }
}
