.button.w-button {
  background-color: #ffbd59 !important;
  color: #000000 !important;
}

.button.w-button:hover {
  background-color: #e6aa50 !important;
}

.submit-btn {
  color: #000000 !important;
}

.login-en,
.login-ar,
#login-btn-nav {
  color: #e7e7e7 !important;
}

/* Inside the white auth modal — restore dark text */
.modal-content .login-en,
.modal-content .login-ar,
.main-section .login-en,
.main-section .login-ar {
  color: inherit !important;
}

.nav-link.w-nav-link:hover {
  color: #ffbd59 !important;
}

/* English Font */
html[lang="en"],
html[lang="en"] body {
  font-family: 'Cinzel', serif !important;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6,
html[lang="en"] p,
html[lang="en"] a,
html[lang="en"] div,
html[lang="en"] span,
html[lang="en"] label,
html[lang="en"] input,
html[lang="en"] button {
  font-family: 'Cinzel', serif;
}

/* Arabic Font */
html[lang="ar"],
html[lang="ar"] body {
  font-family: 'Cairo', sans-serif !important;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] div,
html[lang="ar"] span,
html[lang="ar"] label,
html[lang="ar"] input,
html[lang="ar"] button {
  font-family: 'Cairo', sans-serif;
}

/* Protect webflow icons from being overridden if in spans/divs */
[class^="w-icon-"],
[class*=" w-icon-"] {
  font-family: webflow-icons !important;
}

/* Hide Webflow badge */
.w-webflow-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---- Language Dropdown ---- */
.lang-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 5px 10px 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.lang-dropdown-btn:hover {
  background: rgba(255, 189, 89, 0.15);
  border-color: rgba(255, 189, 89, 0.5);
  color: #ffbd59;
}

.lang-flag {
  display: inline-block;
  line-height: 1;
  flex-shrink: 0;
}

.lang-flag img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.lang-dropdown-btn .lang-flag img {
  width: 20px;
  height: 14px;
}

.lang-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-arrow {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.25s ease;
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 99100;
  animation: langDropIn 0.18s ease;
}

html[lang="ar"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

.lang-dropdown-menu.open {
  display: block;
}

@keyframes langDropIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  color: #ccc;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}

html[lang="ar"] .lang-option {
  text-align: right;
  flex-direction: row-reverse;
}

.lang-option:hover {
  background: rgba(255, 189, 89, 0.1);
  color: #ffbd59;
}

.lang-option.active {
  background: rgba(255, 189, 89, 0.14);
  color: #ffbd59;
}

.lang-option:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Mobile variant - full width inside sidebar */
.lang-dropdown-mobile {
  display: block;
  width: 100%;
}

.lang-dropdown-btn-mobile {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ccc;
}

.lang-dropdown-btn-mobile .lang-arrow {
  margin-left: auto;
}

html[lang="ar"] .lang-dropdown-btn-mobile .lang-arrow {
  margin-left: 0;
  margin-right: auto;
}

.lang-dropdown-menu-mobile {
  position: static;
  margin-top: 6px;
  box-shadow: none;
  border-radius: 8px;
  animation: none;
}

/* ============================================
       Responsive Hero Banner Text Sizes
       (Fixes oversized English heading on mobile)
       ============================================ */

/* Tablet (≤ 768px) */
@media screen and (max-width: 768px) {
  .hero-heading {
    font-size: 38px !important;
    line-height: 44px !important;
    letter-spacing: 1px !important;
  }

  .hero-subheading {
    font-size: 15px !important;
    line-height: 24px !important;
  }
}

/* Mobile (≤ 600px) */
@media screen and (max-width: 600px) {
  .hero-heading {
    font-size: 30px !important;
    line-height: 38px !important;
    letter-spacing: 0.5px !important;
  }

  .hero-subheading {
    font-size: 14px !important;
    line-height: 22px !important;
  }
}

/* Small Mobile (≤ 480px) — Cinzel font is wide, needs aggressive trim */
@media screen and (max-width: 480px) {
  .hero-heading {
    font-size: 25px !important;
    line-height: 34px !important;
    letter-spacing: 0px !important;
  }

  .hero-subheading {
    font-size: 13px !important;
    line-height: 21px !important;
    margin-bottom: 22px !important;
  }
}

/* Extra Small (≤ 360px) */
@media screen and (max-width: 360px) {
  .hero-heading {
    font-size: 21px !important;
    line-height: 30px !important;
  }

  .hero-subheading {
    font-size: 12px !important;
    line-height: 19px !important;
  }
}

/* ============================================
       Simple Footer
       ============================================ */

#site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 189, 89, 0.15);
  padding: 28px 20px 22px;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-logo-link img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-logo-link:hover img {
  opacity: 1;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: #ffbd59;
}

.footer-nav-link:not(:last-child)::after {
  content: '·';
  margin-left: 6px;
  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

html[lang="ar"] .footer-nav-link:not(:last-child)::after {
  margin-left: 0;
  margin-right: 6px;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: inherit;
  line-height: 1.5;
}

@media (max-width: 480px) {
  #site-footer {
    padding: 22px 16px 18px;
  }

  .footer-nav-link {
    font-size: 0.78rem;
    padding: 3px 7px;
  }

  .footer-copy {
    font-size: 0.7rem;
  }
}