/*
  Qimam Events — Landing Styles
  Palette: Primary #2d4054 (slate blue), Accent #d29d59 (date-gold)
  Design: Flat, crisp, enterprise-grade, Arabic-first (RTL) with graceful LTR toggle
*/

:root {
  --brand-primary: #2d4054;
  --brand-accent: #d29d59;
  --bg: #0f141a;
  --surface: #141b22;
  --muted: #a7b1bd;
  --text: #e9eef3;
  --border: #212a33;
  --success: #2fb67a;
  --info: #3da9f5;
  --sold: #a7b1bd;
  --focus: 0 0 0 3px rgba(210, 157, 89, 0.35);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #0c1116 0%, #0f141a 100%);
  letter-spacing: 0.2px;
}

/* Layout */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section { padding: 72px 0; }
.section-title { font-size: 32px; margin: 0 0 8px; }
.section-sub { margin: 0 0 24px; color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(20, 27, 34, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center; padding: 12px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.logo-mark { color: var(--brand-accent); display: grid; place-items: center; }
.logo-title { font-weight: 800; letter-spacing: 0.3px; }
.logo-title .accent { color: var(--brand-accent); }
.logo-sub { display: block; font-size: 12px; color: var(--muted); margin-top: -2px; }

.primary-nav { display: none; gap: 20px; }
.primary-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.primary-nav a:hover { color: var(--text); }
.primary-nav a.active { color: var(--brand-accent); }

.nav-actions { display: inline-flex; align-items: center; gap: 12px; justify-self: end; }

/* Buttons */
.btn { all: unset; cursor: pointer; border-radius: 10px; padding: 10px 14px; border: 1px solid transparent; font-weight: 700; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-solid { background: var(--brand-accent); color: #1a2027; }
.btn-outline { border-color: var(--brand-accent); color: var(--brand-accent); }
.btn-ghost { color: var(--muted); }
.btn-lg { padding: 12px 18px; border-radius: 12px; }
.w-100 { width: 100%; text-align: center; }

/* Hamburger */
.hamburger { display: inline-flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 8px; border: 1px solid var(--border); }
.hamburger span { width: 18px; height: 2px; background: var(--text); display: block; }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--surface); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 12px 18px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.mobile-actions { display: grid; gap: 8px; padding: 12px; }

/* Hero */
.hero { padding-top: 48px; }
.display { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.lead { color: var(--muted); margin: 0 0 20px; font-size: 16px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-card { display: none; }

.surface { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.glass { background: rgba(20, 27, 34, 0.55); border: 1px solid rgba(255,255,255,0.06); backdrop-filter: blur(12px) saturate(120%); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.glass-heavy { background: rgba(20, 27, 34, 0.35); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(18px) saturate(140%); }
.card { padding: 16px; display: grid; gap: 12px; }
.card-head { display: flex; align-items: center; justify-content: space-between; }
.card-foot { display: flex; gap: 12px; }
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-weight: 700; font-size: 12px; }
.badge.accent { border-color: var(--brand-accent); color: var(--brand-accent); }

.ticket { display: grid; gap: 10px; border: 1px dashed var(--border); border-radius: 12px; padding: 12px; }
.ticket-head, .ticket-foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.ticket-title { font-size: 16px; }
.ticket-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qr { width: 64px; height: 64px; background: repeating-linear-gradient(45deg, var(--brand-primary), var(--brand-primary) 4px, transparent 4px, transparent 8px),
      repeating-linear-gradient(-45deg, var(--brand-accent), var(--brand-accent) 4px, transparent 4px, transparent 8px);
  border-radius: 8px; border: 1px solid var(--border);
}
.ticket-status { color: var(--success); font-weight: 800; }
.price { color: var(--brand-accent); font-weight: 800; }

/* Partners */
.partners { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #0f141a; }
.partners-row { display: grid; gap: 12px; align-items: center; justify-items: center; text-align: center; }
.logos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; }
.logo-pill { border: 1px solid var(--border); color: var(--muted); padding: 6px 10px; border-radius: 999px; font-size: 12px; }

/* Events */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.tab { all: unset; border: 1px solid var(--border); padding: 8px 12px; border-radius: 999px; color: var(--muted); cursor: pointer; font-weight: 700; background: rgba(20,27,34,.5); backdrop-filter: blur(8px); }
.tab.active { border-color: var(--brand-accent); color: var(--brand-accent); }
.event-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.event-card { position: relative; padding: 16px; display: grid; gap: 8px; align-content: start; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .25s ease, opacity .35s ease; will-change: transform, opacity; transform-style: preserve-3d; }
.event-card:hover { transform: translateY(-2px); border-color: #2a3642; }
.event-head { display: flex; align-items: center; justify-content: space-between; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid var(--border); }
.status-pill.available { color: var(--success); border-color: rgba(47,182,122,.35); }
.status-pill.info { color: var(--info); border-color: rgba(61,169,245,.35); }
.status-pill.sold { color: var(--sold); }
.category { color: var(--muted); font-size: 12px; }
.event-title { margin: 0; font-size: 18px; }
.event-meta { color: var(--muted); font-size: 13px; }
.event-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.progress { position: relative; height: 8px; background: #0f141a; border: 1px solid var(--border); border-radius: 999px; flex: 1; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent)); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.price-range { color: var(--brand-accent); font-weight: 800; white-space: nowrap; }

/* Super-animated event grid */
.event-grid.super-animated .event-card { opacity: 0; transform: translateY(24px) scale(.98); }
.event-grid.super-animated .event-card.in { opacity: 1; transform: translateY(0) scale(1); }

/* 3D tilt and interactive highlights */
.event-card.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.event-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--angle, 0deg), rgba(210,157,89,.6), rgba(45,64,84,.4), transparent 30%, rgba(210,157,89,.6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .35; pointer-events: none; animation: shimmerRotate 6s linear infinite; }
.event-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(220px 220px at var(--mx,50%) var(--my,50%), rgba(210,157,89,.08), transparent 40%); opacity: .8; }

@keyframes shimmerRotate { to { --angle: 360deg; } }

/* Status pill glow */
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(47,182,122,.0);} 50% { box-shadow: 0 0 0 6px rgba(47,182,122,.08);} }
.status-pill.available { animation: pulseGlow 3s ease-in-out infinite; }

/* Features */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feature { padding: 16px; display: grid; gap: 8px; align-content: start; }
.feature .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-accent); background: rgba(210, 157, 89, 0.08); }
.feature h3 { margin: 4px 0 0; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Two column */
.two-col { display: grid; gap: 18px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li::before { content: "\2713"; color: var(--brand-accent); font-weight: 800; margin-inline-start: 6px; }

.process { padding: 16px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.step-num { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-primary); color: #fff; font-weight: 800; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.price-card { padding: 16px; display: grid; gap: 12px; align-content: start; }
.price-head h3 { margin: 6px 0 0; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.price-card.highlighted { border-color: var(--brand-accent); box-shadow: 0 0 0 2px rgba(210, 157, 89, 0.15) inset; }

/* CTA band */
.cta-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: radial-gradient(1200px 400px at 50% -10%, rgba(210, 157, 89, 0.08), transparent), #0f141a; }
.band { display: flex; gap: 12px; align-items: center; justify-content: space-between; }

/* Footer */
.site-footer { padding: 36px 0 20px; }
.footer-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.footer-nav, .footer-contact { display: grid; gap: 8px; }
.footer-nav a, .footer-contact a { color: var(--muted); text-decoration: none; }
.legal { display: flex; gap: 12px; justify-content: space-between; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--border); margin-top: 16px; }

.muted { color: var(--muted); }

/* Responsive */
@media (min-width: 780px) {
  .primary-nav { display: inline-flex; }
  .hamburger { display: none; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .hero-card { display: block; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .event-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 1120px) {
  .container { width: min(1240px, 90vw); }
}

/* LTR Support */
[dir="ltr"] .checklist li::before { margin-inline-end: 6px; margin-inline-start: 0; }
[dir="ltr"] .nav { grid-template-columns: 1fr auto 1fr; }
[dir="ltr"] .nav-actions { justify-self: end; }

/* Subtle interactive states */
a:hover { color: #fff; }
.btn:hover { filter: brightness(1.02); }
.btn-outline:hover { background: rgba(210, 157, 89, 0.08); }
.surface:hover { border-color: #2a3642; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Forms */
.form { display: grid; gap: 12px; }
.form-group { display: grid; gap: 6px; }
.form-group label { color: var(--muted); font-weight: 700; font-size: 13px; }
.input, .textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(20,27,34,.6); color: var(--text); }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; box-shadow: var(--focus); }

/* Hiring services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.service-card { padding: 16px; display: grid; gap: 8px; }

/* Professional page styling */
.text-center { text-align: center; }

.hero-content { max-width: 800px; margin: 0 auto; }

.section-header { margin-bottom: 48px; }

/* Feature cards with icons */
.feature-card { 
  padding: 24px; 
  display: grid; 
  gap: 16px; 
  align-content: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: white;
  margin-bottom: 8px;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: white;
  margin-bottom: 8px;
}

/* Workflow section */
.workflow-section {
  background: linear-gradient(180deg, rgba(45,64,84,0.1) 0%, rgba(20,27,34,0.05) 100%);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.workflow-step {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-accent), #e6b366);
  color: #1a2027;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 20px;
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--brand-accent), transparent);
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.workflow-step:last-child .step-number::after {
  display: none;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, rgba(210,157,89,0.1) 0%, rgba(45,64,84,0.1) 100%);
}

.cta-content {
  padding: 48px 32px;
  max-width: 800px;
  margin: 0 auto;
}

/* Enhanced responsive design */
@media (min-width: 780px) {
  .features-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px;
  }
  
  .services-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 24px;
  }
  
  .workflow-grid { 
    grid-template-columns: repeat(4, 1fr); 
    gap: 32px;
  }
  
  .workflow-step .step-number::after {
    display: none;
  }
}

@media (min-width: 1120px) {
  .features-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
  
  .services-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }
}

/* Professional animations */
.feature-card, .service-card, .workflow-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.reveal-visible, 
.service-card.reveal-visible, 
.workflow-step.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.workflow-step:nth-child(1) { transition-delay: 0.1s; }
.workflow-step:nth-child(2) { transition-delay: 0.2s; }
.workflow-step:nth-child(3) { transition-delay: 0.3s; }
.workflow-step:nth-child(4) { transition-delay: 0.4s; }

/* Logo image sizing */
.logo-mark img { width: 28px; height: 28px; object-fit: contain; display: block; }

/* Replace gradients with subtle solids (glass-friendly) */
.feature-icon, .service-icon { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: var(--brand-accent); }
.workflow-section { background: rgba(20,27,34,0.08); }
.cta-section { background: rgba(20,27,34,0.06); }
.step-number { background: rgba(210,157,89,0.18); color: #eaeef2; }
.step-number::after { background: rgba(210,157,89,0.25); }

/* WhatsApp floating bubble */
.whatsapp-bubble { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 999px; background: rgba(20,27,34,0.55); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px) saturate(120%); box-shadow: 0 10px 30px rgba(0,0,0,.25); color: #25D366; z-index: 50; transition: transform .25s ease, opacity .25s ease; }
.whatsapp-bubble:hover { transform: translateY(-2px); }
.whatsapp-bubble.hide { opacity: 0; transform: scale(0.9); pointer-events: none; }
.whatsapp-bubble svg { width: 26px; height: 26px; }

/* Footer social links look */
.site-footer .social a { color: var(--muted); }
.site-footer .social a:hover { color: var(--brand-accent); }


