/* 
  =========================================
  Main Design System Stylesheet - FM Services
  =========================================
*/

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

:root {
  /* Colors */
  --primary-navy: #0F2A44;
  --royal-blue: #1D4ED8;
  --emerald-green: #10B981;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  --dark-text: #111827;
  --muted-text: #6B7280;
  --border-color: #E5E7EB;
  
  --soft-blue-bg: #EFF6FF;
  --soft-green-bg: #ECFDF5;
  --soft-yellow-bg: #FFFBEB;
  --soft-red-bg: #FEF2F2;

  --warning: #F59E0B;
  --error: #EF4444;
  --success: #22C55E;

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

  /* Spacing */
  --section-padding-desktop: 90px;
  --section-padding-tablet: 70px;
  --section-padding-mobile: 48px;
  --grid-gap: 24px;
  --card-padding: 32px;

  /* Border Radius */
  --radius-button: 12px;
  --radius-card: 18px;
  --radius-section: 28px;
  --radius-input: 10px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 12px 30px rgba(15, 42, 68, 0.05);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

a {
  text-decoration: none;
  color: var(--royal-blue);
  transition: color var(--transition-fast) ease, background-color var(--transition-fast) ease;
}

a:hover {
  color: #1e40af;
}

/* Keyboard accessibility outline */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible, 
textarea:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 3px;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------
   Typography Hierarchy
   -------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  color: var(--muted-text);
}

p.section-intro {
  font-size: 18px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------
   Layout & Grid System
   -------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

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

.section-padding-medium {
  padding: 60px 0;
}

.bg-white {
  background-color: var(--white);
}

.bg-soft-blue {
  background-color: var(--soft-blue-bg);
}

.bg-navy {
  background-color: var(--primary-navy);
  color: var(--white);
}

/* Grid Classes */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  gap: 16px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

/* Spacing Utilities */
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* --------------------------------------
   Buttons System
   -------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-button);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 8px;
  text-align: center;
}

.btn-primary {
  background-color: var(--royal-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1e40af;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-whatsapp {
  background-color: var(--emerald-green);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #059669;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 42, 68, 0.15);
}

.btn-outline-white {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

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

.btn-ghost {
  background-color: transparent;
  color: var(--royal-blue);
  padding-left: 12px;
  padding-right: 12px;
}

.btn-ghost:hover {
  background-color: var(--soft-blue-bg);
  color: #1e40af;
}

.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2.5px solid transparent;
  border-top-color: currentColor;
  border-left-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn:disabled {
  background-color: var(--border-color);
  color: var(--muted-text);
  border-color: var(--border-color);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------
   Header & Navbar UI
   -------------------------------------- */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 42, 68, 0.08);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-navy);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-sub {
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--royal-blue);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: var(--dark-text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--royal-blue);
}

/* Active Indicator */
.nav-links a.active {
  color: var(--royal-blue);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--royal-blue);
  border-radius: 2px;
}

.nav-item-has-dropdown {
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  display: grid;
  gap: 4px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: var(--soft-blue-bg);
  color: var(--royal-blue);
}

.nav-dropdown a.active::after {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Hamburger animations */
.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------
   Hero Sections
   -------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 100px 0 110px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.15) 0%, rgba(15, 42, 68, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-section h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
}

.hero-badge svg {
  color: var(--royal-blue);
  fill: currentColor;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-indicators span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-mockup-card {
  background: var(--white);
  color: var(--dark-text);
  padding: var(--card-padding);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-mockup-card h3 {
  font-size: 20px;
  color: var(--primary-navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.hero-mockup-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-mockup-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 15px;
}

.hero-mockup-list li svg {
  color: var(--royal-blue);
  flex-shrink: 0;
}

.hero-mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
  background-color: var(--light-bg);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.hero-mockup-stats-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.hero-mockup-stats-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Page Hero layout for inner pages */
.page-hero {
  background-color: var(--light-bg);
  border-bottom: 1px solid var(--border-color);
  color: var(--dark-text);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--primary-navy);
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--muted-text);
  font-size: 16px;
  max-width: 700px;
  margin-bottom: 0;
}

/* Breadcrumb Navigation */
.breadcrumb {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-text);
}

.breadcrumb li a {
  color: var(--muted-text);
  font-weight: 500;
}

.breadcrumb li a:hover {
  color: var(--royal-blue);
}

.breadcrumb li svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.breadcrumb li span[aria-current="page"] {
  color: var(--primary-navy);
  font-weight: 600;
}

/* --------------------------------------
   Cards System
   -------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  box-shadow: var(--shadow-premium);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px rgba(15, 42, 68, 0.08);
  border-color: rgba(29, 78, 216, 0.15);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--soft-blue-bg);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.card:hover .card-icon {
  background-color: var(--royal-blue);
  color: var(--white);
}

.card h3 {
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.card p {
  margin-bottom: 20px;
  font-size: 15px;
}

.card .card-link {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--royal-blue);
}

.card .card-link:hover {
  color: #1e40af;
}

/* Feature/Why Choose Us Card */
.feature-card {
  padding: 28px;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--soft-blue-bg);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Process Card */
.process-grid {
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 130px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.process-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 36px 24px 28px;
}

.process-step-badge {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--royal-blue);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  font-size: 16px;
}

.process-card:hover .process-step-badge {
  background-color: var(--primary-navy);
}

.process-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--soft-blue-bg);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.process-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 13.5px;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Vertical Process Stepper (Mobile & Process Page Sidebar) */
.stepper-vertical {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stepper-item {
  display: flex;
  gap: 20px;
  position: relative;
}

.stepper-item::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 20px;
  bottom: -20px;
  width: 2px;
  background-color: var(--border-color);
}

.stepper-item:last-child::after {
  display: none;
}

.stepper-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--soft-blue-bg);
  color: var(--royal-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  z-index: 2;
}

.stepper-item.active .stepper-badge {
  background-color: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
}

.stepper-content {
  padding-bottom: 32px;
}

.stepper-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.stepper-content p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Contact Info Card */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--soft-blue-bg);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--primary-navy);
}

.contact-card-info p {
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-text);
}

.contact-card-info a {
  font-weight: 600;
  font-size: 16px;
}

/* Trust Card / Testimonial visual without fake name */
.trust-badge-card {
  border-left: 4px solid var(--royal-blue);
  background: var(--white);
  padding: 24px;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.trust-badge-card p {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--dark-text);
}

.trust-badge-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badge-meta svg {
  color: var(--royal-blue);
}

/* --------------------------------------
   Forms Design System
   -------------------------------------- */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.form-group label .required-marker {
  color: var(--error);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-color);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark-text);
  background-color: var(--white);
  transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-control:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
  outline: none;
}

textarea.form-control {
  height: auto;
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-helper {
  font-size: 12px;
  color: var(--muted-text);
  margin-top: 6px;
}

/* Form Validation States */
.form-control.is-invalid {
  border-color: var(--error);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.validation-error-text {
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-control.is-valid {
  border-color: var(--success);
}

.form-control.is-valid:focus {
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

/* --------------------------------------
   Alert Box System
   -------------------------------------- */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid transparent;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-content {
  flex-grow: 1;
}

.alert-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.alert-message {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Info Alert */
.alert-info {
  background-color: var(--soft-blue-bg);
  border-color: #bee3f8;
  color: #2b6cb0;
}

.alert-info .alert-title {
  color: #2b6cb0;
}

.alert-info .alert-icon {
  color: var(--royal-blue);
}

/* Success Alert */
.alert-success {
  background-color: var(--soft-green-bg);
  border-color: #c6f6d5;
  color: #2f855a;
}

.alert-success .alert-title {
  color: #2f855a;
}

.alert-success .alert-icon {
  color: var(--success);
}

/* Warning Alert */
.alert-warning {
  background-color: var(--soft-yellow-bg);
  border-color: #feebc8;
  color: #c05621;
}

.alert-warning .alert-title {
  color: #c05621;
}

.alert-warning .alert-icon {
  color: var(--warning);
}

/* Error Alert */
.alert-error {
  background-color: var(--soft-red-bg);
  border-color: #fed7d7;
  color: #9b2c2c;
}

.alert-error .alert-title {
  color: #9b2c2c;
}

.alert-error .alert-icon {
  color: var(--error);
}

/* --------------------------------------
   Badges and Chips
   -------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-tourist { background-color: #EFF6FF; color: #1D4ED8; }
.badge-business { background-color: #F5F3FF; color: #6D28D9; }
.badge-student { background-color: #ECFDF5; color: #047857; }
.badge-family { background-color: #FFF1F2; color: #BE123C; }
.badge-work { background-color: #FFF7ED; color: #C2410C; }
.badge-urgent { background-color: #FEF2F2; color: #EF4444; }
.badge-review { background-color: #F0FDF4; color: #16A34A; }
.badge-translation { background-color: #FFFBEB; color: #D97706; }
.badge-attestation { background-color: #EFF6FF; color: #2563EB; }

/* --------------------------------------
   FAQ Accordions
   -------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover, .faq-item.active {
  border-color: rgba(29, 78, 216, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle::after {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231D4ED8' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4v16m8-8H4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle::after {
  transform: rotate(45deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23EF4444' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 4v16m8-8H4'/%3E%3C/svg%3E");
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-content-inner {
  padding: 0 24px 20px;
  color: var(--muted-text);
  font-size: 15px;
  line-height: 1.6;
}

/* Category Filter Tabs (FAQ page) */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

.filter-btn.active {
  background-color: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.15);
}

/* --------------------------------------
   CTA Banner Component
   -------------------------------------- */
.cta-banner {
  background-color: var(--primary-navy);
  color: var(--white);
  border-radius: var(--radius-section);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------
   Floating WhatsApp Button
   -------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all var(--transition-normal);
}

.floating-whatsapp:hover {
  background-color: #20ba5a;
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp svg {
  flex-shrink: 0;
  fill: currentColor;
}

/* --------------------------------------
   Back to Top Button
   -------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-navy);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* --------------------------------------
   Footer UI
   -------------------------------------- */
.site-footer {
  background-color: var(--primary-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 15px;
}

.site-footer h3, .site-footer h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.site-footer h3 {
  font-size: 20px;
}

.site-footer h4 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-brand-column p {
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-item svg {
  color: var(--royal-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item p {
  margin-bottom: 0;
}

.footer-contact-item a {
  color: var(--white);
  font-weight: 600;
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.sub-footer {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.sub-footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.sub-footer-links {
  display: flex;
  gap: 20px;
}

.sub-footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

.sub-footer-links a:hover {
  color: var(--white);
}

/* --------------------------------------
   Legal Content Page Layout
   -------------------------------------- */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.legal-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-toc a {
  color: var(--muted-text);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.legal-toc a:hover, .legal-toc a.active {
  color: var(--royal-blue);
  font-weight: 600;
  padding-left: 4px;
}

.legal-content {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.legal-content section {
  margin-bottom: 32px;
  scroll-margin-top: 110px; /* Offset for sticky header when scrolling */
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  font-size: 22px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.7;
}

/* --------------------------------------
   List Layout Visual Helpers (Emoji Replacements)
   -------------------------------------- */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.icon-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.icon-list-check li svg {
  color: var(--royal-blue);
}

.icon-list-error li svg {
  color: var(--error);
}

.icon-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.icon-list-grid li {
  background-color: var(--light-bg);
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 15px;
}

.icon-list-grid li svg {
  color: var(--royal-blue);
  flex-shrink: 0;
}

/* --------------------------------------
   Header visibility fixes
   -------------------------------------- */
.mobile-only-cta {
  display: none !important;
}

/* --------------------------------------
   Two-column Page Hero & Integrated Breadcrumb
   -------------------------------------- */
.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  flex-shrink: 0;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal) ease, box-shadow var(--transition-normal) ease;
}

.hero-image-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 24px 50px rgba(0, 0, 0, 0.4);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.hero-visual:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.12);
}

.hero-visual [data-lucide] {
  width: 50px;
  height: 50px;
}

/* General Image styling for service/about pages */
.content-image-wrap {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.content-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow) ease;
}

.content-image-wrap:hover img {
  transform: scale(1.03);
}

/* Page Hero Breadcrumb customization */
.page-hero .breadcrumb {
  background-color: transparent !important;
  border-bottom: none !important;
  padding: 0 0 16px 0 !important;
  margin: 0 !important;
}

.page-hero .breadcrumb ol {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
  padding: 0;
  margin: 0;
}

.page-hero .breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-text);
}

.page-hero .breadcrumb a {
  color: var(--royal-blue);
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.page-hero .breadcrumb a:hover {
  color: var(--primary-navy);
  text-decoration: underline;
}

.page-hero .breadcrumb span {
  color: var(--dark-text);
  font-weight: 500;
}

.page-hero .breadcrumb [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--muted-text);
}

/* =========================================
   RTL Directional Styles & Language Switcher
   ========================================= */
[dir="rtl"] {
  text-align: right;
  font-family: 'Noto Sans Arabic', var(--font-sans);
}

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] h4, 
[dir="rtl"] h5, 
[dir="rtl"] h6 {
  font-family: 'Noto Sans Arabic', var(--font-heading);
}

[dir="rtl"] p, 
[dir="rtl"] ul, 
[dir="rtl"] ol, 
[dir="rtl"] form {
  text-align: right;
}

[dir="rtl"] .hero-section {
  text-align: right;
}

[dir="rtl"] .nav-links {
  margin-right: 0;
  margin-left: auto;
  padding-right: 0;
}

[dir="rtl"] .nav-cta {
  flex-direction: row-reverse;
}

[dir="rtl"] .hero-actions {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

[dir="rtl"] .hero-indicators span svg {
  margin-right: 0;
  margin-left: 6px;
}

[dir="rtl"] .icon-list li svg {
  margin-right: 0;
  margin-left: 12px;
}

[dir="rtl"] .stepper-vertical .stepper-item {
  border-left: none;
  border-right: 2px solid var(--border-color);
  padding-left: 0;
  padding-right: 32px;
}

[dir="rtl"] .stepper-vertical .stepper-badge {
  left: auto;
  right: -17px;
}

[dir="rtl"] .stepper-vertical .stepper-content {
  text-align: right;
}

[dir="rtl"] .alert-icon {
  margin-right: 0;
  margin-left: 16px;
}

[dir="rtl"] .alert-content {
  text-align: right;
}

[dir="rtl"] .contact-card-icon {
  margin-right: 0;
  margin-left: 16px;
}

[dir="rtl"] .form-group label {
  text-align: right;
}

[dir="rtl"] .form-helper {
  text-align: right;
}

[dir="rtl"] .site-footer {
  text-align: right;
}

[dir="rtl"] .footer-links, 
[dir="rtl"] .footer-contact-info {
  padding-left: 0;
  padding-right: 0;
}

[dir="rtl"] .footer-contact-item svg {
  margin-right: 0;
  margin-left: 12px;
}

[dir="rtl"] .footer-contact-item p {
  text-align: right;
}

/* Reverse chevron icons in RTL */
[dir="rtl"] [data-lucide="chevron-right"] {
  transform: scaleX(-1);
}

[dir="rtl"] [data-lucide="arrow-right"] {
  transform: scaleX(-1);
}

/* Lang Switcher Styles */
.lang-selector .lang-link {
  transition: color var(--transition-fast);
  text-decoration: none;
}

.lang-selector .lang-link:hover {
  color: var(--white) !important;
}

.lang-selector .lang-link.active {
  border-bottom: 2px solid var(--royal-blue);
}


