/* ==========================================================================
   VOENPORTAL.AZ - AZƏRBAYCAN BİZNES VƏ VERGİ XİDMƏTLƏRİ PORTALI
   Rəsmi Dövlət Dizayn Standartı (State Portal Design System)
   ========================================================================== */

:root {
  /* Official Gov Palette */
  --gov-navy-deep: #071e33;
  --gov-navy: #0b3252;
  --gov-navy-light: #164e7a;
  --gov-blue: #0f66b5;
  --gov-blue-light: #e8f2fc;
  
  /* National Flag Accents */
  --flag-blue: #00b5e2;
  --flag-red: #ef3340;
  --flag-green: #509e2f;

  /* State Gold / Authority Accents */
  --gold-primary: #c59b27;
  --gold-light: #f7eecf;
  --gold-dark: #916c0d;

  /* WhatsApp Official Colors */
  --wa-green: #25d366;
  --wa-dark-green: #075e54;
  --wa-teal: #128c7e;
  --wa-chat-bg: #efeae2;

  /* Neutral UI Colors */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #dbe3eb;
  --border-focus: #0f66b5;
  --text-main: #1e293b;
  --text-muted: #52657a;
  --text-light: #8295a8;

  /* State status colors */
  --color-success: #1b873f;
  --color-success-bg: #eaf7ed;
  --color-warning: #b45309;
  --color-warning-bg: #fef3c7;
  --color-info: #0284c7;

  /* Typography & Shadows */
  --font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(11, 50, 82, 0.06), 0 1px 2px rgba(11, 50, 82, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 50, 82, 0.08), 0 2px 4px rgba(11, 50, 82, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(11, 50, 82, 0.12), 0 4px 8px -2px rgba(11, 50, 82, 0.06);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & OFFICIAL BRANDING
   ========================================================================== */
.official-top-strip {
  height: 5px;
  background: linear-gradient(90deg, 
    var(--flag-blue) 0%, var(--flag-blue) 33.33%, 
    var(--flag-red) 33.33%, var(--flag-red) 66.66%, 
    var(--flag-green) 66.66%, var(--flag-green) 100%
  );
  width: 100%;
}

.top-announcement-bar {
  background-color: var(--gov-navy-deep);
  color: #c9d8e6;
  font-size: 0.825rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

.clickable-phone-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.clickable-phone-link:hover {
  color: var(--flag-blue);
  text-decoration: underline;
}

.clickable-wa-link {
  color: #4ade80;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.clickable-wa-link:hover {
  color: #86efac;
  text-decoration: underline;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.official-badge-text {
  background: rgba(197, 155, 39, 0.18);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #f7e099;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--gov-blue);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (Fixed Spacing & Sizing)
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 14px;
  flex-shrink: 0;
}

.gerb-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gov-navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-portal-tag {
  font-size: 0.65rem;
  color: var(--gov-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Nav Menu & Alignment */
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  margin-right: 12px;
}

.nav-link {
  color: var(--gov-navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gov-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gov-blue);
  border-radius: 2px;
}

/* Clean, Non-overlapping CTA Button */
.header-right-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-cta-btn {
  background: var(--gov-navy);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--gov-navy-deep);
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(11, 50, 82, 0.15);
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--gov-blue);
  border-color: var(--gov-blue);
  transform: translateY(-1px);
}

.header-cta-btn svg {
  width: 14px;
  height: 14px;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--gov-navy);
}

/* ==========================================================================
   HERO SECTION (Headline + Quick Callback Form)
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #071e33 0%, #0b3252 65%, #104169 100%);
  color: #ffffff;
  padding: 44px 0 54px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-primary);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f7e099;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.hero-title .highlight {
  color: #60a5fa;
}

.hero-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: left;
}

.feature-item .f-icon {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-item .f-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.feature-item .f-sub {
  font-size: 0.725rem;
  color: #94a3b8;
}

/* QUICK HERO FORM */
.quick-form-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px 26px;
  position: relative;
}

.quick-form-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.quick-form-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gov-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-form-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-group {
  margin-bottom: 13px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gov-navy);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 9px 11px;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #fcfdfe;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gov-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 102, 181, 0.15);
}

.btn-submit-quick {
  width: 100%;
  background: linear-gradient(180deg, #1068ba 0%, #0b4b88 100%);
  color: #ffffff;
  border: 1px solid #094074;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  margin-top: 4px;
}

.btn-submit-quick:hover {
  background: linear-gradient(180deg, #1377d4 0%, #0d59a1 100%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.form-disclaimer {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ==========================================================================
   PRESIDENTIAL QUOTE SECTION (Official Ilham Aliyev Portrait)
   ========================================================================== */
.president-quote-section {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.quote-card {
  background: linear-gradient(to right, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-left: 6px solid var(--gov-navy);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-photo-wrapper {
  position: relative;
  text-align: center;
}

.president-photo {
  width: 190px;
  height: 250px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  background-color: var(--gov-navy);
}

.photo-badge {
  margin-top: 8px;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--gov-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-content {
  position: relative;
}

.quote-mark {
  font-size: 3.2rem;
  color: #cbd5e1;
  line-height: 1;
  font-family: Georgia, serif;
  position: absolute;
  top: -24px;
  left: -12px;
  z-index: 0;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gov-navy);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.quote-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gov-navy);
  letter-spacing: 0.3px;
}

.author-title {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 34px;
}

.section-tag {
  display: inline-block;
  background: var(--gov-blue-light);
  color: var(--gov-blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--gov-navy);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.services-section {
  padding: 55px 0;
  background-color: var(--bg-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gov-blue);
  box-shadow: var(--shadow-lg);
}

.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--gov-navy);
}

.service-card-badge.popular {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background: var(--gov-blue-light);
  color: var(--gov-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gov-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card-bullets {
  list-style: none;
  margin-bottom: 16px;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.service-card-bullets li {
  font-size: 0.78rem;
  color: var(--text-main);
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.service-card-bullets li svg {
  width: 14px;
  height: 14px;
  fill: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-actions {
  display: flex;
  gap: 8px;
}

.btn-card-primary {
  flex: 1;
  background-color: var(--gov-navy);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-card-primary:hover {
  background-color: var(--gov-blue);
}

.btn-card-secondary {
  background-color: #f1f5f9;
  color: var(--gov-navy);
  text-decoration: none;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.btn-card-secondary:hover {
  background-color: #e2e8f0;
}

/* ==========================================================================
   4-STEP APPLICATION WIZARD
   ========================================================================== */
.application-portal-section {
  padding: 60px 0 75px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.wizard-container {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.wizard-top-header {
  background: var(--gov-navy);
  color: #ffffff;
  padding: 18px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--gold-primary);
}

.wizard-title-group h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.wizard-title-group p {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-top: 2px;
}

.wizard-service-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f7e099;
}

/* Stepper Track */
.stepper-bar-wrapper {
  padding: 26px 36px 10px;
  background-color: #fbfcfe;
  border-bottom: 1px solid #edf2f7;
}

.stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 650px;
  margin: 0 auto 15px;
}

.stepper-line {
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background-color: #e2e8f0;
  z-index: 1;
}

.stepper-line-progress {
  position: absolute;
  top: 18px;
  left: 30px;
  height: 3px;
  background-color: #2563eb;
  z-index: 2;
  transition: width 0.35s ease;
  width: 0%;
}

.step-node {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-color: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid #cbd5e1;
}

.step-node.active .step-circle {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.step-node.completed .step-circle {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  white-space: nowrap;
}

.step-node.active .step-label {
  color: var(--gov-navy);
  font-weight: 700;
}

/* Wizard Form Body */
.wizard-form-body {
  padding: 32px 36px;
}

.wizard-step-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title-h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gov-navy);
  margin-bottom: 20px;
  text-align: center;
}

.form-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.activity-textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px;
  font-size: 0.925rem;
  font-family: inherit;
  border: 1.5px solid #ef4444;
  border-radius: var(--radius-sm);
  resize: vertical;
  color: var(--text-main);
  background-color: #ffffff;
}

.activity-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.radio-choice-group {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 22px 0 28px;
  flex-wrap: wrap;
}

.radio-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  padding: 11px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #fbfcfe;
  transition: var(--transition);
}

.radio-card-label:hover {
  border-color: var(--gov-blue);
  background-color: #f0f7ff;
}

.radio-card-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #2563eb;
}

.terms-notice-card {
  text-align: center;
  padding: 18px 10px;
  margin-bottom: 18px;
}

.notice-text-bold {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.45;
}

.checkbox-consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2563eb;
}

.checkbox-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #2563eb;
}

.wizard-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.btn-wizard-back {
  background-color: #e2e8f0;
  color: #475569;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-wizard-back:hover:not(:disabled) {
  background-color: #cbd5e1;
  color: var(--gov-navy);
}

.btn-wizard-back:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-wizard-next {
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

.btn-wizard-next:hover:not(:disabled) {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-wizard-next:disabled {
  background-color: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-wizard-submit {
  background-color: #16a34a;
  color: #ffffff;
  border: none;
  padding: 11px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

.btn-wizard-submit:hover:not(:disabled) {
  background-color: #15803d;
}

.btn-wizard-submit:disabled {
  background-color: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* Success Screen (Exact Screenshot 5 match) */
.wizard-success-screen {
  display: none;
  text-align: center;
  padding: 40px 16px;
}

.wizard-success-screen.active {
  display: block;
}

.success-message-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: #16a34a;
  line-height: 1.6;
  margin-bottom: 22px;
}

.success-ref-code {
  display: inline-block;
  background: #f0fdf4;
  border: 1px dashed #86efac;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #166534;
  margin-bottom: 24px;
}

.success-ref-code strong {
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* ==========================================================================
   WORKFLOW STEPS
   ========================================================================== */
.workflow-section {
  padding: 50px 0;
  background-color: #f1f5f9;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.workflow-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.wf-step-num {
  width: 38px;
  height: 38px;
  background: var(--gov-navy);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 4px var(--gov-blue-light);
}

.wf-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gov-navy);
  margin-bottom: 6px;
}

.wf-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 55px 0;
  background-color: #ffffff;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 15px 18px;
  background: #fbfcfe;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gov-navy);
  user-select: none;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-icon {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 18px;
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 14px 18px;
  max-height: 300px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   OFFICIAL STATE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--gov-navy-deep);
  color: #cbd5e1;
  padding-top: 45px;
  border-top: 4px solid var(--gold-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-desc {
  font-size: 0.825rem;
  line-height: 1.6;
  margin-top: 12px;
  color: #94a3b8;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--gold-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.825rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.825rem;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclaimer-note {
  max-width: 600px;
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   WHATSAPP LIVE CHAT FLOATING WIDGET (Image 3 exact match)
   ========================================================================== */
.whatsapp-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1500;
}

/* Floating Action Button */
.wa-floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--wa-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  position: relative;
}

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

.wa-floating-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.wa-badge-pulse {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

/* WhatsApp Chat Window Card */
.wa-chat-window {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 36px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: waPopup 0.28s ease forwards;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.wa-chat-window.active {
  display: flex;
}

@keyframes waPopup {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* WhatsApp Header (Green Bar) */
.wa-window-header {
  background-color: var(--wa-dark-green);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar-box {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wa-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background-color: #4ade80;
  border: 2px solid var(--wa-dark-green);
  border-radius: 50%;
}

.wa-header-meta {
  display: flex;
  flex-direction: column;
}

.wa-account-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.wa-account-status {
  font-size: 0.75rem;
  color: #a7f3d0;
  margin-top: 2px;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.wa-close-btn:hover {
  opacity: 1;
}

/* WhatsApp Chat Body with Doodle Pattern */
.wa-window-body {
  background-color: var(--wa-chat-bg);
  background-image: 
    radial-gradient(#d3cbbe 0.75px, transparent 0.75px),
    radial-gradient(#d3cbbe 0.75px, var(--wa-chat-bg) 0.75px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  padding: 18px 14px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.wa-chat-bubble {
  background-color: #ffffff;
  border-radius: 0 10px 10px 10px;
  padding: 10px 12px;
  max-width: 90%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  position: relative;
  align-self: flex-start;
}

.wa-bubble-author {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--wa-teal);
  margin-bottom: 2px;
}

.wa-bubble-text {
  font-size: 0.875rem;
  color: #111827;
  line-height: 1.4;
}

.wa-bubble-time {
  font-size: 0.68rem;
  color: #6b7280;
  text-align: right;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.wa-double-tick {
  color: #3b82f6; /* blue double tick */
  font-weight: 800;
}

/* WhatsApp Input Footer */
.wa-window-footer {
  background-color: #f0f2f5;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e5e7eb;
}

.wa-input-field {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.wa-input-field:focus {
  border-color: var(--wa-green);
}

.wa-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: #54656f;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.wa-send-btn:hover {
  color: var(--wa-teal);
  background-color: #e2e8f0;
}

.wa-send-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 95px;
  right: 24px;
  background: var(--gov-navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--color-success);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .quote-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .quote-photo-wrapper {
    margin: 0 auto;
  }
  .quote-mark {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .main-nav.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    box-shadow: var(--shadow-md);
    margin: 0;
    gap: 14px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-cta-btn {
    display: none; /* Accessible in mobile nav */
  }
  .form-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .stepper-bar-wrapper {
    padding: 20px 10px;
  }
  .step-label {
    display: none;
  }
  .wizard-form-body {
    padding: 24px 16px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-features {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MODAL & DIALOG SYSTEM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 30, 51, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 16px;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 520px;
  position: relative;
  overflow: hidden;
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
