:root {
  --primary-gradient: linear-gradient(135deg, #0f172a, #1e293b);
  --accent-color: #2563eb;
  --accent-gradient: linear-gradient(135deg, #2563eb, #1d4ed8);
  --success-color: #10b981;
  --light-bg: #f8fafc;
  --border-radius-lg: 24px;
  --border-radius-sm: 12px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)),
              url("10.jpg") center center/cover fixed;
  min-height: 100vh;
  color: #334155;
}

.portal-container {
  max-width: 950px;
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.portal-header {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 50px 30px;
  text-align: center;
  border-bottom: 4px solid var(--accent-color);
}

.portal-logo {
  width: 130px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.3));
}

.arabic {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', sans-serif;
}

/* Progress bar */
.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 30px;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #e2e8f0;
  transform: translateY(-50%);
  z-index: 1;
}

.progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  background: var(--accent-color);
  transform: translateY(-50%);
  z-index: 2;
  width: 0%;
  transition: width 0.4s ease;
}

.step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 3;
  transition: all 0.4s ease;
  color: #94a3b8;
}

.step-indicator.active {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.step-indicator.completed {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

/* Steps visibility handling */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

/* Cards interactives */
.selection-card {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.selection-card:hover {
  border-color: #cbd5e1;
  background-color: var(--light-bg);
}

.selection-input:checked + .selection-card {
  border-color: var(--accent-color);
  background-color: #eff6ff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.faq-title {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
}


