
:root {
  --primary: #00eaff;
  --primary-hover: #00ccff;
  --dark: #0a1426;
  --text: #e8f4ff;
  --bg-dark: #0a1426;
  --card-dark: #101a28;
  --accent-glow: rgba(0,234,255,0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Estedad', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }

@media (max-width:900px) {
  .grid-2,.grid-3 { grid-template-columns:1fr; }
}

.nav-wrapper {
  max-width: 1550px;
  margin: auto;
  padding: 0 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 98px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 25px;
}
.brand-box img {
  height: 76px;
  border-radius: 24px;
  box-shadow: 0 0 45px rgba(0,234,255,0.8);
  animation: float 9s ease-in-out infinite;
  transition: all .8s;
}
.brand-box:hover img { transform: scale(1.25) rotate(12deg); }

.brand-box .title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 30px rgba(0,234,255,0.8);
}
.brand-box small { font-size: 1.05rem; color: #88ddff; }

.menu {
  display: flex;
  gap: 60px;
  align-items: center;
}
.menu-item {
  position: relative;
  padding: 18px 0;
  transition: all .6s;
}
.menu-item:hover { transform: translateY(-12px); }
.menu-item>a {
  color: #e0f4ff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  position: relative;
  padding: 14px 0;
  transition: all .6s;
}
.menu-item>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 5px;
  background: var(--primary);
  border-radius: 6px;
  transition: all .8s;
  transform: translateX(-50%);
  box-shadow: 0 0 40px var(--primary);
}
.menu-item:hover>a,
.menu-item.active>a {
  color: var(--primary);
  text-shadow: 0 0 40px var(--primary);
}
.menu-item:hover>a::after,
.menu-item.active>a::after { width: 100%; }

.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(12,22,45,0.99);
  backdrop-filter: blur(40px);
  border: 2px solid rgba(0,234,255,0.45);
  border-radius: 32px;
  min-width: 320px;
  padding: 30px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(45px) scale(0.88);
  transition: all .8s cubic-bezier(0.68,-0.55,0.265,1.55);
  box-shadow: 0 60px 120px rgba(0,0,0,0.95);
}
.menu-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(22px) scale(1);
}
.submenu a {
  display: block;
  padding: 20px 42px;
  color: #c8e6ff;
  font-size: 1.15rem;
  transition: all .5s;
}
.submenu a:hover {
  background: rgba(0,234,255,0.25);
  color: var(--primary);
  padding-right: 60px;
  text-shadow: 0 0 25px var(--primary);
}

#mobMenuBtn {
  display: none;
  position: fixed;
  right: 25px;
  top: 25px;
  z-index: 999999;
  width: 68px;
  height: 68px;
  background: rgba(0,234,255,0.3);
  backdrop-filter: blur(25px);
  border: 4px solid rgba(0,234,255,0.8);
  border-radius: 28px;
  color: var(--primary);
  font-size: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(0,234,255,0.7);
  transition: all .8s;
  animation: pulseGlow 3s infinite;
}
#mobMenuBtn:hover { transform: scale(1.45) rotate(90deg); background: var(--primary); color: #000; }

#mobileMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: rgba(8,16,35,0.99);
  backdrop-filter: blur(50px);
  border-left: 6px solid var(--primary);
  z-index: 99998;
  padding: 150px 55px 70px;
  transition: all .9s cubic-bezier(0.68,-0.55,0.265,1.55);
  overflow-y: auto;
  box-shadow: -50px 0 140px rgba(0,0,0,1);
}
#mobileMenu.open { right: 0; }

.mob-close-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 65px;
  height: 65px;
  background: rgba(0,234,255,0.35);
  border: 4px solid rgba(0,234,255,0.8);
  border-radius: 22px;
  color: var(--primary);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .6s;
}
.mob-close-btn:hover { background: var(--primary); color: #000; transform: scale(1.3); }

@media (max-width:992px) {
  .menu { display: none; }
  #mobMenuBtn { display: flex !important; }
}

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-28px)} }
@keyframes pulseGlow { 0%,100%{box-shadow:0 0 35px rgba(0,234,255,0.6)} 50%{box-shadow:0 0 80px rgba(0,234,255,1)} }
@keyframes ripple { 0%{box-shadow:0 0 0 0 rgba(0,234,255,0.6)} 70%{box-shadow:0 0 0 60px rgba(0,234,255,0)} 100%{box-shadow:0 0 0 0 rgba(0,234,255,0)} }
@keyframes typing { from{width:0} to{width:100%} }
@keyframes blink { 50%{border-color:transparent} }
@keyframes glowLine { 0%,100%{box-shadow:0 0 70px var(--primary)} 50%{box-shadow:0 0 120px var(--primary),0 0 180px rgba(0,234,255,1)} }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-35px)} }

/* خط جداکننده */
.section-divider {
  width:100%; height:5px; background:linear-gradient(to right,transparent,rgba(0,234,255,0.7),transparent);
  margin:130px auto; position:relative; overflow:hidden;
}
.section-divider::before {
  content:''; position:absolute; top:-3px; left:50%; transform:translateX(-50%);
  width:450px; height:10px; background:var(--primary); border-radius:25px;
  box-shadow:0 0 80px var(--primary),0 0 160px rgba(0,234,255,1);
  animation:glowLine 3.5s infinite alternate,float 25s ease-in-out infinite;
}

.hero {
  height:100vh;
  position:relative;
  overflow:hidden;
}
.hero::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(10,20,40,0.9),rgba(0,30,60,0.85));
  z-index:1;
}
.hero .slides { height:100%; width:100%; position:relative; }
.hero .slide { position:absolute; inset:0; opacity:0; transition:opacity 1.4s ease; }
.hero .slide.active { opacity:1; }
.hero img { width:100%; height:100%; object-fit:cover; }

.hero-content {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2;
  text-align:center; max-width:1500px; padding:0 20px;
}
.hero-content h1 {
  font-size:clamp(4.2rem,12vw,9.5rem); font-weight:900; line-height:1.1; margin-bottom:45px;
  background:linear-gradient(90deg,#00eaff,#00ccff,#0099ff,#00ffff,#00ccff,#00eaff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  text-shadow:0 0 100px rgba(0,234,255,1); overflow:hidden; white-space:nowrap;
  border-right:8px solid var(--primary); width:0;
  animation:typing 5s steps(50) forwards,blink .75s infinite; animation-delay:0.5s;
}
.hero-content p {
  font-size:clamp(1.6rem,5.5vw,3rem); line-height:2.1; margin-bottom:90px;
  opacity:0; animation:fadeInUp 2.2s ease-out forwards; animation-delay:5.2s;
}
.hero-btns a {
  padding:30px 80px; border-radius:90px; font-weight:900; font-size:1.7rem;
  position:relative; overflow:hidden; box-shadow:0 35px 90px rgba(0,0,0,0.9);
  transition:all .8s; animation:pulseGlow 4s infinite;
}
.hero-btns a::after { content:''; position:absolute; top:50%; left:50%; width:0; height:0;
  background:rgba(0,234,255,0.7); border-radius:50%; transform:translate(-50%,-50%);
  transition:all 1s;
}
.hero-btns a:hover::after { width:700px; height:700px; }
.hero-btns a:first-child { background:var(--primary); color:#000; }
.hero-btns a:last-child { background:transparent; border:5px solid var(--primary); color:var(--primary); }
.hero-btns a:hover { transform:translateY(-20px) scale(1.12); }

.ctrl {
  position:absolute; top:50%; transform:translateY(-50%);
  width:85px; height:85px; background:rgba(255,255,255,0.2); backdrop-filter:blur(15px);
  border:3px solid rgba(255,255,255,0.5); border-radius:50%; color:#fff; font-size:42px;
  display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:10; transition:all .5s;
}
.ctrl:hover { background:var(--primary); color:#000; transform:translateY(-50%) scale(1.3); }
#prev { left:50px; } #next { right:50px; }
.dots { position:absolute; bottom:40px; left:50%; transform:translateX(-50%); display:flex; gap:16px; z-index:10; }
.dot { width:16px; height:16px; background:rgba(255,255,255,0.8); border-radius:50%; cursor:pointer; transition:.5s; }
.dot.active { background:#fff; transform:scale(1.8); box-shadow:0 0 35px #fff; }

.section-title {
  font-size:4.5rem; text-align:center; margin-bottom:50px; color:var(--primary);
  text-shadow:0 0 50px rgba(0,234,255,0.8);
}
.section-subtitle {
  font-size:1.8rem; text-align:center; margin-bottom:90px; opacity:0.94;
}

.card-anim {
  opacity:0; transform:translateY(80px) scale(0.9);
  transition:all 1s cubic-bezier(0.175,0.885,0.32,1.275);
}
.card-anim.visible {
  opacity:1; transform:translateY(0) scale(1);
}
.card-anim:hover {
  transform:perspective(1200px) rotateX(10deg) rotateY(-10deg) translateY(-30px) scale(1.07)!important;
  box-shadow:0 70px 140px rgba(0,234,255,0.5)!important;
}

.float-img { animation:float 18s ease-in-out infinite; }

.stat-number {
  font-size:6.5rem; font-weight:900; color:var(--primary);
  text-shadow:0 0 50px rgba(0,234,255,0.7); margin-bottom:20px;
  animation:bounce 3s infinite;
}

footer {
  background:#060b15; padding:140px 30px 60px; border-top:3px solid rgba(0,234,255,0.2); text-align:center;
}
.footer-grid {
  max-width:1500px; margin:auto; display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:70px; text-align:right;
}
.footer-grid h4 { color:var(--primary); margin-bottom:30px; font-size:1.8rem; }
.footer-grid a { color:#e8f4ff; text-decoration:none; transition:.4s; }
.footer-grid a:hover { color:var(--primary); text-shadow:0 0 20px var(--primary); }
.footer-bottom { margin-top:100px; padding-top:50px; border-top:2px solid #222; opacity:0.9; font-size:1.1rem; }

@media (max-width:992px) {
  .menu { display:none; }
  #mobMenuBtn { display:flex!important; }
  .hero { height:75vh; }
}
@media (max-width:768px) {
  .section-title { font-size:3.2rem; }
  .hero-content h1 { font-size:clamp(3rem,10vw,5.5rem); }
  .hero-btns a { padding:20px 50px; font-size:1.4rem; }
}
.whatsapp-float {
  position: fixed;
  width: 68px;
  height: 68px;
  bottom: 30px;
  left: 30px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 36px;
  box-shadow: 0 8px 25px rgba(37,211,102,0.5);
  z-index: 99999;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 40px rgba(37,211,102,0.7);
  color: #fff;
}

.whatsapp-float i {
  animation: whatsappBeat 2s infinite;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(37,211,102,0.4);
  border-radius: 50%;
  animation: whatsappPulse 2.5s infinite;
  z-index: -1;
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #000;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 85px;
}

@keyframes whatsappBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 576px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 32px;
    bottom: 20px;
    left: 20px;
  }
  .whatsapp-tooltip { display: none; }
}