/* ==========================================================================
   GRGC - Global Route Establishment for General Contracting
   Design System & Main Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Primary Colors */
  --navy-950: #030811;
  --navy-900: #081321;
  --navy-850: #0a1829;
  --navy-800: #0e2035;
  --navy-700: #153254;
  --navy-600: #1f4776;

  /* Brand Accent Orange */
  --orange-600: #c24d08;
  --orange-500: #e86417;
  --orange-400: #fa7b2a;
  --orange-300: #fc9b5b;
  --orange-100: #ffeedb;
  --orange-glow: rgba(250, 123, 42, 0.4);

  /* Brand Gradients */
  --brand-gradient: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
  --brand-gradient-hover: linear-gradient(135deg, var(--orange-300) 0%, var(--orange-500) 100%);

  /* Functional Industrial Colors */
  --emerald-500: #10b981;
  --amber-500: #f59e0b;
  --blue-500: #3b82f6;

  /* Neutrals & Surfaces */
  --bg-dark: #040a12;
  --surface-dark: #081422;
  --surface-dark-card: #0d1e33;
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-border-hover: rgba(250, 123, 42, 0.4);

  --bg-light: #f8fafc;
  --surface-light: #ffffff;
  --surface-light-card: #ffffff;
  --surface-light-border: #e2e8f0;

  --text-dark-primary: #f8fafc;
  --text-dark-secondary: #94a3b8;
  --text-dark-muted: #64748b;

  --text-light-primary: #0f172a;
  --text-light-secondary: #475569;
  --text-light-muted: #64748b;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', 'Segoe UI', Tahoma, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px -4px rgba(7, 18, 31, 0.08), 0 6px 14px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(7, 18, 31, 0.12), 0 12px 24px -6px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 8px 30px var(--orange-glow);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-light-primary);
  /* line-height: 1.6; */
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background-color: var(--navy-900);
  color: var(--text-dark-primary);
}

.section-slate {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: rgba(243, 112, 33, 0.12);
  color: var(--orange-500);
  margin-bottom: 16px;
}

.section-dark .section-tag {
  background-color: rgba(243, 112, 33, 0.18);
  border: 1px solid rgba(243, 112, 33, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light-secondary);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: var(--text-dark-secondary);
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500), #e05d10);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-arabic {
  font-family: var(--font-arabic);
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius:100px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(250, 123, 42, 0.5);
  background: var(--brand-gradient-hover);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-navy {
  background-color: var(--navy-850);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--navy-700);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 2px solid var(--navy-900);
}

.btn-outline:hover {
  background-color: var(--navy-900);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae06c, #159c8d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-orange {
  background: rgba(243, 112, 33, 0.12);
  color: var(--orange-500);
  border: 1px solid rgba(243, 112, 33, 0.25);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-500);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-navy {
  background: rgba(12, 35, 64, 0.08);
  color: var(--navy-800);
  border: 1px solid rgba(12, 35, 64, 0.15);
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}