/* 
   Marassi Aljazeera CSS Design System
   Aesthetics: Rich, state-of-the-art modern corporate logistics design.
   Includes variables, smooth CSS transitions, interactive states, animations,
   and dynamic RTL adjustments for Arabic layout support.
*/

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

:root {
  --primary: #111111;
  --primary-rgb: 17, 17, 17;
  --primary-hover: #2a2a2a;
  --primary-light: rgba(17, 17, 17, 0.05);
  --accent: #ffdd00;
  --accent-rgb: 255, 221, 0;
  --accent-hover: #e6c700;
  --accent-hover-rgb: 230, 199, 0;
  --accent-light: rgba(255, 221, 0, 0.1);

  --gold-soft: #fafafa;
  --warm-white: #ffffff;
  --brand-red: #ffdd00;
  --brand-red-rgb: 255, 221, 0;

  --dark: #111111;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  --border-sm: 8px;
  --border-md: 12px;
  --border-lg: 24px;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --font-latin: 'Outfit', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  --font-family: var(--font-latin);
}

/* RTL Layout Condition */
html[dir="rtl"] {
  --font-family: var(--font-arabic);
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: #ffffff;
  color: var(--slate-800);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Utility Layouts */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

.text-center {
  text-align: center;
}

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

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

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

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

@media (max-width: 1024px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-5,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--border-sm);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-smooth);
  cursor: pointer;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--primary);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent-hover);
  color: var(--primary);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--primary);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--accent-rgb), 0.45);
}

/* Sections Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.section-tag::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  margin: 8px auto 0;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-header:hover .section-tag::after,
.section-tag:hover::after {
  width: 60px;
}

/* Section header decorative corner accents */
.section-header {
  position: relative;
}

.section-header::before,
.section-header::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.section-header::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}

.section-header::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}

html[dir="rtl"] .section-header::before {
  left: auto;
  right: -8px;
  border-right: 2px solid var(--accent);
  border-left: none;
  border-bottom: none;
}

html[dir="rtl"] .section-header::after {
  right: auto;
  left: -8px;
  border-left: 2px solid var(--accent);
  border-right: none;
  border-top: none;
}

.section-header:hover::before,
.section-header:hover::after {
  opacity: 0.3;
  transform: scale(1.1);
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--slate-600);
  font-size: 17px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 64px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(255, 221, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
  height: 32px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Language selector */
.lang-selector {
  position: relative;
  cursor: pointer;
}

.lang-btn {
  background-color: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(255, 221, 0, 0.15);
  color: var(--slate-700);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background-color: var(--white);
  border: 1px solid rgba(255, 221, 0, 0.2);
  border-radius: var(--border-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-700);
  font-size: 14px;
  transition: var(--transition-fast);
}

.lang-option:hover {
  background-color: rgba(255, 221, 0, 0.1);
  color: var(--primary);
}

.lang-flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--slate-800);
  transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    border-left: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 24px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-xl);
  }

  html[dir="rtl"] .nav-menu {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--slate-200);
  }

  .nav-menu.active {
    right: 0;
  }

  html[dir="rtl"] .nav-menu.active {
    right: auto;
    left: 0;
  }

  .lang-dropdown {
    top: auto;
    bottom: 110%;
  }

  .nav-link {
    color: var(--slate-800);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 40%,
      rgba(255, 255, 255, 0.6) 70%,
      rgba(255, 255, 255, 0.3) 100%),
    url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  padding-top: 120px;
  padding-bottom: 80px;
  color: var(--slate-800);
  overflow: hidden;
}

html[dir="rtl"] .hero {
  background-image:
    linear-gradient(to left,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.85) 40%,
      rgba(255, 255, 255, 0.6) 70%,
      rgba(255, 255, 255, 0.3) 100%),
    url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?w=1600&auto=format&fit=crop');
}

/* Background floating ambient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  animation: float-blob 16s infinite ease-in-out alternate;
}

.hero-blob-1 {
  top: 5%;
  left: 0%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.06;
  animation: float-blob 18s infinite ease-in-out alternate;
}

.hero-blob-2 {
  bottom: 10%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.08;
  animation-duration: 24s;
  animation-delay: -4s;
}

.hero-blob-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
  animation: float-blob 20s infinite ease-in-out alternate-reverse;
  animation-delay: -6s;
}

.hero-blob-4 {
  position: absolute;
  bottom: 5%;
  left: 30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
  animation: float-blob 22s infinite ease-in-out alternate;
  animation-delay: -10s;
}

.hero-blob-5 {
  position: absolute;
  top: 30%;
  left: 40%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(90px);
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
  animation: float-blob 26s infinite ease-in-out alternate;
  animation-delay: -14s;
}

/* Decorative angled line in hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(160deg, transparent 30%, rgba(255, 221, 0, 0.05) 60%, rgba(0, 180, 216, 0.04) 100%);
  clip-path: polygon(100% 0, 100% 100%, 40% 100%, 60% 0);
  pointer-events: none;
  z-index: 0;
}

html[dir="rtl"] .hero::before {
  right: auto;
  left: 0;
  clip-path: polygon(0 0, 0 100%, 60% 100%, 40% 0);
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -45px) scale(1.08);
  }

  100% {
    transform: translate(-15px, 15px) scale(0.92);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-subtitle {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 52px;
  color: var(--slate-900);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--slate-600);
  margin-bottom: 40px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Glassmorphic Stats Section */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 221, 0, 0.2);
  border-radius: var(--border-md);
  padding: 24px;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
}

.stat-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.stat-lbl {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--slate-600);
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* About Us Section */
.about {
  background: linear-gradient(180deg, var(--white) 0%, #f1f5f9 100%);
}

.about-img-container {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--border-md);
  box-shadow: var(--shadow-xl);
}

.about-img-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 24px;
  border-radius: var(--border-sm);
  box-shadow: var(--shadow-lg);
  max-width: 220px;
  border: 1px solid rgba(255, 221, 0, 0.15);
}

html[dir="rtl"] .about-img-overlay {
  right: auto;
  left: -20px;
}

.about-experience-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.about-experience-txt {
  font-size: 14px;
  font-weight: 600;
}

.about-text p {
  color: var(--slate-600);
  font-size: 16px;
  margin-bottom: 24px;
}

/* Values Grid */
.values {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.value-card {
  background-color: var(--white);
  border-radius: var(--border-md);
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--slate-200);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .value-card::after {
  transform-origin: right;
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: transparent;
}

.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 221, 0, 0.12) 0%, rgba(0, 180, 216, 0.12) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
  color: var(--primary);
}

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

.value-card p {
  color: var(--slate-600);
  font-size: 14px;
}

/* Services Grid (Dynamic) */
.services {
  background: linear-gradient(180deg, #e2e8f0 0%, var(--white) 50%, #f1f5f9 100%);
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--slate-200);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

html[dir="rtl"] .service-card::before {
  left: auto;
  right: 0;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.service-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 22, 0.4), transparent);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 700;
}

.service-card p {
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
  margin-top: auto;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-700);
  font-weight: 500;
}

.service-feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.service-cta {
  align-self: flex-start;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.service-cta svg {
  transition: var(--transition-smooth);
}

.service-cta:hover {
  color: var(--primary-hover);
}

.service-cta:hover svg {
  transform: translateX(4px);
}

html[dir="rtl"] .service-cta:hover svg {
  transform: translateX(-4px);
}

html[dir="rtl"] .service-cta svg {
  transform: scaleX(-1);
}

/* Product Categories Section (Dynamic) */
.categories {
  background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
  color: var(--slate-900);
}

.categories .section-title {
  color: var(--slate-900);
}

.categories .section-desc {
  color: var(--slate-600);
}

.category-card {
  position: relative;
  border-radius: var(--border-md);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.category-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 15%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.2));
  transition: var(--transition-smooth);
}

.category-card:hover .category-bg-img {
  transform: scale(1.08);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(17, 17, 17, 0.85) 15%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.3));
}

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  z-index: 2;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .category-info {
  left: auto;
  right: 0;
}

.category-card h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 12px;
}

.category-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

.category-btn svg {
  transition: var(--transition-smooth);
}

.category-card:hover .category-btn svg {
  transform: translateX(5px);
}

html[dir="rtl"] .category-card:hover .category-btn svg {
  transform: translateX(-5px);
}

/* Process / How We Work Section */
.process {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--white) 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

@media (min-width: 1025px) {
  .process-grid::before {
    content: '';
    position: absolute;
    top: 150px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-image: linear-gradient(to right, var(--primary) 30%, var(--accent) 70%, transparent 50%);
    background-size: 15px 15px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.2;
  }

  html[dir="rtl"] .process-grid::before {
    background-image: linear-gradient(to left, var(--primary) 30%, var(--accent) 70%, transparent 50%);
  }
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.process-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--border-md);
  padding: 40px 32px 32px 32px;
  border: 1px solid var(--slate-200);
  transition: var(--transition-smooth);
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.process-step-num {
  position: absolute;
  top: -24px;
  left: 32px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.4);
  border: 3px solid var(--white);
  transition: var(--transition-smooth);
}

.process-card:hover .process-step-num {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.55);
}

html[dir="rtl"] .process-step-num {
  left: auto;
  right: 32px;
}

.process-card h3 {
  font-size: 18px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.process-card p {
  color: var(--slate-600);
  font-size: 14px;
}

.process-footer {
  margin-top: 60px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  border-radius: var(--border-md);
  padding: 40px;
  color: var(--white);
  border: 1px solid rgba(255, 221, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.process-footer p {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 768px) {
  .process-footer {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

/* Payment Options Section */
.payment {
  background: linear-gradient(180deg, var(--white) 0%, #f1f5f9 100%);
}

.payment-left-card {
  background-color: var(--white);
  border-radius: var(--border-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.payment-title-card {
  font-size: 24px;
  margin-bottom: 16px;
}

.payment-desc-card {
  color: var(--slate-600);
  font-size: 15px;
  margin-bottom: 32px;
}

.payment-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-bullet-item {
  display: flex;
  gap: 16px;
  cursor: default;
}

.payment-bullet-item:hover .payment-bullet-icon {
  background-color: var(--accent);
  color: var(--primary);
  transform: scale(1.08);
}

.payment-bullet-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(var(--accent-rgb), 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.payment-bullet-details h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.payment-bullet-details p {
  color: var(--slate-600);
  font-size: 14px;
}

.payment-right-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.payment-right-section {
  background-color: var(--white);
  border-radius: var(--border-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.payment-right-section h3 {
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-right-section h3 svg {
  color: var(--accent);
}

.payment-right-section p {
  color: var(--slate-600);
  font-size: 14px;
}

.payment-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.payment-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-700);
  font-weight: 500;
}

.payment-check-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.payment-cta-box {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  color: var(--white);
  border-radius: var(--border-md);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255, 221, 0, 0.1);
}

.payment-cta-box p {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/* Testimonials & Clients Section */
.testimonials {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--white) 100%);
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-md);
  padding: 36px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.25);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.testimonial-quote {
  font-style: italic;
  color: var(--slate-700);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 80px;
  color: rgba(var(--primary-rgb), 0.05);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

html[dir="rtl"] .testimonial-card::before {
  left: auto;
  right: 24px;
  content: '”';
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--slate-200);
}

.testimonial-user-info h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.testimonial-user-info p {
  font-size: 12px;
  color: var(--slate-600);
}

/* Infinite scrolling partners marquee */
.clients-marquee-container {
  margin-top: 80px;
  overflow: hidden;
  position: relative;
  background-color: var(--warm-white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 40px 0;
}

.clients-marquee-container::before,
.clients-marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--warm-white), transparent);
}

.clients-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--warm-white), transparent);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
  gap: 60px;
  padding-left: 30px;
  padding-right: 30px;
}

.marquee-logo {
  height: 50px;
  width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(60%);
  transition: var(--transition-fast);
}

.marquee-logo:hover {
  filter: grayscale(0%) opacity(100%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Adjust marquee for RTL directions */
html[dir="rtl"] .marquee-content {
  animation: marquee-rtl 25s linear infinite;
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

/* Contact Us Section */
.contact {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--white) 100%);
  color: var(--slate-900);
}

.contact .section-title {
  color: var(--slate-900);
}

.contact .section-desc {
  color: var(--slate-600);
}

.contact-card-container {
  background-color: var(--white);
  border-radius: var(--border-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.contact-form-side {
  padding: 48px;
}

@media (max-width: 768px) {
  .contact-form-side {
    padding: 24px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
}

.form-control {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 12px 16px;
  border-radius: var(--border-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--slate-900);
  transition: var(--transition-fast);
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Contact Info Column */
.contact-info-side {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  color: var(--white);
  padding: 48px;
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--accent);
}

@media (max-width: 768px) {
  .contact-info-side {
    padding: 24px;
  }
}

.contact-info-side h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
}

.contact-info-side>p {
  color: var(--slate-400);
  font-size: 15px;
  margin-bottom: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex-grow: 1;
}

.contact-info-item {
  display: flex;
  gap: 20px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-text p {
  font-size: 16px;
  font-weight: 500;
}

/* Footer Section */
.footer {
  background-color: var(--gold-soft);
  color: var(--slate-600);
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid var(--slate-200);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: var(--slate-900);
  font-size: 16px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
  color: var(--slate-600);
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate-600);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--slate-200);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--slate-400);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

html[dir="rtl"] .whatsapp-widget {
  right: auto;
  left: 30px;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 32px;
  animation: shake 5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

@keyframes shake {

  0%,
  100% {
    transform: scale(1);
  }

  90% {
    transform: scale(1.05) rotate(0);
  }

  92% {
    transform: scale(1.05) rotate(-8deg);
  }

  94% {
    transform: scale(1.05) rotate(8deg);
  }

  96% {
    transform: scale(1.05) rotate(-8deg);
  }

  98% {
    transform: scale(1.05) rotate(8deg);
  }
}

/* Dynamic Product Category details Dialog Modal */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.dialog-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dialog-box {
  background-color: var(--white);
  width: 90%;
  max-width: 800px;
  border-radius: var(--border-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: scale(0.9);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.dialog-overlay.active .dialog-box {
  transform: scale(1);
}

.dialog-header-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.dialog-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(11, 15, 25, 0.6);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition-fast);
  font-size: 18px;
}

html[dir="rtl"] .dialog-close-btn {
  right: auto;
  left: 20px;
}

.dialog-close-btn:hover {
  background-color: var(--primary);
}

.dialog-body {
  padding: 40px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .dialog-body {
    padding: 24px;
  }

  .dialog-header-img {
    height: 180px;
  }
}

.dialog-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.dialog-desc {
  color: var(--slate-600);
  font-size: 16px;
  margin-bottom: 30px;
}

.dialog-features-title {
  font-size: 18px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--slate-100);
  padding-bottom: 8px;
}

.dialog-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .dialog-features-list {
    grid-template-columns: 1fr;
  }
}

.dialog-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-800);
  font-weight: 500;
}

.dialog-feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

html[dir="rtl"] .dialog-footer {
  justify-content: flex-start;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[dir="rtl"] .toast-container {
  left: auto;
  right: 30px;
}

.toast {
  background: var(--slate-900);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--border-sm);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border-left: 4px solid var(--accent);
}

html[dir="rtl"] .toast {
  border-left: 0;
  border-right: 4px solid var(--accent);
}

.toast.success {
  border-color: #25d366;
}

.toast.error {
  border-color: #ff4444;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Catalog Section */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.product-card {
  background-color: var(--slate-50);
  border-radius: var(--border-sm);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.product-img {
  height: 140px;
  width: 100%;
  object-fit: cover;
  background-color: var(--slate-200);
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-desc {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.6;
  flex-grow: 1;
}

/* --- Categories Slider --- */
.categories-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.categories-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 60px 24px 60px;
  scrollbar-width: none;
  /* Firefox */
  scroll-snap-type: x mandatory;
}

/* Hide scrollbar for Chrome/Safari/Edge */
.categories-grid::-webkit-scrollbar {
  display: none;
}

/* Slider Arrow Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5);
  color: var(--primary);
}

.slider-arrow.arrow-left {
  left: 12px;
}

.slider-arrow.arrow-right {
  right: 12px;
}

/* Handle RTL slider arrow positions */
html[dir="rtl"] .slider-arrow.arrow-left {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .slider-arrow.arrow-right {
  right: auto;
  left: 12px;
}

/* Responsive category cards in flex row */
.categories-grid .category-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 285px;
  box-sizing: border-box;
  scroll-snap-align: start;
}

@media (max-width: 1200px) {
  .categories-grid .category-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

@media (max-width: 900px) {
  .categories-grid .category-card {
    flex: 0 0 calc(50% - 12px);
  }

  .slider-arrow {
    width: 42px;
    height: 42px;
  }

  .slider-arrow.arrow-left {
    left: 8px;
  }

  .slider-arrow.arrow-right {
    right: 8px;
  }
}

@media (max-width: 600px) {
  .categories-grid .category-card {
    flex: 0 0 100%;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Premium Hover Shine Sweep Effect for Cards & Buttons */
.value-card,
.service-card,
.btn {
  position: relative;
  overflow: hidden;
}

.value-card::before,
.service-card::before,
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  transition: none;
}

.value-card:hover::before,
.service-card:hover::before,
.btn:hover::before {
  left: 150%;
  transition: all 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Subtle gold dot pattern overlay for sections --- */
.values::before,
.services::before,
.payment::before,
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 221, 0, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.about::before,
.categories::before,
.process::before,
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 221, 0, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure section content is above the pattern */
.about .container,
.values .container,
.services .container,
.categories .container,
.process .container,
.payment .container,
.testimonials .container,
.contact .container {
  position: relative;
  z-index: 1;
}

/* --- Section background alternation with warm gold/cream tones --- */
.about {
  background: linear-gradient(160deg, var(--white) 0%, #fafafa 100%);
}

.values {
  background: linear-gradient(160deg, #f5f5f5 0%, var(--white) 100%);
}

.services {
  background: linear-gradient(160deg, var(--white) 0%, #f8f8f8 100%);
}

.categories {
  background: linear-gradient(160deg, #f0f0f0 0%, #fafafa 100%);
}

.process {
  background: linear-gradient(160deg, #fafafa 0%, var(--white) 100%);
}

.payment {
  background: linear-gradient(160deg, var(--white) 0%, #f8f8f8 100%);
}

.testimonials {
  background: linear-gradient(160deg, #f5f5f5 0%, var(--white) 100%);
}

.contact {
  background: linear-gradient(160deg, var(--white) 0%, #f0f0f0 100%);
}

.clients {
  background-color: #fafafa !important;
}

/* --- Creative Section Dividers (Premium Magazine Style) --- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Outer decorative brackets */
.section-divider::before,
.section-divider::after {
  content: '❖';
  font-size: 8px;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.section-divider::before {
  left: 8%;
}

.section-divider::after {
  right: 8%;
}

.section-divider-line {
  flex: 1;
  height: 0.5px;
  position: relative;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(var(--primary-rgb), 0.08) 10%,
      rgba(var(--primary-rgb), 0.2) 30%,
      rgba(var(--primary-rgb), 0.35) 50%,
      rgba(var(--primary-rgb), 0.2) 70%,
      rgba(var(--primary-rgb), 0.08) 90%,
      transparent 100%);
}

/* Thin vertical accent lines flanking the ornament */
.section-divider-accent {
  width: 1px;
  height: 18px;
  background: linear-gradient(to bottom,
      transparent,
      rgba(var(--primary-rgb), 0.25),
      transparent);
  flex-shrink: 0;
}

/* The main ornament - a refined diamond with foil shimmer */
.section-divider-icon {
  width: 8px;
  height: 8px;
  background: var(--primary);
  transform: rotate(45deg);
  flex-shrink: 0;
  position: relative;
  box-shadow:
    0 0 6px rgba(var(--primary-rgb), 0.15),
    0 0 20px rgba(var(--primary-rgb), 0.08);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-divider:hover .section-divider-icon {
  transform: rotate(45deg) scale(1.3);
  box-shadow:
    0 0 10px rgba(var(--primary-rgb), 0.25),
    0 0 30px rgba(var(--primary-rgb), 0.12);
}

/* Foil shimmer sweep on the ornament */
.section-divider-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: conic-gradient(from 45deg,
      transparent 0deg,
      rgba(255, 255, 255, 0.4) 30deg,
      transparent 60deg,
      rgba(var(--primary-rgb), 0.2) 120deg,
      transparent 180deg,
      rgba(255, 255, 255, 0.3) 210deg,
      transparent 270deg,
      rgba(var(--primary-rgb), 0.15) 330deg,
      transparent 360deg);
  border-radius: 2px;
  animation: foilShimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes foilShimmer {
  0% {
    transform: rotate(0deg);
    opacity: 0.3;
  }

  25% {
    opacity: 0.8;
  }

  50% {
    transform: rotate(180deg);
    opacity: 0.3;
  }

  75% {
    opacity: 0.6;
  }

  100% {
    transform: rotate(360deg);
    opacity: 0.3;
  }
}

/* Dark gold accent variant */
.section-divider.accent ::before,
.section-divider.accent ::after {
  color: var(--accent);
.section-divider.accent .section-divider-line {
  background: linear-gradient(to right,
      transparent 0%,
      rgba(var(--accent-rgb), 0.08) 10%,
      rgba(var(--accent-rgb), 0.2) 30%,
      rgba(var(--accent-rgb), 0.35) 50%,
      rgba(var(--accent-rgb), 0.2) 70%,
      rgba(var(--accent-rgb), 0.08) 90%,
      transparent 100%);
}

.section-divider.accent .section-divider-accent {
  background: linear-gradient(to bottom,
      transparent,
      rgba(var(--accent-rgb), 0.25),
      transparent);
}

.section-divider.accent .section-divider-icon {
  background: var(--accent);
  box-shadow:
    0 0 6px rgba(var(--accent-rgb), 0.15),
    0 0 20px rgba(var(--accent-rgb), 0.08);
}

.section-divider.accent .section-divider-icon::before {
  background: conic-gradient(from 45deg,
      transparent 0deg,
      rgba(255, 255, 255, 0.4) 30deg,
      transparent 60deg,
      rgba(var(--accent-rgb), 0.2) 120deg,
      transparent 180deg,
      rgba(255, 255, 255, 0.3) 210deg,
      transparent 270deg,
      rgba(var(--accent-rgb), 0.15) 330deg,
      transparent 360deg);
}

/* --- Section Subtle Divider (CSS-only, replaces HTML dividers) --- */
section {
  position: relative;
}

section:not(.hero)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 0.5px;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(var(--primary-rgb), 0.06) 20%,
      rgba(var(--primary-rgb), 0.12) 50%,
      rgba(var(--primary-rgb), 0.06) 80%,
      transparent 100%);
  pointer-events: none;
}

/* Last section (contact) should not have the divider */
.contact::after {
  display: none;
}

/* --- Decorative number badge for sections --- */
.section-number {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 120px;
  font-weight: 900;
  color: rgba(255, 221, 0, 0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  opacity: 0.35;
  transition: var(--transition-smooth);
}

html[dir="rtl"] .section-number {
  left: auto;
  right: 0;
}

.section-header:hover .section-number {
  opacity: 0.5;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .section-number {
    font-size: 72px;
    opacity: 0.2;
  }
}

/* --- Decorative floating shapes in backgrounds --- */
.deco-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}

.deco-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: -80px;
  right: -60px;
  animation: decoFloat 12s ease-in-out infinite alternate;
}

.deco-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  bottom: 10%;
  left: -40px;
  animation: decoFloat 15s ease-in-out infinite alternate-reverse;
}

.deco-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  top: 40%;
  right: 10%;
  animation: decoFloat 10s ease-in-out infinite alternate;
}

.deco-shape-4 {
  width: 180px;
  height: 180px;
  background: var(--accent);
  top: 5%;
  left: 20%;
  opacity: 0.06;
  animation: decoFloat 14s ease-in-out infinite alternate-reverse;
}

.deco-shape-5 {
  width: 120px;
  height: 120px;
  background: var(--accent);
  bottom: 15%;
  right: 5%;
  opacity: 0.06;
  animation: decoFloat 16s ease-in-out infinite alternate;
}

.deco-shape-6 {
  width: 100px;
  height: 100px;
  background: var(--accent);
  top: 30%;
  left: 30%;
  opacity: 0.05;
  animation: decoFloat 20s ease-in-out infinite alternate-reverse;
}

.deco-shape-7 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  bottom: 5%;
  right: 20%;
  opacity: 0.05;
  border-radius: 50%;
  animation: decoFloat 22s ease-in-out infinite alternate;
}

.deco-diamond {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--accent);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.deco-diamond-1 {
  top: 15%;
  left: 5%;
  animation: decoFloat 18s ease-in-out infinite alternate;
}

.deco-diamond-2 {
  bottom: 20%;
  right: 8%;
  animation: decoFloat 14s ease-in-out infinite alternate-reverse;
}

.deco-diamond-3 {
  width: 25px;
  height: 25px;
  background: var(--accent);
  top: 45%;
  right: 25%;
  opacity: 0.06;
  animation: decoDiamondFloat 16s ease-in-out infinite alternate;
}

.deco-diamond-4 {
  width: 35px;
  height: 35px;
  background: var(--accent);
  bottom: 35%;
  left: 15%;
  opacity: 0.04;
  animation: decoDiamondFloat 19s ease-in-out infinite alternate-reverse;
}

@keyframes decoFloat {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate(30px, -30px) rotate(8deg) scale(1.05);
  }
}

@keyframes decoDiamondFloat {
  0% {
    transform: translate(0, 0) rotate(45deg) scale(1);
  }

  100% {
    transform: translate(-20px, 25px) rotate(55deg) scale(1.1);
  }
}

/* --- Red edge accent decorations --- */
.deco-corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.deco-corner-top-right {
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--brand-red);
  border-right: 3px solid var(--brand-red);
  opacity: 0.15;
}

.deco-corner-top-left {
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--brand-red);
  border-left: 3px solid var(--brand-red);
  opacity: 0.15;
}

.deco-corner-bottom-right {
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--brand-red);
  border-right: 3px solid var(--brand-red);
  opacity: 0.15;
}

.deco-corner-bottom-left {
  bottom: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--brand-red);
  border-left: 3px solid var(--brand-red);
  opacity: 0.15;
}

/* Red accent line on section edges */
.deco-edge-line {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.deco-edge-line-top {
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
}

.deco-edge-line-bottom {
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
}

/* Small red dot accents on edges */
.deco-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.deco-dot-tl {
  top: 20px;
  left: 20px;
}

.deco-dot-tr {
  top: 20px;
  right: 20px;
}

.deco-dot-bl {
  bottom: 20px;
  left: 20px;
}

.deco-dot-br {
  bottom: 20px;
  right: 20px;
}

/* =============================================
   ENHANCED ANIMATIONS & INTERACTIONS
   ============================================= */

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent), var(--accent));
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.5);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px) scale(1.05) rotate(360deg);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.5);
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 30px;
}

/* --- Shimmer Effect for Hero Stats --- */
.hero-stats {
  position: relative;
  overflow: hidden;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.1) 10deg, transparent 20deg, rgba(255, 255, 255, 0.05) 30deg, transparent 60deg, rgba(255, 221, 0, 0.12) 70deg, transparent 100deg);
  animation: shimmerSpin 12s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-stats>* {
  position: relative;
  z-index: 2;
}

@keyframes shimmerSpin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Hero Text Stagger Reveal --- */
.hero-subtitle,
.hero-title,
.hero-tagline,
.hero-desc,
.hero-actions,
.hero-stats {
  opacity: 0;
  transform: translateY(40px);
}

.hero-subtitle {
  animation: heroFadeUp 0.8s 0.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-title {
  animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-tagline {
  animation: heroFadeUp 0.8s 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-desc {
  animation: heroFadeUp 0.8s 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-actions {
  animation: heroFadeUp 0.8s 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-stats {
  animation: heroFadeUp 0.8s 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Gradient Text Effect for Section Titles --- */
.section-title {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 3D Tilt Perspective for Cards --- */
.tilt-container {
  perspective: 1000px;
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.tilt-card-inner {
  transform: translateZ(20px);
}

.tilt-card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.tilt-card:hover .tilt-card-shine {
  opacity: 1;
}

/* --- Animated Counter Numbers --- */
.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.stat-item .stat-val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.counter-suffix {
  font-size: inherit;
}

/* --- Floating Particles in Hero --- */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--slate-400);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

.hero-particle:nth-child(odd) {
  width: 3px;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.5);
}

.hero-particle:nth-child(3n) {
  width: 5px;
  height: 5px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.4);
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0);
  }

  20% {
    opacity: 0.5;
  }

  80% {
    opacity: 0.3;
  }

  100% {
    opacity: 0;
    transform: translateY(-120px) translateX(40px) scale(1);
  }
}

/* --- Magnetic Button Effect Wrapper --- */
.magnetic-wrap {
  display: inline-flex;
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Enhanced Smooth Image Reveal on Scroll --- */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--slate-50);
  transform: translateX(0);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 2;
}

.img-reveal.revealed::after {
  transform: translateX(101%);
}

/* --- Content Reveal with Slide-up + Fade --- */
.reveal-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-content.show:nth-child(1) {
  transition-delay: 0s;
}

.reveal-content.show:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-content.show:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal-content.show:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal-content.show:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal-content.show:nth-child(6) {
  transition-delay: 0.5s;
}

/* --- Reveal variants for visual diversity --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-scale.show {
  opacity: 1;
  transform: scale(1);
}

/* --- Process Step Connector Dot Animation --- */
.process-card {
  position: relative;
}

@media (min-width: 1025px) {
  .process-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    z-index: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  }

  html[dir="rtl"] .process-card::after {
    left: auto;
    right: 32px;
  }

  .process-card.process-revealed::after {
    opacity: 0.15;
    transform: scaleY(1);
  }

  .process-card:last-child::after {
    display: none;
  }
}

/* --- Parallax Image Subtle Effect --- */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* --- Hero Section Enhanced Parallax --- */
.hero.parallax-active .hero-content {
  will-change: transform;
}

/* --- Ripple Effect on Buttons --- */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Section Divider: subtle shape separator --- */
.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 20px auto 0;
  border-radius: 2px;
}

.section-header .section-divider {
  margin-top: 16px;
}

/* --- Navbar scroll hide/show effect --- */
.navbar.nav-hidden {
  transform: translateY(-100%);
}

.navbar.nav-visible {
  transform: translateY(0);
}

/* --- Smooth entry for footer links --- */
.footer-links a {
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
  transition: var(--transition-smooth);
  transform: translateY(-50%);
}

.footer-links a:hover::before {
  width: 8px;
}

.footer-links a:hover {
  padding-left: 16px;
  color: var(--accent);
}

html[dir="rtl"] .footer-links a::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 16px;
  color: var(--accent);
}

/* --- Testimonials quote mark animation --- */
.testimonial-card::before {
  transition: all 0.4s ease;
}

.testimonial-card:hover::before {
  color: rgba(var(--primary-rgb), 0.15);
  transform: scale(1.2) translateY(-4px);
}

/* --- Payment CTA box subtle animation --- */
.payment-cta-box {
  position: relative;
  overflow: hidden;
}

.payment-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 221, 0, 0.05), transparent 30%);
  animation: ctaGlow 6s linear infinite;
}

@keyframes ctaGlow {
  to {
    transform: rotate(360deg);
  }
}

/* --- Mobile menu backdrop blur enhancement --- */
.nav-menu.active {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
}

/* --- Dialog modal entrance enhancement --- */
.dialog-overlay.active .dialog-box {
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalPop {
  0% {
    transform: scale(0.85) translateY(20px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* --- Value Card Icon 3D hover enhancement --- */
.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg) translateZ(10px);
}

/* --- Category Card hover scale more dramatic --- */
.category-card:hover .category-bg-img {
  transform: scale(1.12);
}

/* --- Navbar link active dot indicator --- */
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background-color: var(--accent);
}

/* --- Contact info items hover lift --- */
.contact-info-item {
  transition: var(--transition-smooth);
}

.contact-info-item:hover {
  transform: translateX(6px);
}

html[dir="rtl"] .contact-info-item:hover {
  transform: translateX(-6px);
}

/* --- Form input animated focus border --- */
.form-control {
  position: relative;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 2px;
  transition: background-size 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  background-size: 100% 2px;
  background-color: var(--white);
}

html[dir="rtl"] .form-control {
  background-position: right bottom;
}

/* --- WhatsApp widget pulse ring --- */
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsappPulse 2s ease-out infinite;
  opacity: 0;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.whatsapp-btn {
  position: relative;
}

/* --- Card border gradient glow on hover --- */
.service-card,
.value-card,
.testimonial-card,
.process-card,
.payment-left-card,
.payment-right-section {
  position: relative;
}

.service-card::after,
.value-card::after,
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.service-card:hover::after,
.value-card:hover::after,
.testimonial-card:hover::after {
  opacity: 1;
}

/* Fix the value-card double ::after conflict */
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
  z-index: 1;
}

.value-card:hover::after {
  transform: scaleX(1);
}

/* Gradient border wrap with z-index fix */
.service-card,
.value-card,
.testimonial-card {
  z-index: 1;
}

/* =============================================
   CALM ANIMATED BACKGROUND SHAPES
   ============================================= */

/* Floating circles in brand colors */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
}

.bg-shape-1 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 10%;
  right: 5%;
  animation: bgFloatA 12s ease-in-out infinite alternate;
}

.bg-shape-2 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  bottom: 15%;
  left: 3%;
  animation: bgFloatB 14s ease-in-out infinite alternate;
}

.bg-shape-3 {
  width: 100px;
  height: 100px;
  background: var(--accent);
  top: 40%;
  left: 30%;
  animation: bgFloatC 10s ease-in-out infinite alternate-reverse;
}

.bg-shape-4 {
  width: 80px;
  height: 80px;
  background: var(--accent);
  bottom: 30%;
  right: 20%;
  animation: bgFloatA 16s ease-in-out infinite alternate-reverse;
}

/* Floating diamonds */
.bg-diamond {
  position: absolute;
  width: 40px;
  height: 40px;
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.bg-diamond-1 {
  background: var(--accent);
  top: 20%;
  left: 10%;
  animation: bgFloatB 15s ease-in-out infinite alternate;
}

.bg-diamond-2 {
  background: var(--accent);
  bottom: 25%;
  right: 15%;
  animation: bgFloatC 13s ease-in-out infinite alternate-reverse;
}

/* Wavy line decorative */
.bg-wave {
  position: absolute;
  width: 300px;
  height: 2px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.bg-wave-1 {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  top: 30%;
  left: 5%;
  animation: bgWave 8s ease-in-out infinite alternate;
}

.bg-wave-2 {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  bottom: 20%;
  right: 5%;
  animation: bgWave 10s ease-in-out infinite alternate-reverse;
}

/* Terracotta accent shape */
.bg-shape-5 {
  width: 120px;
  height: 120px;
  background: var(--accent);
  top: 50%;
  right: 15%;
  opacity: 0.05;
  animation: bgFloatB 18s ease-in-out infinite alternate;
}

/* Extra diamond in brand yellow */
.bg-diamond-3 {
  background: var(--accent);
  width: 30px;
  height: 30px;
  top: 60%;
  left: 5%;
  opacity: 0.06;
  animation: bgFloatA 20s ease-in-out infinite alternate-reverse;
}

/* Dot pattern overlay for light sections */
.bg-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Subtle corner streak decoration */
.bg-streak {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  border-radius: 50%;
}

.bg-streak-1 {
  width: 400px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  top: 15%;
  right: -100px;
  transform: rotate(15deg);
  animation: bgWave 12s ease-in-out infinite alternate;
}

.bg-streak-2 {
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  bottom: 25%;
  left: -80px;
  transform: rotate(-10deg);
  animation: bgWave 14s ease-in-out infinite alternate-reverse;
}

/* Gentle floating animations */
@keyframes bgFloatA {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, -25px) scale(1.05);
  }
}

@keyframes bgFloatB {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-15px, 20px) scale(1.08);
  }
}

@keyframes bgFloatC {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    transform: translate(25px, 15px) rotate(5deg) scale(1.03);
  }
}

@keyframes bgWave {
  0% {
    transform: translateX(-20px) scaleX(1);
    opacity: 0.04;
  }
  100% {
    transform: translateX(20px) scaleX(1.2);
    opacity: 0.08;
  }
}

/* --- Mobile improvements --- */
@media (max-width: 768px) {

  .hero-subtitle,
  .hero-title,
  .hero-tagline,
  .hero-desc,
  .hero-actions,
  .hero-stats {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .back-to-top {
    bottom: 100px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  html[dir="rtl"] .back-to-top {
    right: auto;
    left: 16px;
  }

  .section-title {
    -webkit-text-fill-color: var(--slate-900);
    background: none;
  }

  .hero-particle {
    display: none;
  }
}

/* --- Button subtle glow (calm attention) --- */
.btn-primary {
  animation: btnSubtleGlow 4s ease-in-out infinite;
}

@keyframes btnSubtleGlow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.25);
  }
  50% {
    box-shadow: 0 4px 28px rgba(var(--accent-rgb), 0.4);
  }
}

/* --- Hero blob slow drift animation --- */
.hero-blob-1 {
  animation: blobDrift1 20s ease-in-out infinite alternate;
}

.hero-blob-2 {
  animation: blobDrift2 25s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.08;
  }
  50% {
    transform: translate(40px, -30px) scale(1.1);
    opacity: 0.12;
  }
  100% {
    transform: translate(-20px, 20px) scale(0.95);
    opacity: 0.06;
  }
}

@keyframes blobDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.06;
  }
  50% {
    transform: translate(-30px, 40px) scale(1.15);
    opacity: 0.1;
  }
  100% {
    transform: translate(20px, -20px) scale(0.9);
    opacity: 0.04;
  }
}

/* --- WhatsApp widget vibrant pulse --- */
.whatsapp-btn::before {
  animation: whatsappPulse 2.5s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* --- Reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
  }

  .scroll-progress,
  .back-to-top,
  .hero-particle,
  .reveal,
  .reveal-content,
  .tilt-card,
  .magnetic-wrap,
  .navbar {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .scroll-progress {
    display: none;
  }

  .hero-subtitle,
  .hero-title,
  .hero-tagline,
  .hero-desc,
  .hero-actions,
  .hero-stats {
    opacity: 1 !important;
    transform: none !important;
  }
}