/* Top Bar */
.top-bar {
  background-color: var(--dark-bg);
  padding: 8px 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-toast {
    position: fixed;
    z-index: 99999;
    bottom: 18px;
    right: 18px;
    max-width: min(420px, calc(100vw - 36px));
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
}

html[dir="ltr"] .app-toast {
    right: auto;
    left: 18px;
}

.app-toast.active {
    opacity: 1;
    transform: translateY(0);
}

.app-toast__inner {
    background: rgba(42, 53, 57, 0.92);
    border: 1px solid rgba(202, 156, 94, 0.35);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    padding: 14px 14px;
    color: #fff;
    backdrop-filter: blur(10px);
}

.app-toast__title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 4px;
    color: #ca9c5e;
}

.app-toast__message {
    font-size: 13px;
}

/* Fix select dropdown options visibility for client and lawyer dashboards */
.form-control option,
select option {
    background: rgba(42, 53, 57, 0.95) !important;
    color: var(--color-text-white) !important;
    padding: 8px 12px !important;
}

.form-control option:hover,
.form-control option:focus,
select option:hover,
select option:focus {
    background: rgba(202, 156, 94, 0.2) !important;
    color: var(--color-text-white) !important;
}

.app-toast__message {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Error Pages - Clean Professional Design */
.error-page {
    min-height: 100vh;
    background: var(--dark-bg);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.error-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(202,156,94,0.03)"/></svg>');
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
}

.error-shell {
    width: 100%;
    max-width: 580px;
    position: relative;
    z-index: 1;
}

.error-card {
    background: var(--card-bg);
    border: 1px solid rgba(202, 156, 94, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.error-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.error-brand::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(202, 156, 94, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.error-icon {
    width: 90px;
    height: 90px;
    color: var(--primary-gold);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(202, 156, 94, 0.3));
}

.error-head {
    margin-bottom: 35px;
}

.error-code {
    font-size: 72px;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 16px;
    letter-spacing: -3px;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(202, 156, 94, 0.2);
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
    line-height: 1.3;
}

.error-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 420px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.error-btn {
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.error-btn svg {
    flex-shrink: 0;
}

.error-btn-primary {
    background: var(--primary-gold);
    color: var(--text-white);
}

.error-btn-primary:hover {
    background: var(--primary-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(202, 156, 94, 0.3);
}

.error-btn-primary:active {
    transform: translateY(-1px);
}

.error-btn-secondary {
    background: rgba(51, 51, 51, 0.5);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.error-btn-secondary:hover {
    background: rgba(51, 51, 51, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.error-btn-secondary:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .error-page {
        padding: 30px 16px;
    }

    .error-card {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .error-icon {
        width: 70px;
        height: 70px;
    }

    .error-code {
        font-size: 56px;
    }

    .error-title {
        font-size: 26px;
    }

    .error-subtitle {
        font-size: 15px;
    }

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

    .error-btn {
        width: 100%;
        padding: 14px 32px;
    }
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.lang-dropdown {
  position: relative;
  z-index: 2000;
}

.lang-dropdown[open] {
  z-index: 2500;
}

.lang-dropdown summary {
  list-style: none;
}

.lang-dropdown summary::-webkit-details-marker {
  display: none;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(42, 53, 57, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  z-index: 3000;
  pointer-events: auto;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-gold);
}

.contact-link:hover {
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.contact-link img {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.contact-link:hover img {
  filter: brightness(1.2);
}

/* Hero Header - Logo RIGHT, Actions LEFT */
.hero-header {
  position: relative;
  z-index: 60;
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  width: auto;
  height: 75px;
  max-width: 180px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Bottom Navbar - Glass effect, centered, overlapping hero and next section */
.hero-navbar {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 18px 60px;
  background: rgba(42, 53, 57, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: auto;
}

/* Profile Dropdown Styles */
.profile-dropdown {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--primary-gold-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-white);
  font-weight: 600;
  font-size: 14px;
}

.profile-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-gold);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar__initial {
  color: var(--text-white);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

.profile-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-arrow {
  color: var(--primary-gold);
  transition: transform 0.2s ease;
}

.profile-dropdown[open] .profile-arrow {
  transform: rotate(180deg);
}

.profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  background: var(--card-bg);
  border: 1px solid var(--primary-gold-border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 50;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.profile-dropdown[open] .profile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.profile-header__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-header__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header__info {
  flex: 1;
  min-width: 0;
}

.profile-header__name {
  color: var(--text-white);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-header__email {
  color: var(--text-gray);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-divider {
  height: 1px;
  background: var(--primary-gold-border);
  margin: 12px 8px;
  border-radius: 1px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--text-white);
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: start;
}

.profile-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-gold);
}

.profile-menu-item--danger:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.profile-menu-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: currentColor;
}

.profile-logout-form {
  margin: 0;
  padding: 0;
}

/* RTL Support */
html[dir="rtl"] .profile-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .profile-arrow {
  transform: rotate(180deg);
}

html[dir="rtl"] .profile-dropdown[open] .profile-arrow {
  transform: rotate(0deg);
}

/* Glass Navbar (Reusable - like About Us) */
.glass-navbar {
  max-width: 1440px;
  margin: 32px auto 0;
  padding: 0 60px;
  position: relative;
  z-index: 20;
}

.glass-navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 128px;
  padding: 20px 60px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 30, 35, 0.12);
  backdrop-filter: blur(17.5px);
  -webkit-backdrop-filter: blur(17.5px);
}

@media (max-width: 1024px) {
  .glass-navbar {
    padding: 0 40px;
  }

  .glass-navbar__container {
    padding: 18px 40px;
  }
}

@media (max-width: 768px) {
  .glass-navbar {
    padding: 0 20px;
    margin: 20px auto 0;
  }

  .glass-navbar__container {
    padding: 14px 20px;
    height: auto;
  }
}

.glass-navbar__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1 1 auto;
}

.glass-navbar__logo img {
  width: auto;
  height: 56px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.glass-navbar__links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.glass-navbar__links--desktop {
  flex: 1 1 auto;
  justify-content: center;
}

.glass-navbar__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 10px;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
}

.glass-navbar__menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
}

.glass-navbar__menu-btn span + span {
  margin-top: 6px;
}

.glass-navbar__link {
  position: relative;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  padding: 8px 0;
  transition: color 0.25s ease;
}

.glass-navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gold);
  transition: width 0.25s ease;
}

.glass-navbar__link:hover,
.glass-navbar__link.active {
  color: var(--primary-gold);
}

.glass-navbar__link:hover::after,
.glass-navbar__link.active::after {
  width: 100%;
}

.glass-navbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.glass-navbar__actions--desktop {
  display: flex;
  gap: 18px;
}

.glass-navbar__cta {
  border: none;
  cursor: pointer;
  background: var(--primary-gold);
  color: var(--text-white);
  font-weight: 800;
  font-size: 22px;
  padding: 16px 44px;
  border-radius: 16px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.glass-navbar__cta:hover {
  background: var(--primary-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.glass-navbar__lang {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.glass-navbar__lang:hover {
  transform: scale(1.05);
  color: var(--primary-gold);
}

.glass-navbar__lang img {
  width: 28px;
  height: 28px;
}

.mobile-nav-footer .glass-navbar__cta {
  width: max-content;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 10px;
}

.mobile-nav-footer .glass-navbar__lang {
  width: 100%;
  justify-content: center;
}

.hero-navbar .nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.nav-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 10px;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
}

.nav-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
}

.nav-menu-btn span + span {
  margin-top: 6px;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-actions .nav-cta {
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 10px;
  white-space: nowrap;
}

.hero-navbar.is-fixed {
  position: fixed;
  top: 20px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(42, 53, 57, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.lang-toggle,
.lang-toggle-mobile {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 10px;
  transition: var(--transition);
}

.lang-toggle:hover,
.lang-toggle-mobile:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-1px);
}

.lang-toggle img,
.lang-toggle-mobile img {
  width: 20px;
  height: 20px;
}

.lang-toggle-mobile span,
.lang-toggle span {
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border: 0;
  padding: 0;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: rgba(12, 30, 35, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav-logo {
  width: auto;
  height: 44px;
  max-width: 160px;
}

 .footer-logo {
  width: auto;
  height: 68px;
  max-width: 220px;
  object-fit: contain;
  display: block;
 }

.mobile-nav-close {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav-links {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-profile {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.mobile-profile__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-profile__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-profile__initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #ffffff;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, rgba(202, 156, 94, 0.95), rgba(202, 156, 94, 0.55));
  letter-spacing: 0.5px;
}

.mobile-profile__info {
  min-width: 0;
  flex: 1;
}

.mobile-profile__name {
  font-weight: 900;
  font-size: 15px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-profile__email {
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.mobile-profile__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mobile-profile-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.mobile-profile-action:hover {
  background: rgba(202, 156, 94, 0.18);
  border-color: rgba(202, 156, 94, 0.32);
}

.mobile-profile-action--danger {
  background: rgba(255, 68, 68, 0.12);
  border-color: rgba(255, 68, 68, 0.28);
}

.mobile-profile-action--danger:hover {
  background: rgba(255, 68, 68, 0.18);
  border-color: rgba(255, 68, 68, 0.4);
}

.mobile-profile-logout {
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.mobile-nav-link:hover {
  background: rgba(202, 156, 94, 0.18);
  color: #ffffff;
}

.mobile-nav-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-nav-footer .lang-dropdown {
  position: relative;
}

.mobile-nav-footer .lang-menu {
  top: auto;
  bottom: calc(100% + 10px);
}

@media (max-width: 380px) {
  .mobile-nav-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-nav-footer .lang-dropdown,
  .mobile-nav-footer .nav-cta,
  .mobile-nav-footer .glass-navbar__cta {
    width: 100%;
  }
}

.mobile-nav-footer .nav-cta {
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 10px;
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: var(--transition);
}

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

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

/* Footer */
.footer {
  position: relative;
  min-height: 400px;
  background: #0c1e23;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-contact,
.footer-column {
  text-align: right;
}

.footer-contact h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: right;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-item span {
  direction: ltr;
  unicode-bidi: plaintext;
}

.contact-item:hover {
  transform: translateX(5px);
  color: var(--primary-gold);
}

.contact-item img {
  width: 24px;
  height: 24px;
}

.contact-item span {
  font-size: 16px;
  font-weight: 500;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  justify-content: start;
}

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

.footer-column h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-gold);
  transform: translateX(5px);
}

.footer-app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.footer-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.footer-social {
  text-align: center;
  margin-bottom: 24px;
}

.footer-social--in-contact {
  text-align: right;
  margin-top: 18px;
  margin-bottom: 0;
}

.footer-social--in-contact .social-links {
  justify-content: flex-start;
}

.footer-social span {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-links a {
  transition: var(--transition);
}

.social-links a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #454545;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Chat Button */
.chat-button {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 70px;
  height: 70px;
  background: var(--primary-gold);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(202, 156, 94, 0.4);
  transition: var(--transition);
  animation: pulse-chat 2s ease-in-out infinite;
}

@keyframes pulse-chat {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(202, 156, 94, 0.4);
  }
  50% {
    box-shadow: 0 10px 40px rgba(202, 156, 94, 0.6);
  }
}

.chat-button:hover {
  transform: scale(1.1);
  background: var(--primary-gold-hover);
}

.chat-button img {
  width: 36px;
  height: 36px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-navbar {
    max-width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .glass-navbar {
    padding: 0 24px;
  }

  .glass-navbar__container {
    height: auto;
    padding: 16px 24px;
  }

  .glass-navbar__link {
    font-size: 18px;
  }

  .hero-navbar .nav-content {
    gap: 18px;
    flex-wrap: wrap;
  }

  .chat-button {
    width: 56px;
    height: 56px;
    bottom: 24px;
    left: 16px;
  }

  .chat-button img {
    width: 28px;
    height: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .btn {
    padding: 14px 32px;
    font-size: 16px;
  }

  .hero-navbar {
    padding: 14px 16px;
    max-width: calc(100% - 40px);
    width: calc(100% - 40px);
  }

  .glass-navbar {
    padding: 0 16px;
    margin-top: 20px;
  }

  .glass-navbar__container {
    height: auto;
    padding: 12px 14px;
    justify-content: space-between;
  }

  .glass-navbar__logo img {
    width: auto;
    height: 44px;
    max-width: 160px;
    object-fit: contain;
  }

  .glass-navbar__menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .glass-navbar__actions--desktop {
    display: none;
  }

  .glass-navbar__links--desktop {
    display: none;
  }

  .glass-navbar__menu {
    display: none;
  }

  .hero-navbar.is-fixed {
    top: 14px;
  }

  .hero-navbar .nav-content {
    justify-content: space-between;
    gap: 12px;
  }

  .hero-navbar .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions {
    display: flex;
  }

  .nav-actions .profile-dropdown {
    display: none;
  }

  .header-actions .profile-dropdown {
    display: none;
  }

  .nav-actions .lang-toggle-mobile {
    padding: 6px 8px;
  }

  .nav-actions .nav-cta {
    padding: 12px 14px;
    font-size: 14px;
  }

  .header-content {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .header-logo img {
    width: 88px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 10px;
  }

  .lang-toggle,
  .lang-toggle-mobile {
    font-size: 13px;
    padding: 6px 8px;
  }

  .hero-navbar {
    bottom: -24px;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .hero-navbar.is-fixed {
    top: 12px;
  }

  .hero-navbar .nav-content {
    gap: 14px;
  }

  .glass-navbar {
    padding: 0 12px;
    margin-top: 16px;
  }

  .glass-navbar__link {
    font-size: 16px;
  }

  .glass-navbar__actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .glass-navbar__cta {
    width: 100%;
    padding: 14px 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .footer-logo {
    height: 56px;
    max-width: 200px;
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading {
  animation: shimmer 2s infinite;
  background: linear-gradient(to right, var(--dark-bg) 4%, var(--card-bg) 25%, var(--dark-bg) 36%);
  background-size: 1000px 100%;
}
