/* =============================================
   بيت الحلول المتكاملة — style.css
   التصميم: مستوحى من fam2030.com
   الألوان: #17112B (داكن) + #d7a76a (ذهبي)
   الخطوط: Cairo + El Messiri
============================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=El+Messiri:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --dark-primary: #17112B;
  --dark-secondary: #111111;
  --dark-card: rgba(255, 255, 255, 0.04);
  --dark-footer: #0d0a1a;
  --gold: #d7a76a;
  --gold-dark: #bb925d;
  --gold-light: #e8c08a;
  --white: #ffffff;
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-30: rgba(255, 255, 255, 0.3);
  --gold-border: rgba(215, 167, 106, 0.2);
  --font-display: 'El Messiri', 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;
  --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--dark-primary);
  color: var(--white);
  direction: rtl;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   BUTTONS
============================================= */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background-color: var(--gold);
  color: var(--dark-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform 0.15s ease;
}
.btn-gold:hover { background-color: var(--gold-light); }
.btn-gold:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background-color: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { background-color: var(--gold); color: var(--dark-primary); }

/* =============================================
   SECTION LABEL
============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* =============================================
   TICKER BAR
============================================= */
.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--gold);
  height: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  color: var(--dark-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 2rem;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0;
  background: rgba(23, 17, 43, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(23, 17, 43, 0.97);
  border-bottom-color: var(--gold-border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-logo img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  background: white;
  padding: 3px 6px;
  object-fit: contain;
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-width:0; }
.nav-links { display:flex; align-items:center; justify-content:flex-end; gap:1rem; flex-wrap:wrap; min-width:0; }
.nav-links a { color:rgba(255,255,255,.8); text-decoration:none; }
.nav-logo img { display:block; max-width:min(180px,40vw); object-fit:contain; }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.navbar-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.navbar-links a:hover { color: var(--gold); }
.navbar-links a:hover::after { width: 100%; }
.navbar-cta { display: flex; align-items: center; gap: 1rem; }
.navbar-whatsapp {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition);
}
.navbar-whatsapp:hover { color: var(--white); }
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(23,17,43,0.99);
  border-top: 1px solid var(--gold-border);
  padding: 1rem 1.5rem;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(215,167,106,0.1);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 136px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,17,43,0.92) 0%, rgba(17,17,17,0.88) 100%);
  z-index: 1;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1600&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(215,167,106,0.07) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  max-width: 800px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: var(--white-70);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.55s forwards;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  font-family: var(--font-body);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--white-50);
  margin-top: 0.25rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.3);
  font-size: 1.5rem;
  cursor: pointer;
  animation: bounce 2s infinite;
  background: none;
  border: none;
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SECTIONS COMMON
============================================= */
.section { padding: 6rem 0; }
.section-dark { background-color: var(--dark-secondary); }
.section-purple { background-color: var(--dark-primary); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--white-50);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   ABOUT
============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-glow {
  position: absolute;
  inset: -12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(215,167,106,0.12), transparent);
  z-index: -1;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--dark-primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(215,167,106,0.3);
}
.about-badge-num { font-size: 1.6rem; font-weight: 900; line-height: 1; }
.about-badge-label { font-size: 0.75rem; font-weight: 700; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.about-text p { color: var(--white-60, rgba(255,255,255,0.6)); line-height: 1.8; margin-bottom: 1rem; }
.about-text p span { color: var(--gold); font-weight: 600; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}
.about-feature::before { content: '✓'; color: var(--gold); font-weight: 700; }
.about-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =============================================
   SERVICES CARDS
============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fam-card {
  background: var(--dark-card);
  border: 1px solid var(--gold-border);
  border-bottom: 3px solid var(--gold);
  border-radius: 8px;
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.fam-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215,167,106,0.5);
  box-shadow: 0 20px 40px rgba(215,167,106,0.1);
}
.card-icon { font-size: 2rem; margin-bottom: 1.25rem; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.card-desc { color: var(--white-50); font-size: 0.875rem; line-height: 1.7; }

/* =============================================
   STATS COUNTER
============================================= */
.stats-bar {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark-primary);
  font-family: var(--font-body);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.875rem; font-weight: 600; color: rgba(23,17,43,0.7); }

/* =============================================
   STEPS
============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.step-card {
  background: var(--dark-card);
  border: 1px solid var(--gold-border);
  border-bottom: 3px solid var(--gold);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark-primary);
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-desc { color: var(--white-50); font-size: 0.85rem; line-height: 1.6; }
.cta-banner {
  background: linear-gradient(135deg, rgba(215,167,106,0.1), rgba(215,167,106,0.04));
  border: 1px solid rgba(215,167,106,0.2);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-badge {
  display: inline-block;
  background: rgba(215,167,106,0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

/* =============================================
   PARTNERS
============================================= */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.partner-card {
  background: var(--dark-card);
  border: 1px solid var(--gold-border);
  border-bottom: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition);
  cursor: default;
}
.partner-card:hover { transform: scale(1.05); background: rgba(215,167,106,0.08); }

/* =============================================
   SECTORS
============================================= */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sector-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.sector-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sector-card:hover img { transform: scale(1.08); }
.sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,17,43,0.95) 0%, rgba(23,17,43,0.3) 60%, transparent 100%);
}
.sector-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sector-emoji { font-size: 1.5rem; }
.sector-title { font-size: 0.95rem; font-weight: 700; }
.sector-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.sector-card:hover .sector-border { transform: scaleX(1); }

/* =============================================
   CONTACT
============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-info p { color: var(--white-60, rgba(255,255,255,0.6)); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(215,167,106,0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label { font-size: 0.75rem; color: var(--white-30); margin-bottom: 0.2rem; }
.contact-value { font-weight: 500; transition: color var(--transition); }
.contact-item:hover .contact-value { color: var(--gold); }
.vision-quote {
  background: rgba(215,167,106,0.06);
  border: 1px solid rgba(215,167,106,0.15);
  border-radius: 12px;
  padding: 1.5rem;
}
.vision-quote .quote-mark { font-size: 2.5rem; color: var(--gold); font-family: var(--font-display); line-height: 1; margin-bottom: 0.5rem; }
.vision-quote p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }
.vision-quote .quote-source { color: var(--gold); font-weight: 700; font-size: 0.85rem; margin-top: 0.75rem; }

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: 2.5rem;
}
.form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; color: var(--white-50); margin-bottom: 0.5rem; font-weight: 500; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(215,167,106,0.2);
  border-radius: 8px;
  color: white;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: none; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }
.form-success {
  text-align: center;
  padding: 3rem 1rem;
  display: none;
}
.form-success.show { display: block; }
.form-success .success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--white-50); font-size: 0.9rem; }

/* =============================================
   FOOTER
============================================= */
.footer { background-color: var(--dark-footer); }
.footer-main { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-logo img {
  height: 64px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 4px 8px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}
.footer-brand-desc { color: var(--white-50); font-size: 0.875rem; line-height: 1.7; max-width: 320px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(215,167,106,0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer-social:hover { background: var(--gold); color: var(--dark-primary); }
.footer-col-title { color: var(--gold); font-weight: 700; font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--white-50); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact-items { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.75rem; }
.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(215,167,106,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.footer-contact-value { color: var(--white-50); font-size: 0.85rem; transition: color var(--transition); }
.footer-contact-item:hover .footer-contact-value { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(215,167,106,0.1);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.3); font-size: 0.75rem; transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* =============================================
   WHATSAPP FLOAT
============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition);
  font-size: 1.5rem;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .navbar-links, .navbar-cta { display: none; }
  .navbar-toggle { display: block; }
}
@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .navbar-toggle { display: block; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 640px) {
  .nav-inner { flex-direction:column; align-items:stretch; }
  .nav-logo { align-self:center; }
  .nav-links { justify-content:center; gap:.65rem 1rem; }
  .nav-links a { font-size:.8rem; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   NEWS CARDS & PAGES
============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-card);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215,167,106,0.4);
  box-shadow: 0 20px 40px rgba(215,167,106,0.1);
}
.news-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-cat {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--gold); color: var(--dark-primary);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.65rem; border-radius: 20px;
}
.news-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-card-date { color: var(--white-50); font-size: 0.75rem; margin-bottom: 0.6rem; }
.news-card-title { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: 0.75rem; color: var(--white); }
.news-card-summary {
  color: var(--white-50); font-size: 0.85rem; line-height: 1.7; flex: 1; margin-bottom: 1.25rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-link { color: var(--gold); font-size: 0.85rem; font-weight: 700; }

/* News Page */
.news-page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, rgba(23,17,43,0.97), rgba(17,17,17,0.95));
  text-align: center; border-bottom: 1px solid var(--gold-border);
}
.news-page-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.news-page-header p { color: var(--white-50); font-size: 1rem; }
.news-filters { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin: 3rem 0; }
.news-filter-btn {
  padding: 0.5rem 1.25rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
  font-family: var(--font-body); border: 1px solid var(--gold-border);
  background: transparent; color: var(--white-70); cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.news-filter-btn:hover, .news-filter-btn.active { background: var(--gold); color: var(--dark-primary); border-color: var(--gold); }
.news-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; padding-bottom: 5rem; }
.news-featured {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--gold-border);
  background: var(--dark-card); transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; color: inherit;
}
.news-featured:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(215,167,106,0.1); }
.news-featured-img { overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-featured:hover .news-featured-img img { transform: scale(1.04); }
.news-featured-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.news-featured-badge {
  display: inline-block; background: var(--gold); color: var(--dark-primary);
  font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 20px;
  margin-bottom: 1rem; width: fit-content;
}
.news-featured-body h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.4; }
.news-featured-body p { color: var(--white-50); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* News Detail */
.news-detail-header { padding: 8rem 0 3rem; background: linear-gradient(135deg, rgba(23,17,43,0.97), rgba(17,17,17,0.95)); border-bottom: 1px solid var(--gold-border); }
.news-detail-cat { display: inline-block; background: var(--gold); color: var(--dark-primary); font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 20px; margin-bottom: 1.25rem; }
.news-detail-header h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; max-width: 800px; line-height: 1.3; margin-bottom: 1rem; }
.news-detail-meta { color: var(--white-50); font-size: 0.85rem; }
.news-detail-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; margin: 3rem 0; border: 1px solid var(--gold-border); }
.news-detail-content { max-width: 800px; color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.9; padding-bottom: 4rem; }
.news-related-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; padding-top: 3rem; border-top: 1px solid var(--gold-border); }

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

/* =============================================
   BREAKING NEWS TICKER STRIP
   شريط الأخبار العاجلة والعروض المتحرك
============================================= */
.news-ticker-strip {
  background: var(--dark-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 0;
  overflow: hidden;
  position: relative;
  height: 46px;
  display: flex;
  align-items: center;
}

/* Label on the right */
.news-ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--dark-primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0 1.25rem;
  height: 100%;
  white-space: nowrap;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}
/* Arrow shape on left side of label */
.news-ticker-label::after {
  content: '';
  position: absolute;
  left: -12px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 23px solid transparent;
  border-bottom: 23px solid transparent;
  border-right: 13px solid var(--gold);
}

/* Scrolling track */
.news-ticker-scroll {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Fade edges */
.news-ticker-scroll::before,
.news-ticker-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.news-ticker-scroll::before {
  right: 0;
  background: linear-gradient(to left, var(--dark-secondary), transparent);
}
.news-ticker-scroll::after {
  left: 0;
  background: linear-gradient(to right, var(--dark-secondary), transparent);
}

.news-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: newsTicker 40s linear infinite;
  gap: 0;
}
.news-ticker-track:hover { animation-play-state: paused; }

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

.news-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: none;
}
.news-ticker-item:hover { color: var(--gold); }

.news-ticker-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.news-ticker-badge.news {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.news-ticker-badge.offer {
  background: rgba(215, 167, 106, 0.2);
  color: var(--gold);
  border: 1px solid rgba(215, 167, 106, 0.35);
}

.news-ticker-separator {
  color: rgba(215, 167, 106, 0.4);
  font-size: 1rem;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

/* Controls */
.news-ticker-controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.75rem;
  border-right: 1px solid var(--gold-border);
  height: 100%;
}
.ticker-ctrl-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(215,167,106,0.1);
  border: 1px solid rgba(215,167,106,0.2);
  color: var(--gold);
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.ticker-ctrl-btn:hover { background: rgba(215,167,106,0.25); }

@media (max-width: 640px) {
  .news-ticker-label { padding: 0 0.75rem; font-size: 0.7rem; }
  .news-ticker-item { font-size: 0.8rem; padding: 0 1.25rem; }
  .news-ticker-controls { display: none; }
}

/* =============================================
   NEWS CONTROLS BAR (Public)
============================================= */
.news-controls-bar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(215,167,106,0.1);
  padding: 1.25rem 0;
  position: sticky;
  top: 60px;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.news-controls-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pub-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
}
.pub-search-icon {
  position: absolute;
  right: 0.85rem;
  font-size: 0.9rem;
  pointer-events: none;
}
.pub-search-wrap input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(215,167,106,0.2);
  border-radius: 25px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
.pub-search-wrap input:focus { border-color: #d7a76a; }
.pub-search-wrap input::placeholder { color: rgba(255,255,255,0.3); }
.pub-search-clear {
  position: absolute;
  left: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.pub-search-clear:hover { color: #fca5a5; }

.pub-filter-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.pub-filter-tab {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.pub-filter-tab:hover { color: #d7a76a; border-color: rgba(215,167,106,0.3); }
.pub-filter-tab.active { color: #17112B; background: #d7a76a; border-color: #d7a76a; }

.pub-results-info {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  padding: 0.5rem 0 0;
}

/* =============================================
   PAGINATION (Public)
============================================= */
.pub-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pub-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Cairo', sans-serif;
}
.pub-page-btn:hover { color: #d7a76a; border-color: rgba(215,167,106,0.4); background: rgba(215,167,106,0.08); }
.pub-page-btn.active { color: #17112B; background: #d7a76a; border-color: #d7a76a; font-weight: 700; }
.pub-page-btn.dots { border: none; background: none; cursor: default; color: rgba(255,255,255,0.3); }
.pub-page-info { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-right: 0.5rem; }

/* =============================================
   RICH TEXT CONTENT (Quill output)
============================================= */
.rich-content {
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  font-size: 1rem;
}
.rich-content h2 { font-size: 1.4rem; font-weight: 700; color: #fff; margin: 2rem 0 0.75rem; }
.rich-content h3 { font-size: 1.15rem; font-weight: 700; color: #d7a76a; margin: 1.5rem 0 0.5rem; }
.rich-content p  { margin-bottom: 1.1rem; }
.rich-content ul, .rich-content ol { padding-right: 1.5rem; margin-bottom: 1.1rem; }
.rich-content li { margin-bottom: 0.4rem; }
.rich-content blockquote {
  border-right: 4px solid #d7a76a;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(215,167,106,0.06);
  border-radius: 0 8px 8px 0;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}
.rich-content a { color: #d7a76a; text-decoration: underline; }
.rich-content strong { color: #fff; font-weight: 700; }
.rich-content em { color: rgba(255,255,255,0.7); }
.rich-content code {
  background: rgba(255,255,255,0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-family: monospace;
  color: #86efac;
}
.rich-content pre {
  background: rgba(0,0,0,0.3);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── Language Switch Button ─────────────────────────────── */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(215, 167, 106, 0.12);
  border: 1px solid rgba(215, 167, 106, 0.35);
  color: #d7a76a;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.lang-switch-btn:hover {
  background: rgba(215, 167, 106, 0.25);
  border-color: #d7a76a;
  color: #fff;
  transform: translateY(-1px);
}
.lang-icon { font-size: 0.9rem; }

/* LTR layout adjustments for English */
html[dir="ltr"] .navbar-inner { flex-direction: row; }
html[dir="ltr"] .navbar-links { flex-direction: row; }
html[dir="ltr"] .hero-content { text-align: left; }
html[dir="ltr"] .about-grid { direction: ltr; }
html[dir="ltr"] .contact-grid { direction: ltr; }
html[dir="ltr"] .footer-grid { direction: ltr; }
html[dir="ltr"] .section-label { justify-content: flex-start; }
html[dir="ltr"] .about-text .section-label { justify-content: flex-start; }
html[dir="ltr"] .contact-info .section-label { justify-content: flex-start; }
html[dir="ltr"] .footer-brand-desc { text-align: left; }
html[dir="ltr"] .footer-copy { text-align: left; }
html[dir="ltr"] .step-card { text-align: left; }
html[dir="ltr"] .fam-card { text-align: left; }
html[dir="ltr"] .news-card-body { text-align: left; }
html[dir="ltr"] .hero-stats { justify-content: flex-start; }
html[dir="ltr"] .hero-btns { justify-content: flex-start; }

/* ── Advanced Search & Filter ─────────────────────────────── */
.search-bar-wrap{position:relative;margin-bottom:1.5rem;}
.search-input{width:100%;background:rgba(255,255,255,.06);border:1.5px solid rgba(215,167,106,.25);color:#fff;padding:.85rem 3.5rem .85rem 1.25rem;border-radius:12px;font-family:inherit;font-size:.95rem;outline:none;transition:border-color .2s,box-shadow .2s;}
.search-input:focus{border-color:#d7a76a;box-shadow:0 0 0 3px rgba(215,167,106,.12);}
.search-input::placeholder{color:rgba(255,255,255,.3);}
.search-icon{position:absolute;left:1.1rem;top:50%;transform:translateY(-50%);color:#d7a76a;font-size:1.1rem;pointer-events:none;}
.search-clear{position:absolute;left:3rem;top:50%;transform:translateY(-50%);background:none;border:none;color:rgba(255,255,255,.4);cursor:pointer;font-size:1rem;display:none;}
.search-clear.visible{display:block;}
.filter-bar{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.5rem;align-items:center;}
.filter-label{font-size:.8rem;color:rgba(255,255,255,.4);margin-left:.5rem;}
.filter-btn{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.55);padding:.35rem .85rem;border-radius:20px;font-size:.78rem;cursor:pointer;font-family:inherit;transition:all .2s;}
.filter-btn:hover,.filter-btn.active{background:rgba(215,167,106,.12);border-color:rgba(215,167,106,.35);color:#d7a76a;}
.sort-select{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.55);padding:.35rem .85rem;border-radius:8px;font-size:.78rem;cursor:pointer;font-family:inherit;outline:none;margin-right:auto;}
.search-results-count{font-size:.82rem;color:rgba(255,255,255,.4);margin-bottom:1rem;}
.search-results-count span{color:#d7a76a;font-weight:700;}
.no-results{text-align:center;padding:3rem;color:rgba(255,255,255,.3);}
.no-results-icon{font-size:3rem;margin-bottom:.75rem;}
.highlight{background:rgba(215,167,106,.2);color:#d7a76a;padding:0 .15rem;border-radius:3px;}
/* Validation styles */
.form-field-wrap{position:relative;}
.field-error{font-size:.72rem;color:#fca5a5;margin-top:.25rem;display:none;}
.field-error.show{display:block;}
.consult-input.error{border-color:#ef4444;}
.consult-input.success{border-color:#22c55e;}
.field-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);font-size:.85rem;display:none;}
.field-icon.show{display:block;}

/* ── Services Dropdown ─────────────────────────────────── */
.nav-dropdown { position: relative; display: inline-block; }
.nav-link-dropdown {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  padding: .25rem 0;
  transition: color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link-dropdown:hover { color: #d7a76a; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 240px;
  background: #1e1535;
  border: 1px solid rgba(215,167,106,.2);
  border-radius: 10px;
  padding: .5rem 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  z-index: 200;
  animation: dropIn .2s ease;
}
[dir="ltr"] .dropdown-menu { right: auto; left: 0; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  padding: .55rem 1.1rem;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.dropdown-item:hover {
  background: rgba(215,167,106,.08);
  color: #d7a76a;
}

/* Public media galleries */
.public-media-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:1rem;margin:1.5rem 0;}
.public-media-item{margin:0;min-width:0;background:rgba(255,255,255,.035);border:1px solid rgba(215,167,106,.16);border-radius:12px;overflow:hidden;}
.public-media-item.featured{border-color:rgba(215,167,106,.65);box-shadow:0 10px 30px rgba(0,0,0,.2);}
.public-media-item a{display:block;background:#0d0a16;overflow:hidden;}
.public-media-item img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s ease;}
.public-media-item a:hover img{transform:scale(1.025);}
.public-media-item figcaption{padding:.65rem .8rem;color:rgba(255,255,255,.65);font-size:.8rem;line-height:1.6;}
.ref-source{margin-top:.25rem;color:#d7a76a;font-size:.7rem;}
.ref-card{text-decoration:none;color:inherit;}
@media (max-width:640px){.public-media-gallery{grid-template-columns:1fr;}.news-detail-content{overflow-wrap:anywhere;}.metric-row{grid-template-columns:1fr!important;}}

/* Homepage managed event gallery */
.homepage-gallery-section{overflow:hidden;}
.homepage-gallery{position:relative;max-width:1180px;margin:0 auto;min-width:0;}
.homepage-gallery-viewport{overflow:hidden;border-radius:18px;border:1px solid rgba(215,167,106,.28);background:#100b1d;box-shadow:0 22px 60px rgba(0,0,0,.28);}
.homepage-gallery-track{display:flex;will-change:transform;transition:transform .7s cubic-bezier(.22,.61,.36,1);}
.homepage-gallery-slide{position:relative;flex:0 0 100%;margin:0;min-width:0;aspect-ratio:3/2;background:#0d0918;overflow:hidden;}
.homepage-gallery-slide img{display:block;width:100%;height:100%;object-fit:cover;}
.homepage-gallery-slide figcaption{position:absolute;inset-inline:1rem;bottom:1rem;z-index:2;padding:.75rem 1rem;border:1px solid rgba(255,255,255,.15);border-radius:10px;color:#fff;background:rgba(15,10,27,.82);backdrop-filter:blur(9px);font-size:.9rem;}
.homepage-gallery-arrow{position:absolute;top:50%;z-index:3;width:44px;height:44px;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:rgba(15,10,27,.72);color:#fff;font-size:2rem;line-height:1;cursor:pointer;transform:translateY(-50%);transition:background .2s,border-color .2s;}
.homepage-gallery-arrow:hover,.homepage-gallery-arrow:focus-visible{background:#d7a76a;border-color:#d7a76a;color:#17112b;}
.homepage-gallery-arrow.prev{left:1rem;}.homepage-gallery-arrow.next{right:1rem;}
.homepage-gallery-dots{display:flex;justify-content:center;align-items:center;gap:.55rem;margin-top:1rem;}
.homepage-gallery-dot{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.3);cursor:pointer;transition:width .2s,background .2s;}
.homepage-gallery-dot.is-active{width:30px;background:#d7a76a;}
.service-card-image{display:block;width:calc(100% + 2rem);max-width:none;height:170px;object-fit:cover;margin:-1rem -1rem 1rem;border-radius:12px 12px 4px 4px;}
@media (max-width:640px){.homepage-gallery-slide{aspect-ratio:4/3;}.homepage-gallery-arrow{width:38px;height:38px;font-size:1.65rem;}.homepage-gallery-arrow.prev{left:.5rem;}.homepage-gallery-arrow.next{right:.5rem;}.homepage-gallery-slide figcaption{inset-inline:.6rem;bottom:.6rem;font-size:.78rem;padding:.55rem .7rem;}}
@media (prefers-reduced-motion:reduce){.homepage-gallery-track{transition:none;}}
/* ===== تحسين شعارات الشركاء ===== */

#partners .partner-card img {
    width: 220px !important;
    height: 120px !important;
    max-width: 90% !important;
    max-height: 120px !important;

    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 18px !important;

    /* إظهار الألوان الأصلية */
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;

    /* منع أي تأثير رمادي */
    mix-blend-mode: normal !important;

    transition: transform 0.3s ease !important;
}

#partners .partner-card:hover img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: scale(1.06);
}
