/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy: #1B3A6B;
  --gold:  #F5A623;
  --green: #27AE60;
  --dark:  #2C3E50;
}

/* ─── Base ──────────────────────────────────────────────────── */
* { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; }

/* ─── Nav ───────────────────────────────────────────────────── */
.nav-link {
  color: #374151;
  font-size: .9rem;
  font-weight: 500;
  padding: .25rem .25rem;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.nav-link:hover, .nav-active {
  color: #1B3A6B;
  border-bottom-color: #F5A623;
}
.mobile-nav-link {
  display: block;
  padding: .6rem 1rem;
  color: #374151;
  font-size: .9rem;
  border-radius: .5rem;
  transition: background .2s;
}
.mobile-nav-link:hover { background: #f3f4f6; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  background: #1B3A6B;
  color: #fff;
  padding: .6rem 1.5rem;
  border-radius: .5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #2E5FB5; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(27,58,107,.3); }

.btn-gold {
  background: #F5A623;
  color: #1B3A6B;
  padding: .6rem 1.5rem;
  border-radius: .5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
}
.btn-gold:hover { background: #D4891C; transform: translateY(-1px); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: .5rem 1.25rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,.35); }

.btn-outline {
  border: 2px solid #1B3A6B;
  color: #1B3A6B;
  padding: .55rem 1.25rem;
  border-radius: .5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
}
.btn-outline:hover { background: #1B3A6B; color: #fff; }

/* ─── Cards ─────────────────────────────────────────────────── */
.course-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: all .3s;
  border: 1px solid #e5e7eb;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27,58,107,.15);
  border-color: #1B3A6B;
}
.course-icon {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.stat-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border-top: 4px solid #F5A623;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero-gradient {
  background: linear-gradient(135deg, #0F2040 0%, #1B3A6B 50%, #2E5FB5 100%);
}
.hero-badge {
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.4);
  color: #F5A623;
  padding: .35rem 1rem;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

/* ─── Section ───────────────────────────────────────────────── */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1B3A6B;
  line-height: 1.2;
}
.section-sub {
  color: #6b7280;
  font-size: 1.05rem;
  margin-top: .5rem;
}
.gold-underline {
  position: relative;
  display: inline-block;
}
.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: #F5A623;
  border-radius: 2px;
}

/* ─── Accordion ─────────────────────────────────────────────── */
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-radius: .5rem;
  transition: background .2s;
  font-weight: 600;
  color: #1B3A6B;
}
.acc-header:hover { background: #EEF2FB; }
.acc-body {
  display: none;
  padding: 1rem 1.25rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 .5rem .5rem;
}
.acc-body.open { display: block; }
.acc-icon { transition: transform .3s; }
.acc-open .acc-icon { transform: rotate(180deg); }

/* ─── Tool Badge ─────────────────────────────────────────────── */
.tool-chip {
  background: #EEF2FB;
  color: #1B3A6B;
  padding: .3rem .8rem;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

/* ─── Admin ─────────────────────────────────────────────────── */
.admin-sidebar { background: #0F2040; min-height: 100vh; width: 240px; flex-shrink: 0; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.25rem;
  color: #9ca3af;
  font-size: .875rem;
  border-radius: .5rem;
  margin: .1rem .5rem;
  transition: all .2s;
}
.admin-nav-link:hover, .admin-nav-active {
  background: rgba(245,166,35,.15);
  color: #F5A623;
}
.admin-card {
  background: #fff;
  border-radius: .75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid #e5e7eb;
}

/* ─── Forms ─────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: .6rem .9rem;
  border: 1.5px solid #d1d5db;
  border-radius: .5rem;
  font-size: .9rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { outline: none; border-color: #1B3A6B; box-shadow: 0 0 0 3px rgba(27,58,107,.1); }
.form-label { font-size: .85rem; font-weight: 600; color: #374151; margin-bottom: .35rem; display: block; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer-link { color: #9ca3af; transition: color .2s; }
.footer-link:hover { color: #F5A623; }
.social-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
  transition: transform .2s;
}
.social-icon:hover { transform: scale(1.1); }

/* ─── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  animation: pulse-wa 2s infinite;
}
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border-left: 4px solid #F5A623;
}

/* ─── Tables ─────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: #1B3A6B;
  color: #fff;
  padding: .75rem 1rem;
  text-align: left;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.data-table td { padding: .75rem 1rem; border-bottom: 1px solid #f3f4f6; font-size: .875rem; }
.data-table tr:hover td { background: #f9fafb; }

/* ─── Alert / Flash ──────────────────────────────────────────── */
.alert { padding: .9rem 1.25rem; border-radius: .5rem; font-size: .9rem; margin-bottom: 1rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e3a8a; border: 1px solid #93c5fd; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-title { font-size: 1.5rem; }
  .hero-gradient { min-height: 70vh; }
}

/* ─── Counter Animation ──────────────────────────────────────── */
.counter-num { font-size: 2.5rem; font-weight: 800; color: #1B3A6B; line-height: 1; }
