/* ============================================================
   BJP MANDAL PRASIKSHANA PORTAL — MAIN STYLES
   Design System extracted from MCP Stitch screens
   ============================================================ */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* ---- CSS CUSTOM PROPERTIES (Design Tokens) ---- */
:root {
  /* Colors */
  --primary:        #FF671F;
  --primary-dark:   #e05510;
  --primary-light:  #ff8a52;
  --secondary:      #138808;
  --secondary-dark: #0d6606;
  --secondary-light:#1aad0a;
  --accent:         #0047A0;      /* BJP saffron + India blue */
  --white:          #ffffff;
  --off-white:      #f9f8f6;
  --light-bg:       #f4f4f7;
  --border:         #e2e4ea;
  --text-dark:      #1a1a2e;
  --text-mid:       #3d3d5c;
  --text-muted:     #7a7a99;
  --danger:         #e53935;
  --warning:        #f59e0b;
  --success:        #22c55e;
  --card-shadow:    0 4px 24px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 8px 36px rgba(255,103,31,0.15);

  /* Typography */
  --font-heading:   'Poppins', sans-serif;
  --font-body:      'Roboto', sans-serif;

  /* Spacing */
  --section-py:     80px;
  --container-max:  1200px;
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* Transitions */
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- UTILITY CLASSES ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-py { padding: var(--section-py) 0; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-primary { background: rgba(255,103,31,0.12); color: var(--primary); }
.badge-secondary { background: rgba(19,136,8,0.12); color: var(--secondary); }
.badge-accent { background: rgba(0,71,160,0.1); color: var(--accent); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,103,31,0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19,136,8,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.card-body { padding: 28px; }
.card-header-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* ---- SECTION HEADERS ---- */
.section-header { margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}
.section-header.text-center .section-desc { margin: 0 auto; }

.divider-saffron {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.text-center .divider-saffron { margin: 16px auto 24px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-brand-text h1 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.navbar-brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(255,103,31,0.07);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.navbar-actions { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a0a04 0%, #3a1200 40%, #0d2e05 100%);
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(255,103,31,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(19,136,8,0.15) 0%, transparent 60%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    var(--white) 0px, var(--white) 1px,
    transparent 1px, transparent 40px
  );
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: #ffd4b8;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 10px;
}
.hero-title-telugu {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffd4b8;
  display: block;
  margin-bottom: 8px;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: left; }
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* ---- Hero visual card side ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-float {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 360px;
}
.hero-card-float h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-feature-item:last-child { border-bottom: none; }
.hero-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.icon-saffron { background: rgba(255,103,31,0.2); }
.icon-green { background: rgba(19,136,8,0.2); }
.icon-blue { background: rgba(0,71,160,0.2); }
.hero-feature-text h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}
.hero-feature-text p { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================================
   PROGRAMS HIGHLIGHTS
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.program-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
}
.program-card-top {
  padding: 28px 28px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.program-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.prog-orange { background: rgba(255,103,31,0.12); }
.prog-green { background: rgba(19,136,8,0.1); }
.prog-blue { background: rgba(0,71,160,0.1); }
.prog-gold { background: rgba(245,158,11,0.12); }
.program-card-body { padding: 16px 28px 28px; }
.program-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.program-card-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   PROGRAMS PAGE — FULL
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #1a0a04, #2d1200 60%, #0a2203);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.page-hero .badge { margin-bottom: 16px; }

.programs-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.program-full-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.program-full-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-5px); }
.program-full-card-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.prog-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.program-full-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.program-full-card-body { padding: 0 24px 24px; }
.program-full-card-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* Ideology section */
.ideology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.ideology-card {
  background: linear-gradient(135deg, var(--text-dark) 0%, #2a1a00 100%);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.ideology-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,103,31,0.08);
}
.ideology-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.ideology-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.ideology-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.65; }
.ideology-card .badge { margin-bottom: 16px; }

.panch-nishtha-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.nishtha-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.nishtha-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,103,31,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* Schemes */
.schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.scheme-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  padding: 28px;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.scheme-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.scheme-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.scheme-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.scheme-icon { font-size: 1.5rem; margin-bottom: 14px; }

/* ============================================================
   TRAINING PAGE
   ============================================================ */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.speaker-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}
.speaker-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-5px); }
.speaker-avatar-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 28px 28px 0;
}
.speaker-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3);
  margin: 0 auto;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}
.speaker-body { padding: 20px 20px 24px; }
.speaker-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.speaker-role { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.speaker-topic { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* Booth structure */
.booth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.booth-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.booth-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.booth-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-5px); }
.booth-card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(255,103,31,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.booth-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.booth-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }

.protocol-box {
  background: linear-gradient(135deg, #fff8f5, #fff);
  border: 1px solid rgba(255,103,31,0.15);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 32px;
}
.protocol-box h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.protocol-list { display: flex; flex-direction: column; gap: 12px; }
.protocol-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.protocol-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 6px;
  flex-shrink: 0;
}

/* App cards */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.app-card {
  background: linear-gradient(135deg, var(--text-dark) 0%, #1a002a 100%);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,103,31,0.07);
}
.app-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.app-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(255,103,31,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.app-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.app-card p { font-size: 0.87rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ============================================================
   REGISTRATION PAGE
   ============================================================ */
.registration-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.reg-sidebar {
  position: sticky;
  top: 88px;
}

.reg-info-card {
  background: linear-gradient(135deg, var(--text-dark), #2a1000);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--white);
  margin-bottom: 24px;
}
.reg-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.reg-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.reg-info-icon { font-size: 1rem; margin-top: 2px; opacity: 0.8; }
.reg-info-text h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.reg-info-text p { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

.reg-meetings-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  padding: 24px;
}
.reg-meetings-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.meeting-option-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.meeting-option-mini:last-child { border-bottom: none; }
.meeting-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.meeting-option-mini span { font-size: 0.82rem; color: var(--text-mid); }

/* Form styles */
.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-section-header {
  padding: 24px 32px;
  background: linear-gradient(90deg, rgba(255,103,31,0.05), transparent);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-section-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.form-section-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-body { padding: 32px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-child { margin-bottom: 0; }

.form-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}
.form-label .req { color: var(--danger); }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,103,31,0.1);
}
.form-control.error { border-color: var(--danger); }
.form-error {
  font-size: 0.78rem;
  color: var(--danger);
  display: none;
  margin-top: 2px;
}
.form-error.visible { display: block; }

.meeting-card-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.meeting-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.meeting-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.meeting-option.selected, .meeting-option:hover {
  border-color: var(--primary);
  background: rgba(255,103,31,0.04);
}
.meeting-option h4 {
  font-family: var(--font-heading);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.meeting-option p { font-size: 0.78rem; color: var(--text-muted); }
.meeting-option-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.meeting-option.selected .meeting-option-check {
  background: var(--primary);
  border-color: var(--primary);
}
.meeting-option.selected .meeting-option-check::after {
  content: '✓';
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.form-submit-area {
  padding: 0 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-agreement {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.form-agreement input { margin-top: 3px; accent-color: var(--primary); }

/* Success message */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.success-overlay.active { display: flex; }
.success-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  animation: scaleIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.success-modal h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.success-modal p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 4px; }
.success-modal .ref-num {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 12px 0 24px;
  padding: 10px 20px;
  background: rgba(255,103,31,0.08);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 68px);
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--text-dark);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.admin-user-info h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.admin-user-info span { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

.admin-nav { padding: 16px 12px; flex: 1; }
.admin-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 12px 8px 6px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 2px;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,103,31,0.15);
  color: var(--white);
}
.admin-nav-item.active { color: var(--primary-light); }
.admin-nav-icon { font-size: 1rem; flex-shrink: 0; }

.admin-content {
  flex: 1;
  background: var(--light-bg);
  overflow-y: auto;
}
.admin-content-inner { padding: 32px; }

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.admin-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}
.admin-header p { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }
.admin-header-right { display: flex; gap: 12px; align-items: center; }

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.stat-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.sc-orange { background: rgba(255,103,31,0.12); }
.sc-green { background: rgba(19,136,8,0.1); }
.sc-blue { background: rgba(0,71,160,0.1); }
.sc-purple { background: rgba(123,31,162,0.1); }
.stat-card-info h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.stat-card-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.stat-card-change {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 4px;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.admin-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Table */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
}
thead th {
  background: var(--off-white);
  padding: 12px 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
  color: var(--text-mid);
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--off-white); }
.td-name { font-weight: 600; color: var(--text-dark); }
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.status-confirmed { background: rgba(34,197,94,0.12); color: var(--success); }
.status-pending { background: rgba(245,158,11,0.12); color: var(--warning); }
.status-cancelled { background: rgba(229,57,53,0.1); color: var(--danger); }

/* Schedule */
.schedule-list { padding: 8px 0; }
.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item:hover { background: var(--off-white); }
.schedule-time {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 52px;
  padding-top: 2px;
}
.schedule-info h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.schedule-info p { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-slogan {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
}

/* ---- Tricolor decoration ---- */
.tricolor-bar {
  height: 4px;
  background: linear-gradient(90deg,
    var(--primary) 0%, var(--primary) 33.3%,
    var(--white) 33.3%, var(--white) 66.6%,
    var(--secondary) 66.6%, var(--secondary) 100%
  );
}

/* ---- BG variants ---- */
.bg-light { background: var(--light-bg); }
.bg-dark-hero { background: linear-gradient(135deg, #1a0a04, #1a2200); }

/* ============================================================
   VERTICAL TIMELINE — Training Schedule
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 0;
}

/* the vertical saffron line */
.timeline::before {
  content: '';
  position: absolute;
  left: 108px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(255,103,31,0.1));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
  position: relative;
}

.timeline-time {
  width: 100px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 20px;
  padding-top: 18px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.timeline-dot-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18px;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
  margin-top: 20px;
  flex-shrink: 0;
  z-index: 1;
  transition: var(--transition);
}

.timeline-dot.dot-break {
  background: var(--text-muted);
  box-shadow: 0 0 0 2px var(--text-muted);
}

.timeline-dot.dot-special {
  background: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary);
}

.timeline-card {
  flex: 1;
  margin-left: 20px;
  margin-bottom: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-left: 3px solid var(--primary);
}

.timeline-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateX(3px);
}

.timeline-card.break-card {
  background: var(--off-white);
  border-left-color: var(--text-muted);
  box-shadow: none;
}
.timeline-card.break-card:hover { transform: none; box-shadow: none; }

.timeline-card.special-card {
  border-left-color: var(--secondary);
  background: rgba(19,136,8,0.03);
}

.timeline-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-session-type {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.timeline-speaker {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.timeline-speaker.break-text { color: var(--text-muted); font-style: italic; }

.timeline-topic {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Dark background timeline variant (for training page dark section) */
.timeline-dark .timeline::before {
  background: linear-gradient(180deg, var(--primary-light), rgba(255,103,31,0.05));
}
.timeline-dark .timeline-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  border-left-color: var(--primary);
}
.timeline-dark .timeline-card:hover { transform: translateX(3px); }
.timeline-dark .timeline-card.break-card { background: rgba(255,255,255,0.03); }
.timeline-dark .timeline-time { color: var(--primary-light); }
.timeline-dark .timeline-dot { border-color: #1a0a04; }
.timeline-dark .timeline-speaker { color: var(--white); }
.timeline-dark .timeline-topic { color: rgba(255,255,255,0.6); }
.timeline-dark .timeline-session-type { color: var(--primary-light); }
.timeline-dark .timeline-speaker.break-text { color: rgba(255,255,255,0.4); }

/* Compact admin timeline */
.timeline-compact .timeline::before { left: 72px; }
.timeline-compact .timeline-time { width: 64px; font-size: 0.72rem; padding-top: 14px; }
.timeline-compact .timeline-card { padding: 11px 14px; margin-bottom: 8px; }
.timeline-compact .timeline-dot { margin-top: 16px; }
.timeline-compact .timeline-speaker { font-size: 0.87rem; }
.timeline-compact .timeline-topic { font-size: 0.78rem; }

/* Responsive timeline */
@media (max-width: 600px) {
  .timeline::before { left: 70px; }
  .timeline-time { width: 62px; font-size: 0.72rem; padding-right: 12px; }
  .timeline-card { margin-left: 14px; padding: 12px 14px; }
}

/* ============================================================
   FORM HINT TEXT
   ============================================================ */
.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Pre-filled meeting display */
.meeting-prefilled {
  background: rgba(255,103,31,0.06);
  border: 1.5px solid rgba(255,103,31,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.meeting-prefilled-icon { font-size: 1.2rem; }
.meeting-prefilled-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.meeting-prefilled-text p { font-size: 0.8rem; color: var(--text-muted); }
