/* ========================================
   MIZ LOGISTIC COMPANY — Design System
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors — from Brand Identity PDF */
  --navy:        #1C2A4B;
  --navy-deep:   #1B3F61;
  --navy-light:  #223952;
  --navy-teal:   #354F65;
  --gold:        #D4AF37;
  --gold-light:  #E3C17F;
  --gold-dark:   #E2BA6A;
  --cream:       #F5F5DC;
  --cream-light: #FAF6E6;
  --cream-mid:   #EBDBC0;
  --white:       #FFFFFF;
  --off-white:   #FAF6E6;
  --gray-100:    #EBDBC0;
  --gray-200:    #E3C17F;
  --gray-300:    #9A9890;
  --gray-text:   #B0B8C8;
  --red-accent:  #A52A2A;
  --green-accent:#006233;

  /* Typography — Montserrat (headings) + Cairo (body/Arabic) */
  --font-heading: 'Montserrat', 'Cairo', sans-serif;
  --font-body:    'Cairo', 'Montserrat', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.15);
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.25);

  /* Glass */
  --glass-bg:   rgba(27, 42, 74, 0.6);
  --glass-border: rgba(201, 168, 76, 0.15);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(15, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s var(--ease-spring);
}

.nav-logo img:hover {
  transform: scale(1.08);
}

.nav-logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-text);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 30px;
  padding: 6px 4px;
  cursor: pointer;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--gray-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--navy-deep);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(27,42,74,0.6) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
  z-index: 0;
}

/* Animated floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float-orb 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--red-accent);
  bottom: 20%;
  right: -5%;
  animation-delay: -3s;
  opacity: 0.15;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: var(--gold-light);
  top: 60%;
  left: 40%;
  animation-delay: -5s;
  opacity: 0.1;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -30px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* Dragon watermark */
.hero-dragon {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 550px;
  opacity: 0.04;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fade-in-up 0.8s var(--ease-out) both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fade-in-up 0.8s var(--ease-out) 0.15s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fade-in-up 0.8s var(--ease-out) 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-in-up 0.8s var(--ease-out) 0.45s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease-out);
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(201,168,76,0.4);
}

.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-up 1s var(--ease-out) 0.5s both;
}

.hero-logo-wrapper img {
  width: 310px;
  height: 310px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(201,168,76,0.2));
}

.hero-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.15);
  animation: spin-slow 25s linear infinite;
}

.hero-logo-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--gold);
}

.hero-logo-ring-2 {
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
  animation: spin-slow 35s linear infinite reverse;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(201,168,76,0.12);
  animation: fade-in-up 0.8s var(--ease-out) 0.6s both;
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-top: 4px;
}

/* ========================================
   SECTION HEADER (reusable)
   ======================================== */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-header p {
  color: var(--gray-text);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  padding: var(--section-padding);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-logo-container {
  width: 350px;
  height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-container img {
  width: 280px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 15px 40px rgba(201,168,76,0.15));
}

.about-logo-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.05); opacity: 1; }
}

.about-content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.25;
}

.about-content h2 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text {
  color: var(--gray-text);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
}

.about-feature:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-2px);
}

.about-feature .icon {
  font-size: 1.4rem;
  color: var(--gold);
}

/* --- Font Awesome Icon Styling --- */
.service-icon i,
.icon-circle i,
.icon-box i,
.step-icon i,
.about-feature .icon i {
  color: var(--gold);
}

.footer-links i {
  color: var(--gold);
  margin-right: 6px;
  width: 18px;
  text-align: center;
}

body[dir="rtl"] .footer-links i {
  margin-right: 0;
  margin-left: 6px;
}

.btn i {
  font-size: 0.95em;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  padding: var(--section-padding);
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.4);
  box-shadow: var(--shadow-gold);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-spring);
}

.service-card:hover .service-icon {
  background: rgba(201,168,76,0.2);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}

.service-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(201,168,76,0.06);
  line-height: 1;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-us {
  padding: var(--section-padding);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 48px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(27,42,74,0.5) 0%, rgba(15,26,46,0.5) 100%);
  border: 1px solid rgba(201,168,76,0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.why-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.why-card .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  transition: all 0.4s var(--ease-spring);
}

.why-card:hover .icon-circle {
  background: rgba(201,168,76,0.15);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(201,168,76,0.15);
}

.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================
   HOW IT WORKS — TIMELINE
   ======================================== */
.how-it-works {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
  opacity: 0.25;
}

.timeline-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(201,168,76,0.15), var(--shadow-gold);
  transition: all 0.4s var(--ease-spring);
}

.timeline-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 0 0 10px rgba(201,168,76,0.2), 0 10px 40px rgba(201,168,76,0.3);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.timeline-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-step p {
  color: var(--gray-text);
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 0 10px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  padding: var(--section-padding);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form .form-subtitle {
  color: var(--gray-text);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--gray-200);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
  background: rgba(255,255,255,0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* Contact info */
.contact-info {
  padding-top: 20px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info > p {
  color: var(--gray-text);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.08);
  transition: all 0.3s var(--ease-out);
}

.contact-item:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.2);
  transform: translateX(4px);
}

.contact-item .icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--gray-text);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--gold);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid rgba(201,168,76,0.1);
  background: var(--navy-deep);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 340px;
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--gray-text);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

body[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--gray-300);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s var(--ease-spring);
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* ---------- Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

  .about-image {
    order: -1;
  }

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

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .timeline::before {
    display: none;
  }

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

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

/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  /* -- Navigation Mobile Drawer -- */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    transition: right 0.4s var(--ease-out);
    border-left: 1px solid var(--glass-border);
    padding: 24px;
  }

  body[dir="rtl"] .nav-links {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  body[dir="rtl"] .nav-links.open {
    right: auto;
    left: 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  /* -- Hero Mobile -- */
  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 5.5vw, 2.1rem);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat h3 {
    font-size: 1.3rem;
  }

  .hero-stat p {
    font-size: 0.73rem;
  }

  /* -- About Mobile -- */
  .about {
    padding: 40px 0;
  }

  .about-logo-container {
    width: 180px;
    height: 180px;
  }

  .about-logo-container img {
    width: 150px;
  }

  .about-logo-glow {
    inset: -15px;
  }

  .about-content h2 {
    font-size: 1.55rem;
    margin-bottom: 16px;
  }

  .about-text {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 16px;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .about-feature {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .about-feature .icon {
    font-size: 1.1rem;
  }

  .about-feature span {
    font-size: 0.8rem;
  }

  /* -- Section Headers Mobile -- */
  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .section-header p {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .section-tag {
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  /* -- Services Mobile -- */
  .services {
    padding: 40px 0;
  }

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

  .service-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .service-number {
    font-size: 2.5rem;
    opacity: 0.04;
  }

  /* -- Why Us Mobile -- */
  .why-us {
    padding: 40px 0;
  }

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

  .why-card {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
  }

  .why-card .icon-circle {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .why-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .why-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* -- Timeline / How It Works Mobile -- */
  .how-it-works {
    padding: 40px 0;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .timeline-step {
    padding: 20px 16px;
    background: rgba(27, 42, 74, 0.3);
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 16px;
  }

  .step-number {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    box-shadow: 0 0 0 4px rgba(201,168,76,0.12), var(--shadow-gold);
  }

  .step-icon {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .timeline-step h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .timeline-step p {
    font-size: 0.82rem;
    line-height: 1.55;
    padding: 0;
  }

  /* -- Contact Mobile -- */
  .contact {
    padding: 40px 0;
  }

  .contact-form {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .contact-form h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .contact-form .form-subtitle {
    margin-bottom: 20px;
    font-size: 0.85rem;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-group label {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px; /* Prevents iOS zoom on focus */
    border-radius: 10px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .contact-info {
    padding-top: 8px;
  }

  .contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .contact-info > p {
    margin-bottom: 20px;
    font-size: 0.85rem;
  }

  .contact-item {
    padding: 14px;
    gap: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .contact-item .icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .contact-item h4 {
    font-size: 0.88rem;
    margin-bottom: 2px;
  }

  .contact-item a,
  .contact-item p {
    font-size: 0.83rem;
  }

  /* -- Footer Mobile -- */
  .footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
  }

  .footer-brand img {
    height: 36px;
    margin-bottom: 12px;
  }

  .footer-brand p {
    font-size: 0.82rem;
    max-width: 100%;
    line-height: 1.7;
  }

  .footer h4 {
    font-size: 0.92rem;
    margin-bottom: 12px;
  }

  .footer-links a {
    font-size: 0.85rem;
    padding: 5px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding-top: 18px;
  }

  .footer-bottom p {
    font-size: 0.78rem;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .social-link {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  /* -- Buttons Mobile (touch-friendly) -- */
  .btn {
    padding: 14px 28px;
    font-size: 0.92rem;
    border-radius: 10px;
    min-height: 48px;
  }

  /* -- Floating Orbs: reduce on mobile -- */
  .hero-orb-1 {
    width: 200px;
    height: 200px;
  }
  .hero-orb-2 {
    width: 150px;
    height: 150px;
  }
  .hero-orb-3 {
    width: 100px;
    height: 100px;
  }

  .hero-dragon {
    width: 250px;
    opacity: 0.03;
  }
}

/* ---------- Small Mobile (≤ 480px) ---------- */
@media (max-width: 480px) {
  :root {
    --section-padding: 36px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 6px;
    margin-top: 24px;
    padding-top: 16px;
  }

  .hero-stat h3 {
    font-size: 1.15rem;
  }

  .hero-stat p {
    font-size: 0.68rem;
  }

  /* -- Section Headers Small -- */
  .section-header {
    margin-bottom: 24px;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-header p {
    font-size: 0.83rem;
  }

  /* -- About Small -- */
  .about {
    padding: 32px 0;
  }

  .about-grid {
    gap: 28px;
  }

  .about-logo-container {
    width: 150px;
    height: 150px;
  }

  .about-logo-container img {
    width: 120px;
  }

  .about-content h2 {
    font-size: 1.3rem;
  }

  .about-text {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-feature {
    padding: 10px 12px;
  }

  /* -- Services Small -- */
  .services {
    padding: 32px 0;
  }

  .services-grid {
    gap: 10px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.82rem;
  }

  /* -- Why Us Small -- */
  .why-us {
    padding: 32px 0;
  }

  .why-grid {
    gap: 10px;
  }

  .why-card {
    padding: 20px 16px;
  }

  .why-card .icon-circle {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .why-card h3 {
    font-size: 1rem;
  }

  .why-card p {
    font-size: 0.82rem;
  }

  /* -- Timeline Small -- */
  .how-it-works {
    padding: 32px 0;
  }

  .timeline {
    gap: 10px;
  }

  .timeline-step {
    padding: 16px 14px;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }

  .step-icon {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .timeline-step h3 {
    font-size: 0.95rem;
  }

  .timeline-step p {
    font-size: 0.78rem;
  }

  /* -- Contact Small -- */
  .contact {
    padding: 32px 0;
  }

  .contact-form {
    padding: 20px 14px;
  }

  .contact-item {
    padding: 12px;
    margin-bottom: 8px;
  }

  .contact-item .icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }

  /* -- Footer Small -- */
  .footer {
    padding: 32px 0 20px;
  }

  .footer-grid {
    gap: 20px;
    margin-bottom: 24px;
  }

  .footer-brand img {
    height: 32px;
  }

  .social-link {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ---------- Extra Small (≤ 360px) ---------- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 1.25rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .about-content h2 {
    font-size: 1.2rem;
  }

  .about-logo-container {
    width: 130px;
    height: 130px;
  }

  .about-logo-container img {
    width: 100px;
  }

  .nav-links {
    width: 85%;
  }
}

/* ========================================
   BACKDROP OVERLAY for mobile menu
   ======================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}
