#global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

#global-header:empty {
  min-height: 92px;
}

#global-header .navbar {
  position: relative;
  background-color: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.4s ease,
    opacity 0.35s ease, -webkit-backdrop-filter 0.35s ease, backdrop-filter 0.35s ease;
  will-change: background-color, box-shadow, backdrop-filter, transform, opacity;
  transform: translateY(-12px);
  opacity: 0;
}

#global-header .navbar_links {
  direction: rtl;
  flex-direction: row;
  justify-content: flex-start;
  text-align: right;
}

#global-header .navbar_link {
  text-align: right;
}

#global-header .navbar_logo-wrap {
  margin-left: 0;
}

#global-header .navbar_dropdown-content {
  right: 0;
  left: auto;
}

#global-header .navbar.is-animated,
#global-header .navbar.is-sticky {
  opacity: 1;
  transform: translateY(0);
}

#global-header .navbar.is-sticky {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
}

#global-header .navbar .navbar_logo {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center right;
}

#global-header .navbar.is-sticky .navbar_logo {
  transform: scale(0.92);
}

#global-header .navbar a.button {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#global-header .navbar.is-sticky a.button {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Footer Enhancements */
.footer_links-groups,
.footer_social-links {
  flex-direction: row-reverse;
}

.footer_content {
  padding: 2rem !important;
}

.footer_main-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.footer_section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.95);
  text-align: right;
  line-height: 1.4;
}

.footer_about-section,
.footer_contact-section,
.footer_social-section,
.footer_verification-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer_about-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: right;
  width: 100%;
}

.footer_about-text p {
  margin: 0;
  text-align: justify;
  text-align-last: right;
}

.footer_contact-item {
  margin-bottom: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: right;
  width: 100%;
}

.footer_contact-item:last-child {
  margin-bottom: 0;
}

.footer_contact-item strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  min-width: 100px;
  flex-shrink: 0;
  text-align: right;
}

.footer_contact-item span {
  flex: 1;
  word-break: break-word;
  text-align: right;
}

.footer_social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.footer_social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer_social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer_social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer_links-section {
  padding-top: 1rem;
  margin-top: 1.25rem;
  width: 100%;
}

.footer_links-section .footer_nav-link {
  color: #fff;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer_links-section .footer_nav-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer_verification-badge {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 0;
}

.footer_verification-badge img {
  width: 140px !important;
  height: auto !important;
  max-width: none !important;
  border-radius: 8px;
  transition: transform 0.3s ease;
  display: block;
}

.footer_verification-badge a:hover img {
  transform: scale(1.05);
}

.footer_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
  margin-top: 0;
  flex-wrap: wrap;
  gap: 0;
  text-align: center;
}

.footer_copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 991px) {
  .footer_content {
    padding: 1.5rem !important;
  }

  .footer_main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer_about-section {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 767px) {
  .footer_content {
    padding: 1.25rem !important;
  }

  .footer_main-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer_contact-item {
    flex-direction: row;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }

  .footer_contact-item strong {
    min-width: 80px;
  }

  .footer_social-links,
  .footer_verification-badge {
    justify-content: flex-start;
  }

  .footer_bottom {
    flex-direction: column;
    padding-top: 1.25rem;
  }
}
