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

:root {
  --primary: #0B1D3A;
  --accent: #C8922A;
  --accent2: #E8B44D;
  --teal: #1B8C6F;
  --sky: #3A8FBF;
  --bg: #FBFAF8;
  --bg2: #F3F1EC;
  --bg3: #EDE9E0;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text2: #4A4A5A;
  --text3: #8A8A9A;
  --border: #E2DFD8;
  --radius: 16px;
  --radius2: 24px;
  --shadow1: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow2: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow3: 0 20px 60px rgba(0, 0, 0, 0.12);
  --gold-glow: 0 8px 30px rgba(200, 146, 42, 0.2);
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --tr: 0.4s var(--ease-out-expo);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--teal));
  border-radius: 3px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 45px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideR {
  from { opacity: 0; transform: translate3d(50px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideL {
  from { opacity: 0; transform: translate3d(-50px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate3d(0,0,0); }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate3d(0,0,0); }
}
@keyframes float {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-14px,0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale3d(1,1,1); }
  50% { opacity: .4; transform: scale3d(1.15,1.15,1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes pour {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.rv {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  will-change: transform, opacity;
}
.rv.show { opacity: 1; transform: translate3d(0, 0, 0); }
.rv-r {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  will-change: transform, opacity;
}
.rv-r.show { opacity: 1; transform: translate3d(0, 0, 0); }
.rv-l {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  will-change: transform, opacity;
}
.rv-l.show { opacity: 1; transform: translate3d(0, 0, 0); }
.rv-s {
  opacity: 0;
  transform: scale3d(.9, .9, 1);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  will-change: transform, opacity;
}
.rv-s.show { opacity: 1; transform: scale3d(1, 1, 1); }

/* ===== EPOXY SHAPES ===== */
.epoxy-blob {
  position: absolute;
  filter: blur(60px);
  border-radius: 50%;
  animation: blob 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: transform, border-radius;
  transform: translateZ(0);
}
.resin-separator {
  width: 100%;
  height: 60px;
  position: relative;
  overflow: hidden;
}
.resin-separator svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  display: block;
  will-change: transform;
}
.resin-separator .wave-front {
  animation: waveMotion 10s linear infinite;
}
.resin-separator .wave-back {
  opacity: 0.35;
  animation: waveMotion 6s linear infinite reverse;
}
@keyframes waveMotion {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.epoxy-drips {
  position: relative;
  width: 100%;
  height: 100px;
  background: var(--bg);
  overflow: visible;
  z-index: 5;
}
.liquid-resin-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.resin-main-drip {
  fill: var(--bg2);
}
.resin-bg-drip {
  fill: var(--accent);
}
.interactive-drops {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.drop-particle {
  position: absolute;
  width: 6px;
  height: 12px;
  background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
  animation: dropFall 4s infinite cubic-bezier(0.4, 0, 1, 0.6);
  opacity: 0;
  will-change: transform, opacity;
}
.dp1 { left: 8%; animation-delay: 0s; }
.dp2 { left: 18%; animation-delay: 1.5s; }
.dp3 { left: 28%; animation-delay: 0.7s; }
.dp4 { left: 38%; animation-delay: 2.2s; }
.dp5 { left: 48%; animation-delay: 1.1s; }
.dp6 { left: 58%; animation-delay: 3.0s; }
.dp7 { left: 68%; animation-delay: 0.3s; }
.dp8 { left: 78%; animation-delay: 1.8s; }
.dp9 { left: 88%; animation-delay: 2.7s; }
.dp10 { left: 96%; animation-delay: 0.9s; }

@keyframes dropFall {
  0% {
    transform: translate3d(0, 20px, 0) scale(0.6);
    opacity: 0;
  }
  12% {
    transform: translate3d(0, 45px, 0) scale(1);
    opacity: 0.95;
  }
  45%, 100% {
    transform: translate3d(0, 260px, 0) scale(0.4);
    opacity: 0;
  }
}
.floor-gloss {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(200, 146, 42, 0.03));
  pointer-events: none;
}
.hex-pattern {
  position: absolute;
  inset: 0;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230B1D3A' fill-opacity='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, border-color .4s;
  background: rgba(251, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 223, 216, 0.5);
}
.nav.stuck {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-brand img { height: 36px; }
.nav-brand b { font-size: 1rem; font-weight: 900; color: var(--primary); }
.nav-mid { display: flex; gap: 1.6rem; align-items: center; }
.nav-mid a {
  color: var(--text2);
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  position: relative;
  transition: color .3s;
}
.nav-mid a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s;
  border-radius: 1px;
}
.nav-mid a:hover { color: var(--primary); }
.nav-mid a:hover::after { width: 100%; }
.nav-end .cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: .5rem 1.3rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Cairo';
  font-size: .85rem;
  transition: all .3s;
}
.nav-end .cta:hover {
  background: var(--accent);
  box-shadow: var(--gold-glow);
  transform: translateY(-1px);
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .3s;
}
.burger.on span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
.mob-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  transition: max-height .45s var(--tr);
}
.mob-menu.on { max-height: 500px; }
.mob-menu a {
  display: block;
  padding: .9rem 1.5rem;
  color: var(--text2);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mob-menu a:hover { color: var(--accent); }
.mob-menu .mob-cta {
  margin: 1rem 1.5rem;
  text-align: center;
  display: block;
  background: var(--primary);
  color: #fff;
  padding: .7rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

/* ===== HERO ===== */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 5vw, 5rem) 4rem; position: relative; z-index: 2; }
.hero-left .tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem;
  border-radius: 50px;
  background: rgba(200, 146, 42, .08);
  border: 1px solid rgba(200, 146, 42, .2);
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero-left .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.hero-left h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.3; margin-bottom: .8rem; }
.hero-left h1 em { font-style: normal; color: var(--accent); }
.hero-left .typing { font-size: .95rem; color: var(--text3); margin-bottom: .6rem; min-height: 1.6rem; }
.hero-left .typing .cur { color: var(--accent); animation: blink 1s step-end infinite; }
.hero-left .desc { font-size: .95rem; color: var(--text2); line-height: 1.8; margin-bottom: 2rem; max-width: 480px; }
.hero-left .btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-a {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: .75rem 1.8rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: 'Cairo';
  font-size: .95rem;
  transition: all .3s;
  box-shadow: var(--gold-glow);
}
.btn-a:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(200, 146, 42, .3); }
.btn-b {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: .7rem 1.8rem;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Cairo';
  font-size: .95rem;
  transition: all .3s;
}
.btn-b:hover { background: var(--primary); color: #fff; }
.hero-right { position: relative; overflow: hidden; }
.hero-right video, .hero-right img { width: 100%; height: 100%; object-fit: cover; }
.hero-right .overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--bg) 0%, transparent 30%); }
.hero-right .float-card {
  position: absolute;
  background: var(--surface);
  border-radius: 14px;
  padding: .7rem 1rem;
  box-shadow: var(--shadow2);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  animation: float 5s ease-in-out infinite;
  z-index: 3;
  will-change: transform;
  transform: translateZ(0);
}
.hero-right .float-card i { font-size: 1.1rem; color: var(--accent); }
.fc1 { bottom: 20%; left: 10%; animation-delay: 0s; }
.fc2 { top: 18%; right: 12%; animation-delay: 2s; }

/* ===== MARQUEE STRIP ===== */
.marquee-strip { 
  background: var(--primary); 
  padding: .9rem 0; 
  overflow: hidden; 
  position: relative; 
  display: flex; 
  width: 100%;
  direction: ltr; /* Isolate scroll boundaries to ensure mathematical seamless loop */
}
.marquee-track { 
  display: flex; 
  width: max-content; 
  animation: marquee 25s linear infinite; 
  will-change: transform; 
}
.marquee-inner { 
  display: flex; 
  gap: 3rem; 
  padding-right: 3rem; 
  white-space: nowrap; 
}
.marquee-inner span { 
  color: rgba(255,255,255,.75); 
  font-size: .85rem; 
  font-weight: 600; 
  display: flex; 
  align-items: center; 
  gap: .5rem; 
  direction: rtl; /* Maintain native Arabic flow for checkmarks and icons */
}
.marquee-inner span i { 
  color: var(--accent); 
}

/* ===== PROCESS ===== */
.process { padding: 5rem 2rem; background: var(--bg2); position: relative; }
.sec-head { text-align: center; margin-bottom: 3.5rem; }
.sec-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: .4rem; }
.sec-head .line { width: 50px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--teal)); margin: .7rem auto 0; border-radius: 2px; }
.sec-head p { color: var(--text3); font-size: .95rem; margin-top: .7rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 45px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--teal), transparent); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step .num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
  box-shadow: var(--shadow1);
  transition: all .3s;
}
.step:hover .num { background: var(--accent); color: #fff; transform: scale(1.12); box-shadow: var(--gold-glow); }
.step h3 { font-size: 1rem; font-weight: 800; margin-bottom: .4rem; }
.step p { color: var(--text3); font-size: .82rem; line-height: 1.65; max-width: 220px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services { padding: 5rem 2rem; background: var(--bg); position: relative; }
.srv-tabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.srv-tab {
  padding: .6rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: 'Cairo';
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: all .3s;
  color: var(--text2);
}
.srv-tab.on, .srv-tab:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--gold-glow); }
.srv-showcase { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; min-height: 340px; }
.srv-showcase .srv-visual { border-radius: var(--radius2); overflow: hidden; position: relative; box-shadow: var(--shadow2); height: 340px; }
.srv-showcase .srv-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tr); }
.srv-showcase:hover .srv-visual img { transform: scale(1.04); }
.srv-showcase .srv-visual .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow1);
  color: var(--accent);
  font-size: 1.2rem;
}
.srv-info h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: .6rem; color: var(--text); }
.srv-info p { color: var(--text2); font-size: .92rem; line-height: 1.8; margin-bottom: 1.5rem; }
.srv-info .features { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.srv-info .features li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text2); }
.srv-info .features li i { color: var(--accent); font-size: .75rem; }

/* ===== NUMBERS ===== */
.numbers { padding: 4rem 2rem; background: var(--primary); position: relative; overflow: hidden; }
.numbers .hex-pattern { opacity: .04; }
.numbers-row { display: flex; justify-content: center; gap: clamp(2rem, 5vw, 5rem); flex-wrap: wrap; position: relative; z-index: 1; }
.numb { text-align: center; }
.numb .val { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; color: var(--accent); line-height: 1; }
.numb .lbl { color: rgba(255,255,255,.6); font-size: .88rem; font-weight: 600; margin-top: .3rem; }

/* ===== PORTFOLIO ===== */
.portfolio { padding: 5rem 2rem; background: var(--bg2); position: relative; }
.filter-bar { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .5rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-family: 'Cairo';
  font-weight: 600;
  font-size: .82rem;
  cursor: pointer;
  transition: all .3s;
  color: var(--text3);
}
.filter-btn.on, .filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
.port-card { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; border: 1px solid var(--border); transition: all .35s; aspect-ratio: 4/3; }
.port-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--tr); }
.port-card:hover { box-shadow: var(--shadow2); transform: translateY(-6px); }
.port-card:hover img { transform: scale(1.08); }
.port-card .info { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.65)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; opacity: 0; transition: opacity .3s; }
.port-card:hover .info { opacity: 1; }
.port-card .info h4 { color: #fff; font-size: .9rem; font-weight: 700; }
.port-card .info span { color: rgba(255,255,255,.7); font-size: .75rem; }
.port-card .cat-badge { position: absolute; top: .6rem; right: .6rem; padding: .2rem .6rem; border-radius: 6px; font-size: .7rem; font-weight: 700; background: rgba(255,255,255,.9); color: var(--primary); z-index: 2; }

/* ===== TESTIMONIALS — DRAGGABLE CAROUSEL ===== */
.testimony { padding: 5rem 2rem; background: var(--bg); position: relative; overflow: hidden; }
.test-slider-container { max-width: 1200px; margin: 0 auto; overflow: hidden; padding: 1.5rem 0.5rem; cursor: grab; position: relative; user-select: none; -webkit-user-select: none; }
.test-slider-container:active { cursor: grabbing; }
.test-track { display: flex; gap: 1.5rem; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; }
.test-card-new { flex: 0 0 calc(33.333% - 1rem); background: var(--surface); border-radius: var(--radius2); padding: 2.5rem 2rem; box-shadow: var(--shadow1); border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease; text-align: right; position: relative; }
.test-card-new:hover { transform: translate3d(0, -6px, 0); box-shadow: var(--shadow2); border-color: var(--accent); }
.test-card-new blockquote { font-size: 0.95rem; line-height: 1.8; color: var(--text2); font-style: italic; margin: 1.2rem 0; min-height: 90px; }
.test-card-new .author { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.test-card-new .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 0.95rem; }
.test-card-new .meta .name { font-weight: 700; font-size: .9rem; color: var(--text); }
.test-card-new .meta .role { color: var(--text3); font-size: .78rem; margin-top: 2px; }
.test-card-new .stars { margin-bottom: .4rem; }
.test-card-new .stars i { color: var(--accent); font-size: .85rem; }
.test-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.test-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-size: 1.1rem; color: var(--text2); transition: all .3s; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow1); }
.test-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--gold-glow); transform: scale(1.05); }
.test-dots { display: flex; justify-content: center; gap: .4rem; }
.test-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all .3s; cursor: pointer; }
.test-dots span.on { background: var(--accent); transform: scale(1.35); }

/* ===== CTA FORM ===== */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.cta-visual { position: relative; overflow: hidden; }
.cta-visual img { width: 100%; height: 100%; object-fit: cover; }
.cta-visual .overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11, 29, 58, .7), rgba(200, 146, 42, .3)); }
.cta-visual .overlay-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 2rem; }
.cta-visual .overlay-text h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: .5rem; }
.cta-visual .overlay-text p { opacity: .8; font-size: .9rem; max-width: 350px; }
.cta-form-side { padding: 3rem clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; background: var(--bg); }
.cta-form-side h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: .3rem; }
.cta-form-side .sub { color: var(--text3); font-size: .9rem; margin-bottom: 2rem; }
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .3rem; color: var(--text); }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px; color: var(--text); font-family: 'Cairo'; font-size: .92rem; padding: .7rem 1rem; outline: none; transition: border-color .3s, box-shadow .3s; direction: rtl; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200, 146, 42, .12); }
.fg select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238A8A9A'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 1rem center; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.sub-btn { width: 100%; background: var(--accent); color: #fff; font-weight: 700; height: 50px; font-size: 1rem; border-radius: 12px; border: none; cursor: pointer; font-family: 'Cairo'; transition: all .3s; box-shadow: var(--gold-glow); margin-top: .5rem; }
.sub-btn:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(200, 146, 42, .3); }
.pills { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
.pill { display: flex; align-items: center; gap: .4rem; padding: .4rem 1rem; border-radius: 50px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); font-weight: 700; font-size: .85rem; text-decoration: none; transition: all .3s; }
.pill:hover { border-color: var(--accent); box-shadow: var(--gold-glow); transform: translateY(-2px); }
.pill i { font-size: .8rem; }
.cta-visual .pill {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease !important;
}
.cta-visual .pill:hover {
  background: #ffffff !important;
  color: var(--primary) !important;
  border-color: #ffffff !important;
  transform: translate3d(0, -3px, 0) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

/* ===== MODERN GLOWING FOOTER ===== */
.ft {
  background: radial-gradient(circle at top right, #112544, #050d1a);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.ft::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(200,146,42,0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.ft-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
}
.ft-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.6rem;
}
.ft-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 10px;
}
.ft-col p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-top: 1rem;
}
.ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.ft-col ul li {
  margin: 0;
}
.ft-col ul a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.ft-col ul a i {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}
.ft-col ul a:hover {
  color: var(--accent2);
  transform: translate3d(-6px, 0, 0);
}
.ft-col ul a:hover i {
  transform: scale(1.3);
}
.ft-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ft-contact .item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}
.ft-contact .item i {
  color: var(--accent);
  background: rgba(200, 146, 42, 0.1);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(200, 146, 42, 0.15);
}
.ft-contact .item:hover i {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.1);
}
.ft-contact .item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s;
}
.ft-contact .item a:hover {
  color: var(--accent);
}
.ft-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.ft-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  font-size: 0.95rem;
}
.ft-socials a:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translate3d(0, -4px, 0) rotate(360deg);
  box-shadow: var(--gold-glow);
}
.ft-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}
.ft-bar span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
}
.ft-dots {
  display: flex;
  gap: 0.4rem;
}
.ft-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.2);
}
.ft-dots:hover i {
  transform: scale(1.4);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--accent);
  color: #fff;
  padding: .8rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Cairo';
  z-index: 999;
  transition: transform .5s var(--tr);
  box-shadow: var(--gold-glow);
  font-size: .9rem;
}

/* ===== RESPONSIVE ===== */
@media(max-width:992px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { height: 300px; order: -1; }
  .hero-right .overlay { background: linear-gradient(to top, var(--bg), transparent 50%); }
  .hero-left { padding: 2rem clamp(1.5rem, 4vw, 3rem) 3rem; text-align: center; }
  .hero-left .tag { margin: 0 auto 1.2rem; }
  .hero-left .desc { margin: 0 auto 2rem; }
  .hero-left .btns { justify-content: center; }
  .hero-right .float-card { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .process-grid::before { display: none; }
  .srv-showcase { grid-template-columns: 1fr; }
  .srv-showcase .srv-visual { height: 260px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-split { grid-template-columns: 1fr; }
  .cta-visual { height: 280px; }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  .nav-mid, .nav-end { display: none !important; }
  .burger { display: flex !important; }
  .process-grid, .portfolio-grid, .fr { grid-template-columns: 1fr !important; }
  .srv-tabs { gap: .3rem; }
  .srv-tab { font-size: .78rem; padding: .5rem 1rem; }
  .test-card-new { padding: 1.8rem 1.5rem; flex: 0 0 100%; }
  .test-card-new blockquote { font-size: .9rem; }
  .ft-top { grid-template-columns: 1fr !important; }
  .ft-bar { flex-direction: column; text-align: center; }
  .numbers-row { gap: 2rem; }
  .btn-a, .btn-b { width: 100%; text-align: center; }
}