/*
Theme Name: Corporate Bilingual
Theme URI: https://example.com/
Author: Corporate Website
Author URI: https://example.com/
Description: Arabic/English corporate WordPress theme with ACF + Polylang support.
Version: 1.0.0
Text Domain: corporate-bilingual
*/

/* @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap'); */

@font-face {
  font-family: "itfHuwiyaDisplay";
  src: url("assets/fonts/itfHuwiyaDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "itfHuwiyaDisplay";
  src: url("assets/fonts/itfHuwiyaDisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "itfHuwiyaDisplay";
  src: url("assets/fonts/itfHuwiyaDisplay-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

:root {
  --primary-color: #2d3393;
  --primary-light: #e6f0ff;
  --primary-gradient: linear-gradient(135deg, #2d3393 0%, #545ab9 100%);
  --secondary-color: #2c3e50;
  --text-color: #333333;
  --text-muted: #666666;
  --bg-light: #ffffff;
  --bg-accent: #f8f9fa;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "itfHuwiyaDisplay", "Cairo", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  direction: ltr;
  text-align: left;
}

body.rtl,
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

body.ltr,
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
  background: #004494;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Navbar */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* RTL navbar alignment (logo on the right for Arabic) */
html[dir="rtl"] nav {
  direction: rtl;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.nav-links,
header nav ul.menu,
header nav .menu-primary-container > ul,
header nav .menu > ul,
header nav > ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  justify-content: center;
}

.nav-links li,
header nav ul.menu > li,
header nav .menu-primary-container > ul > li,
header nav .menu > ul > li,
header nav > ul > li {
  display: inline-flex;
  align-items: center;
}

.nav-links > li + li,
header nav ul.menu > li + li,
header nav .menu-primary-container > ul > li + li,
header nav .menu > ul > li + li,
header nav > ul > li + li {
  margin-inline-start: 30px;
}

.nav-links li a {
  font-weight: 600;
  color: var(--secondary-color);
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links li.current-menu-ancestor > a {
  color: var(--primary-color);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: transparent;
  line-height: 1;
  transition: var(--transition);
}

.lang-link.is-active {
  background: var(--primary-gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.2);
}

.contact-form input[type="submit"] {
  text-align: center !important;
}

/* Footer */
footer {
  background: #f8f9fa;
  color: #4b51b0;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
}

.footer-site-logo {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-links h4 {
  color: #4b51b0;
  margin-bottom: 25px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #5056b5;
}

.footer-links ul li a:hover {
  color: #5056b5;
  padding-inline-start: 5px;
}

.footer-tags-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.footer-link-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  color: #5056b5;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-link-tag:hover {
  color: #5056b5;
  padding-inline-start: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(45, 51, 147, 0.12);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: #7f8c8d;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  padding-top: 0;
  overflow: hidden;
}

.hero-slider-section .hero-swiper {
  width: 100%;
  height: 100vh;
}

.hero-slider-section .swiper-slide {
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center !important;
  padding-top: 80px;
  height: 100vh;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Swiper custom pagination & nav */
.hero-swiper .swiper-pagination-bullet {
  background: var(--white);
  opacity: 0.5;
}
.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--white);
}

/* About Brief */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-text span {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 25px;
  color: var(--text-muted);
}

.check-list li {
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-list li i {
  color: var(--primary-color);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.service-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 51, 147, 0.08);
  color: var(--primary-color);
  margin-bottom: 18px;
}

.service-card .card-icon i {
  font-size: 1.1rem;
  margin: 0;
  color: currentColor;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
}

.service-card .service-card-list {
  list-style: disc;
  padding-inline-start: 1.25rem;
  margin: 0;
}

.service-card .service-card-list li {
  display: list-item;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-card .service-card-list li:last-child {
  margin-bottom: 0;
}

/* Home Services - visual refresh */
.services-brief {
  position: relative;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
}

.services-brief .section-title {
  margin-bottom: 55px;
}

.services-brief .services-title-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.services-brief .services-title-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-gradient);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(45, 51, 147, 0.2);
  flex-shrink: 0;
}

.services-brief .services-title-icon i {
  font-size: 1.15rem;
  margin: 0;
  color: currentColor;
}

.services-brief .services-title-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.services-brief .services-title-icon--above-title .services-title-with-icon {
  flex-direction: column;
}

.services-brief .services-title-text {
  display: inline-block;
}

.services-brief .services-grid {
  gap: 24px;
}

.services-brief .service-card {
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  padding: 32px 28px;
  text-align: start;
  height: 100%;
}

.services-brief .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.services-brief .service-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 51, 147, 0.08);
  color: var(--primary-color);
  margin-bottom: 18px;
}

.services-brief .service-card .card-icon i {
  font-size: 1.1rem;
  margin: 0;
  color: currentColor;
}

.service-card .card-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.services-brief .service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.services-brief .service-card p {
  margin: 0;
  color: #5a6475;
  line-height: 1.9;
}

.services-brief .service-card .service-card-list {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.services-brief .service-card .service-card-list li {
  color: #5a6475;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .services-brief .service-card {
    padding: 26px 22px;
  }

  .services-brief .services-title-icon {
    width: 42px;
    height: 42px;
  }
}

/* Excellence */
.excellence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.excel-item {
  text-align: center;
}

.excel-icon {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 20px;
  line-height: 1;
}

.excel-item h3 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
}

.cta-box {
  background: var(--primary-color);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  color: var(--white);
}

.cta-box h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.cta-box .btn-primary:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
}

.footer-links ul li i {
  margin-inline-end: 10px;
  color: var(--primary-color);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-item img,
.footer-contact-item i {
  flex-shrink: 0;
}

/* Contact icons – horizontal row */
.footer-contact-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
}

.footer-contact-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(75, 81, 176, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.footer-contact-icon-link:hover {
  background: #a4a9f6;
  transform: translateY(-3px);
}

.footer-contact-icon-link .contact-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  margin: 0;
  vertical-align: unset;
  flex-shrink: 0;
}

.footer-contact-icon-link i {
  color: var(--primary-color);
  font-size: 1rem;
}

.footer-contact-icon-link:hover i {
  color: var(--white);
}

/* Privacy policy link in footer-info */
.footer-privacy-link {
  margin-top: 14px;
}

.footer-privacy-link a {
  font-size: 0.875rem;
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.footer-privacy-link a:hover {
  opacity: 0.75;
}

/* Page Header */
.page-header {
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-header p {
  font-size: 1.2rem;
  color: #ffffff;
}

/* About VVM Section (Vision / Mission / Values) */
.about-vvm-section {
  position: relative;
  background:
    radial-gradient(circle at 18% 22%, rgba(45, 51, 147, 0.16) 0%, rgba(45, 51, 147, 0) 40%),
    radial-gradient(circle at 82% 76%, rgba(84, 90, 185, 0.2) 0%, rgba(84, 90, 185, 0) 38%),
    linear-gradient(135deg, #edf0ff 0%, #f9faff 46%, #ffffff 100%);
  overflow: hidden;
  isolation: isolate;
  animation: vvm-bg-shift 20s ease-in-out infinite alternate;
}

.about-vvm-section::before,
.about-vvm-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.about-vvm-section::before {
  width: 340px;
  height: 340px;
  top: -170px;
  inset-inline-start: -140px;
  background: radial-gradient(circle, rgba(45, 51, 147, 0.2) 0%, rgba(45, 51, 147, 0) 70%);
  animation: vvm-orb-a 16s ease-in-out infinite;
}

.about-vvm-section::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(84, 90, 185, 0.24) 0%, rgba(84, 90, 185, 0) 72%);
  animation: vvm-orb-b 18s ease-in-out infinite;
}

.about-vvm-section .container {
  position: relative;
  z-index: 1;
}

.about-vvm-section .container::before {
  content: "";
  position: absolute;
  inset: 12px 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(45, 51, 147, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 51, 147, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at center, #000 35%, rgba(0, 0, 0, 0.2) 72%, transparent 100%);
  mask-image: radial-gradient(circle at center, #000 35%, rgba(0, 0, 0, 0.2) 72%, transparent 100%);
  animation: vvm-pattern-drift 28s linear infinite;
}

.about-vvm-section .vvm-grid {
  display: grid;
  gap: 26px;
  position: relative;
  z-index: 1;
}

.about-vvm-section .vvm-grid--top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.about-vvm-section .vvm-grid--bottom {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  margin: 26px auto 0;
}

.about-vvm-section .vvm-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
  border: 1px solid rgba(45, 51, 147, 0.14);
  border-radius: 18px;
  padding: 38px 30px 34px;
  text-align: center;
  min-height: 100%;
  box-shadow: 0 18px 40px rgba(45, 51, 147, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}

.about-vvm-section .vvm-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2d3393 0%, #545ab9 100%);
}

.about-vvm-section .vvm-card::after {
  content: "";
  position: absolute;
  top: -70px;
  inset-inline-end: -60px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 51, 147, 0.1) 0%, rgba(45, 51, 147, 0) 72%);
  pointer-events: none;
}

.about-vvm-section .vvm-card:nth-child(2)::before {
  background: linear-gradient(90deg, #2433a1 0%, #3a6fd8 100%);
}

.about-vvm-section .vvm-card:nth-child(3)::before {
  background: linear-gradient(90deg, #402d93 0%, #7754b9 100%);
}

.about-vvm-section .vvm-card--values {
  max-width: 980px;
  margin-inline: auto;
}

.about-vvm-section .vvm-card--values::before {
  background: linear-gradient(90deg, #402d93 0%, #7754b9 100%);
}

.about-vvm-section .vvm-card--values p {
  max-width: 820px;
  margin-inline: auto;
}

.about-vvm-section .vvm-card:hover {
  transform: translateY(-10px);
  border-color: rgba(45, 51, 147, 0.28);
  box-shadow: 0 24px 46px rgba(45, 51, 147, 0.18);
}

.about-vvm-section .vvm-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(45, 51, 147, 0.16);
  box-shadow: 0 10px 22px rgba(45, 51, 147, 0.14);
}

.about-vvm-section .vvm-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.about-vvm-section .vvm-card h3 {
  margin-bottom: 12px;
  color: #1b215f;
  font-size: 1.7rem;
  font-weight: 800;
}

.about-vvm-section .vvm-card p {
  margin: 0;
  color: #384152;
  line-height: 1.9;
  font-size: 1.05rem;
}

@media (max-width: 767px) {
  .about-vvm-section .vvm-grid {
    gap: 20px;
  }

  .about-vvm-section .vvm-grid--top,
  .about-vvm-section .vvm-grid--bottom {
    grid-template-columns: 1fr;
  }

  .about-vvm-section .vvm-grid--bottom {
    margin-top: 20px;
  }

  .about-vvm-section .vvm-card {
    padding: 30px 22px 28px;
  }

  .about-vvm-section .vvm-card h3 {
    font-size: 1.5rem;
  }

  .about-vvm-section .vvm-card p {
    font-size: 1rem;
  }
}

@keyframes vvm-bg-shift {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  100% {
    background-position: 8% 6%, 92% 96%, 50% 50%;
  }
}

@keyframes vvm-orb-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, 14px, 0) scale(1.08);
  }
}

@keyframes vvm-orb-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-22px, -16px, 0) scale(1.1);
  }
}

@keyframes vvm-pattern-drift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 34px 34px, -34px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-vvm-section,
  .about-vvm-section::before,
  .about-vvm-section::after,
  .about-vvm-section .container::before {
    animation: none;
  }
}

/* ── القيم: بوكس موحد ─────────────────────────────────── */
.vvm-values-box {
  margin-top: 26px;
  background: linear-gradient(135deg, #1b2585 0%, #2d3393 60%, #3a44b0 100%);
  border-radius: 20px;
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27, 37, 133, 0.3);
}

/* خلفية زخرفية */
.vvm-values-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(255,255,255,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 100%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* عنوان البوكس */
.vvm-values-box__header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.vvm-values-box__label {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}

.vvm-values-box__label::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* القيم داخل البوكس – عمودي تحت بعض */
.vvm-values-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* فاصل أفقي بين القيم */
.vvm-value-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 20px;
}

/* كارت القيمة الفردية */
.vvm-value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 16px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.vvm-value-item:hover {
  background: rgba(255,255,255,0.06);
}

.vvm-value-item__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vvm-value-item__icon .vvm-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.vvm-value-item__text {
  flex: 1;
  text-align: center;
}

.vvm-value-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.vvm-value-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .vvm-values-box {
    padding: 28px 18px 24px;
  }

  .vvm-value-item {
    padding: 18px 10px;
    gap: 14px;
  }
}

/* Goals */
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background: var(--bg-accent);
  border-radius: var(--radius);
}

.goal-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.3;
}

/* Service Detail Rows */
.service-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.service-item-row.reverse {
  direction: ltr;
}

.service-item-row.reverse .service-info {
  direction: rtl;
}

html[dir="ltr"] .service-item-row.reverse,
body.ltr .service-item-row.reverse {
  direction: rtl;
}

html[dir="ltr"] .service-item-row.reverse .service-info,
body.ltr .service-item-row.reverse .service-info {
  direction: ltr;
}

.service-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 20px;
}

.service-features {
  margin-top: 25px;
  padding: 20px;
  background: var(--bg-accent);
  border-radius: var(--radius);
}

.service-features h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.service-features ul li {
  margin-bottom: 10px;
  position: relative;
  padding-inline-start: 20px;
}

.service-features ul li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.service-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px;
}

.team-member {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-member:hover {
  box-shadow: var(--shadow-md);
}

.member-image img {
  height: 300px;
  object-fit: cover;
  width: 100%;
}

.member-info {
  padding: 25px;
  text-align: center;
}

.member-info h3 {
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.member-info p {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.member-social a {
  color: var(--text-muted);
  font-size: 1.12rem;
}

.member-social a:hover {
  color: var(--primary-color);
}

/* Interactivity Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .service-item-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-item-row.reverse {
    direction: rtl;
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
    justify-content: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .cta-box {
    padding: 40px 20px;
  }
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    inset-inline-start: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  .nav-cta {
    gap: 10px;
  }
}

/* --- New Premium Styles --- */

/* Hero Video & Layout */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-video {
  background: #000; /* Fallback */
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
}

.hero-logo-side img {
  max-width: 250px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Curve Divider */
.custom-shape-divider-bottom-1680000000 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 2;
}

.custom-shape-divider-bottom-1680000000 svg {
  position: relative;
  display: block;
  width: calc(150% + 1.3px);
  height: 60px;
}

.custom-shape-divider-bottom-1680000000 .shape-fill {
  fill: #ffffff;
}

/* Knowledge Center */
.knowledge-center {
  background-color: #f8fbff;
}

.knowledge-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 768px) {
  .knowledge-grid-wrapper {
    grid-template-columns: 1fr;
  }
}

.col-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 10px;
  display: inline-block;
}

.blog-grid.single-col {
  grid-template-columns: 1fr;
}

.blog-post-card {
  display: flex; /* Horizontal card for single col */
  flex-direction: row;
  align-items: center;
  gap: 20px;
  height: auto;
}

.card-image-wrapper {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-post-card:hover .card-image-wrapper img {
  transform: scale(1.1);
}

.card-content {
  flex: 1;
  padding: 15px 0;
}

.card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-content p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-category {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.read-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Improved Typography & Spacing */
.eyebrow {
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.section-padding {
  padding: 100px 0;
}

.divider-small {
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  margin: 15px 0 25px;
}

/* Card Hover Effects - General */
.vm-card,
.service-card,
.testimonial-card,
.achievement-item,
.excel-item {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vm-card:hover,
.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Clients Placeholder */
.clients-placeholder {
  padding: 60px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius);
  border: 2px dashed rgba(0, 0, 0, 0.1);
}

/* Responsive Fixes */
@media (max-width: 992px) {
  .hero-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .hero-logo-side {
    display: none; /* Hide on smaller screens or adjust */
  }
  .hero-bg-video {
    opacity: 0.4; /* Dim video on mobile if needed */
  }
  .hero-btns {
    justify-content: center;
  }
}

.partner-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.partner-logo-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.partner-logo-bg span {
  font-weight: 600;
  color: var(--text-muted);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 80px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-card {
  background: var(--bg-accent);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-form .form-group {
  margin-bottom: 20px;
  text-align: right;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: "Cairo", sans-serif;
  transition: var(--transition);
  text-align: right;
}

html[dir="ltr"] .contact-form .form-group,
body.ltr .contact-form .form-group {
  text-align: left !important;
}

html[dir="ltr"] .contact-form input,
html[dir="ltr"] .contact-form textarea,
body.ltr .contact-form input,
body.ltr .contact-form textarea {
  text-align: left;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.map-section {
  padding: 0 0 80px;
}

.contact-map-embed {
  width: min(100%, 980px);
  height: 340px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(45, 51, 147, 0.1);
  box-shadow: 0 18px 40px rgba(45, 51, 147, 0.1);
  background: #ffffff;
}

.contact-map-embed iframe {
  display: block;
}

/* Legal Pages */
.legal-page {
  padding-bottom: 80px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.last-updated {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.9rem;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2,
.legal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  border-bottom: 2px solid var(--primary-light);
  display: inline-block;
  padding-bottom: 5px;
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 20px;
  padding-inline-start: 20px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .map-section {
    padding-bottom: 60px;
  }

  .contact-map-embed {
    height: 260px;
    border-radius: 18px;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Specific hover effects for "wow" factor */
.service-card:hover,
.vvm-card:hover,
.team-member:hover,
.partner-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.excel-item:hover .excel-icon {
  background: var(--primary-gradient);
  color: var(--white);
  transform: rotate(360deg);
}

.excel-icon {
  transition: var(--transition);
}

/* Header link animation */
.nav-links li a {
  position: relative;
  padding: 5px 0;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after,
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after,
.nav-links li.current-menu-ancestor > a::after {
  width: 100%;
}

/* Smooth Image Hover */
.about-image img,
.service-visual img {
  border-radius: var(--radius);
  transition: var(--transition);
}

.about-image:hover img,
.service-visual:hover img {
  transform: scale(1.05);
}

/* Careers Page */
.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  margin-inline-end: 10px;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.careers-form .form-group {
  margin-bottom: 20px;
}

.careers-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary-color);
}

.careers-form input[type="text"],
.careers-form input[type="email"],
.careers-form input[type="tel"],
.careers-form textarea,
.careers-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: inherit;
  transition: var(--transition);
}

.careers-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed #ddd;
  border-radius: var(--radius);
  background: var(--bg-accent);
}

.careers-form input:focus,
.careers-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 51, 147, 0.1);
}

.text-danger {
  color: #e74c3c;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Vision & Mission Section */
.vision-mission {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.vision-mission-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.vision-mission-row > div {
  flex: 1;
  min-width: 300px; /* Ensure 2 columns on desktop, stack on mobile */
}

.vm-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid #eee;
  display: flex;
  flex-direction: row; /* Horizontal layout */
  align-items: flex-start; /* Align to top */
  text-align: start; /* Reset text alignment */
  height: 100%;
  gap: 20px; /* Space between icon and text */
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.vm-icon-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0; /* Remove bottom margin */
}

.vm-content {
  flex-grow: 1;
}

.vm-content h3 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.vm-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Values Section */
.values-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.values-section .col-md-4 {
  flex: 1 1 300px;
  max-width: 400px;
}

.values-section .value-item {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #eee;
}

.values-section .value-item:hover {
  background: var(--bg-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.value-item h4 {
  margin-bottom: 15px;
  font-weight: 600;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  text-align: right;
}

html[dir="ltr"] .testimonial-card,
body.ltr .testimonial-card {
  text-align: left;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.quote-icon {
  position: absolute;
  top: 30px;
  left: 30px; /* Default for RTL (if right aligned text) often icon is on opposite or decorative. Let's put it on top-left for RTL? Or top-right. */
  right: auto;
  font-size: 2.5rem;
  color: var(--primary-light);
  opacity: 0.5;
}

html[dir="rtl"] .quote-icon,
body.rtl .quote-icon {
  left: 30px;
  right: auto;
}

html[dir="ltr"] .quote-icon,
body.ltr .quote-icon {
  right: 30px;
  left: auto;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  color: var(--secondary-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.author-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0f0f0;
}

.author-info h4 {
  margin-bottom: 2px;
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.author-info small {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Site Loader */
.site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.site-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo {
  max-width: 180px; /* Adjust based on your logo size */
  height: auto;
  animation: pulse-logo 2s infinite ease-in-out;
}

.loader-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  animation: pulse-logo 2s infinite ease-in-out;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(45, 51, 147, 0.2);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-logo {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}
/* Management Section */
.management-closing-section {
  position: relative;
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
  overflow: hidden;
}

.management-closing-section::before,
.management-closing-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.management-closing-section::before {
  width: 360px;
  height: 360px;
  top: -180px;
  inset-inline-start: -120px;
  background: radial-gradient(circle, rgba(45, 51, 147, 0.12) 0%, rgba(45, 51, 147, 0) 72%);
}

.management-closing-section::after {
  width: 280px;
  height: 280px;
  bottom: -140px;
  inset-inline-end: -100px;
  background: radial-gradient(circle, rgba(84, 90, 185, 0.14) 0%, rgba(84, 90, 185, 0) 74%);
}

.management-closing-section .container {
  position: relative;
  z-index: 1;
}

.dual-box-grid {
  max-width: 980px;
  margin: 0 auto;
}

.corporate-box {
  background: linear-gradient(180deg, #ffffff 0%, #f9faff 100%);
  border: 1px solid rgba(45, 51, 147, 0.12);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 16px 34px rgba(45, 51, 147, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.corporate-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(45, 51, 147, 0.16);
  border-color: rgba(45, 51, 147, 0.22);
}

.corporate-box .box-content {
  padding: 0;
}

.box-header {
  margin-bottom: 18px;
}

.box-header h3 {
  margin: 0;
  display: inline-block;
  color: #1f256d;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  position: relative;
  padding-bottom: 10px;
}

.box-header h3::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2d3393 0%, #5860c7 100%);
}

.corporate-box p {
  margin: 0;
  color: #49526a;
  font-size: 1.08rem;
  line-height: 2;
}

@media (max-width: 767px) {
  .corporate-box {
    border-radius: 18px;
    padding: 24px 20px;
  }

  .corporate-box p {
    font-size: 1rem;
    line-height: 1.9;
  }
}

/* ================================================
   PREMIUM ANIMATION SYSTEM
   ================================================ */

/* --- Hero entrance: plays automatically on page load --- */
.hero-content h1 {
  animation: _hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.hero-content p {
  animation: _hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.hero-content .hero-btns {
  animation: _hero-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

@keyframes _hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Scroll-triggered animation base (applied by JS) --- */
.anim-el {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-el.anim-up {
  transform: translateY(50px);
}
.anim-el.anim-left {
  transform: translateX(-60px);
}
.anim-el.anim-right {
  transform: translateX(60px);
}
.anim-el.anim-scale {
  transform: scale(0.82) translateY(20px);
}

.anim-el.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.anim-el[data-delay="1"] {
  transition-delay: 0.1s;
}
.anim-el[data-delay="2"] {
  transition-delay: 0.2s;
}
.anim-el[data-delay="3"] {
  transition-delay: 0.3s;
}
.anim-el[data-delay="4"] {
  transition-delay: 0.4s;
}
.anim-el[data-delay="5"] {
  transition-delay: 0.5s;
}

/* --- Section title underline grows in on scroll --- */
.section-title h2::after {
  width: 0;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}
.section-title.is-visible h2::after {
  width: 60px;
}

/* --- Achievement icon micro-interaction on hover --- */
.achievement-item i {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.achievement-item:hover i {
  transform: scale(1.25) rotate(-8deg);
}

/* --- CTA box subtle glow pulse --- */
@keyframes _cta-glow {
  0%,
  100% {
    box-shadow: 0 8px 30px rgba(45, 51, 147, 0.25);
  }
  50% {
    box-shadow: 0 8px 50px rgba(45, 51, 147, 0.45);
  }
}
.cta-box {
  animation: _cta-glow 5s ease-in-out infinite;
}

/* --- Respect reduced-motion preference --- */
@media (prefers-reduced-motion: reduce) {
  .hero-content h1,
  .hero-content p,
  .hero-content .hero-btns,
  .cta-box {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .anim-el {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .section-title h2::after {
    width: 60px !important;
    transition: none !important;
  }
}

/* ================================================
   DECORATIVE ANIMATED BACKGROUND SHAPES
   ================================================ */

@keyframes _orb-float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-28px) scale(1.04);
  }
}
@keyframes _orb-float-r {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(28px) scale(1.03);
  }
}
@keyframes _ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.07);
    opacity: 1;
  }
}
@keyframes _ring-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes _ring-spin-rev {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

/* ── About brief ───────────────────────────────── */
.about-brief {
  position: relative;
  z-index: 0; /* creates stacking context */
  overflow: hidden;
}
.about-brief::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -130px;
  inset-inline-end: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(45, 51, 147, 0.08) 0%,
    transparent 65%
  );
  animation: _orb-float 11s ease-in-out infinite;
  pointer-events: none;
}
.about-brief::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -110px;
  inset-inline-start: -110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(84, 90, 185, 0.06) 0%,
    transparent 65%
  );
  animation: _orb-float-r 9s ease-in-out infinite;
  pointer-events: none;
}

/* ── Services brief ────────────────────────────── */
.services-brief {
  z-index: 0;
  overflow: hidden;
}
.services-brief::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  inset-inline-end: -90px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 55px solid rgba(45, 51, 147, 0.05);
  animation: _ring-pulse 9s ease-in-out infinite;
  pointer-events: none;
}
.services-brief::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -60px;
  inset-inline-start: 6%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 35px solid rgba(45, 51, 147, 0.04);
  animation: _ring-pulse 13s ease-in-out infinite reverse;
  pointer-events: none;
}

/* ── Vision / Mission ──────────────────────────── */
.vision-mission {
  z-index: 0;
}
.vision-mission::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  border: 1.5px solid rgba(45, 51, 147, 0.07);
  animation: _ring-spin 42s linear infinite;
  pointer-events: none;
}
.vision-mission::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1.5px solid rgba(45, 51, 147, 0.05);
  animation: _ring-spin-rev 28s linear infinite;
  pointer-events: none;
}

/* ── Excellence ────────────────────────────────── */
.excellence {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.excellence::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -160px;
  inset-inline-start: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(45, 51, 147, 0.06) 0%,
    transparent 65%
  );
  animation: _orb-float 13s ease-in-out infinite;
  pointer-events: none;
}
.excellence::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -90px;
  inset-inline-end: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 45px solid rgba(45, 51, 147, 0.05);
  animation: _ring-pulse 11s ease-in-out infinite;
  pointer-events: none;
}

/* ── Testimonials ──────────────────────────────── */
.testimonials {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.testimonials::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -100px;
  inset-inline-start: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(45, 51, 147, 0.06) 0%,
    transparent 65%
  );
  animation: _orb-float-r 12s ease-in-out infinite;
  pointer-events: none;
}
.testimonials::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -80px;
  inset-inline-end: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(45, 51, 147, 0.05);
  animation: _ring-pulse 10s ease-in-out infinite;
  pointer-events: none;
}

/* ── Knowledge center ──────────────────────────── */
.knowledge-center {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.knowledge-center::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -110px;
  inset-inline-end: -110px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(45, 51, 147, 0.06) 0%,
    transparent 65%
  );
  animation: _orb-float 14s ease-in-out infinite;
  pointer-events: none;
}
.knowledge-center::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -70px;
  inset-inline-start: -70px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(45, 51, 147, 0.04) 0%,
    transparent 65%
  );
  animation: _orb-float-r 10s ease-in-out infinite;
  pointer-events: none;
}

/* ── Reduced motion ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .about-brief::before,
  .about-brief::after,
  .services-brief::before,
  .services-brief::after,
  .vision-mission::before,
  .vision-mission::after,
  .excellence::before,
  .excellence::after,
  .testimonials::before,
  .testimonials::after,
  .knowledge-center::before,
  .knowledge-center::after {
    animation: none;
  }
}

/* ================================================
   FOOTER BOTTOM — copyright + legal links
   ================================================ */

.footer-copyright {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
  font-weight: 400;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom-links a {
  color: #666;
  font-size: 0.85rem;
  padding: 4px 12px;
  border: 1px solid rgba(45, 51, 147, 0.15);
  border-radius: 20px;
  transition: all 0.3s ease;
  line-height: 1;
  text-decoration: none;
  background: #fff;
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(45, 51, 147, 0.05);
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom-links a:first-child {
    border-inline-start: 1px solid rgba(45, 51, 147, 0.2);
  }
}

/* ================================================
   ABOUT SECTION — mobile layout fix
   ================================================ */

/* Stack grid on mobile */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Image above text on mobile */
  .about-image {
    order: -1;
  }

  .about-text h2 {
    font-size: 1.9rem;
  }
}

/* Clip hover-scale effect inside image container */
.about-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.about-image .image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.about-image .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.about-image .image-frame:hover img {
  transform: scale(1.06);
}

/* ================================================
   LTR / ENGLISH DIRECTION FIXES
   ================================================ */

/* Section-title underline: center it properly in both directions */
html[dir="ltr"] .section-title h2::after,
body.ltr .section-title h2::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

html[dir="rtl"] .section-title h2::after,
body.rtl .section-title h2::after {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

/* Divider-small: align to text start in both directions */
html[dir="ltr"] .divider-small,
body.ltr .divider-small {
  margin-inline-start: 0;
}

/* Footer links: correct hover slide direction per layout */
html[dir="ltr"] .footer-links ul li a:hover,
body.ltr .footer-links ul li a:hover {
  padding-inline-start: 5px;
}

/* Eyebrow label: no letter-spacing for Arabic (connects letters badly) */
html[dir="rtl"] .eyebrow,
body.rtl .eyebrow {
  letter-spacing: 0;
}

/* Services section: proper card text alignment per direction */
html[dir="ltr"] .services-brief .service-card,
body.ltr .services-brief .service-card {
  text-align: left;
}

/* Testimonial card: correct text direction */
html[dir="ltr"] .testimonial-card,
body.ltr .testimonial-card {
  text-align: left;
}

/* ============================================================
   ✦ WHY CHOOSE US — PREMIUM DEEP BLUE SECTION
   ============================================================ */

/* ---------- Keyframes ---------- */
@keyframes whyFloatA {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-28px) rotate(8deg);
  }
}
@keyframes whyFloatB {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(22px) rotate(-6deg);
  }
}
@keyframes whyPulse {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(1);
  }
  50% {
    opacity: 0.32;
    transform: scale(1.08);
  }
}
@keyframes whyCardIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes whyShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ---------- Section Shell ---------- */
.why-us-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(84, 90, 185, 0.35) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(45, 51, 147, 0.5) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #1a1f6e 0%, #2d3393 45%, #3b4199 70%, #1e2272 100%);
  color: #ffffff;
}

/* ---------- Decorative Background Shapes ---------- */
.why-us-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.why-us-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.why-us-bg-shapes .shape-1 {
  width: 420px;
  height: 420px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  top: -120px;
  inset-inline-end: -80px;
  border-radius: 50%;
  animation: whyFloatA 10s ease-in-out infinite;
}

.why-us-bg-shapes .shape-2 {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  bottom: 40px;
  inset-inline-start: 5%;
  animation: whyFloatB 13s ease-in-out infinite;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.why-us-bg-shapes .shape-3 {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  animation: whyFloatA 16s ease-in-out infinite reverse;
  border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
}

/* Glowing orbs */
.why-us-bg-shapes .shape-orb {
  filter: blur(70px);
  border-radius: 50%;
  opacity: 1;
}

.why-us-bg-shapes .orb-1 {
  width: 350px;
  height: 350px;
  background: rgba(100, 110, 230, 0.25);
  top: -60px;
  inset-inline-start: 10%;
  animation: whyPulse 8s ease-in-out infinite;
}

.why-us-bg-shapes .orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(45, 51, 147, 0.3);
  bottom: -40px;
  inset-inline-end: 8%;
  animation: whyPulse 11s ease-in-out infinite 2s;
}

/* ---------- Inner Wrapper ---------- */
.why-us-inner {
  position: relative;
  z-index: 2;
}

/* ---------- Section Header ---------- */
.why-us-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-us-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #d0d5ff;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

.why-us-badge i {
  font-size: 0.85rem;
  color: #a5adff;
}

.why-us-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.why-us-highlight {
  background: linear-gradient(90deg, #a5b4fc, #c7d2fe, #818cf8, #a5b4fc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: whyShimmer 4s linear infinite;
}

.why-us-subtitle {
  font-size: 1.1rem;
  color: rgba(200, 210, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- Cards Grid ---------- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

/* ---------- Individual Card ---------- */
.why-card {
  position: relative;
  padding: 36px 28px;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: whyCardIn 0.6s ease both;
  overflow: hidden;
}

.why-card--glass {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.2);
}

.why-card--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.why-card--glass:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(165, 180, 252, 0.2);
}

/* Featured card */
.why-card--featured {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(165, 180, 252, 0.4) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(165, 180, 252, 0.15);
}

.why-card--featured:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(165, 180, 252, 0.35),
    0 0 60px rgba(129, 140, 248, 0.15);
}

/* Featured badge */
.why-card-badge {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  background: linear-gradient(135deg, #818cf8, #a5b4fc);
  color: #1a1f6e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

/* nth-child animation stagger */
.why-card:nth-child(1) {
  animation-delay: 0.05s;
}
.why-card:nth-child(2) {
  animation-delay: 0.15s;
}
.why-card:nth-child(3) {
  animation-delay: 0.25s;
}
.why-card:nth-child(4) {
  animation-delay: 0.35s;
}
.why-card:nth-child(5) {
  animation-delay: 0.45s;
}
.why-card:nth-child(6) {
  animation-delay: 0.55s;
}

/* Icon wrapper */
.why-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(165, 180, 252, 0.2),
    rgba(129, 140, 248, 0.15)
  );
  border: 1px solid rgba(165, 180, 252, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.4s ease;
}

.why-card-icon-wrap i {
  font-size: 1.4rem;
  color: #c7d2fe;
}

.why-card:hover .why-card-icon-wrap {
  background: linear-gradient(
    135deg,
    rgba(165, 180, 252, 0.35),
    rgba(129, 140, 248, 0.3)
  );
  box-shadow: 0 8px 20px rgba(129, 140, 248, 0.25);
  transform: scale(1.1) rotate(-5deg);
}

/* Card heading */
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f0f4ff;
  margin-bottom: 12px;
}

/* Card text */
.why-card p {
  font-size: 0.92rem;
  color: rgba(190, 200, 255, 0.8);
  line-height: 1.85;
  margin: 0;
}

/* Decorative bottom line */
.why-card-line {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #818cf8, #a5b4fc);
  border-radius: 0 0 20px 20px;
  transition: width 0.4s ease;
}

.why-card:hover .why-card-line {
  width: 100%;
}

/* ---------- Bottom CTA Strip ---------- */
.why-us-cta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 40px;
  backdrop-filter: blur(8px);
}

.why-us-cta-strip p {
  color: rgba(210, 220, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.why-us-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #2d3393;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.why-us-btn:hover {
  background: #e8ecff;
  color: #1a1f6e;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.why-btn-arrow {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

html[dir="rtl"] .why-btn-arrow,
body.rtl .why-btn-arrow {
  transform: scaleX(-1);
}

.why-us-btn:hover .why-btn-arrow {
  transform: translateX(-5px);
}

html[dir="rtl"] .why-us-btn:hover .why-btn-arrow,
body.rtl .why-us-btn:hover .why-btn-arrow {
  transform: scaleX(-1) translateX(-5px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-us-section {
    padding: 70px 0 60px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-us-title {
    font-size: 1.8rem;
  }

  .why-us-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
  }

  .why-us-bg-shapes .shape-1 {
    width: 250px;
    height: 250px;
  }
}

/* ============================================================
   End Why Choose Us Section
   ============================================================ */


/* ============================================================
   ✦ HOW WE WORK — PROCESS STEPS SECTION
   ============================================================ */

/* ---------- Keyframes ---------- */
@keyframes processConnectorFill {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes processBubblePop {
  0%   { transform: scale(0.7) translateY(20px); opacity: 0; }
  70%  { transform: scale(1.08) translateY(-3px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes processDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 51, 147, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(45, 51, 147, 0); }
}
@keyframes processNumFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ---------- Section ---------- */
.process-section {
  position: relative;
  background: #fafbff;
  overflow: hidden;
}

/* Subtle dot-grid background */
.process-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(45, 51, 147, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

/* ---------- Header eyebrow ---------- */
.process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 51, 147, 0.08);
  color: var(--primary-color);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.process-eyebrow i {
  font-size: 0.85rem;
}

.process-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--secondary-color);
}

/* ---------- Steps Wrapper ---------- */
.process-steps-wrapper {
  position: relative;
  margin-top: 20px;
}

/* ---------- Connector Line (desktop) ---------- */
.process-connector {
  position: absolute;
  top: 56px; /* vertically center on bubble */
  inset-inline-start: calc(12.5%);   /* center of first bubble */
  inset-inline-end: calc(12.5%);
  height: 2px;
  z-index: 0;
  pointer-events: none;
}

.process-connector-track {
  position: relative;
  width: 100%;
  height: 2px;
  background: #e0e4f8;
  border-radius: 2px;
  overflow: hidden;
}

.process-connector-fill {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  height: 100%;
  width: 75%; /* fills through step 3 (active) */
  background: linear-gradient(90deg, var(--primary-color), #818cf8);
  border-radius: 2px;
}

/* ---------- Steps Grid ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

/* ---------- Single Step ---------- */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Top part: bubble + dot */
.process-step-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* Bubble */
.process-step-bubble {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e0e4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(45, 51, 147, 0.08);
  transition: all 0.4s ease;
  cursor: default;
  animation: processBubblePop 0.6s ease both;
}

.process-step:nth-child(1) .process-step-bubble { animation-delay: 0.05s; }
.process-step:nth-child(2) .process-step-bubble { animation-delay: 0.2s; }
.process-step:nth-child(3) .process-step-bubble { animation-delay: 0.35s; }
.process-step:nth-child(4) .process-step-bubble { animation-delay: 0.5s; }

/* Step number (default visible) */
.process-step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  opacity: 0.2;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  animation: processNumFloat 4s ease-in-out infinite;
}

/* Step icon (hidden by default, shown on hover) */
.process-step-icon {
  position: absolute;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.35s ease;
}

.process-step-icon i {
  font-size: 1.6rem;
  color: var(--primary-color);
}

/* Hover: hide number, show icon */
.process-step:hover .process-step-num {
  opacity: 0;
  transform: scale(0.5);
}

.process-step:hover .process-step-icon {
  opacity: 1;
  transform: scale(1);
}

.process-step:hover .process-step-bubble {
  border-color: var(--primary-color);
  background: rgba(45, 51, 147, 0.05);
  box-shadow: 0 12px 32px rgba(45, 51, 147, 0.18);
  transform: translateY(-6px);
}

/* Active step (step 3) */
.process-step--active .process-step-bubble {
  border-color: var(--primary-color);
  background: var(--primary-gradient);
  box-shadow: 0 12px 32px rgba(45, 51, 147, 0.3);
}

.process-step--active .process-step-num {
  color: rgba(255, 255, 255, 0.4);
}

.process-step--active .process-step-icon {
  opacity: 1;
  transform: scale(1);
}

.process-step--active .process-step-icon i {
  color: #ffffff;
}

.process-step--active:hover .process-step-num {
  opacity: 0;
}

/* Dot below bubble */
.process-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e4f8;
  transition: all 0.3s ease;
}

.process-step:hover .process-step-dot,
.process-step--active .process-step-dot {
  background: var(--primary-color);
  animation: processDotPulse 2s ease-in-out infinite;
}

/* ---------- Step Body (text) ---------- */
.process-step-body {
  padding: 0 8px;
  transition: transform 0.3s ease;
}

.process-step:hover .process-step-body {
  transform: translateY(-4px);
}

.process-step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.process-step:hover .process-step-body h3,
.process-step--active .process-step-body h3 {
  color: var(--primary-color);
}

.process-step-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .process-connector {
    display: none;
  }
}

@media (max-width: 520px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-step {
    flex-direction: row;
    text-align: start;
    gap: 20px;
    align-items: flex-start;
  }

  .process-step-top {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .process-step-bubble {
    width: 70px;
    height: 70px;
  }
}

/* ============================================================
   End How We Work Section
   ============================================================ */

/* ============================================================
   ✦ CLIENTS / PARTNERS SECTION
   ============================================================ */

/* Clients Swiper Wrapper */
.clients-swiper-wrapper {
  position: relative;
  margin-top: 40px;
  padding: 0 50px;
}

.clients-swiper {
  overflow: hidden;
}

.clients-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  width: 100%;
  height: 120px;
  margin: 10px 0 30px;
}

.client-logo-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.client-logo-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Clients Swiper Navigation */
.clients-swiper-next,
.clients-swiper-prev {
  color: var(--primary-color) !important;
  background: var(--white);
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  top: 50% !important;
  transform: translateY(calc(-50% - 15px)) !important;
}

.clients-swiper-next::after,
.clients-swiper-prev::after {
  font-size: 14px !important;
  font-weight: 700;
}

.clients-swiper-next:hover,
.clients-swiper-prev:hover {
  background: var(--primary-color);
  color: var(--white) !important;
}

/* Clients Swiper Pagination */
.clients-swiper-pagination {
  bottom: 0 !important;
}

.clients-swiper-pagination .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.4;
}

.clients-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .clients-swiper-wrapper {
    padding: 0 40px;
  }
}

.client-name-fallback {
  font-weight: 600;
  color: var(--secondary-color);
  text-align: center;
  font-size: 1.1rem;
}

/* ============================================================
   End Clients Section
   ============================================================ */

/* ============================================================
   ✦ VISION & MISSION (DARK THEME OVERRIDES)
   ============================================================ */

.vision-mission .vm-card {
  background: rgba(255, 255, 255, 0.05); /* Glass effect for dark bg */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: all 0.3s ease;
  color: var(--white);
}

.vision-mission .vm-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08); /* Brighter glass on hover */
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.vision-mission .vm-icon-wrapper {
  background: rgba(255, 255, 255, 0.1); /* Subtle white bg for icon */
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.vision-mission .vm-icon-wrapper i {
  font-size: 1.8rem;
  color: var(--white); /* White icons */
}

.vision-mission .vm-card:hover .vm-icon-wrapper {
  background: var(--white); /* Solid white block on hover */
}

.vision-mission .vm-card:hover .vm-icon-wrapper i {
  color: var(--primary-color); /* Primary color icon on hover */
}

.vision-mission .vm-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white); /* White headings */
  margin-bottom: 12px;
}

.vision-mission .vm-content p {
  color: rgba(255, 255, 255, 0.8); /* Semi-transparent white text */
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* Values Grid under Vision & Mission */
.vision-mission .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.vision-mission .value-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  color: var(--white);
}

.vision-mission .value-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.vision-mission .value-item i {
  font-size: 2rem;
  color: var(--white); /* Changed to white */
  margin-bottom: 15px;
  display: block;
}

.vision-mission .value-item h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.vision-mission .value-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .vision-mission .vm-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    gap: 15px;
  }
}

/* ==========================================================================
   Image Icons Styling (Replaces FontAwesome)
   ========================================================================== */
.social-icon-img,
.contact-icon-img,
.vm-icon-img,
.value-icon-img,
.why-icon-img,
.achievement-icon-img,
.process-icon-img,
.partner-icon-img,
.vvm-icon-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.social-icon-img { width: 20px; height: 20px; }
.contact-icon-img { width: 24px; height: 24px; margin-left: 10px; vertical-align: middle; }
.vm-icon-img { width: 40px; height: 40px; }
.value-icon-img { width: 48px; height: 48px; }
.why-icon-img { width: 40px; height: 40px; }
.achievement-icon-img { width: 50px; height: 50px; }
.process-icon-img { width: 35px; height: 35px; }
.partner-icon-img { width: 60px; height: 60px; }
.vvm-icon-img { width: 50px; height: 50px; }

/* Invert colors or adjust filters on hover if needed, for instance in why-cards */
.why-card:hover .why-icon-img {
    filter: brightness(0) invert(1);
}
.vision-mission .vm-card:hover .vm-icon-img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(85%) saturate(3015%) hue-rotate(227deg) brightness(85%) contrast(92%); /* Approximate primary color */
}

/* ==========================================================================
   Testimonials Dark Background Section
   ========================================================================== */
.testimonials-section-dark {
    position: relative;
    background: linear-gradient(135deg, #1a1f6e 0%, #2d3393 45%, #3b4199 70%, #1e2272 100%);
}

.testimonials-section-dark .section-title h2 {
    color: #ffffff;
}

.testimonials-section-dark .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-section-dark .testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    transition: all 0.4s ease;
}

.testimonials-section-dark .testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.testimonials-section-dark .quote-text {
    color: #ffffff;
}

.testimonials-section-dark .author-info h4 {
    color: #ffffff;
}

.testimonials-section-dark .author-info small {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-section-dark .quote-icon {
    color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Header Language Dropdown
   ========================================================================== */
.header-lang-dropdown {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.lang-dropdown-toggle {
    background: rgba(45, 51, 147, 0.08);
    border: 1px solid rgba(45, 51, 147, 0.15);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-dropdown-toggle:hover, 
.header-lang-dropdown:hover .lang-dropdown-toggle {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    inset-inline-end: 0;
    min-width: 140px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    padding: 10px 0;
    overflow: hidden;
    margin-top: 10px;
}

.header-lang-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Invisible bridge so hover doesn't break */
.lang-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.lang-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: start;
}

.lang-dropdown-item:hover {
    background: rgba(45, 51, 147, 0.05);
    color: var(--primary-color);
    padding-inline-start: 25px;
}

.lang-dropdown-item.is-active {
    color: var(--primary-color);
    background: rgba(45, 51, 147, 0.08);
}

/* Internal breadcrumb styling */
#breadcrumbs {
    background-color: #2d3393;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

#breadcrumbs a,
#breadcrumbs strong,
#breadcrumbs li,
#breadcrumbs .separator,
#breadcrumbs i {
    color: #ffffff !important;
}

/* Process stats banner refresh */
@keyframes processBannerLight {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, -2%, 0) scale(1.04);
  }
}

.process-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f8ff 0%, #eef2ff 100%);
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-bg-pattern {
  position: absolute;
  inset: 0;
  /* background-image:
    radial-gradient(circle at 14% 20%, rgba(45, 51, 147, 0.13) 0%, rgba(45, 51, 147, 0) 28%),
    radial-gradient(circle at 85% 76%, rgba(59, 102, 225, 0.16) 0%, rgba(59, 102, 225, 0) 30%); */
  pointer-events: none;
}

.process-header {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.process-header h2 {
  color: var(--secondary-color);
}

.process-header p {
  max-width: 640px;
  margin: 0 auto;
}

.process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(45, 51, 147, 0.08);
  color: var(--primary-color);
  font-size: 0.88rem;
  font-weight: 800;
}

.process-stats-banner {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 42px 24px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 60px rgba(13, 30, 109, 0.24);
  isolation: isolate;
}

.process-stats-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 26, 122, 0.94) 0%, rgba(20, 61, 194, 0.86) 50%, rgba(7, 29, 121, 0.92) 100%);
  z-index: -2;
}

.process-stats-banner::after {
  content: "";
  position: absolute;
  inset: -12% -4%;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 16% 78%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 20%),
    radial-gradient(circle at 84% 70%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 24%);
  opacity: 0.88;
  z-index: -1;
  animation: processBannerLight 18s linear infinite alternate;
}

.process-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.process-stat-item {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  text-align: center;
  color: var(--white);
}

.process-stat-item::after {
  content: "";
  position: absolute;
  top: 22%;
  inset-inline-end: 0;
  width: 1px;
  height: 56%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 100%);
}

.process-stat-item:last-child::after {
  display: none;
}

.process-stat-value {
  margin: 0 0 20px;
  font-size: clamp(3.2rem, 6vw, 4.0rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.counter {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.process-stat-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .process-stats-banner {
    border-radius: 24px;
    padding: 36px 20px;
  }

  .process-stats-grid {
    gap: 8px 14px;
  }

  .process-stat-item {
    min-height: 150px;
  }

  .process-stat-item::after {
    display: none;
  }

  .process-stat-value {
    margin-bottom: 14px;
    font-size: clamp(2.8rem, 10vw, 4.1rem);
  }
}

@media (max-width: 575px) {
  .process-header {
    margin-bottom: 24px;
  }

  .process-stats-banner {
    padding: 26px 18px;
  }

  .process-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-stat-item {
    min-height: 128px;
    padding: 14px 8px;
  }

  .process-stat-item p {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .process-stats-grid {
    grid-template-columns: 1fr;
  }
}
