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

:root {
  --navy: #2C3357;
  --navy-dark: #191E36;
  --navy-deep: #121526;
  --navy-light: #3A4372;
  --orange: #F58336;
  --orange-hover: #E26E20;
  --orange-glow: rgba(245, 131, 54, 0.35);
  --orange-subtle: rgba(245, 131, 54, 0.08);
  --bg-light: #F8F9FC;
  --bg-card: #FFFFFF;
  --text-main: #1C223A;
  --text-muted: #5D667E;
  --text-light: #8E97B0;
  --border-light: rgba(44, 51, 87, 0.12);
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(27, 34, 63, 0.05);
  --shadow-md: 0 12px 32px rgba(27, 34, 63, 0.08);
  --shadow-lg: 0 24px 60px rgba(27, 34, 63, 0.14);
  --container: 1220px;
  --font-ar: 'Cairo', system-ui, sans-serif;
  --font-en: 'Outfit', system-ui, sans-serif;
}

/* ── DARK MODE THEME ── */
[data-theme="dark"] {
  --bg-light: #0F1117;
  --bg-card: #1A1D2E;
  --text-main: #E8EAF4;
  --text-muted: #8E97B0;
  --text-light: #5D667E;
  --border-light: rgba(255,255,255,0.08);
  --shadow-sm: 0 4px 14px rgba(0,0,0,0.25);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.5);
}
[data-theme="dark"] body { background: #0F1117; }
[data-theme="dark"] .section-light,
[data-theme="dark"] .section-gray { background: #13161F !important; }
[data-theme="dark"] .card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .industry-card,
[data-theme="dark"] .cap-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .stat-card-pro,
[data-theme="dark"] .hero-card { background: #1A1D2E !important; border-color: rgba(255,255,255,0.07) !important; }
[data-theme="dark"] header:not(.hero-scrolled) { background: rgba(15,17,23,0.9) !important; }
[data-theme="dark"] .nav-menu a { color: rgba(255,255,255,0.8); }
[data-theme="dark"] .nav-menu a:hover { color: var(--orange); }
[data-theme="dark"] .clients-section { background: #13161F; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .faq-item { background: #1A1D2E; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .faq-question { color: var(--text-main); }
[data-theme="dark"] .testimonial-card { background: #1A1D2E; }
[data-theme="dark"] .cookie-banner { background: #1A1D2E; border-color: rgba(255,255,255,0.1); }

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ar);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
}

body[dir="ltr"] {
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

/* Typography & Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 12px;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(38px, 5.5vw, 68px); }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #FF7B1C 0%, #F58336 50%, #DE6511 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 131, 54, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-weight: 800;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF8D38 0%, #F88D44 50%, #E66F1B 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 131, 54, 0.45), 0 0 0 2px rgba(245, 131, 54, 0.2);
}

.btn-secondary {
  background: var(--navy);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(44, 51, 87, 0.25);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: var(--border-light);
  color: var(--navy);
  background: #fff;
}

.btn-outline-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
  width: 100%;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(27, 34, 63, 0.08);
  border-bottom: 1px solid rgba(44, 51, 87, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-link img {
  height: clamp(66px, 6.2vw, 92px);
  width: auto;
  max-height: 92px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.22));
}

header.scrolled .brand-link img,
header.always-scrolled .brand-link img {
  height: clamp(52px, 4.8vw, 68px);
  max-height: 68px;
  filter: none;
}

/* On transparent hero (unscrolled), display white logo; on scrolled, display navy logo */
header:not(.scrolled) .logo-navy {
  display: none;
}
header:not(.scrolled) .logo-white {
  display: block;
}
header.scrolled .logo-navy {
  display: block;
}
header.scrolled .logo-white {
  display: none;
}

/* If header is on an inner page with light hero header */
header.always-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(27, 34, 63, 0.06);
}
header.always-scrolled .logo-navy {
  display: block !important;
}
header.always-scrolled .logo-white {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 700;
  position: relative;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.9);
}

header.scrolled .nav-menu a,
header.always-scrolled .nav-menu a {
  color: var(--navy);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: all 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  right: 0;
}

.nav-menu a.active {
  color: var(--orange) !important;
}

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

.lang-toggle {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

header.scrolled .lang-toggle,
header.always-scrolled .lang-toggle {
  color: var(--navy);
  border-color: var(--border-light);
  background: #fff;
}

.lang-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  align-items: center;
  justify-content: center;
}

header.scrolled .menu-toggle,
header.always-scrolled .menu-toggle {
  color: var(--navy);
}

/* Hero Section (Home) */
.hero {
  position: relative;
  min-height: 880px;
  background: var(--navy);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(20, 25, 48, 0.94) 0%, rgba(27, 33, 62, 0.85) 50%, rgba(44, 51, 87, 0.65) 100%),
                    url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?auto=format&fit=crop&w=2200&q=82');
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 40%, rgba(245, 131, 54, 0.14) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 160px 0 100px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.hero-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin: 22px 0 34px;
  max-width: 640px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(25, 30, 54, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid rgba(245, 131, 54, 0.3);
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 22px;
}

.hero-card-title h3 {
  color: #fff;
  font-size: 20px;
}

.hero-card-title span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-features {
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-features li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  flex-shrink: 0;
}

/* Inner Page Banners */
.page-banner {
  background: var(--navy-dark);
  color: #fff;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(245, 131, 54, 0.16) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.page-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.page-banner h1 {
  color: #fff;
  margin: 12px 0 18px;
}

.page-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 24px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs span {
  color: var(--orange);
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}

.section-light {
  background-color: #fff;
}

.section-gray {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--navy);
  color: #fff;
}

.section-dark h2, 
.section-dark h3 {
  color: #fff;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 54px;
}

.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.section-header-centered .eyebrow {
  justify-content: center;
}

.section-header p {
  max-width: 580px;
  color: var(--text-muted);
  font-size: 17px;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

/* Grid & Cards System */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 131, 54, 0.3);
}

.card-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: inline-block;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--orange-subtle);
  border: 1px solid rgba(245, 131, 54, 0.25);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.card-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
  color: #fff;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.card-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 131, 54, 0.4);
}

/* Industry Showcase Cards with Images */
.industry-card {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.06);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 22, 40, 0.95) 0%, rgba(18, 22, 40, 0.4) 60%, transparent 100%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  z-index: 2;
}

.industry-overlay small {
  color: var(--orange);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.industry-overlay h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.industry-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

/* Stats Counter Banner */
.stats-banner {
  background: var(--navy-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
}

.stat-item:last-child {
  border-inline-end: none;
}

.stat-number {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Contact Info & Forms */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.contact-box {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-card-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border: 1px solid rgba(44, 51, 87, 0.06);
  transition: all 0.2s ease;
}

.contact-card-item:hover {
  border-color: var(--orange);
  background: #fff;
  transform: translateX(-3px);
}

[dir="ltr"] .contact-card-item:hover {
  transform: translateX(3px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details b {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 3px;
}

.contact-details span,
.contact-details a {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-details a:hover {
  color: var(--orange);
}

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

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #DFE3EB;
  border-radius: 14px;
  padding: 13px 16px;
  background: #FBFBFC;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 131, 54, 0.12);
}

/* ========================================================
   FLOATING ACTION BUTTONS (WHATSAPP & AI ASSISTANT)
   ======================================================== */
.floating-actions {
  position: fixed;
  z-index: 9999;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Position on left for RTL (Arabic default), right for LTR (English) */
body[dir="rtl"] .floating-actions {
  left: 24px;
}
body[dir="ltr"] .floating-actions {
  right: 24px;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.whatsapp-btn:hover {
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Pulsing Badge for WhatsApp */
.pulse-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: #FF3B30;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* AI Assistant Button */
.ai-btn {
  background: linear-gradient(135deg, var(--navy) 0%, #171A2E 100%);
  border: 2px solid var(--orange);
  color: #fff;
}

.ai-btn:hover {
  box-shadow: 0 12px 35px var(--orange-glow);
}

.ai-btn-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ai-beacon {
  position: absolute;
  top: -4px;
  left: -4px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
}

.floating-tooltip {
  position: absolute;
  white-space: nowrap;
  background: var(--navy);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

body[dir="rtl"] .floating-tooltip {
  left: calc(100% + 12px);
  transform: translateX(-6px);
}

body[dir="ltr"] .floating-tooltip {
  right: calc(100% + 12px);
  transform: translateX(6px);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================================
   WHATSAPP MANAGER MODAL / POPUP
   ======================================================== */
.whatsapp-modal {
  position: fixed;
  z-index: 10000;
  bottom: 100px;
  width: 370px;
  max-width: calc(100vw - 36px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(18, 22, 40, 0.28), 0 0 0 1px rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body[dir="rtl"] .whatsapp-modal {
  left: 24px;
}
body[dir="ltr"] .whatsapp-modal {
  right: 24px;
}

.whatsapp-modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-modal-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(37, 211, 102, 0.4);
}

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

.wa-header-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.wa-header-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.wa-header-info h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.wa-header-info span {
  font-size: 11px;
  color: #A7F3D0;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}

.wa-header-info span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #3CD070;
  border-radius: 50%;
  box-shadow: 0 0 6px #3CD070;
}

.wa-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.wa-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.wa-modal-body {
  padding: 18px;
  display: grid;
  gap: 14px;
  background: #F4F6F9;
}

.wa-chat-bubble {
  background: #fff;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.55;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

.wa-options {
  display: grid;
  gap: 10px;
}

.wa-contact-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1.5px solid rgba(37, 211, 102, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.wa-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.16);
  border-color: #25D366;
  background: #F9FFF9;
}

.wa-contact-info {
  display: flex;
  align-items: center;
}

.wa-phone-number {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.5px;
  direction: ltr;
  unicode-bidi: embed;
}

.wa-phone-number svg {
  color: #25D366;
}

.wa-contact-card:hover .wa-phone-number {
  color: #128C7E;
}

.wa-action-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8F8EE 0%, #D0F2DF 100%);
  color: #25D366;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.wa-contact-card:hover .wa-action-icon {
  background: #25D366;
  color: #fff;
  transform: scale(1.08);
}

.wa-action-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ========================================================
   ALFARO AI CHAT DRAWER / WIDGET (POWERED BY GEMINI)
   ======================================================== */
.ai-modal {
  position: fixed;
  z-index: 10000;
  bottom: 100px;
  width: 420px;
  max-width: calc(100vw - 36px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 26px;
  box-shadow: 0 32px 90px rgba(18, 22, 40, 0.32), 0 0 0 1px rgba(245, 131, 54, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body[dir="rtl"] .ai-modal {
  left: 24px;
}
body[dir="ltr"] .ai-modal {
  right: 24px;
}

.ai-modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ai-modal-header {
  background: linear-gradient(135deg, #121526 0%, #191E36 50%, #2C3357 100%);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--orange);
  position: relative;
}

/* ── AI Modal Go-Back Button ── */
.ai-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  margin-inline-end: 10px;
}
.ai-back-btn:hover {
  background: rgba(245,131,54,0.18);
  border-color: var(--orange);
  transform: scale(1.08);
}
.ai-back-btn svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}
/* RTL: flip chevron direction */
[dir="rtl"] .ai-back-btn svg {
  transform: scaleX(-1);
}

.ai-modal-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: shimmerBorder 3s infinite;
}

@keyframes shimmerBorder {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.ai-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #FFF5ED 100%);
  display: grid;
  place-items: center;
  padding: 4px;
  border: 1.5px solid rgba(245, 131, 54, 0.5);
  box-shadow: 0 4px 12px rgba(245, 131, 54, 0.25);
  flex-shrink: 0;
}

.ai-avatar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ai-header-profile h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.ai-status {
  font-size: 11px;
  color: #3CD070;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-weight: 600;
}

.ai-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3CD070;
  box-shadow: 0 0 8px #3CD070;
  animation: aiRadar 2s infinite ease-in-out;
}

@keyframes aiRadar {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.ai-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.ai-close-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

.ai-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

/* Custom modern scrollbar */
.ai-chat-body::-webkit-scrollbar {
  width: 6px;
}
.ai-chat-body::-webkit-scrollbar-thumb {
  background: rgba(44, 51, 87, 0.15);
  border-radius: 10px;
}
.ai-chat-body::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 131, 54, 0.4);
}

.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
  animation: aiMsgIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.ai-msg.bot {
  align-self: flex-start;
}

.ai-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(44, 51, 87, 0.18);
}

.ai-msg.user .ai-msg-avatar {
  background: linear-gradient(135deg, var(--orange) 0%, #E26E20 100%);
  box-shadow: 0 2px 8px rgba(245, 131, 54, 0.3);
}

.ai-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.6;
}

.ai-msg.bot .ai-bubble {
  background: #fff;
  color: var(--text-main);
  border: 1px solid rgba(44, 51, 87, 0.08);
  border-top-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(27, 34, 63, 0.06);
}

[dir="ltr"] .ai-msg.bot .ai-bubble {
  border-top-right-radius: 18px;
  border-top-left-radius: 4px;
}

.ai-msg.user .ai-bubble {
  background: linear-gradient(135deg, var(--navy) 0%, #191E36 100%);
  color: #fff;
  border-top-left-radius: 4px;
  box-shadow: 0 4px 16px rgba(27, 34, 63, 0.12);
}

[dir="ltr"] .ai-msg.user .ai-bubble {
  border-top-left-radius: 18px;
  border-top-right-radius: 4px;
}

.ai-bubble p {
  margin-bottom: 8px;
}

.ai-bubble p:last-child {
  margin-bottom: 0;
}

.ai-bubble ul, .ai-bubble ol {
  padding-inline-start: 20px;
  margin: 8px 0;
}

.ai-bubble li {
  margin-bottom: 5px;
}

.ai-bubble strong, .ai-bubble b {
  color: var(--navy);
  font-weight: 700;
}

.ai-msg.user .ai-bubble strong,
.ai-msg.user .ai-bubble b {
  color: #FFD8A8;
}

.ai-bubble pre {
  background: #191E36;
  color: #F8FAFC;
  padding: 10px 14px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: monospace;
  font-size: 12px;
  margin: 8px 0;
}

.ai-bubble code {
  background: rgba(245, 131, 54, 0.12);
  color: var(--orange-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: monospace;
}

/* Quick prompt chips */
.ai-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ai-chip {
  background: #fff;
  border: 1.5px solid rgba(245, 131, 54, 0.35);
  color: var(--navy);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ai-chip:hover {
  background: linear-gradient(135deg, var(--orange) 0%, #E26E20 100%);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 131, 54, 0.28);
}

.ai-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.ai-action-wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
}

.ai-action-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.ai-action-call {
  background: var(--navy);
  color: #fff;
}

.ai-action-call:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* Chat Input Bar */
.ai-chat-footer {
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
  align-items: center;
}

.ai-chat-input {
  flex: 1;
  border: 1px solid #DFE3EB;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  outline: none;
  background: #F8F9FA;
  transition: border-color 0.2s;
}

.ai-chat-input:focus {
  border-color: var(--orange);
  background: #fff;
}

.ai-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.ai-send-btn:hover {
  background: var(--orange-hover);
  transform: scale(1.05);
}

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

/* Footer */
footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 70px 0 30px;
  border-top: 4px solid var(--orange);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: clamp(64px, 5vw, 84px);
  width: auto;
  max-width: 280px;
  margin-bottom: 24px;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}
.footer-brand img:hover {
  transform: scale(1.03);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
  max-width: 360px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--orange);
}

body[dir="rtl"] .footer-col h4::after { right: 0; }
body[dir="ltr"] .footer-col h4::after { left: 0; }

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--orange);
  padding-inline-start: 6px;
}

.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list a:hover {
  color: var(--orange);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-tag {
  color: rgba(255, 255, 255, 0.7);
}

/* Toast */
.toast {
  position: fixed;
  z-index: 10001;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   COMPREHENSIVE MULTI-DEVICE RESPONSIVE SYSTEM
   (COMPUTERS, LAPTOPS, TABLETS, MOBILES)
   ========================================================= */

/* 1. LAPTOPS & MEDIUM DESKTOPS (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
  .container {
    padding: 0 20px;
    width: min(var(--container), calc(100% - 32px));
  }
  .nav-wrap {
    gap: 12px;
  }
  .brand-link img {
    height: 56px !important;
    max-height: 58px !important;
  }
  header.scrolled .brand-link img,
  header.always-scrolled .brand-link img {
    height: 48px !important;
    max-height: 50px !important;
  }
  .nav-menu {
    gap: 12px;
  }
  .nav-menu a {
    font-size: 13px;
    padding: 6px 2px;
    white-space: nowrap;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-primary {
    padding: 8px 14px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .lang-toggle {
    padding: 6px 12px;
    font-size: 11.5px;
    white-space: nowrap;
  }
  .hero-content {
    gap: 36px;
    padding: 135px 0 75px;
  }
  .hero-text h1 {
    font-size: clamp(34px, 3.6vw, 46px);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* 2. TABLETS & SMALL LAPTOPS (769px - 1024px) */
@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  header.scrolled .menu-toggle,
  header.always-scrolled .menu-toggle {
    color: var(--navy);
    background: var(--bg-light);
    border-color: var(--border-light);
  }
  .brand-link img {
    height: 52px !important;
    max-height: 54px !important;
  }
  header.scrolled .brand-link img,
  header.always-scrolled .brand-link img {
    height: 46px !important;
    max-height: 48px !important;
  }
  .nav-actions .btn-primary {
    display: none !important;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(245, 131, 54, 0.2);
    padding: 22px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    display: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    z-index: 10000;
  }
  .nav-menu.open {
    display: flex !important;
    animation: menuSlideFade 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes menuSlideFade {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-menu a {
    color: var(--navy) !important;
    padding: 12px 16px;
    border-radius: 10px;
    border-bottom: 1px solid rgba(44, 51, 87, 0.06);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s ease;
  }
  .nav-menu a:hover,
  .nav-menu a.active {
    background: rgba(245, 131, 54, 0.08);
    color: var(--orange) !important;
    padding-inline-start: 20px;
  }
  .nav-menu a::after {
    display: none !important;
  }
  body.dark-mode .nav-menu {
    background: rgba(19, 23, 46, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
  body.dark-mode .nav-menu a {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  body.dark-mode .nav-menu a:hover,
  body.dark-mode .nav-menu a.active {
    background: rgba(245, 131, 54, 0.16);
  }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 130px 0 60px;
    gap: 36px;
    text-align: center;
  }
  .hero-text p {
    margin: 18px auto 28px;
    max-width: 620px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-card {
    max-width: 620px;
    margin: 0 auto;
    text-align: start;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .stats-banner,
  .stats-banner-pro {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px 24px;
    gap: 24px;
  }
  .stat-item:nth-child(2) {
    border-inline-end: none;
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
  }
}

/* 3. MOBILES & SMALL SCREENS (<= 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
    max-width: 100vw;
  }
  .container {
    padding: 0 16px;
    width: min(var(--container), calc(100% - 24px));
  }
  header {
    padding: 8px 0 !important;
  }
  .brand-link img {
    height: 46px !important;
    max-height: 48px !important;
  }
  header.scrolled .brand-link img,
  header.always-scrolled .brand-link img {
    height: 42px !important;
    max-height: 44px !important;
  }
  .lang-toggle {
    padding: 5px 10px;
    font-size: 11px;
    gap: 4px;
  }
  .menu-toggle {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
  .nav-menu {
    top: 64px !important;
    left: 12px !important;
    right: 12px !important;
    padding: 16px 14px !important;
    border-radius: 16px !important;
    max-height: calc(100vh - 84px) !important;
  }
  .nav-menu a {
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hero {
    min-height: auto;
    padding: 85px 0 35px;
  }
  .hero-content {
    gap: 26px;
    padding: 10px 0 25px;
  }
  .hero-text h1 {
    font-size: clamp(25px, 7.5vw, 35px);
    line-height: 1.25;
  }
  .hero-text p {
    font-size: 14.5px;
    line-height: 1.65;
    margin: 14px 0 20px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 18px;
    font-size: 14.5px;
  }
  .hero-card {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .page-banner {
    padding: 95px 0 40px;
  }
  .page-banner h1 {
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.3;
  }
  .page-banner p {
    font-size: 14px;
    line-height: 1.65;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 30px;
  }
  section {
    padding: 60px 0;
  }
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .industry-card {
    height: 320px;
    border-radius: 16px;
  }
  .industry-overlay {
    padding: 20px 18px;
  }
  .industry-overlay h3 {
    font-size: 19px;
  }
  .marquee-track {
    gap: 14px;
  }
  .marquee-client-card {
    min-width: 140px;
    height: 56px;
    padding: 6px 14px;
  }
  .marquee-client-logo {
    max-height: 32px;
  }
  .marquee-standard-card {
    min-width: 140px;
    height: 56px;
    padding: 6px 14px;
    font-size: 12.5px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand img {
    height: 52px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  input, select, textarea {
    font-size: 15px !important;
    padding: 12px 14px !important;
    min-height: 46px;
  }
  .ai-modal,
  .whatsapp-modal {
    width: calc(100vw - 24px) !important;
    max-width: 390px !important;
    left: 12px !important;
    right: 12px !important;
    margin: 0 auto !important;
    bottom: 84px !important;
    border-radius: 18px !important;
  }
}

/* 4. EXTRA SMALL MOBILES (<= 480px) */
@media (max-width: 480px) {
  .brand-link img {
    height: 42px !important;
    max-height: 44px !important;
  }
  .stats-banner,
  .stats-banner-pro {
    grid-template-columns: 1fr !important;
    padding: 22px 16px !important;
    gap: 16px !important;
  }
  .stat-item {
    border-inline-end: none !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 0 !important;
  }
  .stat-item:last-child {
    border-bottom: none !important;
  }
  .stat-number {
    font-size: 34px !important;
  }
  .hero-card-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .hero-card-title h3 {
    font-size: 18px;
  }
}

/* =========================================================
   SMART INTERACTIVE ESTIMATOR & INTELLIGENT SITE MODULES
   ========================================================= */
.smart-estimator {
  background: linear-gradient(135deg, #1e2440 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(245, 131, 54, 0.25);
  box-shadow: 0 20px 50px rgba(18, 23, 45, 0.35);
  position: relative;
  overflow: hidden;
  margin: 50px 0 20px 0;
}

.smart-estimator::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 131, 54, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.estimator-header {
  margin-bottom: 28px;
}

.estimator-header h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.estimator-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  max-width: 750px;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

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

.estimator-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.estimator-step-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.estimator-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.est-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.est-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.est-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 131, 54, 0.35);
}

.estimator-result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.result-badge {
  display: inline-block;
  background: rgba(245, 131, 54, 0.2);
  color: var(--orange);
  border: 1px solid rgba(245, 131, 54, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.estimator-summary-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.estimator-deliverables {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.estimator-deliverables li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.estimator-deliverables li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
}

.estimator-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* SMART SEARCH BAR */
.smart-search-wrap {
  margin: 25px 0 35px 0;
  position: relative;
  max-width: 600px;
}

.smart-search-input {
  width: 100%;
  padding: 14px 20px;
  padding-inline-start: 46px;
  font-size: 15px;
  border: 1px solid #DFE3EB;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 4px 16px rgba(27, 34, 63, 0.05);
  outline: none;
  transition: all 0.25s ease;
}

.smart-search-input:focus {
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(245, 131, 54, 0.15);
}

.smart-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 16px;
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
}

.smart-search-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 8px;
  padding-inline-start: 8px;
}

.filter-hidden {
  display: none !important;
}

/* AI TYPING ANIMATION */
.ai-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
}

.ai-typing span {
  width: 7px;
  height: 7px;
  background: var(--navy);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.ai-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.ai-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* COPYABLE BADGE */
.copyable-badge {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(44, 51, 87, 0.08);
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px dashed rgba(44, 51, 87, 0.2);
}

.copyable-badge:hover {
  background: rgba(245, 131, 54, 0.12);
  border-color: var(--orange);
  color: var(--orange);
}

/* ========================================================
   PRO DESIGN SYSTEM ENHANCEMENTS — ALFARO ENERGY
   ======================================================== */

/* Shimmer & Glow Elements */
.shimmer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 131, 54, 0.12);
  border: 1px solid rgba(245, 131, 54, 0.35);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(245, 131, 54, 0.15);
}

.shimmer-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: badgeShimmer 3.5s infinite;
}

@keyframes badgeShimmer {
  0% { left: -100%; }
  30%, 100% { left: 200%; }
}

.text-gradient {
  background: linear-gradient(135deg, #FFA858 0%, #F58336 45%, #FF5A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(245, 131, 54, 0.35));
}

/* Stat Cards Pro */
.stats-banner-pro {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card-pro {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(44, 51, 87, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: 0 10px 30px rgba(27, 34, 63, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card-pro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(27, 34, 63, 0.1);
  border-color: rgba(245, 131, 54, 0.3);
}

.stat-card-pro:hover::before {
  opacity: 1;
}

.stat-card-pro .stat-num {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  font-family: var(--font-en);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-card-pro .stat-num span {
  color: var(--orange);
}

.stat-card-pro .stat-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.45;
}

/* SMART SCOPE ESTIMATOR SECTION */
.estimator-wrap {
  background: linear-gradient(135deg, #121526 0%, #191E36 50%, #2C3357 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(18, 22, 40, 0.3);
  position: relative;
  overflow: hidden;
}

.estimator-wrap::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 131, 54, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.est-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  margin-top: 36px;
  align-items: start;
}

.est-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.est-group-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.est-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.est-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: start;
}

.est-btn .est-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.est-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 131, 54, 0.5);
  transform: translateY(-2px);
}

.est-btn.active {
  background: linear-gradient(135deg, rgba(245, 131, 54, 0.22) 0%, rgba(245, 131, 54, 0.1) 100%);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 131, 54, 0.25);
  position: relative;
}

.est-btn.active::after {
  content: "✓";
  margin-inline-start: auto;
  color: var(--orange);
  font-weight: 900;
  font-size: 16px;
}

.est-result-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(245, 131, 54, 0.35);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 100px;
}

.est-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.est-result-card h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.35;
}

.est-result-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.est-result-list li {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.est-result-list li::before {
  content: "⚡";
  color: var(--orange);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.est-cta-btn {
  width: 100%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.est-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.est-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.4;
}

/* COMPLIANCE & STANDARDS MARQUEE */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.standard-badge-card {
  background: #fff;
  border: 1px solid rgba(44, 51, 87, 0.08);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(27, 34, 63, 0.04);
}

.standard-badge-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 12px 30px rgba(245, 131, 54, 0.12);
}

.standard-badge-card .std-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.standard-badge-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.standard-badge-card span {
  font-size: 11px;
  color: var(--text-muted);
}

.filter-hidden {
  display: none !important;
}

/* RESPONSIVE ADDITIONS FOR PRO SYSTEM */
@media (max-width: 991px) {
  .stats-banner-pro {
    grid-template-columns: repeat(2, 1fr);
  }
  .est-layout {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .estimator-wrap {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .stats-banner-pro {
    grid-template-columns: 1fr;
  }
  .est-options-grid {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* QA/QC PROTOCOL TABS & VERIFICATION */
.qa-protocol-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-top: 36px;
}

.qa-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 28px;
}

.qa-tab-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qa-tab-btn:hover {
  background: #fff;
  border-color: var(--orange);
  color: var(--orange);
}

.qa-tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(44, 51, 87, 0.25);
}

.qa-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.qa-tab-panel.active {
  display: block;
}

.qa-protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.qa-protocol-card {
  background: var(--bg-light);
  border: 1px solid rgba(44, 51, 87, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.25s ease;
}

.qa-protocol-card:hover {
  background: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(27, 34, 63, 0.06);
}

.qa-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.qa-badge-verified {
  background: #E8F8EE;
  color: #0E8A38;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.qa-protocol-card h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}

.qa-protocol-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .qa-protocol-grid {
    grid-template-columns: 1fr;
  }
  .qa-protocol-box {
    padding: 24px 16px;
  }
}

/* =====================================================
   PRO ENHANCEMENTS v3.0
   ===================================================== */

/* ── 1. SCROLL PROGRESS BAR ── */
#scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #FFD166, var(--orange));
  background-size: 200% auto;
  z-index: 9999;
  transition: width 0.1s linear;
  animation: shimmerBar 2s linear infinite;
  box-shadow: 0 0 10px var(--orange-glow);
}
@keyframes shimmerBar {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── 2. PRELOADER ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  padding: 12px;
  background: rgba(245, 131, 54, 0.12);
  border: 1.5px solid rgba(245, 131, 54, 0.3);
  animation: preloaderPulse 1.5s ease-in-out infinite;
}
.preloader-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(245,131,54,0); }
  50%       { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(245,131,54,0); }
}
.preloader-bar-wrap {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), #FFD166);
  border-radius: 99px;
  animation: preloaderFill 1.4s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes preloaderFill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}
.preloader-text {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── 3. SCROLL REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(.25,.8,.25,1),
              transform 0.65s cubic-bezier(.25,.8,.25,1);
}
.reveal.reveal-left  { transform: translateX(-30px); }
.reveal.reveal-right { transform: translateX(30px); }
.reveal.reveal-scale { transform: scale(0.92); }
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── 4. ANIMATED STAT COUNTERS ── */
.stat-number[data-count],
.stat-card-pro .stat-number[data-count] {
  transition: color 0.3s;
}
.stat-counting {
  color: #FFD166 !important;
}

/* ── 5. ELECTRICITY PARTICLE CANVAS ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

/* ── 6. BACK TO TOP ── */
#backToTop {
  position: fixed;
  bottom: 100px;
  inset-inline-end: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--navy);
  border: 1px solid rgba(245,131,54,0.35);
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(27,34,63,0.25);
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#backToTop:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--orange-glow);
}

/* ── 7. CLIENTS / PARTNERS MARQUEE ── */
.clients-section {
  padding: 65px 0 60px;
  background: radial-gradient(ellipse at 50% 0%, #f0f4ff 0%, #ffffff 100%);
  border-top: 1px solid rgba(44, 51, 87, 0.1);
  border-bottom: 1px solid rgba(44, 51, 87, 0.08);
  position: relative;
  overflow: hidden;
}
.clients-section::before,
.clients-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 4;
  pointer-events: none;
}
.clients-section::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.clients-section::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}
.clients-section-header .eyebrow {
  justify-content: center;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.clients-section-title {
  color: var(--navy);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}
.clients-section-label {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-ar);
  line-height: 1.6;
}
[dir="ltr"] .clients-section-label {
  font-family: var(--font-en);
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
  position: relative;
  z-index: 3;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: center;
  padding: 10px 0;
  width: max-content;
  animation: marqueeScroll 100s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
[dir="ltr"] .marquee-track {
  animation-direction: reverse;
}

/* Premium White Card for Company Logos */
.marquee-client-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  min-width: 130px;
  height: 56px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}
.marquee-client-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(245, 131, 54, 0.35), 0 0 0 2px var(--orange);
}
.marquee-client-card .client-logo-img {
  max-height: 36px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: none;
}
.marquee-client-card:hover .client-logo-img {
  transform: scale(1.05);
}

/* Standards / Certificate badge card */
.marquee-standard-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 16px;
  border-radius: 12px;
  height: 56px;
  min-width: 150px;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.marquee-standard-card:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(245, 131, 54, 0.25);
}
.marquee-standard-card .standard-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  background: rgba(245, 131, 54, 0.16);
  border: 1px solid rgba(245, 131, 54, 0.35);
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.marquee-standard-card .standard-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}
.marquee-standard-card .standard-title {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee-standard-card .standard-sub {
  font-family: var(--font-ar);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

/* ── 8. GLOW PULSE BUTTON ── */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow); }
  50%       { box-shadow: 0 0 0 12px rgba(245,131,54,0); }
}
.btn-glow {
  animation: glowPulse 2.4s ease-in-out infinite;
}

/* ── 9. CARD 3D TILT ── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 24px 48px rgba(27,34,63,0.18);
}

/* ── 10. TYPEWRITER CURSOR ── */
.typewriter-wrap .typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--orange);
  border-radius: 2px;
  vertical-align: middle;
  margin-inline-start: 4px;
  animation: blinkCursor 0.75s step-end infinite;
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── 11. LIVE STATUS INDICATOR ── */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #25D366;
}
.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.4);
  animation: liveRing 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes liveRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}

/* ── 12. HERO CANVAS POINTER OVERRIDE ── */
.hero { position: relative; overflow: hidden; }

/* ── MOBILE ADJUSTMENTS ── */
@media (max-width: 768px) {
  #backToTop { bottom: 90px; inset-inline-end: 16px; }
  .marquee-client { padding: 10px 24px; }
}

/* =====================================================
   FEATURE PACK v4.0
   ===================================================== */

/* ── DARK MODE TOGGLE BUTTON ── */
#darkModeBtn {
  position: fixed;
  top: 80px;
  inset-inline-end: 16px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 18px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 800;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
#darkModeBtn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: rotate(20deg);
}




/* ── FLOATING SPEED DIAL ── */
#speedDial {
  position: fixed;
  bottom: 28px;
  z-index: 9998;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}
body[dir="rtl"] #speedDial {
  right: 24px;
  left: auto;
}
body[dir="ltr"] #speedDial {
  left: 24px;
  right: auto;
}

/* ── VOICE INPUT BUTTON ── */
.ai-voice-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--navy);
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.ai-voice-btn:hover {
  background: var(--orange-subtle);
  color: var(--orange);
  border-color: var(--orange);
  transform: scale(1.06);
}
.ai-voice-btn.listening {
  background: #FF3B30 !important;
  color: #fff !important;
  border-color: #FF3B30 !important;
  animation: pulseMic 1.2s infinite;
}
@keyframes pulseMic {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}
.speed-dial-main {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #25D366;
  border: none;
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}
.speed-dial-main:hover { transform: scale(1.08) rotate(10deg); box-shadow: 0 12px 36px rgba(37,211,102,0.55); }
.speed-dial-options {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}
#speedDial.open .speed-dial-options {
  max-height: 300px;
  opacity: 1;
}
.speed-dial-option {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.speed-dial-option .sd-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
  box-shadow: var(--shadow-md);
}
.speed-dial-option:hover .sd-icon { transform: scale(1.1); }
.speed-dial-option .sd-label {
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.sd-wa { background: #25D366; color: #fff; }
.sd-phone { background: var(--navy); color: #fff; }
.sd-ai { background: var(--orange); color: #fff; }
.sd-mail { background: #EA4335; color: #fff; }

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 80px 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,131,54,0.08), transparent);
  pointer-events: none;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.testimonials-outer {
  overflow: hidden;
  padding: 4px 0 20px;
}
.testimonial-card {
  flex: 0 0 360px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.testimonial-stars { color: #FFD166; font-size: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--navy-light));
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.author-info .author-name { font-weight: 700; font-size: 14px; color: #fff; }
.author-info .author-role { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.testimonials-dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.testimonials-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s;
  display: grid;
  place-items: center;
}
.testimonials-btn:hover { background: var(--orange); border-color: var(--orange); }
@media (max-width: 768px) {
  .testimonial-card { flex: 0 0 min(340px, 88vw); }
}

/* ── FAQ ACCORDION ── */
.faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: rgba(245,131,54,0.3); }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: inherit;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  font-family: inherit;
  line-height: 1.5;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--orange-subtle);
  border: 1px solid rgba(245,131,54,0.2);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 22px; }

/* ── COOKIE BANNER ── */
#cookieBanner {
  position: fixed;
  bottom: -100%;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 9000;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.1);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: bottom 0.5s cubic-bezier(.4,0,.2,1);
}
#cookieBanner.show { bottom: 0; }
.cookie-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-muted);
  min-width: 200px;
}
.cookie-text strong { color: var(--text-main); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept {
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--orange-hover); }
.cookie-decline {
  padding: 9px 16px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.cookie-decline:hover { color: var(--text-main); border-color: var(--navy); }

/* ── PAGE TRANSITION OVERLAY ── */
#pageOverlay {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 88888;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#pageOverlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── COPY FEEDBACK BADGE ── */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-light);
  background: var(--orange-subtle);
  border: 1px solid rgba(245,131,54,0.15);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.copy-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.copy-btn.copied { background: #25D366 !important; color: #fff !important; border-color: #25D366 !important; }

/* ── MAGNETIC BUTTON EFFECT (applied via JS) ── */
.btn-magnetic { transition: transform 0.25s cubic-bezier(.4,0,.2,1); }

/* ── SCROLL SPY ACTIVE ── */
.nav-menu a.scroll-active {
  color: var(--orange) !important;
  font-weight: 700;
}

/* ── MOBILE DIAL ── */
@media (max-width: 768px) {
  #speedDial { bottom: 20px; inset-inline-end: 16px; }
  .speed-dial-main { width: 52px; height: 52px; font-size: 22px; }
  #darkModeBtn { top: 72px; }
}

/* =====================================================
   FEATURE PACK v5.0: COMMAND PALETTE & LIVE OPS
   ===================================================== */

/* ── COMMAND PALETTE MODAL (Ctrl + K) ── */
#cmdPalette {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 28, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 16px 24px;
  animation: fadeIn 0.2s ease;
}
#cmdPalette.open {
  display: flex;
}
.cmd-box {
  width: 100%;
  max-width: 620px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: cmdSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cmdSlideDown {
  from { opacity: 0; transform: translateY(-16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cmd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.cmd-icon {
  font-size: 20px;
  color: var(--orange);
}
.cmd-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-main);
}
.cmd-kbd {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-light);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.cmd-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 10px;
  list-style: none;
  margin: 0;
}
.cmd-group-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--orange);
  padding: 8px 12px 4px;
  text-transform: uppercase;
}
.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.15s ease;
  font-size: 14px;
}
.cmd-item:hover, .cmd-item.selected {
  background: var(--orange-subtle);
  color: var(--orange);
}
.cmd-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cmd-item-icon {
  font-size: 18px;
  width: 28px;
  text-align: center;
}
.cmd-item-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}
.cmd-item-action {
  font-size: 12px;
  color: var(--text-light);
  opacity: 0.7;
}

/* ── LIVE OPERATIONS TICKER ── */
.ops-ticker {
  background: #ffffff;
  border-bottom: 1px solid rgba(44, 51, 87, 0.1);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 99;
}
.ops-ticker-content {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: tickerSlide 40s linear infinite;
}
.ops-ticker-content:hover {
  animation-play-state: paused;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ops-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ops-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0E8A38;
  box-shadow: 0 0 8px #0E8A38;
}
.ops-dot.pulse {
  animation: pulseGreen 1.8s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 138, 56, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(14, 138, 56, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 138, 56, 0); }
}

/* ── AI CHAT MODAL ── */
#aiChatModal {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 340px;
  background: var(--bg-main);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: bottom right;
}
#aiChatModal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.ai-chat-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-chat-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-chat-title .ai-icon {
  font-size: 24px;
  background: rgba(255,255,255,0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.ai-chat-title div {
  display: flex;
  flex-direction: column;
}
.ai-chat-title strong { font-size: 15px; }
.ai-chat-title small { font-size: 11px; opacity: 0.8; }
.ai-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s;
}
.ai-chat-close:hover { opacity: 1; }
.ai-chat-body {
  height: 320px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-main);
}
.ai-msg {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.ai-msg p { margin: 0; }
.ai-msg-bot {
  background: var(--bg-light);
  color: var(--text-main);
  border-bottom-right-radius: 2px;
  align-self: flex-start;
}
.ai-msg-user {
  background: var(--orange);
  color: #fff;
  border-bottom-left-radius: 2px;
  align-self: flex-end;
}
.ai-chat-footer {
  padding: 12px 16px;
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 8px;
}
.ai-chat-footer input {
  flex: 1;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.ai-chat-footer input:focus {
  border-color: var(--orange);
}
.ai-chat-footer button {
  background: var(--orange);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
.ai-chat-footer button:hover {
  background: var(--orange-dark);
}

[dir="rtl"] #aiChatModal {
  right: auto;
  left: 24px;
  transform-origin: bottom left;
}
[dir="rtl"] .ai-msg-bot {
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 2px;
}
[dir="rtl"] .ai-msg-user {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 2px;
}

/* --- About Page Specific & Utility Classes --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-desc-lg {
  color: var(--text-muted);
  font-size: 17px;
  margin: 18px 0 24px;
}
.about-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}
.about-highlight {
  border-inline-start: 4px solid var(--orange);
  padding-inline-start: 18px;
  margin-top: 20px;
}
.about-highlight-title {
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.about-highlight-text {
  color: var(--text-muted);
  font-size: 14.5px;
}

.card-brand-story {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
}
.brand-story-icon-wrap {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.brand-story-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-story-title {
  color: #fff;
  margin-bottom: 14px;
}
.brand-story-desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.brand-color-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
}
.brand-color-name {
  color: var(--orange);
  display: block;
  font-size: 13px;
}
.brand-color-desc {
  color: rgba(255,255,255,0.65);
  font-size: 12px;
}

.card-vision { border-top: 5px solid var(--orange); }
.card-mission { background: var(--navy); border-top: 5px solid var(--orange); }
.card-icon-mission { background: rgba(245,131,54,0.2); }
.eyebrow-mission { color: var(--orange) !important; }
.mission-title { color: #fff !important; }

.text-center { text-align: center; }
.mt-50 { margin-top: 50px; }

/* --- Reveal Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.stagger-reveal .reveal-up {
  transition-delay: 50ms;
}
.stagger-reveal .reveal-up:nth-child(2) { transition-delay: 150ms; }
.stagger-reveal .reveal-up:nth-child(3) { transition-delay: 250ms; }
.stagger-reveal .reveal-up:nth-child(4) { transition-delay: 350ms; }
.stagger-reveal .reveal-up:nth-child(5) { transition-delay: 450ms; }
.stagger-reveal .reveal-up:nth-child(6) { transition-delay: 550ms; }
.stagger-reveal .reveal-up:nth-child(7) { transition-delay: 650ms; }
.stagger-reveal .reveal-up:nth-child(8) { transition-delay: 750ms; }

/* ── HEADER AI ASSISTANT GLOW BADGE ── */
.nav-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(245,131,54,0.14), rgba(44,51,87,0.18));
  border: 1px solid rgba(245,131,54,0.5);
  color: var(--orange);
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 0 14px rgba(245,131,54,0.16);
}
.nav-ai-btn:hover {
  background: linear-gradient(135deg, var(--orange), #e06c20);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 18px rgba(245,131,54,0.4);
  transform: translateY(-2px);
}
.nav-ai-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: navAiPulse 1.8s infinite ease-in-out;
}
@keyframes navAiPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* ── AI MESSAGE ACTION TOOLBAR ── */
.ai-action-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
  flex-wrap: wrap;
}
[data-theme="dark"] .ai-action-toolbar {
  border-top-color: rgba(255,255,255,0.08);
}
.ai-action-btn {
  background: rgba(0,0,0,0.04);
  border: 1px solid transparent;
  color: var(--text-muted, #666);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  font-family: inherit;
}
[data-theme="dark"] .ai-action-btn {
  background: rgba(255,255,255,0.06);
  color: #bbb;
}
.ai-action-btn:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-1px);
}
.ai-action-btn.active {
  background: var(--navy);
  color: #fff;
}
.ai-audio-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}
.ai-audio-wave span {
  width: 2px;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
  animation: waveBar 0.8s infinite ease-in-out alternate;
}
.ai-audio-wave span:nth-child(2) { animation-delay: 0.2s; }
.ai-audio-wave span:nth-child(3) { animation-delay: 0.4s; }
@keyframes waveBar {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ── SMART ENERGY PROJECT ESTIMATOR ── */
.ai-estimator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.ai-estimator-header {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(44,51,87,0.04), rgba(245,131,54,0.08));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  color: var(--text-main);
  transition: background 0.2s;
}
.ai-estimator-header:hover {
  background: linear-gradient(135deg, rgba(44,51,87,0.08), rgba(245,131,54,0.12));
}
.ai-estimator-content {
  padding: 20px;
  border-top: 1px solid var(--border-light);
}
.estimator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.estimator-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}
.estimator-field select, .estimator-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-light);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.estimator-field select:focus, .estimator-field input:focus {
  border-color: var(--orange);
}
.estimator-results {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px dashed var(--border-light);
}
.estimator-stat {
  display: flex;
  flex-direction: column;
}
.estimator-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
}
.estimator-stat-lbl {
  font-size: 12px;
  color: var(--text-muted, #777);
}
.estimator-cta-btn {
  background: linear-gradient(135deg, var(--orange), #e06c20);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(245,131,54,0.25);
  font-family: inherit;
}
.estimator-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245,131,54,0.4);
}

/* ═══════════════════════════════════════════════════════════
   NEW ADDITIONS — NEWS, SUSTAINABILITY, PROCESS, AWARDS, ETC.
   ═══════════════════════════════════════════════════════════ */

/* ── HOW WE WORK PROCESS SECTION ── */
.process-section {
  background: var(--navy-deep);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(245,131,54,0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(44,51,87,0.4) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 56px 56px, 56px 56px;
  pointer-events: none;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(245,131,54,0.2), var(--orange));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 28px;
  position: relative;
  transition: all 0.35s ease;
}
.process-step:hover .process-step-num {
  transform: scale(1.08);
  box-shadow: 0 0 0 14px rgba(245,131,54,0.12), 0 0 40px rgba(245,131,54,0.3);
  border-color: #fff;
}
.step-num-label {
  position: absolute;
  top: -10px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy-deep);
}
.process-step h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.process-step p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.65; }
[data-theme="dark"] .process-step-num { background: #1a1d2e; }

/* ── AWARDS STRIP ── */
.awards-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 0;
  overflow: hidden;
}
.awards-track {
  display: flex;
  gap: 28px;
  animation: awardsScroll 30s linear infinite;
  width: max-content;
}
.awards-track:hover { animation-play-state: paused; }
@keyframes awardsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.award-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: default;
}
.award-badge:hover {
  background: rgba(245,131,54,0.15);
  border-color: rgba(245,131,54,0.4);
  transform: translateY(-2px);
}
.award-badge-icon { font-size: 24px; }
.award-badge-text { display: flex; flex-direction: column; }
.award-badge-title { font-size: 13px; font-weight: 800; color: #fff; }
.award-badge-sub { font-size: 11px; color: rgba(255,255,255,0.6); }

/* ── NEWS TEASER SECTION (HOMEPAGE) ── */
.news-teaser-section { background: var(--bg-light); padding: 100px 0; }
.news-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.news-teaser-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-teaser-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245,131,54,0.3);
}
.news-teaser-img { height: 200px; overflow: hidden; position: relative; }
.news-teaser-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.news-teaser-card:hover .news-teaser-img img { transform: scale(1.06); }
.news-teaser-cat {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.news-teaser-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.news-teaser-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.news-teaser-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--navy);
  line-height: 1.35;
  transition: color 0.2s;
}
.news-teaser-card:hover h3 { color: var(--orange); }
.news-teaser-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.news-teaser-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-top: 18px;
  transition: gap 0.2s ease;
}
.news-teaser-card:hover .news-teaser-cta { gap: 10px; }
[data-theme="dark"] .news-teaser-card { background: #1a1d2e; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .news-teaser-card h3 { color: var(--text-main); }

/* ── NEWS PAGE ── */
.news-hero {
  background: var(--navy-dark);
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}
.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(245,131,54,0.18) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px;
}
.news-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.news-hero h1 { color: #fff; margin: 12px 0 18px; }
.news-hero p { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; }

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 28px 0;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(245,131,54,0.3);
}
[data-theme="dark"] .filter-btn {
  background: #1a1d2e;
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

.featured-article {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s ease;
}
.featured-article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(245,131,54,0.25); }
.featured-article-img { height: 380px; overflow: hidden; position: relative; }
.featured-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.featured-article:hover .featured-article-img img { transform: scale(1.05); }
.featured-label {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  background: linear-gradient(135deg, var(--orange), #e06c20);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.featured-article-body {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-article-body .news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 18px;
}
.featured-article-body h2 { font-size: 28px; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }
.featured-article-body p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  transition: gap 0.2s;
}
.featured-article:hover .read-more-btn { gap: 14px; }
[data-theme="dark"] .featured-article { background: #1a1d2e; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .featured-article-body h2 { color: var(--text-main); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(245,131,54,0.25); }
.news-card-img { height: 220px; overflow: hidden; position: relative; background: var(--bg-light); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-cat-tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: #fff;
}
.news-cat-tag.cat-project { background: var(--orange); }
.news-cat-tag.cat-cert { background: #2a9d8f; }
.news-cat-tag.cat-sustain { background: #57cc99; color: var(--navy); }
.news-cat-tag.cat-event { background: #6c63ff; }
.news-cat-tag.cat-news { background: var(--navy); }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.news-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; line-height: 1.4; transition: color 0.2s; }
.news-card:hover h3 { color: var(--orange); }
.news-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.news-card:hover .read-link { gap: 9px; }
.share-btns { display: flex; gap: 8px; }
.share-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.share-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: scale(1.1); }
[data-theme="dark"] .news-card { background: #1a1d2e; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .news-card h3 { color: var(--text-main); }
[data-theme="dark"] .news-card-footer { border-top-color: rgba(255,255,255,0.07); }

/* ── SUSTAINABILITY PAGE ── */
.sustain-hero {
  background: linear-gradient(135deg, #0d2318 0%, #1a3a28 40%, #0d2318 100%);
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}
.sustain-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 40%, rgba(87,204,153,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(245,131,54,0.1) 0%, transparent 40%),
    linear-gradient(rgba(87,204,153,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87,204,153,0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 56px 56px, 56px 56px;
}
.sustain-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.sustain-hero h1 { color: #fff; margin: 12px 0 18px; }
.sustain-hero p { font-size: 18px; color: rgba(255,255,255,0.82); line-height: 1.7; }
.green-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(87,204,153,0.15);
  border: 1px solid rgba(87,204,153,0.35);
  color: #57cc99;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.esg-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.esg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.esg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--esg-color, var(--orange));
}
.esg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.esg-card-icon { font-size: 36px; margin-bottom: 18px; display: block; }
.esg-card-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--esg-color, var(--orange));
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.esg-card-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
[data-theme="dark"] .esg-card { background: #1a1d2e; border-color: rgba(255,255,255,0.07); }

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
}
.vision-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  transition: all 0.35s ease;
}
.vision-pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(87,204,153,0.35); }
.pillar-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  background: rgba(87,204,153,0.1);
  border: 1px solid rgba(87,204,153,0.25);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.vision-pillar h3 { font-size: 20px; margin-bottom: 12px; }
.vision-pillar p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
[data-theme="dark"] .vision-pillar { background: #1a1d2e; border-color: rgba(255,255,255,0.07); }

.sustain-timeline {
  position: relative;
  padding-inline-start: 48px;
  margin-top: 54px;
}
.sustain-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: 18px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(87,204,153,0.5), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-light);
}
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  inset-inline-start: -38px;
  top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(245,131,54,0.3);
}
[data-theme="dark"] .timeline-dot { border-color: #0f1117; }
.timeline-year {
  font-size: 12px;
  font-weight: 900;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.timeline-item h3 { font-size: 20px; margin-bottom: 10px; }
.timeline-item p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

.progress-list { display: grid; gap: 20px; margin-top: 36px; }
.progress-item { display: grid; gap: 8px; }
.progress-header { display: flex; justify-content: space-between; align-items: center; }
.progress-label { font-size: 14px; font-weight: 700; color: var(--navy); }
.progress-pct { font-size: 14px; font-weight: 900; color: var(--orange); }
.progress-bar-track { height: 10px; background: var(--border-light); border-radius: var(--radius-pill); overflow: hidden; }
.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--orange), #e07e2e);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0;
}
.progress-bar-fill.green { background: linear-gradient(90deg, #57cc99, #2a9d8f); }
[data-theme="dark"] .progress-label { color: var(--text-main); }
[data-theme="dark"] .progress-bar-track { background: rgba(255,255,255,0.08); }

/* ── NEWSLETTER WIDGET ── */
.newsletter-widget {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.newsletter-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(245,131,54,0.2) 0%, transparent 55%);
  pointer-events: none;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.newsletter-text h2 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.newsletter-text p { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.65; }
.newsletter-form { display: flex; flex-direction: column; gap: 14px; }
.newsletter-row { display: flex; gap: 12px; }
.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-input:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(245,131,54,0.2);
}
.newsletter-btn {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(245,131,54,0.4);
}
.newsletter-btn:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,131,54,0.5); }
.newsletter-note { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── PRINT BUTTON ── */
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}
.print-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-subtle); }

/* ── ENHANCED STAT GLOW ── */
.stat-card-pro { position: relative; }
.stat-card-pro::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.stat-card-pro:hover::after { opacity: 1; }
.stat-num { position: relative; }
.stat-num::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,131,54,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.stat-card-pro:hover .stat-num::before { opacity: 1; }

/* ── DIRECTIONAL REVEAL ANIMATIONS ── */
.reveal-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[dir="rtl"] .reveal-left { transform: translateX(-40px); }
.reveal-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[dir="rtl"] .reveal-right { transform: translateX(40px); }
.reveal-left.revealed,
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ── FOOTER SECTOR LINKS ── */
.footer-sector-list { list-style: none; display: grid; gap: 10px; }
.footer-sector-list li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-sector-list li a:hover { color: var(--orange); }

.footer-social-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.22s ease;
}
.footer-social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-article-img { height: 260px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .esg-metrics { grid-template-columns: repeat(2, 1fr); }
  .vision-pillars { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-teaser-grid { grid-template-columns: 1fr; }
  .esg-metrics { grid-template-columns: repeat(2, 1fr); }
  .vision-pillars { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
  .filter-btn { padding: 7px 14px; font-size: 12px; }
  .newsletter-row { flex-direction: column; }
  .process-steps { grid-template-columns: 1fr; }
}
@media print {
  header, footer, .floating-actions, #speedDial, #cookieBanner,
  .whatsapp-modal, .ai-modal, #backToTop, .hero-btns, .print-btn { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .page-banner { background: #fff !important; color: #111 !important; padding: 20px 0 !important; }
  .page-banner h1 { color: #2C3357 !important; }
}