 .zenithXmain-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  padding: 0.8rem 2rem;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(20, 0, 0, 0.6));
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: 0 4px 30px rgba(255, 0, 0, 0.15); 
  transition: all var(--time-medium);
}

.zenithXmain-header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  padding: 0.5rem 2rem;
  box-shadow: 0 4px 30px rgba(255, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 0, 0, 0.4);
}

.zenithXmain-header::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.1), transparent 70%);
  border-radius: 50%;
  filter: blur(25px);
  animation: header-orb 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-logo {
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1rem;
  color: var(--zenith-bone);
  text-decoration: none;
  transition: all var(--time-medium);
  position: relative;
  letter-spacing: 1px;
}

.header-logo:hover { 
  color: var(--zenith-blood);
  text-shadow: 0 0 15px var(--zenith-embers);
}

.header-logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--zenith-blood);
  transition: width var(--time-medium);
}

.header-logo:hover::after {
  width: 100%;
}

 .nav-dimensions {
  display: flex;
  gap: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--time-medium);
  color: var(--zenith-bone);
  opacity: 0.9;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--zenith-bone);
  transition: width var(--time-medium);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--zenith-blood);
  transition: width var(--time-medium) 0.1s;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
  right: auto;
  left: 0;
}

.nav-link:hover::after,
.nav-link.active::after { 
  width: 100%;
}

.nav-link:hover,
.nav-link.active { 
  color: var(--zenith-blood);
  opacity: 1;
  transform: translateY(-2px);
}

 .nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-selector-container {
  position: relative;
  transition: all var(--time-medium); 
}

.language-selector-container:hover {
  transform: translateY(-2px);
}

.language-selector {
  appearance: none;
  background: var(--zenith-void);
  border: 1px solid var(--zenith-mist);
  color: var(--zenith-bone);
  padding: 0.5rem 1.8rem 0.5rem 2rem;  
  font-family: var(--font-arabic);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--time-medium);
  border-radius: 4px;
  min-width: 100px;
  width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.8rem; 
}

.language-selector option {
  background: var(--zenith-void);
  color: var(--zenith-bone);
}

.language-selector:hover {
  border-color: var(--zenith-blood);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.language-selector:focus {
  outline: none;
  border-color: var(--zenith-embers);
}

 .language-icon {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.85rem;
  color: var(--zenith-bone);
  opacity: 0.7;
  transition: transform var(--time-medium);
}


 html[dir="ltr"] .language-icon {
  transform: translateY(-50%) rotate(180deg);
}
html[dir="rtl"] .language-icon {
  transform: translateY(-50%) rotate(0deg);
}


 .zenith-footer {
  position: relative;
  padding: 3rem 1rem 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(10, 0, 0, 0.8));
  border-top: 1px solid rgba(255, 0, 0, 0.2);
  z-index: 10;
  overflow: hidden;
  text-align: start;
  direction: ltr;
}

html[dir="rtl"] .zenith-footer {
  direction: rtl;
  text-align: start;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-column {
  padding: 1rem;
  position: relative;
}

.footer-column::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--zenith-blood), transparent);
  opacity: 0.2;
}

.footer-column:first-child::before {
  display: none;
}

.footer-title {
  font-size: 1.3rem;
  color: var(--zenith-bone);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 32px;
  height: 2px;
  background: var(--zenith-blood);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--zenith-bone);
  opacity: 0.7;
  font-size: 0.92rem;
  transition: all var(--time-fast);
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--zenith-embers);
  transform: translateX(-5px);
}

html[dir="ltr"] .footer-links a:hover {
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--time-fast);
  color: var(--zenith-bone);
}

.social-link:hover {
  background: var(--zenith-blood);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
  color: white;
}

.social-link i {
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--zenith-blood), transparent);
}

.copyright {
  font-size: 0.85rem;
  color: var(--zenith-bone);
  opacity: 0.6;
  letter-spacing: 0.5px;
  font-family: var(--font-arabic);
  line-height: 1.6;
}


 @media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-column {
    text-align: center;
    padding: 0.5rem;
  }
  
  .footer-column::before {
    display: none;
  }
  
  .footer-title::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .footer-social {
    justify-content: center;
  }
}

 .scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1001;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--zenith-aqua), var(--zenith-blood));
  transition: width 0.1s;
  box-shadow: 0 0 20px var(--zenith-embers);
}

 @keyframes footer-glow {
  0% {
    opacity: 0.5;
    box-shadow: 0 0 20px var(--zenith-blood);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 50px var(--zenith-embers);
  }
} 

 .menu-toggle {
  display: none;
}

