/**
 * Indian Council of Science and Research (ICSR)
 * Rural Employment and Skill Development Scheme
 * Master Design System & Core Stylesheet
 */

:root {
  --primary: #059669;
  --primary-dark: #065f46;
  --primary-light: #10b981;
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-rgb: 5, 150, 105;

  --secondary: #0284c7;
  --secondary-dark: #0369a1;
  --secondary-light: #38bdf8;
  --secondary-50: #f0f9ff;
  --secondary-rgb: 2, 132, 199;

  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-light: #f97316;
  --accent-50: #fff7ed;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #059669;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -2px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 30px -5px rgba(0,0,0,0.1), 0 8px 12px -3px rgba(0,0,0,0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--secondary-dark);
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
p.lead {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.container-narrow {
  max-width: 900px;
}

.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section-py-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Top Organization Announcement Ticker */
.top-notice-bar {
  background: #044e3b;
  color: #d1fae5;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-notice-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-notice-bar .badge-national {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.top-notice-bar a {
  color: #a7f3d0;
  text-decoration: underline;
}
.top-notice-bar a:hover {
  color: #fff;
}
.top-contact-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.top-contact-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Header & Sticky Navigation (2-Row Institutional Architecture) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

/* Row 1: Brand Info (Logo, Title, Tagline) & Primary CTA */
.header-main-row {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0.85rem 0;
}
.header-main-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
}
.brand-logo {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.brand-link:hover .brand-logo {
  transform: scale(1.04);
}
.brand-info {
  display: flex;
  flex-direction: column;
}
.brand-org {
  font-size: 1.25rem;
  font-weight: 800;
  color: #064e3b;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.brand-scheme {
  font-size: 0.925rem;
  font-weight: 700;
  color: #b45309; /* warm dark amber */
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.brand-tagline {
  font-size: 0.775rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
  margin-top: 3px;
  max-width: 680px;
}

.header-main-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.btn-header-register {
  background: linear-gradient(135deg, #16a34a 0%, #0d9488 100%);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.45rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}
.btn-header-register:hover {
  background: linear-gradient(135deg, #15803d 0%, #0f766e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

/* Row 2: Full-width Horizontal Navigation Bar */
.header-nav-row {
  background: linear-gradient(90deg, #064e3b 0%, #065f46 50%, #047857 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.navbar-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.935rem;
  font-weight: 600;
  color: #f0fdf4 !important;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
}
.nav-link.active {
  background: rgba(0, 0, 0, 0.22);
  color: #fde047 !important; /* bright gold accent */
  box-shadow: inset 0 -3px 0 #facc15;
}

/* Nav Dropdown for Row 2 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 1010;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.3rem;
  font-size: 0.885rem;
  font-weight: 500;
  color: #1e293b !important;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.nav-dropdown a:hover {
  background-color: #f0fdf4;
  color: #065f46 !important;
  font-weight: 600;
  padding-left: 1.55rem;
}

/* Mobile Nav Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  color: #064e3b;
  cursor: pointer;
  padding: 0.4rem 0.65rem;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.35);
}
.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}
.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28);
}
.btn-accent:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.38);
}
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-outline-secondary {
  border-color: var(--border-color);
  color: var(--text-main);
  background: #ffffff;
}
.btn-outline-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}
.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
              linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: #064e3b;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-dark);
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-illustration-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  animation: gentleFloat 6s ease-in-out infinite;
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Quick Action Cards */
.quick-actions-bar {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}
.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.quick-card {
  background: #ffffff;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}
.quick-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
  transition: all var(--transition-base);
}
.quick-card:hover .quick-card-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}
.quick-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.quick-card p {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Modern Content Cards */
.card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-50);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid #a7f3d0;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #064e3b;
  margin-bottom: 0.9rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Objective Cards Grid */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.objective-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  display: flex;
  gap: 1.25rem;
}
.objective-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.obj-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.obj-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}
.obj-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Training Programs Directory */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.training-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}
.training-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.training-card-header {
  padding: 1.5rem 1.5rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.training-card-category {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-50);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}
.training-card-body {
  padding: 1rem 1.5rem;
  flex: 1 0 auto;
}
.training-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.training-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.training-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--bg-page);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.training-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
}
.training-meta-item i {
  color: var(--primary);
}
.training-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

/* Opportunities Directory Cards */
.opportunity-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.opportunity-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.opp-main-info {
  flex: 1 1 500px;
}
.opp-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.opp-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.opp-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}
.opp-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-subtle);
}
.opp-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.opp-meta i {
  color: var(--primary);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}
.badge-primary { background: var(--primary-50); color: var(--primary-dark); border: 1px solid var(--primary-100); }
.badge-secondary { background: var(--secondary-50); color: var(--secondary-dark); border: 1px solid #bae6fd; }
.badge-accent { background: var(--accent-50); color: var(--accent-dark); border: 1px solid #fed7aa; }
.badge-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-warning { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }

/* Multi-Step Beneficiary Registration Form */
.registration-container {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.wizard-progress {
  margin-bottom: 2.5rem;
}
.wizard-steps-list {
  display: flex;
  justify-content: space-between;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wizard-steps-list::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}
.wizard-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.wizard-step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}
.wizard-step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-align: center;
  max-width: 80px;
}
.wizard-step-node.active .wizard-step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-100);
}
.wizard-step-node.active .wizard-step-label {
  color: var(--primary-dark);
  font-weight: 700;
}
.wizard-step-node.completed .wizard-step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* Form Styles */
.form-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.form-step.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 1.4rem;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}
.form-label .required {
  color: #ef4444;
  margin-left: 0.2rem;
}
.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}
.form-hint {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.3rem;
}
.form-feedback-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.3rem;
  display: none;
}
.is-invalid .form-control, .form-control.is-invalid {
  border-color: #ef4444;
}
.is-invalid .form-feedback-error {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* File Upload Zone */
.upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  background: var(--bg-page);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}
.upload-dropzone:hover {
  border-color: var(--primary);
  background: var(--primary-50);
}
.upload-dropzone i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.upload-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* Application Status Timeline */
.timeline-track {
  position: relative;
  padding-left: 2.5rem;
  margin: 2rem 0;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 14px;
  width: 3px;
  background: #cbd5e1;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #64748b;
  z-index: 2;
}
.timeline-item.completed .timeline-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.timeline-item.active .timeline-dot {
  background: #ffffff;
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 0 5px rgba(2, 132, 199, 0.2);
  animation: pulseNode 2s infinite;
}
@keyframes pulseNode {
  0%, 100% { box-shadow: 0 0 0 5px rgba(2, 132, 199, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0.35); }
}
.timeline-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.timeline-date {
  font-size: 0.775rem;
  color: var(--text-subtle);
  margin-top: 0.35rem;
}

/* Printable Acknowledgement Slip */
.receipt-wrapper {
  max-width: 800px;
  margin: 2rem auto;
  background: #ffffff;
  border: 2px solid #065f46;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.receipt-header {
  text-align: center;
  border-bottom: 2px dashed #cbd5e1;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.receipt-app-badge {
  display: inline-block;
  background: #f0fdf4;
  border: 1.5px solid #059669;
  color: #065f46;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 1rem 0;
}
.receipt-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.receipt-table th, .receipt-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  text-align: left;
}
.receipt-table th {
  background-color: #f8fafc;
  width: 35%;
  color: #334155;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}
.faq-item:hover {
  border-color: #cbd5e1;
}
.faq-header {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}
.faq-item.open .faq-body {
  display: block;
}
.faq-item.open .faq-header {
  color: var(--primary);
}
.faq-toggle-icon {
  transition: transform var(--transition-fast);
}
.faq-item.open .faq-toggle-icon {
  transform: rotate(180deg);
}

/* How It Works Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.process-card {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
}
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.process-step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* Disclaimer Banner */
.disclaimer-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: #92400e;
  line-height: 1.6;
}
.disclaimer-box strong {
  color: #78350f;
}

/* Footer */
.site-footer {
  background: #064e3b;
  color: #e2e8f0;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 4px solid var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand .brand-logo {
  filter: brightness(0) invert(1);
}
.footer-desc {
  font-size: 0.9rem;
  color: #a7f3d0;
  line-height: 1.65;
  margin: 1.25rem 0;
}
.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--accent);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.footer-contact-item i {
  color: #34d399;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-floating {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  font-size: 1.35rem;
  transition: all var(--transition-base);
  text-decoration: none;
}
.btn-floating:hover {
  transform: scale(1.1);
  color: #ffffff;
}
.btn-float-wa {
  background-color: #25d366;
}
.btn-float-top {
  background-color: #0f172a;
  opacity: 0;
  visibility: hidden;
}
.btn-float-top.show {
  opacity: 1;
  visibility: visible;
}

/* Alerts & Notifications */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 992px) {
  .brand-tagline {
    display: none;
  }
  .nav-link {
    padding: 0.65rem 0.75rem;
    font-size: 0.865rem;
  }
}

@media (max-width: 768px) {
  .top-notice-bar {
    display: none;
  }
  .header-main-row {
    padding: 0.6rem 0;
  }
  .header-nav-row {
    height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .navbar-bottom {
    padding: 0;
  }
  .brand-org {
    font-size: 1rem;
  }
  .brand-scheme {
    font-size: 0.775rem;
  }
  .brand-tagline {
    display: none;
  }
  .brand-logo {
    width: 46px;
    height: 46px;
  }
  .btn-header-register {
    display: none !important;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    transition: right var(--transition-base);
    z-index: 1050;
    overflow-y: auto;
  }
  .nav-menu.show {
    right: 0;
  }
  .nav-item {
    width: 100%;
  }
  .mobile-nav-cta {
    display: block !important;
  }
  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1e293b !important;
    border-radius: var(--radius-sm);
  }
  .nav-link:hover, .nav-link.active {
    background: #f0fdf4;
    color: #065f46 !important;
    box-shadow: none;
  }
  .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    visibility: visible;
    opacity: 1;
    transform: none;
    display: none;
  }
  .nav-item.dropdown-open .nav-dropdown {
    display: block;
  }
  .header-actions {
    display: none;
  }
  .registration-container {
    padding: 1.5rem;
  }
  .wizard-steps-list {
    overflow-x: auto;
    padding-bottom: 0.75rem;
  }
  .wizard-step-node {
    min-width: 65px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Print Stylesheet for Official Receipts */
@media print {
  .site-header, .top-notice-bar, .site-footer, .floating-actions, .no-print, .btn {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .receipt-wrapper {
    box-shadow: none !important;
    border: 2px solid #000000 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
  }
}
