/* ============================================================
   VJR AI Infotech — Shared Stylesheet
   Covers: CSS variables, reset, container, topbar, navbar,
           mobile-nav, footer, scroll-progress, back-to-top,
           section helpers, card grid, buttons, forms, badges,
           accordion, breadcrumb, page-hero.
   Each page links this file + adds its own page-specific rules.
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --clr-primary:       #5c0fd6;
  --clr-primary-light: #7c3aed;
  --clr-accent:        #c2185b;
  --clr-accent2:       #0077b6;
  --clr-dark:          #0d1b2a;
  --clr-mid:           #1e3a5f;
  --clr-light:         #f4f6ff;
  --clr-white:         #ffffff;
  --clr-text:          #1a1a2e;
  --clr-muted:         #5a6a7e;
  --clr-border:        #e0e7ff;
  --font-head:         'Syne', sans-serif;
  --font-body:         'DM Sans', sans-serif;
  --radius:            12px;
  --shadow:            0 4px 24px rgba(92,15,214,.10);
  --shadow-lg:         0 12px 40px rgba(92,15,214,.16);
  --transition:        all .3s cubic-bezier(.4,0,.2,1);
  --nav-h:             72px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); color: var(--clr-text);
        background: #fff; line-height: 1.6; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ── SCROLL PROGRESS ─────────────────────────────────────── */
#scroll-prog {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  z-index: 9999; transition: width .1s linear;
}

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── MATERIAL ICONS ──────────────────────────────────────── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

/* ── TOPBAR ──────────────────────────────────────────────── */
.topbar {
  background: var(--clr-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #90caf9; transition: var(--transition); }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
@media (max-width: 560px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-right { gap: 12px; justify-content: center; }
}

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(92,15,214,.12); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px;
}
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--clr-dark); white-space: nowrap; }
.logo-text span { color: var(--clr-primary); }

/* Desktop nav links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 15px; font-weight: 500;
  color: #000;
  background: none; border: none; cursor: pointer;
  border-radius: 8px; transition: var(--transition);
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active {
  color: var(--clr-primary);
  background: rgba(92,15,214,.06);
}

/* Dropdown (Courses menu) */
.dropdown {
  position: absolute;
  top: calc(100% + 8px); left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100; padding: 8px;
}
.nav-links > li.has-dropdown:hover .dropdown,
.nav-links > li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--clr-text);
  transition: var(--transition);
}
.dropdown a:hover { background: rgba(92,15,214,.07); color: var(--clr-primary); }

/* Submenu (nested inside dropdown) */
.has-submenu { position: relative; }
.has-submenu > a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--clr-text);
  transition: var(--transition); width: 100%;
}
.has-submenu > a:hover { background: rgba(92,15,214,.07); color: var(--clr-primary); }
.submenu-arrow { margin-left: auto !important; transition: transform .25s ease; }
.has-submenu:hover .submenu-arrow { transform: rotate(90deg); }
.submenu {
  position: absolute; top: 0; left: 100%;
  min-width: 190px; background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden;
  transform: translateX(6px); transition: var(--transition); z-index: 200;
}
.has-submenu:hover .submenu { opacity: 1; visibility: visible; transform: translateX(0); }
.submenu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--clr-text);
  transition: var(--transition); white-space: nowrap;
}
.submenu a:hover { background: rgba(92,15,214,.07); color: var(--clr-primary); }

/* Enroll CTA button in navbar */
.nav-cta-desktop {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta-desktop:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92,15,214,.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  border: none; background: none; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--clr-dark); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ──────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999;
  overflow-y: auto; padding: 12px 0;
  transform: translateX(-100%);
  transition: transform .35s ease;
  border-top: 1px solid var(--clr-border);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav a,
.mobile-nav button {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  font-size: 16px; font-weight: 500;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  width: 100%; text-align: left;
  background: none;
  border-left: none; border-top: none; border-right: none;
  font-family: var(--font-body); cursor: pointer;
  transition: var(--transition);
}
.mobile-nav a:hover,
.mobile-nav button:hover { color: var(--clr-primary); background: rgba(92,15,214,.04); }
.mobile-nav a.enroll-mobile {
  color: var(--clr-primary); font-weight: 700; letter-spacing: .3px;
}

/* Mobile sub-menus */
.mobile-sub { padding-left: 0; display: none; background: var(--clr-light); }
.mobile-sub.open { display: block; }
.mobile-sub a,
.mobile-sub button {
  padding-left: 40px;
  font-size: 15px; color: var(--clr-muted);
}

.mobile-sub-inner { padding-left: 0; display: none; }
.mobile-sub-inner.open { display: block; }
.mobile-sub-inner a { padding-left: 56px; font-size: 14px; color: var(--clr-muted); }

/* ── RESPONSIVE NAVBAR TOGGLE ────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 50px;
  font-weight: 600; font-size: 15px;
  transition: var(--transition); cursor: pointer;
  border: 2px solid transparent; font-family: var(--font-body);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(92,15,214,.4); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.btn-outline:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--clr-primary); }
.btn-white:hover { background: var(--clr-light); transform: translateY(-2px); }
.btn-dark { background: var(--clr-dark); color: #fff; }
.btn-dark:hover { background: var(--clr-mid); transform: translateY(-2px); }

/* ── SECTIONS ────────────────────────────────────────────── */
.section     { padding: 80px 0; }
.section-sm  { padding: 50px 0; }
.section-alt { background: var(--clr-light); }
.section-dark { background: var(--clr-dark); color: #fff; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  background: rgba(92,15,214,.1); color: var(--clr-primary);
  padding: 5px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800; line-height: 1.2;
  color: var(--clr-dark); margin-bottom: 14px;
}
.section-title span {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-desc { font-size: 16px; color: var(--clr-muted); line-height: 1.7; }

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar { background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent)); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-item { color: #fff; }
.stat-num { font-family: var(--font-head); font-size: clamp(28px,4vw,44px); font-weight: 800; line-height: 1; }
.stat-label { font-size: 14px; opacity: .85; margin-top: 4px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

.wa-float {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.wa-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.45);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(37,211,102,0.55);
}

.wa-btn svg { width: 28px; height: 28px; fill: #fff; }

.wa-tooltip {
  background: #25D366;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  margin-left: 6px;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── CHATBOT FLOAT ── */
.chat-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #5c0fd6;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(92,15,214,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chat-toggle-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(92,15,214,0.55);
}

.chat-toggle-btn svg { width: 26px; height: 26px; fill: #fff; }

.chat-panel {
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  display: none;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}

.chat-panel.open { display: flex; }

.chat-header {
  background: #5c0fd6;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info { display: flex; align-items: center; gap: 10px; }

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar svg { width: 22px; height: 22px; fill: #fff; }

.chat-header h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  font-family: 'Space Grotesk', sans-serif;
}

.chat-header p {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  margin: 0;
}

.chat-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  transition: color 0.2s;
  padding: 0;
}

.chat-close-btn:hover { color: #fff; }
.chat-close-btn svg { width: 20px; height: 20px; fill: currentColor; }

.chat-body { padding: 16px 18px 18px; }

.chat-intro {
  background: #f3eeff;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.chat-intro p {
  font-size: 13px;
  color: #3a0a8f;
  font-weight: 600;
  margin: 0 0 4px;
}

.chat-intro span {
  font-size: 12px;
  color: #6b21a8;
}

.chat-form-group {
  margin-bottom: 10px;
}

.chat-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.chat-form-group input,
.chat-form-group select {
  width: 100%;
  height: 38px;
  border: 1.5px solid #e0d6f7;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: #222;
  background: #faf8ff;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.chat-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c0fd6' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.chat-form-group input:focus,
.chat-form-group select:focus {
  border-color: #5c0fd6;
  background: #fff;
}

.chat-submit-btn {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: #5c0fd6;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 14px;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.chat-submit-btn:hover { background: #4a0ab8; transform: translateY(-1px); }
.chat-submit-btn:active { transform: translateY(0); }
.chat-submit-btn svg { width: 16px; height: 16px; fill: #fff; }

.chat-success {
  display: none;
  text-align: center;
  padding: 20px 10px;
}

.chat-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eefaf3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.chat-success-icon svg { width: 28px; height: 28px; fill: #16a34a; }

.chat-success h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
  font-family: 'Space Grotesk', sans-serif;
}

.chat-success p {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Pulse ring on chat toggle button */
.chat-toggle-btn::after {
  content: '';
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(92,15,214,0.25);
  animation: chatPulse 2s ease-out infinite;
}

@keyframes chatPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.chat-toggle-btn { position: relative; }

@media (max-width: 400px) {
  .chat-panel { width: calc(100vw - 32px); }
}

/* ── FLOATING ROUND SOCIAL ICONS ── */
.social-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.social-float a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  position: relative;
}

.social-float a:hover {
  transform: scale(1.15) translateX(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Brand colours */
.social-float a.sf-facebook  { background: #1877F2; }
.social-float a.sf-instagram { background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-float a.sf-linkedin  { background: #0A66C2; }
.social-float a.sf-youtube   { background: #FF0000; }

/* Tooltip */
.social-float a::after {
  content: attr(data-label);
  position: absolute;
  right: 54px;
  background: #222;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.social-float a:hover::after {
  opacity: 1;
}

.social-float a svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

@media (max-width: 480px) {
  .social-float {
    right: 10px;
    gap: 8px;
  }
  .social-float a {
    width: 40px;
    height: 40px;
  }
  .social-float a::after {
    display: none;
  }
}

/* ── CARD GRIDS ──────────────────────────────────────────── */
.cards-grid { display: grid; gap: 24px; }
.cards-4 { grid-template-columns: repeat(4,1fr); }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.cards-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2,1fr); }
  .cards-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; }
}

/* ── CARD ────────────────────────────────────────────────── */
.card { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag { display: inline-block; background: rgba(92,15,214,.08); color: var(--clr-primary); padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.card-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--clr-dark); margin-bottom: 8px; }
.card-desc { font-size: 14px; color: var(--clr-muted); line-height: 1.6; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--clr-border); display: flex; align-items: center; justify-content: space-between; }
.card-meta { font-size: 13px; color: var(--clr-muted); display: flex; align-items: center; gap: 6px; }

/* ── FEATURE ITEM ────────────────────────────────────────── */
.feature-item { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--clr-border); transition: var(--transition); }
.feature-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-text h4 { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--clr-dark); margin-bottom: 6px; }
.feature-text p  { font-size: 14px; color: var(--clr-muted); line-height: 1.6; }

/* ── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial-card { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius); padding: 32px; transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-stars { color: #f59e0b; margin-bottom: 14px; font-size: 18px; }
.testimonial-text { font-size: 15px; color: var(--clr-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 700; color: var(--clr-dark); font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--clr-muted); }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  padding: 72px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-section::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; background: rgba(255,255,255,.06); border-radius: 50%; }
.cta-section::after  { content: ''; position: absolute; bottom: -80px; left: -40px; width: 240px; height: 240px; background: rgba(255,255,255,.05); border-radius: 50%; }
.cta-section h2 { font-family: var(--font-head); font-size: clamp(24px,4vw,42px); font-weight: 800; margin-bottom: 14px; }
.cta-section p  { font-size: 17px; opacity: .88; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero { position: relative; padding: 80px 0 56px; overflow: hidden; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(13,27,42,.88) 0%, rgba(92,15,214,.6) 100%); }
.page-hero-content { position: relative; z-index: 2; color: #fff; }
.page-hero-content h1 { font-family: var(--font-head); font-size: clamp(26px,4vw,46px); font-weight: 800; margin-bottom: 10px; }
.page-hero-content p  { font-size: 16px; opacity: .85; max-width: 540px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.7); transition: var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.4); }
.breadcrumb .current { color: rgba(255,255,255,.9); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--clr-dark); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--clr-border); border-radius: 8px;
  font-size: 15px; font-family: var(--font-body); color: var(--clr-text);
  transition: var(--transition); background: #fff; outline: none;
}
.form-control:focus { border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(92,15,214,.12); }
.form-control::placeholder { color: #a0aec0; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-green  { background: rgba(16,185,129,.12); color: #059669; }
.badge-purple { background: rgba(92,15,214,.1);   color: var(--clr-primary); }
.badge-pink   { background: rgba(194,24,91,.1);   color: var(--clr-accent); }

/* ── ICON COLOURS ────────────────────────────────────────── */
.icon-purple { background: rgba(92,15,214,.1); color: var(--clr-primary); }
.icon-pink   { background: rgba(194,24,91,.1); color: var(--clr-accent);  }
.icon-blue   { background: rgba(0,119,182,.1); color: var(--clr-accent2); }
.icon-teal   { background: rgba(0,137,123,.1); color: #00897b; }

/* ── GRADIENT TEXT ───────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── ACCORDION ───────────────────────────────────────────── */
.accordion-item { border: 1px solid var(--clr-border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.accordion-header {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: #fff; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--clr-dark); transition: var(--transition); text-align: left;
}
.accordion-header:hover { background: var(--clr-light); }
.accordion-header .acc-icon { transition: transform .3s ease; color: var(--clr-primary); }
.accordion-item.open .accordion-header .acc-icon { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-item.open .accordion-body { max-height: 600px; }
.accordion-body-inner { padding: 0 20px 18px; font-size: 14px; color: var(--clr-muted); line-height: 1.7; }

/* ── CURRICULUM ──────────────────────────────────────────── */
.curriculum-module { background: #fff; border: 1px solid var(--clr-border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.curriculum-module-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; user-select: none; transition: var(--transition); }
.curriculum-module-header:hover { background: var(--clr-light); }
.curriculum-module-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.curriculum-module.open .curriculum-module-body { max-height: 800px; }
.curriculum-module-body-inner { padding: 0 20px 16px; font-size: 14px; color: var(--clr-muted); line-height: 1.7; }

/* ── LAYOUT HELPERS ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rounded-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.highlight-box { background: linear-gradient(135deg,rgba(92,15,214,.06),rgba(194,24,91,.06)); border: 1px solid rgba(92,15,214,.12); border-radius: var(--radius); padding: 28px; }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; gap: 32px; } }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--clr-dark); color: #fff; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { font-size: 14px; color: #90a4be; line-height: 1.7; margin: 16px 0 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #90caf9; transition: var(--transition); }
.social-btn:hover { background: var(--clr-primary); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: #90a4be; transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { font-size: 14px; color: #90a4be; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-newsletter p { font-size: 13px; color: #90a4be; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 12px; margin-top: 20px; }
.newsletter-form { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.newsletter-form input { flex: 1; background: rgba(255,255,255,.06); border: none; padding: 11px 14px; color: #fff; font-size: 14px; font-family: var(--font-body); outline: none; }
.newsletter-form input::placeholder { color: #607d97; }
.newsletter-form button { background: var(--clr-primary); border: none; padding: 11px 16px; color: #fff; cursor: pointer; display: flex; align-items: center; transition: var(--transition); }
.newsletter-form button:hover { background: var(--clr-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; font-size: 13px; color: #607d97; }
.footer-bottom a { color: #90caf9; transition: var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { text-align: center; }
  .footer-socials { justify-content: center; }
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
#btt {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(92,15,214,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--transition); z-index: 900;
}
#btt.show { opacity: 1; visibility: visible; transform: translateY(0); }
#btt:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(92,15,214,.5); }

/* ── SECTION RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
  .section-header { margin-bottom: 36px; }
  .container { padding: 0 16px; }
}
