:root {
  --xt-blue: #2563eb;
  --xt-purple: #7c3aed;
  --xt-purple-dark: #5b21b6;
  --xt-ink: #111827;
  --xt-gray: #6b7280;
  --xt-light: #f6f7fb;
  --xt-border: #e5e7eb;
  --xt-gradient: linear-gradient(135deg, var(--xt-blue) 0%, var(--xt-purple) 100%);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--xt-ink);
  background: #ffffff;
}

h1, h2, h3, h4, h5, h6, .xt-heading-font {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; }

/* ---------- Top bar ---------- */
.xt-topbar {
  background: var(--xt-ink);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 6px 0;
}
.xt-topbar-item i { color: #93c5fd; margin-right: 6px; }
.xt-topbar a.xt-topbar-item { color: #cbd5e1; }

/* ---------- Navbar ---------- */
.xt-navbar {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06);
  padding: 12px 0;
  z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.xt-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--xt-gradient);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}
.xt-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--xt-ink);
}
.xt-navbar .nav-link {
  font-weight: 500;
  color: var(--xt-ink);
  padding: 8px 14px !important;
}
.xt-navbar .nav-link.active,
.xt-navbar .nav-link:hover {
  color: var(--xt-purple);
}
.xt-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(17,24,39,0.12);
  border-radius: 10px;
  padding: 8px;
}
.xt-navbar .dropdown-item {
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.92rem;
}
.xt-navbar .dropdown-item:hover { background: var(--xt-light); color: var(--xt-purple); }

.xt-btn-primary {
  background: var(--xt-gradient);
  color: #fff !important;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}
.xt-btn-primary:hover { opacity: 0.92; color: #fff; }

.xt-btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
}
.xt-btn-outline:hover { background: #fff; color: var(--xt-purple); }

.xt-btn-outline-dark {
  border: 2px solid var(--xt-purple);
  color: var(--xt-purple);
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
}
.xt-btn-outline-dark:hover { background: var(--xt-gradient); color: #fff; border-color: transparent; }

/* ---------- Hero ---------- */
.xt-hero {
  background: var(--xt-gradient);
  color: #fff;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.xt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,0.12) 0, transparent 35%),
                     radial-gradient(circle at 85% 75%, rgba(255,255,255,0.10) 0, transparent 40%);
}
.xt-hero-content { position: relative; z-index: 2; }
.xt-hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
.xt-hero .xt-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.xt-hero p.lead { font-size: 1.15rem; opacity: 0.92; max-width: 560px; }
.xt-hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.xt-hero-stats div strong { font-size: 1.8rem; font-family: 'Poppins', sans-serif; display: block; }
.xt-hero-stats div span { font-size: 0.85rem; opacity: 0.85; }

.xt-hero-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 25px 60px rgba(17,24,39,0.25);
  color: var(--xt-ink);
}
.xt-hero-card .list-group-item {
  border: none;
  padding: 12px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.xt-hero-card .list-group-item i {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--xt-light);
  color: var(--xt-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Sections ---------- */
.xt-section { padding: 80px 0; }
.xt-section-light { background: var(--xt-light); }
.xt-section-dark { background: var(--xt-ink); color: #e5e7eb; }
.xt-eyebrow-sm {
  color: var(--xt-purple);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.xt-section-title { font-size: 2.1rem; margin: 8px 0 14px; }
.xt-section-sub { color: var(--xt-gray); max-width: 640px; }

/* ---------- Cards ---------- */
.xt-card {
  background: #fff;
  border: 1px solid var(--xt-border);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.xt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(17,24,39,0.10);
  border-color: transparent;
}
.xt-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--xt-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.xt-card h5 { margin-bottom: 8px; }
.xt-card p { color: var(--xt-gray); font-size: 0.93rem; margin-bottom: 0; }

.xt-course-card {
  background: #fff;
  border: 1px solid var(--xt-border);
  border-radius: 16px;
  padding: 22px;
  height: 100%;
}
.xt-course-card .xt-course-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--xt-light);
  color: var(--xt-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.xt-course-card .badge {
  background: var(--xt-light);
  color: var(--xt-purple);
  font-weight: 600;
  font-size: 0.72rem;
}
.xt-course-meta { font-size: 0.82rem; color: var(--xt-gray); margin-top: 10px; }

.xt-track-table th { background: var(--xt-light); border: none; }
.xt-track-table td, .xt-track-table th { vertical-align: middle; padding: 16px; }

/* ---------- Testimonials ---------- */
.xt-testimonial {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--xt-border);
  height: 100%;
}
.xt-testimonial i.fa-quote-left { color: var(--xt-purple); opacity: 0.25; font-size: 1.8rem; }
.xt-testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--xt-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------- CTA ---------- */
.xt-cta {
  background: var(--xt-gradient);
  border-radius: 24px;
  padding: 56px;
  color: #fff;
  text-align: center;
}

/* ---------- Timeline (FDP durations) ---------- */
.xt-duration-card {
  background: #fff;
  border: 1px solid var(--xt-border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  height: 100%;
}
.xt-duration-card .xt-duration-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--xt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Steps ---------- */
.xt-step {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}
.xt-step-num {
  min-width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--xt-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

/* ---------- Faculty ---------- */
.xt-faculty-card {
  background: #fff;
  border: 1px solid var(--xt-border);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
}
.xt-faculty-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--xt-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

/* ---------- Forms ---------- */
.xt-form-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(17,24,39,0.10);
  padding: 34px;
  border: 1px solid var(--xt-border);
}
.form-label { font-weight: 600; font-size: 0.9rem; }
.form-control, .form-select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--xt-border);
}
.form-control:focus, .form-select:focus {
  border-color: var(--xt-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* ---------- Footer ---------- */
.xt-footer { background: var(--xt-ink); color: #cbd5e1; padding: 60px 0 24px; margin-top: 40px; }
.xt-footer-brand { display: flex; align-items: center; gap: 10px; }
.xt-footer-text { color: #9ca3af; font-size: 0.92rem; }
.xt-footer-heading { color: #fff; font-family: 'Poppins', sans-serif; margin-bottom: 16px; font-size: 1rem; }
.xt-footer-links { list-style: none; padding: 0; margin: 0; }
.xt-footer-links li { margin-bottom: 10px; font-size: 0.9rem; color: #9ca3af; }
.xt-footer-links a { color: #9ca3af; }
.xt-footer-links a:hover { color: #fff; }
.xt-footer-hr { border-color: #374151; margin: 36px 0 20px; }
.xt-footer-copy { color: #9ca3af; font-size: 0.85rem; }
.xt-social { display: flex; gap: 10px; }
.xt-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1f2937;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.xt-social a:hover { background: var(--xt-gradient); color: #fff; }

.xt-wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 1040;
}

/* ---------- Page header (inner pages) ---------- */
.xt-page-header {
  background: var(--xt-gradient);
  color: #fff;
  padding: 60px 0;
}
.xt-page-header h1 { font-size: 2.3rem; margin-bottom: 8px; }
.xt-breadcrumb a { color: #dbeafe; }
.xt-breadcrumb span { color: #fff; }

/* ---------- Alerts ---------- */
.xt-alert-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 12px;
  padding: 16px 20px;
}
.xt-alert-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 12px;
  padding: 16px 20px;
}

@media (max-width: 991px) {
  .xt-hero h1 { font-size: 2.2rem; }
  .xt-hero { padding: 50px 0 70px; }
  .xt-hero-card { margin-top: 30px; }
}
