/* Fescon International LLC - Design System & Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-red: #D8232A;
  --primary-red-hover: #B71C22;
  --primary-navy: #1B2A4A;
  --secondary-navy: #0A192F;
  --navy-light: #253966;
  --accent-gold: #C59B27;
  --accent-gold-light: #E5BE54;
  --bg-dark: #0B132B;
  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-color: #E2E8F0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(216, 35, 42, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Inter', 'Outfit', sans-serif;
  --font-ar: 'Cairo', sans-serif;
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-en);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gold { color: var(--accent-gold); }
.text-red { color: var(--primary-red); }
.text-navy { color: var(--primary-navy); }

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-red);
  background: rgba(216, 35, 42, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(216, 35, 42, 0.15);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

/* Top Contact Bar */
.top-bar {
  background-color: var(--secondary-navy);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
}

.top-info-item i {
  color: var(--accent-gold);
}

.top-badge {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  color: var(--secondary-navy);
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-navy);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Policy menu dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-dropdown-toggle i {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown:focus-within .nav-dropdown-toggle i,
.nav-dropdown.open .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  /* Keep the menu physically connected to its trigger so hover does not break. */
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-0.35rem);
  min-width: 200px;
  padding: 0.55rem;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(27, 42, 74, 0.12);
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 31, 57, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.35rem;
  color: var(--primary-navy);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] {
  color: var(--primary-red);
  background: rgba(178, 34, 34, 0.07);
}

html[dir="rtl"] .nav-submenu {
  left: auto;
  right: 50%;
  transform: translateX(50%) translateY(-0.35rem);
  text-align: right;
}

html[dir="rtl"] .nav-dropdown:hover .nav-submenu,
html[dir="rtl"] .nav-dropdown:focus-within .nav-submenu,
html[dir="rtl"] .nav-dropdown.open .nav-submenu {
  transform: translateX(50%) translateY(0);
}

/* Policy pages */
.policy-hero {
  position: relative;
  overflow: hidden;
  padding: 5.8rem 0 5rem;
  color: #fff;
  background: linear-gradient(135deg, #102644 0%, #1b365f 52%, #243e64 100%);
}

.policy-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(203, 161, 74, 0.24), transparent 31%);
  pointer-events: none;
}

.policy-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.policy-hero .section-tag {
  color: var(--primary-navy);
  background: var(--accent-gold-light);
}

.policy-hero h1 {
  margin: 1rem 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  color: #fff;
}

.policy-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.policy-content {
  padding: 5rem 0;
  background: #f7f9fc;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 2rem;
  align-items: start;
}

.policy-document,
.policy-sidebar {
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.1);
  border-radius: 0.85rem;
  box-shadow: 0 12px 28px rgba(16, 31, 57, 0.06);
}

.policy-document {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.policy-section + .policy-section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(27, 42, 74, 0.1);
}

.policy-section h2,
.policy-sidebar h2 {
  margin: 0 0 0.85rem;
  color: var(--primary-navy);
  font-size: 1.35rem;
}

.policy-section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--primary-red);
}

.policy-section p,
.policy-section li {
  color: #4c596c;
  line-height: 1.8;
}

.policy-section p {
  margin: 0;
}

.policy-section ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.policy-section li + li {
  margin-top: 0.55rem;
}

.policy-sidebar {
  padding: 1.25rem;
  position: sticky;
  top: 6.5rem;
}

.policy-sidebar a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 0.45rem;
  color: var(--primary-navy);
  font-weight: 700;
}

.policy-sidebar a:hover,
.policy-sidebar a.active {
  color: #fff;
  background: var(--primary-navy);
}

html[dir="rtl"] .policy-section ul {
  padding-left: 0;
  padding-right: 1.25rem;
}

@media (max-width: 900px) {
  .policy-hero {
    padding: 4.4rem 0 3.8rem;
  }

  .policy-content {
    padding: 3rem 0;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(27, 42, 74, 0.06);
  color: var(--primary-navy);
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(27, 42, 74, 0.12);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* ============================================================
   PARALLAX SECTIONS ENGINE & STYLING FOR ALL SECTIONS
   ============================================================ */

/* Generic Parallax Section Class */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  z-index: 1;
}

.parallax-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.88), rgba(11, 19, 43, 0.93));
  z-index: 1;
}

.parallax-overlay-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.92), rgba(216, 35, 42, 0.85));
  z-index: 1;
}

.parallax-overlay-navy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.94), rgba(27, 42, 74, 0.88));
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

/* Floating Parallax Elements */
[data-parallax-speed] {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* 1. Hero Parallax Section */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-image: url('../images/parallax_hero_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  overflow: hidden;
  padding: 5rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.82), rgba(11, 19, 43, 0.75), rgba(216, 35, 42, 0.35));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Hero Content Components */
.hero-content {
  max-width: 800px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(197, 155, 39, 0.2);
  color: var(--accent-gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(197, 155, 39, 0.4);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge-pill i {
  color: var(--accent-gold);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease-out;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, #FFFFFF, var(--accent-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 640px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* ============================================================
   GLOBAL BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover));
  color: #FFFFFF;
  border-color: var(--primary-red);
  box-shadow: 0 4px 15px rgba(216, 35, 42, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-red-hover), #8B1217);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(216, 35, 42, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold-light);
  color: var(--accent-gold-light);
  transform: translateY(-2px);
}

/* Themed Submit Button (Contact Form) */
.submit-btn-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.35);
}

.submit-btn-theme::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover));
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.submit-btn-theme:hover::before {
  left: 0;
}

.submit-btn-theme i,
.submit-btn-theme span {
  position: relative;
  z-index: 1;
}

.submit-btn-theme:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(216, 35, 42, 0.4);
}

.submit-btn-theme:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Hero Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 5rem 0;
  background-color: #EFEFEF;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.why-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.why-title-red {
  font-size: 2.2rem;
  font-weight: 800;
  color: #B91C1C;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.why-lead-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.5rem;
}

.why-motto-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 1rem;
}

.why-checklist-wrapper {
  position: relative;
  padding-right: 2rem;
}

html[dir="rtl"] .why-checklist-wrapper {
  padding-right: 0;
  padding-left: 2rem;
}

.why-checklist-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: #B91C1C;
}

html[dir="rtl"] .why-checklist-wrapper::after {
  right: auto;
  left: 0;
}

.why-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-check-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #1E293B;
}

.why-check-list li i {
  color: #B91C1C;
  font-size: 1.1rem;
}

.why-img-box {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.why-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.why-img-box:hover img {
  transform: scale(1.04);
}

/* 2. About Parallax Section */
.about-section {
  padding: 5rem 0 5rem 0;
  background-image: url('../images/parallax_about_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.92);
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

/* 3. Values Parallax Section */
.values-section {
  padding: 6rem 0;
  background-image: url('../images/project_civil.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.values-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 19, 43, 0.92), rgba(27, 42, 74, 0.88));
  z-index: 1;
}

.values-section .container {
  position: relative;
  z-index: 2;
}

.values-section .value-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* 4. Leadership Parallax Section */
.leadership-section {
  padding: 6rem 0;
  background-image: url('../images/parallax_hero_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.leadership-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.94), rgba(241, 245, 249, 0.96));
  z-index: 1;
}

.leadership-section .container {
  position: relative;
  z-index: 2;
}

/* 5. Services Parallax Section */
.services-section {
  padding: 6rem 0;
  background-image: url('../images/project_substation.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(27, 42, 74, 0.90));
  z-index: 1;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-section .section-title {
  color: #FFFFFF;
}

.services-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.services-section .service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
}

.service-card.featured-service {
  border: 2px solid var(--accent-gold);
  box-shadow: 0 10px 25px rgba(197, 155, 39, 0.2);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-gold);
  color: var(--secondary-navy);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

html[dir="rtl"] .service-badge {
  right: auto;
  left: 1rem;
}

/* 6. Certifications Parallax Section */
.certifications-section {
  padding: 6rem 0;
  background-image: url('../images/project_civil.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: #FFFFFF;
}

.certifications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.93), rgba(216, 35, 42, 0.88));
  z-index: 1;
}

.certifications-section .container {
  position: relative;
  z-index: 2;
}

/* 7. Projects Parallax Section */
.projects-section {
  padding: 6rem 0;
  background-image: url('../images/parallax_about_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.94);
  z-index: 1;
}

.projects-section .container {
  position: relative;
  z-index: 2;
}

/* 8. Contact Parallax Section */
.contact-section {
  padding: 6rem 0;
  background-image: url('../images/parallax_hero_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.92));
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-color);
}

html[dir="rtl"] .stat-card:not(:last-child)::after {
  right: auto;
  left: -1rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About Section */
.about-section {
  padding: 7rem 0 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-branch-box {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.04), rgba(216, 35, 42, 0.04));
  border-left: 4px solid var(--primary-red);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0 2rem 0;
  font-weight: 600;
  color: var(--primary-navy);
}

html[dir="rtl"] .about-branch-box {
  border-left: none;
  border-right: 4px solid var(--primary-red);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mv-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.mv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(197, 155, 39, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.mv-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.mv-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-visual {
  position: relative;
}

.about-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
  position: relative;
}

.about-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-box:hover img {
  transform: scale(1.04);
}

.about-experience-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--accent-gold);
  text-align: center;
}

html[dir="rtl"] .about-experience-badge {
  right: auto;
  left: -1.5rem;
}

.about-experience-badge .num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-gold-light);
  line-height: 1;
}

.about-experience-badge .txt {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Values Grid */
.values-section {
  background-color: #F1F5F9;
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: #FFFFFF;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-red);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  font-size: 2rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Leadership Section */
.leadership-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom, #FFFFFF, #F8FAFC);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.executive-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.executive-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 25px 35px -5px rgba(27, 42, 74, 0.15);
}

.executive-header {
  position: relative;
  background: var(--primary-navy);
  padding: 2rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.executive-header-with-bio {
  padding-bottom: 4.1rem;
}

.executive-bio-link {
  position: absolute;
  right: 2rem;
  bottom: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.executive-bio-link:hover {
  color: #FFFFFF;
}

html[dir="rtl"] .executive-bio-link {
  right: auto;
  left: 2rem;
}

/* CEO Bio Page */
.ceo-bio-page {
  background: var(--bg-light);
}

.contact-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.25rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.contact-consent input {
  margin-top: 0.25rem;
  accent-color: var(--primary-red);
}

.contact-consent a {
  color: var(--primary-navy);
  font-weight: 700;
  text-decoration: underline;
}

.privacy-page {
  background: var(--bg-light);
}

.privacy-hero {
  padding: 5rem 0;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--secondary-navy), var(--primary-navy));
}

.privacy-hero .section-tag {
  color: var(--accent-gold-light);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(229, 190, 84, 0.4);
}

.privacy-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.privacy-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

.privacy-content {
  padding: 5rem 0;
}

.privacy-card {
  max-width: 900px;
  padding: 2.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.privacy-item + .privacy-item {
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-color);
}

.privacy-item h2 {
  color: var(--primary-navy);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.privacy-item p {
  color: var(--text-muted);
  line-height: 1.8;
}

.privacy-back {
  margin-top: 2rem;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.privacy-back:hover {
  color: #FFFFFF;
}

.ceo-bio-hero {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--secondary-navy), var(--primary-navy));
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.ceo-bio-hero::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  right: -130px;
  bottom: -220px;
  border: 56px solid rgba(197, 155, 39, 0.14);
  border-radius: 50%;
}

.ceo-bio-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ceo-bio-photo-wrap {
  position: relative;
  max-width: 410px;
  margin: 0 auto;
}

.ceo-bio-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
}

.ceo-bio-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  border: 4px solid #FFFFFF;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
  position: relative;
}

.ceo-bio-intro .section-tag {
  color: var(--accent-gold-light);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(229, 190, 84, 0.4);
}

.ceo-bio-intro h1 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0.4rem 0;
}

.ceo-bio-role {
  color: var(--accent-gold-light);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.ceo-bio-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.85;
}

.ceo-bio-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(229, 190, 84, 0.65);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
}

.ceo-bio-back:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--secondary-navy);
}

.ceo-bio-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ceo-bio-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 1.25rem;
  background: rgba(197, 160, 89, 0.18);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ceo-bio-email-link:hover {
  background: var(--accent-gold);
  color: var(--secondary-navy);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
}

.ceo-bio-actions .ceo-bio-back {
  margin-top: 0;
}

.ceo-bio-content {
  padding: 5.5rem 0 6rem;
}

.ceo-bio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 4rem;
  align-items: start;
}

.ceo-bio-story {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.ceo-bio-story p + p {
  margin-top: 1.5rem;
}

.ceo-bio-highlights {
  display: grid;
  gap: 1.25rem;
}

.ceo-highlight {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.ceo-highlight-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(216, 35, 42, 0.1);
  color: var(--primary-red);
}

.ceo-highlight h2 {
  color: var(--primary-navy);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.ceo-highlight p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

html[dir="rtl"] .ceo-bio-hero::after {
  right: auto;
  left: -130px;
}

html[dir="rtl"] .ceo-bio-role {
  letter-spacing: 0;
}

.executive-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 0 20px rgba(197, 155, 39, 0.4);
  flex-shrink: 0;
  transition: var(--transition);
}

.executive-avatar:hover {
  transform: scale(1.05);
}

.executive-meta h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #FFFFFF;
}

.executive-meta .executive-title {
  font-size: 0.95rem;
  color: var(--accent-gold-light);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.executive-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 0.35rem;
  transition: all 0.2s ease;
}

.executive-email i {
  color: var(--accent-gold-light);
  font-size: 0.78rem;
}

.executive-email:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.executive-meta .executive-arabic {
  font-size: 0.9rem;
  opacity: 0.85;
}

.executive-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.executive-quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary-red);
  margin-bottom: 1.5rem;
}

html[dir="rtl"] .executive-quote {
  padding-left: 0;
  padding-right: 1.5rem;
  border-left: none;
  border-right: 3px solid var(--primary-red);
}

.tagline-banner {
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tagline-text h4 {
  font-size: 1.5rem;
  color: var(--accent-gold-light);
  font-weight: 800;
  letter-spacing: 1px;
}

.tagline-text p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background-color: #F8FAFC;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

html[dir="rtl"] .services-grid {
  text-align: right;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(27, 42, 74, 0.06);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-red);
  color: #FFFFFF;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.8rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Certifications Section */
.certifications-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--secondary-navy), var(--primary-navy));
  color: #FFFFFF;
  position: relative;
}

.certifications-section .section-title {
  color: #FFFFFF;
}

.certifications-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gold);
  color: var(--secondary-navy);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.cert-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
}

.cert-header .sub {
  font-size: 1rem;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.cert-details-list {
  list-style: none;
  margin-bottom: 2rem;
}

.cert-details-list li {
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.cert-details-list li i {
  color: var(--accent-gold-light);
}

/* Projects Parallax Section */
.projects-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

/* Projects Marquee Horizontal Continuous & Interactive Scroll */
.projects-marquee-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding: 1rem 0 2.5rem 0;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.projects-marquee-wrapper::-webkit-scrollbar {
  display: none;
}

.projects-marquee-wrapper.is-dragging {
  cursor: grabbing;
}

.projects-marquee-track {
  display: flex;
  gap: 1.8rem;
  width: max-content;
  will-change: transform, scroll-position;
}

.projects-marquee-track .project-card {
  width: 360px;
  flex: 0 0 360px;
  margin-bottom: 0;
}

.projects-nav-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.proj-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(27, 42, 74, 0.18);
  color: var(--primary-navy);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.proj-nav-btn:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.25);
}

html[dir="rtl"] .proj-nav-btn.prev-btn i {
  transform: rotate(180deg);
}

html[dir="rtl"] .proj-nav-btn.next-btn i {
  transform: rotate(180deg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-cat-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-navy);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

html[dir="rtl"] .project-cat-tag {
  right: auto;
  left: 1rem;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.6rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-info-box {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info-box::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(216, 35, 42, 0.15);
  pointer-events: none;
}

.contact-info-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.contact-office-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-office-card h4 {
  font-size: 1.2rem;
  color: var(--accent-gold-light);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.contact-office-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-office-card p i {
  color: var(--accent-gold);
}

.contact-form-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1B2A4A;
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0F172A;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #F8FAFC;
  transition: var(--transition);
}

.form-control::placeholder {
  color: #94A3B8;
  font-weight: 400;
  opacity: 1;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-navy);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(27, 42, 74, 0.08);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 600;
}

.form-alert.success {
  background: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.form-alert.error {
  background: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

/* Footer */
.main-footer {
  background-color: var(--secondary-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 1.4rem;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-red);
}

html[dir="rtl"] .footer-title::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 0.4rem;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #FFFFFF;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.25rem 2rem;
  background: var(--primary-navy);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.modal-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition);
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  text-align: center;
}

.modal-body img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Mobile Navigation Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* The mobile drawer must remain above its page-dimming backdrop. */
body.mobile-nav-open .main-header {
  z-index: 10000;
}

/* Responsive Media Queries */

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-card:nth-child(2)::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid, .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid, .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-visual { order: -1; }
  .about-img-box img { height: 350px; }
}

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {

  /* Fix Parallax on Mobile (iOS/Android don't support background-attachment: fixed) */
  .hero-section,
  .about-section,
  .values-section,
  .leadership-section,
  .services-section,
  .certifications-section,
  .projects-section,
  .contact-section {
    background-attachment: scroll !important;
  }

  /* Top Micro-Bar */
  .top-bar {
    padding: 0.35rem 0;
    background: #0f1c33;
  }
  .top-bar-content {
    justify-content: space-between;
    align-items: center;
  }
  .top-info:first-child {
    display: none;
  }
  .top-info:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }
  .top-info:last-child .top-info-item:nth-child(2) {
    display: none; /* Hide long email on mobile, keep direct phone */
  }
  .top-info:last-child .top-info-item a {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.76rem;
  }
  .top-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.65rem;
  }

  /* Main Header & Mobile Nav */
  .main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  }
  .header-container {
    padding: 0.65rem 1rem;
  }
  .brand-logo img {
    height: 40px;
    max-width: 165px;
    object-fit: contain;
  }
  .nav-actions {
    gap: 0.6rem;
  }
  .lang-btn {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(27, 42, 74, 0.08);
    color: var(--primary-navy);
    font-size: 1.15rem;
    transition: var(--transition);
  }
  .mobile-toggle:hover,
  .mobile-toggle:active {
    background: var(--primary-navy);
    color: #FFFFFF;
  }

  /* Mobile Drawer Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 84%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #0e1e38 0%, #152747 100%);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.45);
    z-index: 9999;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 0;
  }
  html[dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.active {
    left: 0;
  }
  html[dir="rtl"] .nav-menu.active {
    left: auto;
    right: 0;
  }
  .nav-menu::before {
    content: 'FESCON INTERNATIONAL';
    display: flex;
    align-items: center;
    padding: 1.6rem 1.4rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, #8e1414 100%);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-bottom: 3px solid var(--accent-gold);
  }
  html[dir="rtl"] .nav-menu::before {
    content: 'فيسكون الدولية ش.م.م';
    font-family: var(--font-arabic);
    letter-spacing: 0;
    font-size: 1.05rem;
  }
  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.4rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    border-radius: 0;
  }
  html[dir="rtl"] .nav-menu .nav-link {
    border-left: none;
    border-right: 3px solid transparent;
  }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-gold-light);
    border-left-color: var(--accent-gold);
    padding-left: 1.8rem;
  }
  html[dir="rtl"] .nav-menu .nav-link:hover,
  html[dir="rtl"] .nav-menu .nav-link.active {
    border-left-color: transparent;
    border-right-color: var(--accent-gold);
    padding-left: 1.4rem;
    padding-right: 1.8rem;
  }
  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-toggle i {
    margin-left: auto;
  }
  html[dir="rtl"] .nav-dropdown-toggle i {
    margin-left: 0;
    margin-right: auto;
  }
  .nav-submenu,
  html[dir="rtl"] .nav-submenu {
    position: static;
    display: none;
    transform: none;
    min-width: 0;
    padding: 0.25rem 0 0.55rem;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.16);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown.open .nav-submenu {
    display: block;
  }
  .nav-submenu a {
    padding: 0.75rem 1.75rem;
    color: rgba(255, 255, 255, 0.76);
    white-space: normal;
  }
  html[dir="rtl"] .nav-submenu a {
    padding-right: 1.75rem;
    padding-left: 1.4rem;
  }
  .nav-submenu a:hover,
  .nav-submenu a[aria-current="page"] {
    color: var(--accent-gold-light);
    background: rgba(255, 255, 255, 0.08);
  }

  /* Section Containers */
  .container {
    padding: 0 1.1rem;
  }
  .section-tag {
    font-size: 0.72rem;
    padding: 0.28rem 0.8rem;
    letter-spacing: 0.8px;
  }
  .section-title {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 0.65rem;
  }
  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    min-height: auto;
    padding: 3.5rem 0 2.5rem 0;
  }
  .hero-badge-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(197, 155, 39, 0.35);
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.22;
    margin-bottom: 0.9rem;
    font-weight: 800;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    opacity: 0.92;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  /* Hero Stats Bar Mobile */
  .hero-stats-bar {
    margin-top: 2rem;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(14, 30, 56, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-card {
    padding: 0.4rem;
    text-align: center;
  }
  .stat-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--accent-gold-light);
    line-height: 1.1;
  }
  .stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.85);
  }
  .stat-card:not(:last-child)::after {
    display: none;
  }

  /* About Section Mobile */
  .about-section {
    padding: 3.5rem 0 3rem 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-visual {
    order: -1;
    margin-bottom: 0.5rem;
  }
  .about-img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }
  .about-img-box img {
    height: 240px;
    width: 100%;
    object-fit: cover;
  }
  .about-experience-badge {
    bottom: -10px;
    right: 10px;
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  }
  html[dir="rtl"] .about-experience-badge {
    right: auto;
    left: 10px;
  }
  .about-experience-badge .num {
    font-size: 1.5rem;
  }
  .about-experience-badge .txt {
    font-size: 0.68rem;
  }
  .about-text p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .about-branch-box {
    padding: 0.85rem 1.1rem;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.4rem;
  }
  .mv-card {
    padding: 1.25rem;
    border-radius: var(--radius-sm);
  }
  .mv-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  .mv-title {
    font-size: 1.05rem;
  }
  .mv-text {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  /* Why Choose Us Mobile */
  .why-choose-section {
    padding: 3.5rem 0;
  }
  .why-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .why-img-col {
    order: -1;
  }
  .why-img-box img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
  }
  .why-title-red {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  .why-lead-text {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
  }
  .why-motto-header {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
  }
  .why-checklist-wrapper {
    padding: 0;
  }
  html[dir="rtl"] .why-checklist-wrapper {
    padding: 0;
  }
  .why-checklist-wrapper::after {
    display: none;
  }
  .why-check-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .why-check-list li {
    padding: 0.85rem 1rem;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #B91C1C;
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.45;
  }
  html[dir="rtl"] .why-check-list li {
    border-left: none;
    border-right: 3px solid #B91C1C;
  }

  /* Values Section Mobile (Attractive 2-Col Grid) */
  .values-section {
    padding: 3.5rem 0;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .value-card {
    padding: 1.2rem 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 3px solid var(--primary-red);
    border-left: none;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  html[dir="rtl"] .value-card {
    border-right: none;
  }
  .value-card .value-icon {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: var(--primary-red);
  }
  .value-card .value-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.3;
  }
  .value-card .value-desc {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-muted);
  }

  /* Leadership Section Mobile */
  .leadership-section {
    padding: 3.5rem 0;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
  }
  .executive-card {
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .executive-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem;
    gap: 0.85rem;
  }
  .executive-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
  .executive-meta {
    text-align: center;
  }
  .executive-meta h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .executive-meta .executive-title {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
  }
  .executive-body {
    padding: 1.3rem 1.2rem;
  }
  .executive-quote {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.8rem 1rem;
    background: rgba(27, 42, 74, 0.03);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-navy);
    margin-bottom: 1rem;
  }
  html[dir="rtl"] .executive-quote {
    padding-left: 1rem;
    padding-right: 1rem;
    border-left: none;
    border-right: 3px solid var(--primary-navy);
  }
  .tagline-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.3rem 1.2rem;
    gap: 0.75rem;
    border-radius: var(--radius-md);
  }
  .tagline-icon {
    font-size: 1.8rem;
  }
  .tagline-text h4 {
    font-size: 1.1rem;
  }
  .tagline-text p {
    font-size: 0.88rem;
  }

  /* Services Section Mobile */
  .services-section {
    padding: 3.5rem 0;
    background-color: #F8FAFC;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .service-card {
    background: #FFFFFF !important;
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(27, 42, 74, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: left;
  }
  html[dir="rtl"] .service-card {
    text-align: right;
  }
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
    opacity: 1 !important;
  }
  .service-card.featured-service {
    border-color: rgba(197, 155, 39, 0.4);
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.12);
  }
  .service-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(185, 28, 28, 0.08) !important;
    color: var(--primary-red) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.1);
  }
  .service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy) !important;
    margin-bottom: 0.6rem;
    line-height: 1.35;
  }
  .service-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #475569 !important;
    font-weight: 400;
    margin-bottom: 0;
  }

  /* Certifications Section Mobile */
  .certifications-section {
    padding: 3.5rem 0;
  }
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .cert-card {
    padding: 1.6rem 1.3rem;
    border-radius: var(--radius-md);
  }
  .cert-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
  }
  .cert-header h3 {
    font-size: 1.15rem;
  }
  .cert-header .sub {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
  .cert-details-list {
    margin-bottom: 1.2rem;
  }
  .cert-details-list li {
    font-size: 0.85rem;
    padding: 0.35rem 0;
  }
  .cert-card .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.88rem !important;
  }

  /* Projects Section Mobile */
  .projects-section {
    padding: 3.5rem 0;
  }
  .portfolio-filter {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.2rem 0.2rem 0.6rem 0.2rem;
    margin-bottom: 1.5rem;
  }
  .portfolio-filter::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    border-radius: 50px;
  }
  .projects-marquee-wrapper {
    padding: 0.5rem 0 1.2rem 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .projects-marquee-track {
    gap: 1.1rem;
  }
  .projects-marquee-track .project-card,
  .projects-grid .project-card {
    width: 285px;
    flex: 0 0 285px;
    border-radius: var(--radius-md);
    margin-bottom: 0;
  }
  .project-img-wrapper {
    height: 180px;
  }
  .project-content {
    padding: 1.15rem;
  }
  .project-title {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
  }
  .project-desc {
    font-size: 0.82rem;
    line-height: 1.55;
  }
  .project-cat-tag {
    font-size: 0.68rem;
    padding: 0.2rem 0.65rem;
  }
  .projects-nav-controls {
    gap: 1rem;
    margin-top: 1.2rem;
  }
  .proj-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  /* Contact Section Mobile */
  .contact-section {
    padding: 3.5rem 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .contact-info-box {
    padding: 1.6rem 1.25rem;
    border-radius: var(--radius-md);
  }
  .contact-info-box h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
  }
  .contact-office-card {
    padding: 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
  }
  .contact-office-card h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  .contact-office-card p {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
  }
  .contact-form-box {
    padding: 1.6rem 1.25rem;
    border-radius: var(--radius-md);
  }
  .contact-form-box h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
  }
  .form-label {
    font-size: 0.82rem;
  }
  /* Crucial iOS fix: 16px font-size prevents Safari auto-zoom */
  .form-control {
    font-size: 16px !important;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
  }
  .form-grid-2col,
  .contact-form-box div[style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .submit-btn-theme {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  /* Footer Mobile */
  .main-footer {
    padding: 3rem 0 1.5rem 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-bottom: 1.8rem;
  }
  .footer-brand img {
    height: 44px;
    max-width: 190px;
    padding: 5px 12px;
    margin-bottom: 1.2rem;
  }
  .footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .footer-title {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
  }
  .footer-links li {
    margin-bottom: 0.45rem;
  }
  .footer-links a {
    font-size: 0.86rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    font-size: 0.8rem;
    padding-top: 1.5rem;
  }

  /* Modal Mobile */
  .modal-container {
    width: 94%;
    max-height: 88vh;
  }
  .modal-header {
    padding: 1rem 1.25rem;
  }
  .modal-header h3 {
    font-size: 1rem;
  }
  .modal-body {
    padding: 1rem;
  }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .hero-badge-pill {
    font-size: 0.68rem;
    padding: 0.35rem 0.8rem;
  }

  .hero-stats-bar {
    padding: 1rem 0.6rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .stat-card {
    padding: 0.35rem 0.2rem;
  }
  .stat-number {
    font-size: 1.35rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }

  .section-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .section-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.6rem;
  }

  .about-img-box img {
    height: 200px;
  }
  .about-experience-badge {
    padding: 0.6rem 0.85rem;
    bottom: -8px;
    right: 8px;
  }
  html[dir="rtl"] .about-experience-badge {
    right: auto;
    left: 8px;
  }
  .about-experience-badge .num {
    font-size: 1.25rem;
  }
  .about-experience-badge .txt {
    font-size: 0.65rem;
  }

  .why-title-red {
    font-size: 1.45rem;
  }
  .why-img-box img {
    height: 190px;
  }

  /* Values 1-Col Layout with Left/Right Accent for Compact Screens */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .value-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem;
    border-top: none;
    border-left: 3px solid var(--primary-red);
  }
  html[dir="rtl"] .value-card {
    text-align: right;
    border-left: none;
    border-right: 3px solid var(--primary-red);
  }
  .value-card .value-icon {
    font-size: 1.4rem;
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 0.15rem;
  }
  .value-card .value-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }
  .value-card .value-desc {
    font-size: 0.8rem;
  }

  .executive-avatar {
    width: 80px;
    height: 80px;
  }
  .executive-header {
    padding: 1.2rem 1rem;
  }
  .executive-meta h3 {
    font-size: 1.1rem;
  }
  .executive-meta .executive-title {
    font-size: 0.8rem;
  }
  .executive-body {
    padding: 1.1rem 1rem;
  }
  .executive-quote {
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
  }

  .tagline-text h4 {
    font-size: 1rem;
  }
  .tagline-text p {
    font-size: 0.82rem;
  }

  .service-card {
    padding: 1.35rem 1.15rem;
  }
  .service-icon {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
  }
  .service-title {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
  }
  .service-desc {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .projects-marquee-track .project-card,
  .projects-grid .project-card {
    width: 260px;
    flex: 0 0 260px;
  }
  .project-img-wrapper {
    height: 160px;
  }

  .modal-container {
    width: 95%;
    max-height: 88vh;
  }
  .modal-header {
    padding: 0.85rem 1rem;
  }
  .modal-body {
    padding: 0.85rem;
  }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RTL Hero Adjustments */
html[dir="rtl"] .hero-content {
  text-align: right;
}

html[dir="rtl"] .hero-buttons {
  justify-content: flex-start;
}

html[dir="rtl"] .about-branch-box i {
  margin-right: 0;
  margin-left: 8px;
}

/* Section tag in dark sections */
.services-section .section-tag,
.certifications-section .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold-light);
  border-color: rgba(197, 155, 39, 0.3);
}

/* Smooth section transitions */
section {
  position: relative;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-navy);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

@media (max-width: 900px) {
  .ceo-bio-hero {
    padding: 4rem 0;
  }

  .ceo-bio-hero-grid,
  .ceo-bio-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ceo-bio-photo-wrap {
    max-width: 360px;
  }

  .ceo-bio-intro {
    text-align: center;
  }

  .ceo-bio-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .ceo-bio-layout {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .executive-header-with-bio {
    padding-bottom: 4.4rem;
  }

  .executive-bio-link {
    right: 1.2rem;
    bottom: 1.15rem;
  }

  html[dir="rtl"] .executive-bio-link {
    right: auto;
    left: 1.2rem;
  }

  .ceo-bio-hero {
    padding: 3.25rem 0;
  }

  .ceo-bio-photo-wrap {
    max-width: 290px;
  }

  .ceo-bio-photo {
    height: 390px;
  }

  .ceo-bio-intro h1 {
    font-size: 2rem;
  }

  .ceo-bio-role {
    font-size: 0.95rem;
  }

  .ceo-bio-lead {
    font-size: 0.97rem;
    line-height: 1.75;
  }

  .ceo-bio-content {
    padding: 3.5rem 0 4rem;
  }

  .ceo-bio-story {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .ceo-highlight {
    padding: 1.15rem;
  }

  .privacy-hero,
  .privacy-content {
    padding: 3.5rem 0;
  }

  .privacy-card {
    padding: 1.5rem;
  }
}
