/* ===== Tokens ===== */
:root{
  --orange: #F5820D;
  --orange-dark: #D96C00;
  --orange-light: #FFE8CF;
  --white: #FFFFFF;
  --gray-900: #1E1E1E;
  --gray-700: #3A3A3A;
  --gray-600: #6B6B6B;
  --gray-300: #D8D8D8;
  --gray-100: #F4F4F4;

  --font-display: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;

  --radius: 10px;
  --container: 1180px;
  --header-h: 84px;
}

*{ box-sizing: border-box; margin:0; padding:0; }

html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body{
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,h2,h3{ font-family: var(--font-display); line-height: 1.25; }

.text-orange{ color: var(--orange); }

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

ul{ list-style:none; }

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary{
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(245,130,13,.55);
}
.btn-primary:hover{ background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  border-color: var(--gray-900);
  color: var(--gray-900);
}
.btn-outline:hover{ border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn.full{ width:100%; }

/* ===== Corner viewfinder signature ===== */
.corner{
  position:absolute;
  width: 20px;
  height: 20px;
  border-color: var(--orange);
  border-style: solid;
  border-width: 0;
  opacity: .9;
}
.corner.tl{ top:-1px; right:-1px; border-top-width:3px; border-right-width:3px; border-top-right-radius:6px; }
.corner.tr{ top:-1px; left:-1px; border-top-width:3px; border-left-width:3px; border-top-left-radius:6px; }
.corner.bl{ bottom:-1px; right:-1px; border-bottom-width:3px; border-right-width:3px; border-bottom-right-radius:6px; }
.corner.br{ bottom:-1px; left:-1px; border-bottom-width:3px; border-left-width:3px; border-bottom-left-radius:6px; }

.rec-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--orange);
  display:inline-block;
  box-shadow: 0 0 0 0 rgba(245,130,13,.6);
  animation: pulse 1.8s infinite;
}
.rec-dot.small{ width:6px; height:6px; }
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(245,130,13,.55); }
  70%{ box-shadow: 0 0 0 8px rgba(245,130,13,0); }
  100%{ box-shadow: 0 0 0 0 rgba(245,130,13,0); }
}

/* ===== Top strip ===== */
.top-strip{
  background: var(--gray-900);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 500;
}
.strip-track{
  display:inline-flex;
  gap: 14px;
  padding: 8px 0;
  animation: marquee 28s linear infinite;
}
.strip-track .dot{ color: var(--orange); }
@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(50%); }
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-300);
}
.header-inner{
  height: 100%;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  direction: ltr;
  width: 100%;
  min-width: 0;
}
.header-inner > .logo{ grid-column: 1; justify-self: start; direction: rtl; min-width: 0; }
.header-inner > .main-nav{ grid-column: 2; justify-self: center; direction: rtl; min-width: 0; }
.header-inner > .nav-toggle{ grid-column: 2; justify-self: center; }
.header-inner > .header-actions{ grid-column: 3; justify-self: end; direction: rtl; min-width: 0; }
.logo{ display:flex; flex-direction: row-reverse; align-items:center; gap:10px; min-width: 0; }
.logo-mark{ display:flex; align-items:center; flex-shrink: 0; }
.logo-mark img{ display:block; object-fit: contain; }
.logo-text{
  font-family: var(--font-display);
  display:flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.logo-text .line1{
  font-weight: 800;
  font-size: 16px;
  color: var(--gray-900);
  white-space: nowrap;
  display: inline-block;
}
.logo-text .line2{
  font-weight: 700;
  font-size: 16px;
  color: var(--orange);
  white-space: nowrap;
  display: inline-block;
}
.logo-text.small{ font-size:15px; color: var(--white); }

.main-nav{ display:flex; align-items:center; gap: 30px; }
.main-nav a{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-700);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover{ color: var(--orange); }

.header-actions{ display:flex; align-items:center; gap: 16px; }
.header-cta{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  background: var(--gray-900);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.header-cta:hover{ background: var(--orange) !important; transform: translateY(-2px); }

.nav-toggle{
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--gray-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease;
}
.nav-toggle:hover{ border-color: var(--orange); color: var(--orange); }
.nav-toggle.active{ background: var(--orange); border-color: var(--orange); color: var(--white); }


/* ===== Hero ===== */
.hero{
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background: var(--white);
}
.hero-grid-bg{
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 75% 30%, black, transparent 70%);
}
.scanline{
  position:absolute;
  left:0; right:0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,130,13,.6), transparent);
  animation: scan 4.5s linear infinite;
}
@keyframes scan{
  0%{ top: 0%; opacity:0; }
  10%{ opacity:1; }
  90%{ opacity:1; }
  100%{ top: 100%; opacity:0; }
}

.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--orange-dark);
  background: var(--orange-light);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-desc{
  font-size: 17px;
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap: wrap; }

.hero-visual{ display:flex; justify-content:center; }
.viewfinder{
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--gray-900), #050505);
  border-radius: 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.viewfinder .corner{ width:34px; height:34px; }
.viewfinder-label{
  position:absolute; top:20px; right:22px;
  color:#fff; font-family: var(--font-display); font-size:12px; font-weight:700;
  display:flex; align-items:center; gap:6px;
}
.viewfinder-icon{
  width: 96px; height:96px; border-radius:50%;
  background: rgba(245,130,13,.12);
  border: 1px solid rgba(245,130,13,.3);
  display:flex; align-items:center; justify-content:center;
}
#camIcon{
  transition: transform .15s ease-out;
  transform-origin: 50% 50%;
  will-change: transform;
}
.viewfinder-tag{
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-family: var(--font-display);
  font-weight:600;
}

/* ===== Section generic ===== */
section{ padding: 100px 0; }
.section-eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .3px;
  color: var(--orange);
  margin-bottom: 18px;
}
.section-eyebrow::before{
  content:"";
  width: 30px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  display:inline-block;
}
.section-eyebrow.light::before{ background: var(--orange); }
.section-eyebrow.light{ color: var(--orange); }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2, h2{
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
}

/* ===== About ===== */
.about{ background: var(--gray-100); }
.about-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items:center;
}
.about-text p{ color: var(--gray-600); margin-top: 16px; }
.about-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 20px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  border: 1px solid var(--gray-300);
  transition: transform .2s ease, border-color .2s ease;
}
.stat-card:hover{ transform: translateY(-4px); border-color: var(--orange); }
.stat-icon{
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--orange-light);
  display:flex; align-items:center; justify-content:center;
}
.stat-title{ font-family: var(--font-display); font-weight:700; font-size:15px; }
.stat-desc{ font-size: 13px; color: var(--gray-600); }

/* ===== Services ===== */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card{
  position: relative;
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  padding: 34px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.15); }
.service-icon{
  width: 66px; height:66px;
  border-radius: 14px;
  background: var(--orange-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
}
.service-card h3{ font-size: 19px; margin-bottom: 10px; }
.service-card p{ color: var(--gray-600); font-size: 14.5px; }
.service-card.featured{
  background: var(--gray-900);
  color: var(--white);
  border-color: var(--gray-900);
}
.service-card.featured p{ color: rgba(255,255,255,.7); }
.service-card.featured .service-icon{ background: rgba(245,130,13,.18); }
.badge{
  display:inline-block;
  margin-top: 16px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight:700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ===== UNV partnership ===== */
.unv{
  position: relative;
  background: var(--gray-900);
  color: var(--white);
  overflow: hidden;
}
.unv-grid-bg{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(245,130,13,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(245,130,13,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.unv-inner{
  position:relative;
  display:grid;
  grid-template-columns: .55fr 1fr;
  gap: 70px;
  align-items:center;
}
.unv-badge-wrap{ display:flex; justify-content:center; }
.unv-badge{
  position:relative;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2A2A2A, #0B0B0B);
  border: 1px solid rgba(245,130,13,.4);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 4px;
}
.unv-badge .corner{ width:28px; height:28px; }
.unv-badge-eyebrow{ font-size:11px; color: rgba(255,255,255,.6); font-family: var(--font-display); font-weight:600; }
.unv-badge-name{ font-family: var(--font-display); font-size: 40px; font-weight:900; color: var(--orange); letter-spacing:1px; }
.unv-badge-sub{ font-size:12px; color: rgba(255,255,255,.65); text-align:center; padding:0 20px; }

.unv-text p{ color: rgba(255,255,255,.75); margin: 18px 0 22px; max-width: 560px; }
.unv-points{ display:flex; flex-direction:column; gap: 12px; }
.unv-points li{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-weight:600; font-size: 14.5px;
}
.unv-points li::before{
  content:"";
  width:8px; height:8px;
  border-radius:2px;
  background: var(--orange);
  flex-shrink:0;
}

/* ===== Why ===== */
.why-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card{
  padding: 30px 22px;
  border-radius: var(--radius);
  background: var(--gray-100);
  border-top: 3px solid var(--orange);
}
.why-num{
  font-family: var(--font-display);
  font-weight:900;
  font-size: 30px;
  color: var(--white);
  background: var(--orange);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px -6px rgba(245,130,13,.5);
}
.why-card h3{ font-size:16.5px; margin-bottom:8px; }
.why-card p{ font-size:13.5px; color: var(--gray-600); }

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-info p{ color: var(--gray-600); margin: 16px 0 30px; max-width: 420px; }
.contact-methods{ display:flex; flex-direction:column; gap: 14px; }
.contact-method{
  display:flex; align-items:center; gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color .2s ease, background .2s ease;
}
.contact-method:hover{ border-color: var(--orange); background: var(--orange-light); }
.method-icon{
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--orange-light);
  display:flex; align-items:center; justify-content:center;
}
.method-label{ display:block; font-family: var(--font-display); font-weight:700; font-size:14px; }
.method-value{ display:block; font-size: 12.5px; color: var(--gray-600); }

.contact-form{
  position: relative;
  background: var(--gray-100);
  border-radius: 16px;
  padding: 34px;
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.contact-form label{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 13.5px;
  color: var(--gray-700);
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.contact-form input, .contact-form textarea{
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  resize: none;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: none;
  border-color: var(--orange);
}

/* ===== WhatsApp floating glass bubble ===== */
.whatsapp-float{
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(37,211,102,.55), rgba(18,140,63,.55));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 10px 30px -8px rgba(18,140,63,.55), inset 0 1px 1px rgba(255,255,255,.5);
  z-index: 200;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px -8px rgba(18,140,63,.65), inset 0 1px 1px rgba(255,255,255,.5);
}
.whatsapp-pulse{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.55);
  animation: whatsapp-pulse 2.2s infinite;
  z-index: -1;
}
@keyframes whatsapp-pulse{
  0%{ transform: scale(1); opacity: .55; }
  70%{ transform: scale(1.6); opacity: 0; }
  100%{ transform: scale(1.6); opacity: 0; }
}

@media (max-width: 680px){
  .whatsapp-float{ width: 54px; height: 54px; bottom: 18px; right: 18px; }
}

/* ===== Scroll-to-top glass bubble ===== */
.scroll-top-btn{
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 26px -8px rgba(30,30,30,.25), inset 0 1px 1px rgba(255,255,255,.6);
  cursor: pointer;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .2s ease;
}
.scroll-top-btn.visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -8px rgba(30,30,30,.3), inset 0 1px 1px rgba(255,255,255,.6);
}

@media (max-width: 680px){
  .scroll-top-btn{ width: 50px; height: 50px; bottom: 18px; left: 18px; }
}

/* ===== Footer ===== */
.site-footer{ background: var(--gray-900); color: rgba(255,255,255,.75); padding-top: 60px; }
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo{ display:flex; align-items:center; gap:10px; }
.footer-brand p{ font-size: 13.5px; margin-top: 8px; max-width:280px; }
.footer-nav{ display:flex; gap: 26px; }
.footer-nav a{ font-family: var(--font-display); font-weight:600; font-size:14px; }
.footer-nav a:hover{ color: var(--orange); }
.footer-bottom{
  text-align:center;
  font-size: 12.5px;
  padding: 20px 0;
  color: rgba(255,255,255,.5);
}

/* ===== Responsive ===== */
@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; }
  .about-grid, .unv-inner, .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .why-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px){
  :root{ --header-h: 70px; }
  .container{ padding: 0 16px; }
  .logo-mark img{ width: 40px; height: 40px; }
  .logo-text .line1, .logo-text .line2{ font-size: 13.5px; }
  .header-actions{ gap: 10px; }
  .nav-toggle{ display: flex; }
  .main-nav{
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 30px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-300);
    box-shadow: 0 16px 30px -14px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 90;
  }
  .main-nav.open{ opacity: 1; visibility: visible; transform: translateY(0); }
  .header-cta{ padding: 8px 14px; font-size: 12.5px; }

  section{ padding: 64px 0; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .about-stats{ grid-template-columns: 1fr 1fr; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
}

@media (max-width: 360px){
  .logo-text{ display: none; }
}
