:root {
  --bg: #081019;
  --bg-soft: #0f1d2c;
  --surface: rgba(14, 25, 38, 0.86);
  --surface-2: #14273c;
  --line: #27415a;
  --text: #eaf2ff;
  --muted: #a5b8d0;
  --primary: #28c486;
  --primary-2: #1ca06d;
  --secondary: #3cb6ff;
  --danger: #ff6b6b;
  --shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(circle at 20% 15%, #173456 0%, transparent 35%),
    radial-gradient(circle at 85% 10%, #103527 0%, transparent 30%),
    linear-gradient(160deg, #081019 0%, #091521 45%, #0a1725 100%);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
}

.orb-one {
  background: var(--secondary);
  top: -110px;
  right: -70px;
}

.orb-two {
  background: var(--primary);
  bottom: -140px;
  left: -100px;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(7, 15, 24, 0.75);
  border-bottom: 1px solid rgba(60, 182, 255, 0.2);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  color: var(--text);
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #021019;
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(60, 182, 255, 0.15);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero-section {
  padding: 44px 0 20px;
}

.hero-luxury {
  position: relative;
}

.hero-luxury::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(8, 16, 25, 0.75), rgba(8, 16, 25, 0.92)),
    url("https://images.unsplash.com/photo-1473448912268-2022ce9509d8?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-luxury::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(60, 182, 255, 0.22), transparent 34%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.hero-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
}

.hero-copy p {
  color: var(--muted);
  max-width: 670px;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(40, 196, 134, 0.12);
  color: #86f2c6;
  border: 1px solid rgba(40, 196, 134, 0.35);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-panel,
.glass {
  background: linear-gradient(160deg, rgba(21, 36, 55, 0.9), rgba(12, 22, 36, 0.86));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
}

.hero-panel h3 {
  margin-top: 6px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s;
}

.btn-solid {
  background: linear-gradient(135deg, var(--primary), #3ce39e);
  color: #042012;
}

.btn-solid:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

.btn-outline {
  border-color: rgba(60, 182, 255, 0.5);
  color: #a9dbff;
  background: rgba(60, 182, 255, 0.08);
}

.btn-outline:hover {
  background: rgba(60, 182, 255, 0.18);
}

.btn-danger {
  background: rgba(255, 107, 107, 0.2);
  border-color: rgba(255, 107, 107, 0.45);
  color: #ffd5d5;
}

.btn-danger:hover {
  background: rgba(255, 107, 107, 0.3);
}

.small {
  padding: 8px 10px;
  font-size: 0.84rem;
}

.main-nav form {
  margin: 0;
}

.lang-toggle {
  min-width: 78px;
}

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

.google-btn {
  white-space: nowrap;
}

.flag {
  font-size: 1rem;
  line-height: 1;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metrics.compact {
  margin-top: 14px;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
}

.metric-card strong {
  font-size: 1.4rem;
  display: block;
  color: #b6ffde;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  margin-top: 28px;
}

.stacked {
  margin-top: 16px;
}

.section-head {
  margin-bottom: 14px;
}

.section-head h1,
.section-head h2 {
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card,
.quote-card,
.step-card,
.pricing-card,
.card-block {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
}

.feature-card,
.step-card,
.pricing-card,
.showcase-card,
.track-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.step-card:hover,
.pricing-card:hover,
.showcase-card:hover,
.track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.32);
}

.feature-card h3,
.quote-card h4,
.step-card h3,
.pricing-card h3 {
  margin-top: 4px;
  margin-bottom: 8px;
}

.feature-card p,
.quote-card p,
.step-card p,
.pricing-card li,
.card-block p {
  color: var(--muted);
}

.mini-tag {
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(40, 196, 134, 0.12);
  color: #97ffd3;
  font-size: 0.83rem;
}

.request-form {
  padding: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  color: #dbe8ff;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #31506d;
  background: #0d1c2c;
  color: var(--text);
  padding: 10px 11px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(40, 196, 134, 0.45);
  border-color: var(--primary);
}

.steps-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(60, 182, 255, 0.16);
  color: #8ed3ff;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 4px 0;
  color: #9af4cb;
}

.pricing-card .period {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card ul {
  padding-inline-start: 20px;
  min-height: 122px;
}

.about-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partners span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 12px;
  color: #a9d0ff;
}

.page-top {
  padding-top: 26px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  background: var(--surface);
}

th,
td {
  border-bottom: 1px solid #1f3850;
  padding: 11px;
  text-align: start;
  vertical-align: top;
}

th {
  color: #9fd2ff;
  font-size: 0.92rem;
}

td small {
  color: #8ba8c3;
}

.status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(40, 196, 134, 0.15);
  color: #90f6c9;
}

.status-select {
  margin-bottom: 6px;
}

.filters {
  padding: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filters a {
  text-decoration: none;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.filters a.active {
  background: rgba(40, 196, 134, 0.18);
  color: #afffdb;
  border-color: rgba(40, 196, 134, 0.5);
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid;
}

.alert.success {
  color: #afffd8;
  border-color: rgba(40, 196, 134, 0.6);
  background: rgba(40, 196, 134, 0.12);
}

.alert.error {
  color: #ffd5d5;
  border-color: rgba(255, 107, 107, 0.5);
  background: rgba(255, 107, 107, 0.12);
}

.tracking-badge {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.link-btn {
  color: #8ed3ff;
  text-decoration: none;
  font-weight: 700;
}

.auth-page {
  min-height: 85vh;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(580px, 100%);
  padding: 16px;
}

.admin-update-form {
  display: grid;
  gap: 8px;
}

.inline-form {
  display: inline-block;
}

.map-box {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #0b1a2b;
}

.showcase-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.45s ease;
}

.showcase-card:hover img {
  transform: scale(1.1);
}

.showcase-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 18, 0.92));
}

.showcase-card h3 {
  margin: 0 0 6px;
}

.showcase-card p {
  margin: 0;
  color: #d1deef;
}

.map-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.map-help {
  color: var(--muted);
  font-size: 0.9rem;
}

.upload-preview,
.request-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.upload-preview img,
.request-images img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.request-images.inline img {
  width: 56px;
  height: 56px;
}

.track-list {
  display: grid;
  gap: 14px;
}

.track-card {
  padding: 16px;
}

.track-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.track-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.leaflet-container {
  font-family: "Manrope", sans-serif;
}

.leaflet-control-draw-toolbar a {
  background-color: #10243b;
}

.site-footer {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  background: rgba(6, 13, 21, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 28px 0;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 10px;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.footer-grid ul {
  margin: 0;
  padding-inline-start: 17px;
}

.footer-bottom {
  border-top: 1px solid #1a3248;
  text-align: center;
  color: #7f9ebb;
  padding: 12px;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 0 rgba(40, 196, 134, 0); }
  50% { box-shadow: 0 0 24px rgba(40, 196, 134, 0.22); }
  100% { box-shadow: 0 0 0 rgba(40, 196, 134, 0); }
}

.btn-solid {
  animation: glowPulse 3.2s infinite;
}

html.lang-ar,
html.lang-ar body {
  direction: rtl;
}

html.lang-ar .main-nav,
html.lang-ar .hero-actions {
  flex-direction: row-reverse;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;
    background: #0b1828;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .google-btn {
    padding-inline: 10px;
  }

  html.lang-ar .main-nav {
    flex-direction: column;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 1.8rem;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}
