/* ── Variables ── */
:root {
  --green: #1e4d2b;
  --green-mid: #2a6b3c;
  --green-light: #3a8c52;
  --cream: #e8e0cc;
  --gold: #c9a84c;
  --white: #ffffff;
  --off-white: #f7f6f2;
  --text: #1a1a1a;
  --text-muted: #555;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans Devanagari', 'Noto Sans Arabic', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* RTL support */
[dir="rtl"] body { font-family: 'Noto Sans Arabic', 'Inter', sans-serif; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .form-row { flex-direction: row-reverse; }
[dir="rtl"] .contact-wrap { flex-direction: row-reverse; }
[dir="rtl"] .hero-tags { justify-content: center; }

/* ── Navbar ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,77,43,0.1);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { height: 44px; width: auto; }

.nav-links {
  display: flex; gap: 8px; align-items: center;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--green);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--green); color: var(--white); }

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

.lang-switcher { display: flex; gap: 4px; flex-wrap: wrap; }
.lang-btn {
  padding: 4px 8px;
  font-size: 0.75rem; font-weight: 700;
  border: 2px solid var(--green);
  border-radius: 6px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: var(--green); color: var(--white);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--green); border-radius: 2px;
  transition: all var(--transition);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--green);
  color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); }

/* ── Section commons ── */
.section { padding: 96px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--cream);
  color: var(--green);
  font-size: 0.78rem; font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--green);
  line-height: 1.15; margin-bottom: 20px;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center; overflow: hidden;
  padding-top: 68px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,30,15,0.92) 0%, rgba(30,77,43,0.75) 55%, rgba(5,15,8,0.97) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 52px 24px 24px;
  flex-shrink: 0;
}
.hero-logo { width: min(280px, 62vw); filter: brightness(0) invert(1); }
.hero-tagline {
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  color: var(--cream); font-weight: 600; letter-spacing: 0.03em;
}

/* ── 3D RUNWAY PARADE ── */
.runway-wrap {
  position: relative; z-index: 2;
  width: 100%; flex: 1;
  min-height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
}

/* Perspective floor grid */
.runway-floor {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 100%),
    repeating-linear-gradient(90deg, rgba(201,168,76,0.15) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg,  rgba(201,168,76,0.15) 0 1px, transparent 1px 40px);
  transform: perspective(400px) rotateX(40deg);
  transform-origin: bottom center;
}

/* Spotlight cone from above */
.spotlight-cone {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 280px; height: 100%;
  background: radial-gradient(ellipse 140px 100% at 50% 0%, rgba(255,235,150,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
/* Spotlight pool on floor */
.spotlight-glow {
  position: absolute;
  bottom: 48px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 60px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.45) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none; z-index: 1;
  animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
  50%      { opacity: 0.6; transform: translateX(-50%) scaleX(0.85); }
}

/* Track containing all figures */
.runway-track {
  position: relative; z-index: 3;
  display: flex; align-items: flex-end; gap: 0;
  animation: runwayMarch 14s linear infinite;
  will-change: transform;
}
@keyframes runwayMarch {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Label beneath spotlight */
.runway-label-wrap {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  z-index: 4; text-align: center;
}
.runway-label {
  display: inline-block;
  padding: 5px 20px;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.6);
  color: #f5d87a;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  transition: opacity 0.4s ease;
}

/* ── FIGURE BASE ── */
.fig {
  position: relative;
  width: 80px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  cursor: default;
  transition: filter 0.3s ease, transform 0.3s ease;
  padding: 0 20px;
}
/* Figures far from center are dimmed */
.fig { filter: brightness(0.45) blur(0.5px); transform: scale(0.88); }
.fig.lit { filter: brightness(1.2) drop-shadow(0 0 18px rgba(255,230,100,0.7)); transform: scale(1.08); }
.fig.near { filter: brightness(0.75); transform: scale(0.96); }

/* body bob */
.fig-inner {
  position: relative;
  animation: bodyBob 0.7s ease-in-out infinite;
}
@keyframes bodyBob {
  0%,100% { transform: translateY(0); }
  25%,75% { transform: translateY(-3px); }
}

/* HEAD */
.fig-head {
  width: 22px; height: 22px; border-radius: 50%;
  background: #f5c5a3;
  position: relative; z-index: 2;
  margin-bottom: 1px;
  box-shadow: inset -3px -3px 6px rgba(0,0,0,0.15);
}
/* Hair */
.fig-head::before {
  content:''; position: absolute;
  top: -4px; left: -1px; right: -1px; height: 12px;
  background: #3d2b1f; border-radius: 50% 50% 0 0;
}

/* NECK */
.fig-neck {
  width: 8px; height: 7px;
  background: #f0b090;
  margin-bottom: 0;
}

/* TORSO */
.fig-torso {
  width: 28px; height: 38px;
  border-radius: 4px 4px 2px 2px;
  position: relative;
}

/* HIPS / PANTS */
.fig-hips {
  width: 30px; height: 10px;
  border-radius: 2px;
  margin-top: 1px;
}

/* LEGS container */
.fig-legs {
  display: flex; gap: 3px; align-items: flex-start;
  position: relative;
}
.fig-leg {
  width: 11px; height: 42px;
  border-radius: 3px 3px 4px 4px;
  transform-origin: top center;
}
.fig-leg-l { animation: legL 0.7s ease-in-out infinite; }
.fig-leg-r { animation: legR 0.7s ease-in-out infinite; }
@keyframes legL { 0%,100%{transform:rotate(-28deg)} 50%{transform:rotate(28deg)} }
@keyframes legR { 0%,100%{transform:rotate(28deg)}  50%{transform:rotate(-28deg)} }

/* SHOES */
.fig-shoe {
  position: absolute; bottom: -5px;
  width: 14px; height: 6px;
  background: #1a1a1a; border-radius: 1px 3px 3px 1px;
}
.fig-shoe-l { left: 0; transform-origin: top left; animation: shoeL 0.7s ease-in-out infinite; }
.fig-shoe-r { right: 0; transform-origin: top right; animation: shoeR 0.7s ease-in-out infinite; }
@keyframes shoeL { 0%,100%{transform:rotate(-5deg)} 50%{transform:rotate(5deg)} }
@keyframes shoeR { 0%,100%{transform:rotate(5deg)}  50%{transform:rotate(-5deg)} }

/* ARMS */
.fig-arms {
  position: absolute; top: 32px; left: 50%;
  transform: translateX(-50%);
  width: 52px; display: flex; justify-content: space-between;
}
.fig-arm {
  width: 8px; height: 34px;
  border-radius: 3px 3px 4px 4px;
  transform-origin: top center;
}
.fig-arm-l { animation: armL 0.7s ease-in-out infinite; }
.fig-arm-r { animation: armR 0.7s ease-in-out infinite; }
@keyframes armL { 0%,100%{transform:rotate(22deg)}  50%{transform:rotate(-22deg)} }
@keyframes armR { 0%,100%{transform:rotate(-22deg)} 50%{transform:rotate(22deg)} }

/* ── UNIFORM TYPES ── */
/* 1 — Doctor (white coat) */
.fig-doctor .fig-torso { background: #f8f8f8; border: 1px solid #ddd; }
.fig-doctor .fig-torso::after {
  content:''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 20px; background: #c00; border-radius: 2px;
}
.fig-doctor .fig-hips  { background: #4b5563; }
.fig-doctor .fig-leg   { background: #4b5563; }
.fig-doctor .fig-arm   { background: #f0f0f0; border: 1px solid #ddd; }

/* 2 — Chef (white + tall hat) */
.fig-chef .fig-torso { background: #fff; border: 1px solid #e5e7eb; }
.fig-chef .fig-hips  { background: #1f2937; }
.fig-chef .fig-leg   { background: #1f2937; }
.fig-chef .fig-arm   { background: #fff; border: 1px solid #e5e7eb; }
.fig-chef .fig-head::after {
  content:''; position: absolute;
  top: -18px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px;
  background: #fff; border-radius: 50% 50% 0 0;
  border: 1px solid #ddd;
}

/* 3 — Security (navy) */
.fig-security .fig-torso { background: #1e3a5f; }
.fig-security .fig-hips  { background: #152a47; }
.fig-security .fig-leg   { background: #152a47; }
.fig-security .fig-arm   { background: #1e3a5f; }
.fig-security .fig-torso::before {
  content:'★'; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  color: #f5d87a; font-size: 8px;
}
.fig-security .fig-head::before { background: #1e3a5f; }

/* 4 — Scrubs (teal/green) */
.fig-scrubs .fig-torso { background: #0d9488; }
.fig-scrubs .fig-hips  { background: #0d9488; }
.fig-scrubs .fig-leg   { background: #0d9488; }
.fig-scrubs .fig-arm   { background: #0d9488; }

/* 5 — Corporate (charcoal suit) */
.fig-corporate .fig-torso { background: #1f2937; }
.fig-corporate .fig-torso::after {
  content:''; position: absolute; top: 3px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 22px; background: #c9a84c; border-radius: 1px;
}
.fig-corporate .fig-hips  { background: #1f2937; }
.fig-corporate .fig-leg   { background: #1f2937; }
.fig-corporate .fig-arm   { background: #1f2937; }
.fig-corporate .fig-shoe  { background: #111; }

/* 6 — Workwear (hi-vis orange vest) */
.fig-workwear .fig-torso {
  background: #f97316;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.25);
}
.fig-workwear .fig-hips  { background: #374151; }
.fig-workwear .fig-leg   { background: #374151; }
.fig-workwear .fig-arm   { background: #f97316; }
.fig-workwear .fig-head::before { background: #f97316; }

/* ── Hard hat (workwear) ── */
.fig-workwear .fig-head::after {
  content:''; position: absolute;
  top: -8px; left: -3px; right: -3px; height: 10px;
  background: #f97316; border-radius: 50% 50% 0 0;
  border-top: 2px solid #ea6e00;
}

/* ── School uniform ── */
.fig-school .fig-torso { background: #3b82f6; }
.fig-school .fig-hips  { background: #6b7280; }
.fig-school .fig-leg   { background: #6b7280; }
.fig-school .fig-arm   { background: #3b82f6; }

/* Shadow under each figure */
.fig::after {
  content:''; position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 10px;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  filter: blur(3px);
}

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator span {
  display: block; width: 2px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  margin: 0 auto;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ── About ── */
.about { background: var(--off-white); }
.about h2 { max-width: 600px; }
.about p {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 640px; line-height: 1.8; margin-bottom: 48px;
}
.about-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 2.6rem; font-weight: 800; color: var(--green); line-height: 1;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

/* ── Products ── */
.products { background: var(--white); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  padding: 32px 28px;
  border: 2px solid var(--cream);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.product-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-icon { font-size: 2rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--green); margin-bottom: 10px; }
.product-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ── Gallery ── */
.gallery { background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--cream);
}
.gallery-item.large { grid-column: 1 / -1; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(30,77,43,0.9), transparent);
  color: var(--white); font-weight: 700; font-size: 0.9rem;
}

/* ── Why Us ── */
.why { background: var(--green); }
.why .section-label { background: rgba(255,255,255,0.15); color: var(--cream); }
.why h2 { color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.14); }
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.65; }

/* ── Contact ── */
.contact { background: var(--off-white); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--green); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 2px solid var(--cream);
  border-radius: 8px;
  font-size: 0.95rem; font-family: inherit;
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  padding: 14px 18px;
  background: #d4f4dc; color: var(--green);
  border-radius: 8px; font-weight: 700;
}
.form-success.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-block { display: flex; align-items: flex-start; gap: 14px; }
.info-icon { font-size: 1.4rem; flex-shrink: 0; }
.info-block strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.info-block a { font-weight: 700; color: var(--green); font-size: 0.95rem; }
.info-block a:hover { text-decoration: underline; }
.info-block span { font-weight: 600; font-size: 0.95rem; }

.bulk-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  background: #fff8e1;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
}
.bulk-note p { font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); }
.bulk-note strong { color: var(--text); }

/* ── Footer ── */
.footer { background: var(--green); padding: 48px 0 32px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-logo { height: 52px; filter: brightness(0) invert(1); }
.footer p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--cream); font-weight: 600; font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: 1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { gap: 32px; }
}

@media (max-width: 480px) {
  .hero-logo { width: 220px; }
  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
