@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #1B3A6B;
  --navy-deep: #122850;
  --steel: #2E6DA4;
  --accent: #5DB8E8;
  --silver-light: #C8D8E8;
  --off-white: #F4F7FB;
  --text-dark: #1A2A3A;
  --text-mid: #4A5A6A;
  --success: #22C55E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family:'Cairo',sans-serif;
   background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 16px rgba(18,40,80,0.25);
}

.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-wrap img{
  height:65px;
  width:auto;
  max-width:160px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.25));
  transition:transform .2s ease;
}
.logo-wrap:hover img{
  transform:scale(1.04);
}

@media (max-width:640px){
  .nav-logo img{
    height:42px;
    max-width:130px;
  }
}
.header-tagline {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.lang-switch {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family:'Cairo',sans-serif;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
}

.lang-switch:hover {
  background: #fff;
  color: var(--navy);
}

.hero-image-banner {
  background: linear-gradient(
    135deg,
    rgba(18, 40, 80, 0.65),
    rgba(27, 58, 107, 0.65)
  ),
  url('../images/photo_2026-06-23_19-49-45.jpg') center/cover no-repeat;

  padding: 60px 40px 140px 40px;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-overlay-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(93,184,232,0.15);
  border: 1px solid rgba(93,184,232,0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-image-banner h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-image-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.stat-item { text-align: center; }
.stat-num { font-size: 24px; font-weight: 800; color: #fff; }
.stat-lbl { font-size: 12px; color: var(--silver-light); margin-top: 2px; }

.main-container {
  max-width: 1200px;
  width: 100%;
  margin: -80px auto 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

@media (max-width: 992px) {
  .main-container {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }
}

.form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(18,40,80,0.12);
  padding: 32px;
}

.card-header { margin-bottom: 24px; }
.card-title { color: var(--navy); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.card-subtitle { color: var(--text-mid); font-size: 13px; line-height: 1.5; }

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  background: var(--off-white);
  padding: 12px;
  border-radius: 8px;
}

.step { display: flex; align-items: center; gap: 8px; }

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.3s;
}

.step-circle.active { background: var(--navy); color: #fff; }
.step-circle.inactive { background: #E2E8F0; color: var(--text-mid); }
.step-circle.completed { background: var(--success); color: #fff; }

.step-label { font-size: 13px; font-weight: 600; color: var(--text-mid); }
.step-circle.active + .step-label { color: var(--navy); font-weight: 700; }

.step-line { flex: 1; height: 2px; background: #E2E8F0; margin: 0 8px; }
.step-line.active { background: var(--navy); }

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 6px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 576px) {
  .form-grid { grid-template-columns: 1fr; }
}

.input-group { display: flex; flex-direction: column; gap: 6px; }
.input-group label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.input-wrapper { position: relative; }

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-family:'Cairo',sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(46, 109, 164, 0.15);
}

.input-wrapper input.error,
.input-wrapper select.error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.error-msg { font-size: 11px; color: #EF4444; margin-top: 4px; display: none; }
.error-msg.show { display: block; }

.radio-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-card {
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}

.radio-card:hover { border-color: var(--steel); background: #F8FAFC; }

.radio-card input[type="radio"] {
  accent-color: var(--navy);
  margin-top: 3px;
}

.radio-card:has(input[type="radio"]:checked) {
  border-color: var(--navy);
  background: rgba(27, 58, 107, 0.04);
}

.rc-label { font-size: 13px; color: var(--text-dark); font-weight: 500; line-height: 1.4; }

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

.btn {
  padding: 10px 20px;
  font-family:'Cairo',sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-next { background: var(--navy); color: #fff; margin-right: auto; }
.btn-next:hover { background: var(--navy-deep); }
.btn-prev { background: #E2E8F0; color: var(--text-dark); }
.btn-prev:hover { background: #CBD5E1; }
.btn-submit { background: var(--success); color: #fff; margin-right: auto; }
.btn-submit:hover { opacity: 0.9; }

.success-screen { display: none; text-align: center; padding: 10px 0; }
.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 16px auto;
}

.success-title { color: var(--navy); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.success-desc { color: var(--text-mid); font-size: 13px; line-height: 1.6; max-width: 540px; margin: 0 auto 24px auto; }

.summary-box {
  background: var(--off-white);
  padding: 16px;
  border-radius: 8px;
  border: 1px dashed var(--silver-light);
  max-width: 440px;
  margin: 0 auto 24px auto;
  text-align: right;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.summary-row:last-child { border: none; }
.summary-lbl { font-weight: 600; color: var(--text-mid); }
.summary-val { font-weight: 700; color: var(--text-dark); }

.features-sidebar { display: flex; flex-direction: column; gap: 20px; }

.features-visual-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18,40,80,0.15);
  display: flex;
  flex-direction: column;
}

.features-visual-right { flex: 1; padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.features-tagline { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); opacity: 0.9; }
.features-title { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.35; margin: 0; }
.features-desc { font-size: 14px; color: rgba(200, 220, 255, 0.8); line-height: 1.7; margin: 0; }
.features-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.fpill {
  background: rgba(93,184,232,0.12);
  border: 1px solid rgba(93,184,232,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

html[dir="ltr"] .btn-next,
html[dir="ltr"] .btn-submit { margin-right: 0; margin-left: auto; }
html[dir="ltr"] .summary-box { text-align: left; }

.footer {
  background-color: var(--navy-deep);
  color: #ffffff;
  padding: 60px 0 30px 0;
  margin-top: 60px;
  font-family:'Cairo',sans-serif;
}

.footer .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-grid > div {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo i {
  color: var(--accent);
  font-size: 24px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5e1;
  text-align: justify;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

.footer-link {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.footer-link i {
  margin-left: 6px;
  color: var(--accent);
  vertical-align: middle;
}

.footer-link:hover {
  color: #ffffff;
  padding-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }
  .footer-grid > div {
    width: 100%;
    min-width: 100%;
  }
  .footer-col-title::after {
    right: 0;
  }
  .footer-link:hover {
    padding-right: 0;
  }
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--navy-deep, #122850), var(--navy, #1B3A6B));
  box-shadow: 0 2px 16px rgba(18, 40, 80, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(18, 40, 80, 0.65) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

body {
  padding-top: 85px;
}

@media (max-width: 640px) {
  body {
    padding-top: 70px;
  }
  header {
    padding: 12px 20px;
  }
  header.scrolled {
    padding: 10px 20px;
  }
}
