/*
Theme Name: Shalfa Facilities Management
Theme URI: https://shalfa.com.sa
Author: Shalfa FM
Author URI: https://shalfa.com.sa
Description: Official WordPress theme for Shalfa Facilities Management Co. — Saudi Arabia's premier FM company since 1981. Bilingual (EN/AR) with RTL support, fully responsive, and Vision 2030 aligned.
Version: 1.0.0
License: Proprietary
Text Domain: shalfa
Tags: bilingual, rtl, rtl-language-support, two-columns, full-width-template, custom-menu, featured-images, sticky-post, theme-options
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy: #0f2952;
  --navy-dark: #081a38;
  --navy-medium: #1a3a6b;
  --navy-light: #1e4a8a;
  --blue: #2563a8;
  --blue-light: #3b82c4;
  --blue-vivid: #1d68b5;
  --steel: #b6d0f0;
  --steel-light: #dceeff;
  --steel-mid: #8ab8e0;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gold: #c9a84c;
  --gold-light: #e6c566;
  --green: #1e6b3a;
  --green-light: #27874a;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(15,41,82,0.08);
  --shadow: 0 4px 24px rgba(15,41,82,0.12);
  --shadow-md: 0 8px 32px rgba(15,41,82,0.15);
  --shadow-lg: 0 20px 60px rgba(15,41,82,0.2);
  --shadow-xl: 0 32px 80px rgba(15,41,82,0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  overflow-x: hidden;
  line-height: 1.6;
}
[dir="rtl"] { font-family: 'Tajawal', sans-serif; }
[dir="rtl"] * { font-family: 'Tajawal', sans-serif; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue), var(--navy)); border-radius: 3px; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.loader-logo-img {
  height: 56px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  animation: loaderFloat 2s ease-in-out infinite;
}
.loader-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--steel), var(--blue-light));
  border-radius: 2px;
  animation: loadProgress 1.2s ease forwards;
}
@keyframes loadProgress { from { width: 0%; } to { width: 100%; } }
@keyframes loaderFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}
#navbar.scrolled {
  background: rgba(8, 26, 56, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-container {
  max-width: 1400px; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 0; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; filter: brightness(0) invert(1); transition: var(--transition); }
.nav-logo-img:hover { opacity: 0.88; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px;
  transition: var(--transition); position: relative; letter-spacing: 0.2px;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-links a.active { color: white; background: rgba(255,255,255,0.1); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--steel); border-radius: 1px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  color: white; padding: 7px 16px; border-radius: 8px;
  cursor: pointer; font-size: 13px; font-weight: 600;
  transition: var(--transition); font-family: inherit;
}
.lang-toggle:hover { background: rgba(255,255,255,0.2); }
.btn-nav-cta {
  background: linear-gradient(135deg, var(--blue-vivid), var(--blue-light));
  color: white; text-decoration: none;
  padding: 9px 22px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,99,168,0.45);
  letter-spacing: 0.3px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,99,168,0.55); color: white; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy-dark); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 20px; font-weight: 600;
  padding: 14px 40px; border-radius: 12px; width: 300px; text-align: center;
  transition: var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); color: white; }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255,255,255,0.1); border: none; color: white;
  font-size: 20px; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-logo { position: absolute; top: 24px; left: 40px; }
.mobile-nav-logo img { height: 36px; filter: brightness(0) invert(1); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--blue-vivid), var(--blue-light));
  color: white; text-decoration: none; padding: 16px 36px; border-radius: 10px;
  font-size: 15px; font-weight: 700; transition: var(--transition);
  border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(37,99,168,0.4); letter-spacing: 0.3px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37,99,168,0.5); color: white; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: white; text-decoration: none;
  padding: 15px 35px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.4); transition: var(--transition); cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; color: white; }
.btn-navy {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: white; text-decoration: none;
  padding: 14px 32px; border-radius: 10px; font-size: 14px; font-weight: 700;
  transition: var(--transition); border: none; cursor: pointer; letter-spacing: 0.3px;
}
.btn-navy:hover { background: var(--navy-medium); transform: translateY(-2px); box-shadow: var(--shadow-md); color: white; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; background: transparent;
  color: var(--blue); text-decoration: none; padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; border: 1.5px solid var(--steel);
  transition: var(--transition); cursor: pointer;
}
.btn-ghost:hover { background: var(--steel-light); border-color: var(--blue); }

/* ============================================================
   LAYOUT / SECTIONS
   ============================================================ */
section { position: relative; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 72px 0; }
.section-pad-lg { padding: 140px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--steel-light); color: var(--navy-medium);
  padding: 7px 18px; border-radius: 50px;
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px;
  border: 1px solid rgba(182,208,240,0.5);
}
.section-tag::before { content: ''; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.section-tag-dark { background: rgba(182,208,240,0.15); color: var(--steel); border-color: rgba(182,208,240,0.2); }
.section-tag-dark::before { background: var(--steel); }
.section-title {
  font-size: clamp(30px, 3.8vw, 50px); font-weight: 900; line-height: 1.12;
  color: var(--navy-dark); margin-bottom: 20px; letter-spacing: -0.5px;
}
.section-title span, .section-title .blue { color: var(--blue); }
.section-subtitle { font-size: 17px; color: var(--gray-600); line-height: 1.85; max-width: 580px; font-weight: 400; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gray-200), transparent); margin: 0; }

/* ============================================================
   GRID
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  padding: 40px 36px; transition: var(--transition); position: relative; overflow: hidden;
  cursor: pointer; text-decoration: none; display: block; color: inherit;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--navy), var(--blue-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 24px 64px rgba(15,41,82,0.16); border-color: transparent; color: inherit; }
.service-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--steel-light), #f0f8ff);
  color: var(--navy-medium); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  margin-bottom: 28px; transition: var(--transition); border: 1px solid rgba(182,208,240,0.3);
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--navy), var(--navy-medium)); color: var(--steel); border-color: transparent; }
.service-card h3 { font-size: 20px; font-weight: 800; color: var(--navy-dark); margin-bottom: 14px; }
.service-card p { color: var(--gray-600); line-height: 1.75; font-size: 15px; margin-bottom: 28px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 14px; transition: var(--transition); letter-spacing: 0.3px; }
.service-link i { transition: transform 0.3s; font-size: 12px; }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-item { text-align: center; padding: 32px 24px; }
.stat-number {
  font-size: clamp(44px, 5.5vw, 68px); font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, var(--steel) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 10px; letter-spacing: -2px;
}
.stat-suffix { font-size: 34px; font-weight: 900; letter-spacing: -1px; }
.stat-label { color: rgba(255,255,255,0.65); font-size: 14px; font-weight: 500; letter-spacing: 0.3px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: linear-gradient(180deg, var(--navy-dark) 0%, #060f1f 100%); color: rgba(255,255,255,0.8); }
.footer-main { padding: 90px 0 54px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 64px; }
.footer-logo-img { height: 52px; width: auto; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 6px; display: block; transition: var(--transition); }
.footer-logo-img:hover { opacity: 0.82; }
.footer-brand p { font-size: 15px; line-height: 1.85; margin: 20px 0 32px; color: rgba(255,255,255,0.5); max-width: 340px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: var(--transition); font-size: 15px;
}
.social-btn:hover { background: var(--blue); color: white; border-color: var(--blue); transform: translateY(-2px); }
.footer-col h4 { color: white; font-size: 13px; font-weight: 800; margin-bottom: 24px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--steel); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 26px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-certs { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cert-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; position: relative; background: var(--navy-dark); display: flex; align-items: center; overflow: hidden; padding-top: 80px; }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(37,99,168,0.25) 0%, transparent 60%),
              linear-gradient(160deg, var(--navy-dark) 0%, rgba(15,41,82,0.98) 40%, rgba(26,58,107,0.9) 100%);
}
.hero-grid { position: absolute; inset: 0; opacity: 0.028; background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px); background-size: 72px 72px; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; pointer-events: none; }
.hero-orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, var(--blue-light), transparent 70%); top: -200px; right: -150px; }
.hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--steel-mid), transparent 70%); bottom: -100px; left: 5%; opacity: 0.08; }
.hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--blue), transparent 70%); top: 30%; left: 40%; opacity: 0.06; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(182,208,240,0.1); color: var(--steel); border: 1px solid rgba(182,208,240,0.25); padding: 8px 22px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 32px; }
.hero-title { font-size: clamp(44px, 6.5vw, 84px); font-weight: 900; line-height: 1.05; color: white; margin-bottom: 28px; letter-spacing: -2px; }
.hero-title .line2 { background: linear-gradient(135deg, var(--steel) 0%, var(--blue-light) 60%, white 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.68); line-height: 1.85; max-width: 580px; margin-bottom: 48px; font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats-row { display: flex; align-items: center; gap: 44px; margin-top: 64px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,0.08); }
.hero-stat-item { text-align: left; }
.hero-stat-num { font-size: 34px; font-weight: 900; color: white; letter-spacing: -1px; line-height: 1; }
.hero-stat-num .suffix { color: var(--steel); }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 6px; letter-spacing: 0.3px; }
.hero-divider { width: 1px; height: 54px; background: rgba(255,255,255,0.1); }
.hero-panel { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 16px; }
.hero-panel-card { background: rgba(255,255,255,0.05); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 22px 26px; width: 230px; transition: var(--transition); }
.hero-panel-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); transform: translateX(-4px); }
.hero-panel-icon { font-size: 26px; margin-bottom: 10px; display: block; }
.hero-panel-title { color: white; font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.hero-panel-sub { color: rgba(255,255,255,0.5); font-size: 12px; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-indicator span { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 3px; text-transform: uppercase; }
.scroll-mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 11px; position: relative; }
.scroll-mouse::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 8px; background: var(--steel); border-radius: 2px; animation: scrollDown 2s infinite; }
@keyframes scrollDown { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }

/* ============================================================
   TRUSTED BY / CLIENTS TICKER
   ============================================================ */
.trusted-bar { padding: 36px 0; background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.clients-row { display: flex; align-items: center; gap: 0; flex: 1; overflow: hidden; }
.clients-track { display: flex; align-items: center; gap: 48px; animation: clientsScroll 25s linear infinite; white-space: nowrap; }
@keyframes clientsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.client-item { padding: 12px 28px; background: white; border: 1px solid var(--gray-200); border-radius: 10px; font-weight: 800; color: var(--gray-600); font-size: 14px; letter-spacing: 0.3px; transition: var(--transition); flex-shrink: 0; }
.client-item:hover { background: var(--steel-light); color: var(--navy-medium); border-color: var(--steel); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%); position: relative; overflow: hidden; }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(37,99,168,0.2), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stats-grid .stat-item { padding: 54px 32px; border-right: 1px solid rgba(255,255,255,0.08); }
.stats-grid .stat-item:last-child { border-right: none; }

/* ============================================================
   WHY SHALFA
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: white; border-radius: var(--radius-lg); padding: 40px 36px; border: 1px solid var(--gray-200); transition: var(--transition); position: relative; overflow: hidden; }
.why-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 60%, rgba(182,208,240,0.08) 100%); pointer-events: none; }
.why-card:hover { box-shadow: 0 20px 56px rgba(15,41,82,0.14); transform: translateY(-5px); border-color: rgba(182,208,240,0.4); }
.why-number { font-size: 52px; font-weight: 900; color: var(--gray-100); line-height: 1; margin-bottom: 20px; letter-spacing: -2px; }
.why-icon { font-size: 36px; margin-bottom: 16px; display: block; filter: saturate(0.7); }
.why-card h3 { font-size: 18px; font-weight: 800; color: var(--navy-dark); margin-bottom: 14px; }
.why-card p { font-size: 14px; color: var(--gray-600); line-height: 1.85; }

/* ============================================================
   INDUSTRY CARDS
   ============================================================ */
.industry-card { position: relative; height: 300px; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; text-decoration: none; transition: var(--transition); display: block; }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.industry-bg-visual { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 90px; opacity: 0.08; transition: var(--transition); }
.industry-card:hover .industry-bg-visual { opacity: 0.13; transform: scale(1.1); }
.industry-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8,26,56,0.88) 0%, rgba(15,41,82,0.65) 100%); transition: var(--transition); }
.industry-card:hover .industry-overlay { background: linear-gradient(160deg, rgba(29,104,181,0.88) 0%, rgba(15,41,82,0.75) 100%); }
.industry-content { position: absolute; inset: 0; z-index: 1; padding: 36px 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.industry-icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 16px; transition: var(--transition); }
.industry-card:hover .industry-icon-wrap { background: rgba(255,255,255,0.2); }
.industry-card h3 { font-size: 22px; font-weight: 800; color: white; margin-bottom: 8px; }
.industry-card p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.industry-arrow { position: absolute; top: 24px; right: 24px; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; transform: translateY(8px); opacity: 0; transition: var(--transition); }
.industry-card:hover .industry-arrow { transform: translateY(0); opacity: 1; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); text-decoration: none; display: block; color: inherit; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(182,208,240,0.5); color: inherit; }
.project-img { height: 220px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium)); display: flex; align-items: center; justify-content: center; }
.project-img-icon { font-size: 56px; opacity: 0.22; color: var(--steel); }
.project-tag { position: absolute; top: 16px; left: 16px; background: linear-gradient(135deg, var(--blue-vivid), var(--blue-light)); color: white; padding: 5px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.project-info { padding: 28px 30px; }
.project-info h3 { font-size: 17px; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; line-height: 1.4; }
.project-client { font-size: 13px; color: var(--blue); font-weight: 700; margin-bottom: 10px; }
.project-desc { font-size: 13px; color: var(--gray-600); line-height: 1.7; }
.project-meta { display: flex; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.project-meta span { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }
.project-meta i { color: var(--blue); font-size: 11px; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: var(--transition); text-decoration: none; display: block; color: inherit; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(182,208,240,0.4); color: inherit; }
.news-img { height: 210px; display: flex; align-items: center; justify-content: center; font-size: 54px; color: rgba(255,255,255,0.25); position: relative; overflow: hidden; }
.news-category { position: absolute; bottom: 16px; left: 16px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); color: white; padding: 4px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.2); }
.news-body { padding: 28px 30px; }
.news-date { font-size: 12px; color: var(--gray-400); margin-bottom: 10px; font-weight: 600; letter-spacing: 0.3px; }
.news-body h3 { font-size: 17px; font-weight: 800; color: var(--navy-dark); margin-bottom: 12px; line-height: 1.45; }
.news-body p { font-size: 14px; color: var(--gray-600); line-height: 1.75; }
.news-read { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: 13px; margin-top: 18px; transition: var(--transition); }
.news-read i { font-size: 11px; transition: transform 0.3s; }
.news-card:hover .news-read i { transform: translateX(4px); }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; letter-spacing: 0.3px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-size: 15px; color: var(--gray-800); font-family: inherit; background: var(--gray-50);
  transition: var(--transition); outline: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(37,99,168,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs-row { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cert-item { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px 30px; text-align: center; min-width: 130px; transition: var(--transition); }
.cert-item:hover { box-shadow: var(--shadow-md); border-color: var(--steel); transform: translateY(-3px); }
.cert-item strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy-dark); margin-bottom: 4px; }
.cert-item span { font-size: 11px; color: var(--gray-400); font-weight: 500; letter-spacing: 0.3px; }

/* ============================================================
   VALUE ITEMS
   ============================================================ */
.value-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--gray-100); }
.value-item:last-child { border-bottom: none; }
.value-icon { width: 50px; height: 50px; flex-shrink: 0; background: linear-gradient(135deg, var(--steel-light), #f0f8ff); color: var(--navy-medium); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; border: 1px solid rgba(182,208,240,0.3); }
.value-item h4 { font-size: 16px; font-weight: 800; color: var(--navy-dark); margin-bottom: 6px; }
.value-item p { font-size: 14px; color: var(--gray-600); line-height: 1.75; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); top: 24px; bottom: 24px; width: 1px; background: linear-gradient(var(--gray-200), var(--gray-200)); }
.timeline-item { display: grid; grid-template-columns: 1fr 72px 1fr; gap: 0; margin-bottom: 50px; align-items: start; }
.tl-center { display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; }
.tl-dot { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; border: 4px solid white; box-shadow: var(--shadow-md); }
.tl-year { font-size: 11px; font-weight: 800; color: var(--gray-400); letter-spacing: 1.5px; text-align: center; }
.tl-content { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 32px; margin: 0 16px; transition: var(--transition); }
.tl-content:hover { box-shadow: var(--shadow-md); border-color: var(--steel); }
.tl-content h4 { font-size: 16px; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; }
.tl-content p { font-size: 14px; color: var(--gray-600); line-height: 1.75; }
.tl-content-empty { margin: 0 16px; }

/* ============================================================
   PROPOSAL MODAL
   ============================================================ */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(8,26,56,0.88); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: white; border-radius: var(--radius-xl); width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto; box-shadow: 0 40px 100px rgba(0,0,0,0.5); animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.88) translateY(24px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%); padding: 40px 48px 36px; position: relative; }
.modal-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.12); border: none; color: white; width: 38px; height: 38px; border-radius: 10px; font-size: 16px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: rgba(255,255,255,0.24); }
.modal-header h2 { color: white; font-size: 24px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.5px; }
.modal-header p { color: rgba(255,255,255,0.65); font-size: 14px; }
.modal-body { padding: 44px 48px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-medium) 100%); padding: 130px 0 88px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.025; background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,99,168,0.22), transparent); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 900; color: white; margin-bottom: 20px; letter-spacing: -1.5px; line-height: 1.1; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.68); max-width: 580px; line-height: 1.85; }
.breadcrumb { display: flex; align-items: center; gap: 8px; list-style: none; margin-top: 28px; }
.breadcrumb li { font-size: 13px; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--steel); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.3; }
.breadcrumb li:last-child { color: rgba(255,255,255,0.8); }

/* ============================================================
   CAREER CARDS
   ============================================================ */
.job-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 32px; transition: var(--transition); margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--steel); transform: translateX(4px); }
.job-info { flex: 1; }
.job-info h3 { font-size: 18px; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; }
.job-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.job-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray-600); background: var(--gray-50); padding: 4px 12px; border-radius: 6px; border: 1px solid var(--gray-200); }
.job-tag i { color: var(--blue); font-size: 12px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-medium) 100%); border-radius: var(--radius-lg); padding: 48px; color: white; }
.contact-detail { display: flex; gap: 18px; margin-bottom: 32px; }
.contact-detail-icon { width: 46px; height: 46px; flex-shrink: 0; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--steel); }
.contact-detail strong { display: block; font-size: 14px; font-weight: 800; margin-bottom: 5px; color: rgba(255,255,255,0.9); }
.contact-detail span { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop { position: fixed; bottom: 30px; right: 30px; z-index: 500; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: white; display: flex; align-items: center; justify-content: center; font-size: 16px; border: none; cursor: pointer; opacity: 0; transform: translateY(20px); transition: var(--transition); box-shadow: 0 4px 20px rgba(37,99,168,0.45); }
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,99,168,0.55); }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--navy-dark); color: white; padding: 16px 28px; border-radius: 12px; font-size: 15px; font-weight: 500; z-index: 3000; box-shadow: 0 16px 48px rgba(0,0,0,0.4); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,0.1); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { color: var(--steel); font-size: 18px; }

/* ============================================================
   FEATURE HIGHLIGHT
   ============================================================ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.feature-main-card { background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium)); border-radius: var(--radius-xl); height: 500px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.feature-bg-icon { font-size: 140px; opacity: 0.07; position: absolute; color: var(--steel); }
.feature-stats-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px; background: linear-gradient(transparent, rgba(8,26,56,0.95)); }
.feature-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-stat { text-align: center; }
.feature-stat-num { font-size: 28px; font-weight: 900; color: white; line-height: 1; }
.feature-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 5px; }
.feature-stat-divider { border-left: 1px solid rgba(255,255,255,0.12); }
.feature-cert-card { position: absolute; top: 24px; right: -24px; background: white; border-radius: 16px; padding: 22px 26px; box-shadow: var(--shadow-xl); min-width: 175px; }
.feature-cert-card .cert-label { font-size: 10px; font-weight: 800; color: var(--gray-400); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.cert-row { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.cert-row:last-child { margin-bottom: 0; }
.cert-row i { color: var(--blue); font-size: 13px; }
.cert-row span { font-size: 13px; font-weight: 700; color: var(--navy-dark); }
.feature-founded-card { position: absolute; bottom: -24px; left: -24px; background: linear-gradient(135deg, var(--blue-vivid), var(--blue-light)); border-radius: 16px; padding: 22px 28px; box-shadow: var(--shadow-xl); }
.feature-founded-year { font-size: 40px; font-weight: 900; color: white; line-height: 1; }
.feature-founded-lbl { font-size: 12px; color: rgba(255,255,255,0.78); margin-top: 5px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 40%, var(--blue-vivid) 100%); position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; opacity: 0.03; background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px); background-size: 56px 56px; }
.cta-banner::after { content: ''; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%); pointer-events: none; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar { height: 6px; background: rgba(255,255,255,0.12); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--steel), var(--blue-light)); transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* ============================================================
   ABOUT PAGE — LEADERSHIP
   ============================================================ */
.leadership-card { background: white; border-radius: var(--radius-lg); padding: 36px 32px; text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); }
.leadership-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.leadership-avatar { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; color: white; box-shadow: 0 8px 24px rgba(15,41,82,0.25); }
.leadership-card h4 { font-size: 18px; font-weight: 800; color: var(--navy-dark); margin-bottom: 6px; }
.leadership-role { font-size: 12px; color: var(--blue); font-weight: 700; margin-bottom: 14px; letter-spacing: 0.3px; text-transform: uppercase; }
.leadership-card p { font-size: 14px; color: var(--gray-600); line-height: 1.75; }

/* ============================================================
   TABS
   ============================================================ */
.tab-bar { display: flex; gap: 4px; border-bottom: 1.5px solid var(--gray-200); margin-bottom: 40px; }
.tab-btn { padding: 12px 24px; background: none; border: none; font-size: 14px; font-weight: 700; color: var(--gray-600); cursor: pointer; transition: var(--transition); border-bottom: 2px solid transparent; margin-bottom: -1.5px; font-family: inherit; }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-btn:hover { color: var(--navy-dark); }

/* ============================================================
   SECTION TAG LINE
   ============================================================ */
.section-tag-line { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.section-tag-line::after { content: ''; height: 1.5px; width: 48px; background: linear-gradient(90deg, var(--blue), transparent); }

/* ============================================================
   COUNTER ANIMATION
   ============================================================ */
.counter { display: inline-block; }
.d-none-mobile { }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .hero-panel { display: none; }
  .d-none-mobile { display: none !important; }
}
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 56px; }
  .feature-cert-card { right: 0; }
}
@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .container { padding: 0 24px; }
  .section-pad { padding: 80px 0; }
  .section-pad-lg { padding: 80px 0; }
  .nav-links, .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .timeline::before { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 0; }
  .tl-center { flex-direction: row; justify-content: flex-start; margin-bottom: 12px; }
  .tl-content-empty { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats-row { gap: 24px; }
  .modal-body, .modal-header { padding: 28px 32px; }
}
@media (max-width: 600px) {
  .grid-4, .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats-row { flex-wrap: wrap; gap: 20px; }
  .hero-divider { display: none; }
  .page-hero { padding: 110px 0 64px; }
  .page-hero h1 { font-size: 34px; }
  .certs-row { gap: 12px; }
  .contact-info-card { padding: 32px 24px; }
  .modal-body, .modal-header { padding: 24px; }
  .footer-main { padding: 60px 0 36px; }
}

/* ============================================================
   RTL OVERRIDES
   ============================================================ */
[dir="rtl"] .service-link i { transform: rotate(180deg); }
[dir="rtl"] .service-card:hover .service-link i { transform: rotate(180deg) translateX(-5px); }
[dir="rtl"] .nav-links a.active::after { left: auto; right: 50%; transform: translateX(50%); }
[dir="rtl"] .section-tag::before { display: none; }
[dir="rtl"] .section-tag::after { content: ''; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
[dir="rtl"] .section-tag-dark::after { background: var(--steel); }
[dir="rtl"] .footer-col a:hover { padding-left: 0; padding-right: 0; }
[dir="rtl"] .job-card:hover { transform: translateX(-4px); }
[dir="rtl"] .news-read i { transform: rotate(180deg); }
[dir="rtl"] .news-card:hover .news-read i { transform: rotate(180deg) translateX(-4px); }

/* ============================================================
   WORDPRESS DEFAULT POST/PAGE STYLES
   ============================================================ */
.wp-page-content { max-width: 860px; margin: 80px auto; padding: 0 40px; line-height: 1.9; }
.wp-page-content h1,.wp-page-content h2,.wp-page-content h3 { color: var(--navy-dark); font-weight: 800; margin: 1.5em 0 0.6em; }
.wp-page-content p { margin-bottom: 1.4em; color: var(--gray-700); }
.wp-page-content a { color: var(--blue); }
.wp-page-content ul,.wp-page-content ol { padding-left: 1.6em; margin-bottom: 1.4em; color: var(--gray-700); }
.wp-page-content img { max-width: 100%; border-radius: var(--radius); }
