
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.022;
  mix-blend-mode: overlay;
}

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 10000;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: progressShimmer 3s linear infinite;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(201,168,76,0.6), 0 0 4px rgba(201,168,76,0.8);
}
@keyframes progressShimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

#cursor-outer, #cursor-dot { display: none !important; }

#mouse-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  transition: opacity 0.4s ease;
  will-change: transform;
}

.ambient-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat var(--orb-dur, 20s) ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  top: -200px; left: -150px;
  --orb-dur: 18s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(60,50,100,0.08) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  --orb-dur: 25s;
  animation-delay: -10s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(201,168,76,0.03) 0%, transparent 70%);
  top: 50%; right: 20%;
  --orb-dur: 30s;
  animation-delay: -5s;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 50px) scale(1.1); }
}

.loader-en {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: goldShimmer 3s linear infinite;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, #c8a84b 70%, var(--gold-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 6s linear infinite;
}
@keyframes goldShimmer {
  to { background-position: 200% center; }
}

.hero-line {
  overflow: visible !important;
  padding-bottom: 0.1em;
  padding-top: 0.05em;
}

.hero-title {
  overflow: visible !important;
}

.hero-title .hero-line-1 {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, #c8a84b 70%, var(--gold-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldShimmer 6s linear infinite;
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease !important;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(201,168,76,0.05) 50%, transparent 70%);
  background-size: 250% 250%;
  background-position: 200% 0;
  transition: background-position 0.8s ease;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover::after {
  background-position: -50% 100%;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.08) !important;
  border-color: rgba(201,168,76,0.3) !important;
}

.service-card .spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, -999px) var(--my, -999px),
    rgba(201, 168, 76, 0.06),
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
  opacity: 0;
}
.service-card:hover .spotlight { opacity: 1; }

.section::before {
  content: none;
}

.premium-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15) 20%, rgba(201,168,76,0.4) 50%, rgba(201,168,76,0.15) 80%, transparent);
  margin: 0;
}

#navbar.scrolled {
  background: rgba(5, 5, 5, 0.92) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  box-shadow: 0 1px 0 rgba(201,168,76,0.08), 0 4px 40px rgba(0,0,0,0.4) !important;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.3s ease !important;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}
.btn-primary:hover::after { opacity: 0.6; }

.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}
.stat-card:hover::before { transform: scaleX(1); }

.partner-logo {
  transition: filter 0.4s ease, transform 0.4s ease !important;
  filter: grayscale(1) opacity(0.4) !important;
}
.partner-logo:hover {
  filter: grayscale(0) opacity(1) !important;
  transform: scale(1.05) !important;
}

.section-badge {
  position: relative;
  overflow: hidden;
}
.section-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
  animation: badgeSweep 4s ease infinite;
}
@keyframes badgeSweep {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

#back-to-top {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  box-shadow: 0 8px 30px rgba(201,168,76,0.3) !important;
  border: none !important;
}
#back-to-top:hover {
  box-shadow: 0 12px 40px rgba(201,168,76,0.5) !important;
  transform: translateY(-4px) !important;
}

footer, .footer-section {
  position: relative;
  overflow: hidden;
}
footer::before, .footer-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25) 30%, rgba(201,168,76,0.5) 50%, rgba(201,168,76,0.25) 70%, transparent);
}

.hero-scroll-indicator {
  opacity: 0.7;
}
.scroll-line {
  background: linear-gradient(to bottom, var(--gold), transparent) !important;
  animation: scrollPulseV 1.8s ease-in-out infinite !important;
}
@keyframes scrollPulseV {
  0% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.5); transform-origin: top; opacity: 0.4; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

.home-gallery-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.home-gallery-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.home-gallery-item:hover img {
  transform: scale(1.08) !important;
}
.home-gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}
.home-gallery-item:hover::after { opacity: 1; }

.about-img-frame {
  transition: box-shadow 0.5s ease !important;
}
.about-img-frame:hover {
  box-shadow: 0 0 60px rgba(201,168,76,0.1), 0 0 120px rgba(201,168,76,0.05) !important;
}

.hero-copy-stack p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  transition: color 0.3s;
}
.hero-copy-stack p:hover {
  color: rgba(255,255,255,0.7);
}

.section-title {
  letter-spacing: -0.01em;
}

.pillar {
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease !important;
}
.pillar:hover {
  transform: translateX(6px) !important;
  background: rgba(201,168,76,0.04) !important;
}
html[dir="rtl"] .pillar:hover {
  transform: translateX(-6px) !important;
}

.page-hero + .section,
.page-hero + section.section {
  padding-top: 70px;
}

.objectives-section {
  background: var(--bg-secondary);
  position: relative;
}

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

.objective-card {
  position: relative;
  padding: 36px 30px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.objective-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 30px rgba(201,168,76,0.06);
}

.objective-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(201,168,76,0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

html[dir="rtl"] .objective-number {
  right: auto;
  left: 24px;
}

.objective-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.objective-card:hover .objective-icon {
  background: rgba(201,168,76,0.18);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
}

.objective-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

html[dir="rtl"] .objective-title {
  font-family: var(--font-arabic);
}

.objective-text {
  font-size: 0.9rem;
  color: var(--white-60);
  line-height: 1.85;
}

.objective-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.objective-card:hover .objective-line {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .objectives-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 640px) and (max-width: 900px) {
  .objectives-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 9px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--white-60);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.gallery-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-color: transparent;
  color: #0a0805;
}

html[dir="rtl"] .gallery-filter-btn {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

.home-gallery-item {
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.home-gallery-item.gallery-hidden {
  display: none;
}

.gallery-cta {
  text-align: center;
  margin-top: 50px;
}

.gallery-cta .btn-outline i {
  transition: transform 0.3s ease;
}
.gallery-cta .btn-outline:hover i {
  transform: translateX(4px);
}

html[dir="rtl"] .gallery-cta .btn-outline:hover i {
  transform: translateX(-4px) scaleX(-1);
}

html[dir="rtl"] .section-badge::after {
  animation-direction: reverse;
}

html[dir="rtl"] .pillar:hover {
  transform: translateX(-6px) !important;
}

html[dir="rtl"] .other-svc-card:hover {
  transform: translateX(-4px) !important;
}

html[dir="rtl"] .hero-title .hero-line-1 {
  font-family: var(--font-arabic);
  font-weight: 900;
  letter-spacing: 0;
}

html[dir="rtl"] .hero-title {
  line-height: 1.2;
}

html[dir="rtl"] .section-title {
  letter-spacing: 0;
}

html[dir="rtl"] .gold-text {
  font-family: inherit;
}

html[dir="rtl"] .loader-en {
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--white-60);
}

html[dir="rtl"] .cta-inner::before {
  background:
    linear-gradient(to left, rgba(201,168,76,0.5) 50px, transparent 50px) top right / 50px 1px no-repeat,
    linear-gradient(to bottom, rgba(201,168,76,0.5) 50px, transparent 50px) top right / 1px 50px no-repeat,
    linear-gradient(to right, rgba(201,168,76,0.5) 50px, transparent 50px) bottom left / 50px 1px no-repeat,
    linear-gradient(to top, rgba(201,168,76,0.5) 50px, transparent 50px) bottom left / 1px 50px no-repeat;
}

@media (hover: none) and (pointer: coarse) {
  #cursor-outer, #cursor-dot, #mouse-glow { display: none !important; }
  * { cursor: auto !important; }
}
