/*
Theme Name: FIDATECH 2026
Theme URI: https://agexhibitions.com
Author: Arabian Group for Exhibitions
Author URI: https://arabiangroup.com
Description: Official website for the Syria International Food Industries Exhibition - FIDATECH 2026
Version: 1.9.4
License: All Rights Reserved
Text Domain: fidatech
*/

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* smooth scroll handled via JS on click only — avoids visible scroll on page load redirects */

body {
  font-family: "Poppins", sans-serif;
  background-color: #242120;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  z-index: 9999;
  font-size: 0.9rem;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}
.lang-ar .skip-link {
  left: auto;
  right: 0;
}

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #4caf50;
  --accent: #43a047;
  --accent-dark: #2e7d32;
  --accent-light: #66bb6a;
  --dark-bg: #242120;
  --darker-bg: #1b1917;
  --card-bg: #2a2725;
  --text-primary: #ffffff;
  --text-secondary: #c0b8ad;
  --nav-height: 80px;
}

/* ===== GLOBAL PAGE LOADER ===== */
body.site-is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(102, 187, 106, 0.2), transparent 34%),
    linear-gradient(145deg, #242120 0%, #1b1917 55%, #173b1a 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(320px, 75vw);
  text-align: center;
}

.site-loader-logo {
  width: min(210px, 58vw);
  height: auto;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.24));
  animation: loader-logo-pulse 1.6s ease-in-out infinite;
}

.site-loader-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent-light);
  border-right-color: var(--accent-light);
  border-radius: 50%;
  animation: loader-spin 0.8s linear infinite;
}

.site-loader-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lang-ar .site-loader-text {
  font-family: "Almarai", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-logo-pulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader-logo {
    transition: none;
    animation: none;
  }

  .site-loader-spinner {
    animation-duration: 1.6s;
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 40px;
  background: rgba(30, 27, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(30, 27, 25, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-light);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav-book-btn:hover,
.nav-book-btn.active {
  border-color: var(--accent-light);
  background: var(--primary-dark);
  color: #fff;
}

.nav-links .nav-book-btn::after {
  display: none;
}

.nav-book-mobile {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-actions .lang-dropdown {
  margin-left: 0;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.nav-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-contact a:hover {
  color: var(--accent-light);
}

.nav-contact i {
  font-size: 0.9rem;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  padding: 0;
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  box-shadow: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible,
.mobile-toggle[aria-expanded="true"] {
  background: rgba(67, 160, 71, 0.12);
  border-color: var(--accent-light);
  outline: none;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}

.mobile-toggle:hover span,
.mobile-toggle[aria-expanded="true"] span {
  background: var(--accent-light);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.35);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 27, 25, 0.55) 0%,
    rgba(27, 25, 23, 0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-date {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-title .text-accent {
  color: var(--accent);
}

.text-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-style: italic;
}

/* ===== INNER PAGE HERO ===== */
.inner-hero {
  --inner-hero-image: url("assets/hero-bg.png");
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 80px) 40px 72px;
  overflow: hidden;
  background-image: var(--inner-hero-image);
  background-position: center 42%;
  background-repeat: no-repeat;
  background-size: cover;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 21, 0.92), rgba(22, 29, 23, 0.65)),
    linear-gradient(0deg, rgba(19, 21, 19, 0.78), rgba(19, 21, 19, 0.12));
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.breadcrumbs a {
  transition: color 0.25s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-light);
}

.inner-hero h1 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}

.inner-content-section {
  min-height: 420px;
}

.inner-page .contact-section {
  background: var(--darker-bg);
}

.inner-page .contact-item a:hover {
  color: var(--accent-light);
}

.generic-page-content .entry-content {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.generic-page-content .entry-content > * + * {
  margin-top: 1.25em;
}

.generic-page-content .entry-content h2,
.generic-page-content .entry-content h3 {
  color: var(--text-primary);
  line-height: 1.3;
}

.contact-form select option {
  color: #fff;
  background: var(--darker-bg);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 40px 0;
  direction: ltr;
  unicode-bidi: isolate;
}

.countdown-item {
  text-align: center;
}

.countdown-value {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-light);
  font-variant-numeric: tabular-nums;
  min-width: 100px;
  display: block;
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  padding: 14px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: 50px;
  background: rgba(232, 145, 45, 0.12);
}

.hero-notice i {
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 160, 71, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* ===== ABOUT SECTION ===== */
.section {
  padding: 100px 40px;
}

.section-dark {
  background: var(--darker-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.about-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.8;
}

/* ===== WHY PARTICIPATE ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== STATS ===== */
.stats-section {
  position: relative;
  padding: 80px 40px;
  overflow: hidden;
}

.stats-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.2);
  z-index: 0;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 94, 32, 0.65),
    rgba(36, 33, 32, 0.82)
  );
  z-index: 1;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== SECTORS ===== */
.sectors-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.sector-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s;
}

.sector-card:hover {
  border-color: var(--accent);
  background: rgba(67, 160, 71, 0.06);
  transform: translateX(5px);
}

.sector-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(46, 125, 50, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: #ffffff;
}

.sector-card h3 {
  font-size: 1rem;
  font-weight: 500;
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 30px 0;
  overflow: hidden;
  background: linear-gradient(90deg, var(--primary-dark), #2a4a1e);
  direction: ltr;
}

.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  padding: 0 12px;
  opacity: 0.8;
}

.lang-ar .marquee-track span {
  letter-spacing: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 100px 40px;
  background: var(--darker-bg);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-secondary);
}

.contact-item i {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(67, 160, 71, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 25px rgba(67, 160, 71, 0.3);
}

/* Form messages */
.form-message {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-message i {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-message p {
  margin-top: 4px;
  opacity: 0.9;
}

.form-success {
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(46, 125, 50, 0.35);
  color: #a5d6a7;
}

.form-success i {
  color: var(--primary-light);
}

.form-error {
  background: rgba(244, 67, 54, 0.12);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #ef9a9a;
}

.form-error i {
  color: #ef5350;
}

/* Custom Select Dropdown */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.3s;
}

.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--primary);
}

.custom-select-trigger i {
  font-size: 0.6rem;
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.custom-select.open .custom-select-trigger i {
  transform: rotate(180deg);
}

.custom-select-text.placeholder {
  color: var(--text-secondary);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--darker-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 10px 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.custom-select-option:hover {
  background: rgba(67, 160, 71, 0.12);
  color: var(--accent-light);
}

.custom-select-option.selected {
  color: var(--primary);
  font-weight: 600;
}

/* Scrollbar for options */
.custom-select-options::-webkit-scrollbar {
  width: 4px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: transparent;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

/* ===== ORGANISERS ===== */
.organisers-section {
  padding: 60px 40px;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.organisers-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.organisers-inner h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: center;
}

.organisers-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.organiser-logo {
  display: inline-block;
  transition: opacity 0.3s;
}

.organiser-logo:hover {
  opacity: 0.8;
}

.organiser-logo img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1816;
  padding: 60px 40px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand img {
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto 15px 0;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-location i {
  margin-right: 6px;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s;
}

.social-links a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom a {
  color: var(--accent-light);
}

/* Hide mobile lang dropdown on desktop, desktop one on mobile */
.lang-dropdown-mobile {
  display: none;
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
  position: relative;
  margin-left: 15px;
  flex-shrink: 0;
}

.lang-current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 68px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
  padding: 0 13px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
  appearance: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.lang-current:hover,
.lang-current:focus-visible,
.lang-dropdown.open .lang-current {
  background: rgba(67, 160, 71, 0.1);
  border-color: var(--accent-light);
  color: var(--accent-light);
  outline: none;
}

.lang-current i {
  font-size: 0.55rem;
  transition: transform 0.3s;
}

.lang-dropdown.open .lang-current i {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  min-width: 105px;
  padding: 6px;
  background: rgba(27, 25, 23, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  border-radius: 6px;
}

.lang-option[data-lang="ar"] {
  font-family: "Almarai", sans-serif;
}

.lang-ar .custom-select-trigger,
.lang-ar .custom-select-option {
  text-align: right;
  direction: rtl;
}

.lang-option:hover {
  background: rgba(67, 160, 71, 0.12);
  color: var(--accent-light);
}

.lang-option.active {
  background: rgba(67, 160, 71, 0.12);
  color: var(--accent-light);
  font-weight: 600;
}

/* ===== LANGUAGE VISIBILITY ===== */
.lang-en .lang-ar {
  display: none !important;
}
.lang-ar .lang-en {
  display: none !important;
}

/* ===== ENGLISH FONT WEIGHT — lighter Poppins for elegance ===== */
.lang-en .hero-title,
.lang-en .section-title {
  font-weight: 300;
}

.lang-en .countdown-value,
.lang-en .stat-value,
.lang-en .marquee-track span {
  font-weight: 500;
}

.lang-en .hero-cta,
.lang-en .benefit-card h3,
.lang-en .form-submit,
.lang-en .custom-select-option.selected,
.lang-en .section-label,
.lang-en .footer-col h4,
.lang-en [data-lang-trigger],
.lang-en .lang-option.active {
  font-weight: 500;
}

.lang-en .nav-links a,
.lang-en .sector-card h3,
.lang-en .lang-option {
  font-weight: 400;
}

/* ===== RTL / ARABIC MODE ===== */
.lang-ar {
  direction: rtl;
  font-family: "Almarai", sans-serif;
  letter-spacing: 0 !important;
}

.lang-ar .section-label,
.lang-ar .countdown-label,
.lang-ar .nav-links a,
.lang-ar .organisers-inner h4,
.lang-ar .footer-col h4,
.lang-ar .stat-label {
  letter-spacing: 0.5px;
}

/* Navbar RTL — keep layout stable, only text changes */
.lang-ar .nav-links a {
  direction: rtl;
}

/* Hero RTL */
.lang-ar .hero-date {
  direction: rtl;
}

.lang-ar .inner-hero-content,
.lang-ar .breadcrumbs {
  direction: rtl;
  text-align: right;
}

.lang-ar .breadcrumbs {
  letter-spacing: 0;
}

/* About section RTL */
.lang-ar .about-text {
  text-align: right;
}

.lang-ar .about-grid {
  direction: rtl;
}

/* Section headers RTL */
.lang-ar .section-header {
  direction: rtl;
}

/* Sector cards RTL */
.lang-ar .sector-card {
  direction: rtl;
}

.lang-ar .sector-card h3 {
  text-align: right;
}

.lang-ar .sector-card:hover {
  transform: translateX(-5px);
}

/* Contact section RTL */
.lang-ar .contact-container {
  direction: rtl;
}

.lang-ar .contact-info {
  text-align: right;
}

.lang-ar .contact-item {
  direction: rtl;
}

.lang-ar .contact-item div {
  text-align: right;
}

.lang-ar .contact-form {
  direction: rtl;
}

.lang-ar .form-group label {
  text-align: right;
}

.lang-ar .form-group input,
.lang-ar .form-group select,
.lang-ar .form-group textarea {
  text-align: right;
  direction: rtl;
}

.lang-ar .form-group input[type="tel"],
.lang-ar .form-group input[type="email"] {
  direction: ltr;
  text-align: left;
}

/* Footer RTL */
.lang-ar .footer-grid {
  direction: rtl;
}

.lang-ar .footer-brand {
  text-align: right;
}

.lang-ar .footer-brand img {
  margin-right: 0;
  margin-left: auto;
}

.lang-ar .footer-col {
  text-align: right;
}

.lang-ar .footer-col a i {
  margin-left: 6px;
  margin-right: 0;
}

.lang-ar .footer-location i {
  margin-left: 6px;
  margin-right: 0;
}

/* Stats RTL */
.lang-ar .stat-label {
  font-family: "Almarai", sans-serif;
}

/* Buttons RTL */
.lang-ar .btn-submit,
.lang-ar .btn {
  font-family: "Almarai", sans-serif;
}

/* ===== RESPONSIVE ===== */

/* Keep the desktop navbar on one line; use the menu on narrower screens. */
@media (max-width: 1400px) {
  .navbar {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(27, 25, 23, 0.985);
    padding: 22px 20px 26px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.34);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-contact {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .lang-dropdown-desktop {
    display: none;
  }
  .lang-dropdown-mobile {
    display: block;
    margin: 5px 0;
  }
  .nav-book-desktop {
    display: none;
  }
  .nav-links .nav-book-mobile {
    display: inline-flex;
    margin-top: 8px;
    padding: 12px 20px;
  }
  .nav-links > a:not(.nav-book-btn) {
    width: 100%;
    max-width: 360px;
    padding: 10px 12px;
    border-radius: 7px;
    text-align: center;
  }
  .nav-links > a:not(.nav-book-btn):hover,
  .nav-links > a:not(.nav-book-btn).active {
    background: rgba(67, 160, 71, 0.08);
  }
  .lang-ar .nav-links.open {
    text-align: right;
    align-items: flex-end;
  }

  .nav-links .nav-book-btn {
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-section {
    padding: 80px 20px;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .inner-hero {
    min-height: 320px;
    padding: calc(var(--nav-height) + 55px) 20px 50px;
  }
  .inner-hero h1 {
    font-size: 2rem;
  }
  .countdown {
    gap: 15px;
  }
  .countdown-value {
    font-size: 2.5rem;
    min-width: 60px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 60px 20px;
  }
  .contact-section {
    padding: 60px 20px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .organisers-section {
    padding: 40px 20px;
  }
  .organisers-logos {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .countdown-value {
    font-size: 2rem;
  }
  .countdown-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
  .stat-value {
    font-size: 2.5rem;
  }
}
