/* Base */
body{
  margin:0;
  font-family:"Segoe UI", Tahoma, Arial;
  background:#f6f7f9;
  color:#111;
   /*background:
    radial-gradient(
      1200px 600px at 90% -10%,
      #1b3a5f 0%,
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at -10% 80%,
      #0f766e 0%,
      transparent 55%
    ),
    linear-gradient(
      135deg,
      #020617 0%,
      #020617 30%,
      #020617 100%
    );*/

     background:
    radial-gradient(1200px 600px at 90% -10%, #1e3a8a22, transparent),
    radial-gradient(800px 500px at 10% 10%, #22c55e22, transparent),
    linear-gradient(180deg, #020617, #020617);

}
a{ color:inherit; }

/* Layout */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}
.page{
  padding:60px 0;
}

/* Header */
/*.site-header{
  background:#fff;
  border-bottom:1px solid #eee;
}*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  /* نفس خلفية الموقع */
     background:
    radial-gradient(1200px 600px at 90% -10%, #1e3a8a22, transparent),
    radial-gradient(800px 500px at 10% 10%, #22c55e22, transparent),
    linear-gradient(180deg, #020617, #020617);
  border-bottom: 0 px solid rgba(255,255,255,0.06);
  /* مهم جدًا */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 30px rgba(0,0,0,0.35);
 
}

/*.site-header.glass {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(2,6,23,0.65),
    rgba(2,6,23,0.25)
  );
}*/

.nav-wrapper{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  
  gap: 6px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #22c55e;
}

.nav-links a{
  text-decoration:none;
  color:#333;
  font-weight:600;
}
.nav-links a.active{
  /*text-decoration:underline;*/
   color: #22c55e;
}

/* Buttons */
/*.btn{
  background:#000;
  color:#fff !important;
  padding:10px 18px;
  border-radius:8px;
  text-decoration:none;
  display:inline-block;
  border:0;
  cursor:pointer;
}
.btn:hover{ opacity:.9; }*/
.btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34,197,94,0.4);
}



.btn-lg{
  padding:14px 24px;
  font-size:16px;
}

/* Card */
/*.card{
  background:#fff;
  border-radius:14px;
  padding:42px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  backdrop-filter: blur(2px);
}*/
.card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.card h1{
  margin:0 0 12px;
  font-size:34px;
}
.muted{
  color:#666;
  margin:0 0 22px;
}

/* Hero */
.hero p{ font-size:16px; line-height:1.8; }
.hero-actions{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:16px;
}
.link{
  color:#e8e4f8;
  /* text-decoration:underline;*/
}

/* Steps */
.steps{
  margin-top:20px;
  display:grid;
  gap:16px;
}
.step{
  background:#fafafa;
  border:1px solid #eee;
  border-radius:12px;
  padding:18px;
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.badge{
  width:34px;
  height:34px;
  border-radius:10px;
  background:#000;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}
.step h3{
  margin:0 0 6px;
}
.step p{
  margin:0;
  color:#555;
  line-height:1.7;
}
.center{ margin-top:22px; }

/* Form */
.form{
  display:grid;
  gap:10px;
}
label{
  font-weight:700;
  margin-top:8px;
}
input, select{
  width:100%;
  padding:12px 12px;
  border:1px solid #ddd;
  border-radius:10px;
  outline:none;
  font-size:14px;
  background:#fff;
}
input:focus, select:focus{
  border-color:#000;
}

/* Footer */
.site-footer{
  padding:22px 0;
  color:#777;
  text-align:center;
}


.hero {
   /* background: linear-gradient(135deg, #ffffff, #f2f4f8);*/
    border-radius: 16px;
    padding: 10px 10px;
    margin-top: 10px;
    animation: fadeUp 0.8s ease-out;
}

.hero-content {
    max-width: 600px;
    color: #d8f3dd;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary.big {
    padding: 14px 30px;
    font-size: 17px;
}

.link {
    color: #e9e5ee;
    text-decoration: none;
    font-weight: 500;
}



@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 70px;


}

.feature {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
    
}

.feature:hover {
    transform: translateY(-6px);

    padding: 5px;                 /* إطار داخلي */
  box-shadow:
    inset 8px 8px 16px rgba(0,0,0,.18),
    inset -8px -8px 16px rgba(255,255,255,.9);
}

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    color: #555;
    font-size: 15px;
}


.cta {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 70px 20px;
    border-radius: 16px;
    margin: 80px 0;
}

.cta p {
    margin: 15px 0 30px;
    color: #ccc;
}


/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Apply */
.hero,
.page-box,
.features,
.cta {
    animation: fadeUp 0.8s ease-out both;
}

header {
    animation: fadeIn 0.6s ease-in;
}

/* Hover animation */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


.subtitle {
    color: #666;
    margin-bottom: 40px;
}

.steps {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-right: 4px solid #000;
    padding-right: 20px;
}

.step span {
    background: #000;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.order-form {
    max-width: 550;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
  
  
  
  background: #fff;
    
}

/* ===== Professional Header ===== */

/*.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(0,0,0,0.06);
}*/

.nav-wrapper{
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.logo-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #02150a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.logo-text{
  font-size: 13px;        /* 👈 أصغر */
  font-weight: 600;
  opacity: .85;
  margin-top: -2px;      /* 👈 تقرب من الأيقونة */
}




/* Navigation */
.nav-links{
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a{
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}

/* Active / Hover underline */
.nav-links a::after{
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after{
  width: 100%;
}

/* CTA Button */
.nav-links .btn{
  margin-right: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.btn-accent {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.card.hero {
  animation: float 6s ease-in-out infinite;
}

.card.hero {
  position: relative;
}

.card.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(34,197,94,0.15),
    rgba(59,130,246,0.15),
    transparent
  );
  z-index: -1;
  filter: blur(18px);
  animation: glowMove 8s linear infinite;
}

@keyframes glowMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }


}


.card.hero {
  transition: 
    transform .4s ease,
    box-shadow .4s ease;
}

.card.hero:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

/* Particles Background */
.particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particles-bg span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

/* Glowing particles */
.particles-bg span.glow {
  width: 6px;
  height: 6px;
  background: #22c55e;
  box-shadow:
    0 0 10px rgba(34,197,94,.8),
    0 0 20px rgba(34,197,94,.4);
  opacity: .8;
}


@keyframes floatParticle {
  from {
    transform: translateY(100vh);
    opacity: 0;
  }
  20% { opacity: 1; }
  to {
    transform: translateY(-10vh);
    opacity: 0;
  }
}

.particles-bg span:nth-child(1) { left:10%; animation-duration:18s; }
.particles-bg span:nth-child(2) { left:20%; animation-duration:22s; }
.particles-bg span:nth-child(3) { left:30%; animation-duration:16s; }
.particles-bg span:nth-child(4) { left:40%; animation-duration:26s; }
.particles-bg span:nth-child(5) { left:50%; animation-duration:20s; }
.particles-bg span:nth-child(6) { left:60%; animation-duration:24s; }
.particles-bg span:nth-child(7) { left:70%; animation-duration:19s; }
.particles-bg span:nth-child(8) { left:80%; animation-duration:28s; }
.particles-bg span:nth-child(9) { left:90%; animation-duration:17s; }
.particles-bg span:nth-child(10){ left:15%; animation-duration:30s; }


.hero,
.card,
.site-header {
  position: relative;
  z-index: 2;
}




/* Data Grid */
.data-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      rgba(255,255,255,.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.04) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
  mask-image: radial-gradient(
    circle at center,
    black 40%,
    transparent 75%
  );
  pointer-events: none;
}


/*************************************************************/

/* Hero split layout */
.hero-split{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

/* Image side */
.hero-media{
  position: relative;
}

.hero-media img{
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.25));
  animation: float 6s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.hero-media::before{
  content:"";
  position:absolute;
  inset:-30px;
  background: radial-gradient(circle, rgba(34,197,94,.25), transparent 70%);
  z-index:-1;
}

@media (max-width: 900px){
  .hero-split{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-media img{
    margin: 0 auto;
  }

  .hero-actions{
    justify-content: center;
  }
  .logo {
    gap: 8px;
  }

  .logo-text {
    font-size: 12px;
  }
}

.hero-image svg {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/**************************************************/

.hero-card{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  /*background: linear-gradient(135deg,#ffffff,#f8fafc);*/
  border-radius: 20px;
  
  box-shadow: 0 30px 80px rgba(0,0,0,.15);
  overflow: hidden;

 
    padding: 20px 20px;
    margin-top: 5px;
    animation: fadeUp 0.8s ease-out;
}

/* النص */
.hero-content{
  max-width: 520px;
  z-index: 2;
}



.hero-visual{
  position: relative;
  width: 420px;
  min-width: 380px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.hero-visual svg{
  width: 100%;
  height: auto;

  animation: float 6s ease-in-out infinite;
  filter:
    drop-shadow(0 0 25px rgba(34,197,94,.35))
    drop-shadow(0 0 60px rgba(59,130,246,.15));

  transition: transform .4s ease, filter .4s ease;
}

@keyframes float{
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}



.hero-card:hover .hero-visual svg{
  transform: translateY(-18px) scale(1.03);
  filter:
    drop-shadow(0 0 40px rgba(34,197,94,.6))
    drop-shadow(0 0 90px rgba(59,130,246,.3));
}


.hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(transparent 95%,rgba(255,255,255,.04) 96%),
    linear-gradient(90deg,transparent 95%,rgba(255,255,255,.04) 96%);
  background-size:40px 40px;
  opacity:.15;
  pointer-events:none;
}

@media(max-width: 900px){
  .hero-card{
    flex-direction: column;
    text-align: center;
  }

  .hero-visual{
    order:-1;
    margin-bottom: 30px;
    justify-content: center;
  }
  
  .logo {
    gap: 8px;
  }

  .logo-text {
    font-size: 12px;
  }
  
}

.text-title-work{
  color: #ffffff;
}
.text-app-color-title{
  color: #ffffff;
}
.text-order-color-title{
  color: #ffffff;
}

/**************************************************************************/
/* =========================
   ORDER PAGE – PROFESSIONAL
   ========================= */

/* Section */
.order-hero{
  padding:70px 16px 100px;

  position: relative;
  overflow: hidden;
}

/* Center wrapper */
.order-center{
  display:flex;
  justify-content:center;
}

/* Card */
.order-card{
  width:100%;
  max-width:600px;
  background:rgba(255,255,255,0.96);
  border-radius:22px;
  padding:36px 34px;
  box-shadow:
    0 40px 90px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.6);
  animation: fadeUp .7s ease-out;


  position: relative;
  z-index: 5;


}

/* Title */
.order-title{
  text-align:center;
  font-size:32px;
  margin-bottom:6px;
  letter-spacing:-.5px;
}
.order-desc{
  text-align:center;
  color:#666;
  font-size:15px;
  margin-bottom:28px;
  line-height:1.7;
}

/* Form */
.order-form{
  display:grid;
  gap:18px;
}

/* Inputs */
.order-form input,
.order-form select,
.order-form textarea{
  width:100%;
  padding:15px 16px;
  border-radius:14px;
  /*border:1px solid #dcdcdc;*/
  font-size:14px;
 /* background:#fff;*/
   background: rgba(255,255,255,0.94);
  border: 1px solid rgba(0,0,0,0.08);
  transition:
    border .3s ease,
    box-shadow .3s ease,
    transform .2s ease;
}


/* ✨ Focus Glow */
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus{
  outline:none;
  border-color:#22c55e;
  box-shadow:
    0 0 0 4px rgba(34,197,94,.18),
    0 12px 30px rgba(34,197,94,.25);
  transform: translateY(-1px);
}

/* Textarea */
.order-form textarea{
  resize:none;
  min-height:120px;
}

/* Button */
.order-form button{
  margin-top:12px;
  padding:15px;
  border-radius:16px;
  font-size:16px;
  font-weight:600;
  border:0;
  cursor:pointer;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  transition:all .3s ease;
}

/* Button hover */
.order-form button:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(34,197,94,.45);
}

/* =========================
   MOBILE OPTIMIZATION
   ========================= */
@media (max-width:520px){
  .order-card{
    padding:28px 22px;
    border-radius:18px;
  }

  .order-title{
    font-size:26px;
  }

  .order-desc{
    font-size:14px;
    margin-bottom:22px;
  }

  .order-form input,
  .order-form select,
  .order-form textarea{
    font-size:13.5px;
    padding:14px;
  }

  .order-form button{
    font-size:15px;
    padding:14px;
  }
  
  .logo {
    gap: 8px;
  }

  .logo-text {
    font-size: 12px;
  }
  
}

/* =========================
   Animations
   ========================= */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(25px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Form polish */
.fg { display: grid; gap: 8px; }

.err{
  min-height: 16px;
  font-size: 12px;
  color: #be0f0f;
  opacity: .95;
}

.meta-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:6px;
}

.hint{
  font-size:12px;
  color: rgba(255,255,255,.65);
}

.counter{
  font-size:12px;
  color: rgba(255,255,255,.85);
}

/* Inputs glow */
.order-form input,
.order-form select,
.order-form textarea{
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.18);
  transition: box-shadow .25s ease, border-color .25s ease, transform .15s ease;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus{
  border-color: rgba(34,197,94,.65);
  box-shadow: 0 0 0 4px rgba(34,197,94,.18), 0 12px 28px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

/* invalid */
.is-invalid{
  border-color: rgba(239,68,68,.8) !important;
  box-shadow: 0 0 0 4px rgba(239,68,68,.18), 0 12px 28px rgba(0,0,0,.25) !important;
}

/* counter danger */
.counter.danger{ color: #ffb4b4; }
.counter.ok{ color: rgba(34,197,94,.95); }

/***********************************************************************/

.toast{
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 260px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,.3);
  opacity: 0;
  transform: translateY(-20px);
  transition: all .35s ease;
  z-index: 9999;
}

.toast.show{
  opacity: 1;
  transform: translateY(0);
}

.toast.success{ background: linear-gradient(135deg,#22c55e,#16a34a); }
.toast.error{ background: linear-gradient(135deg,#ef4444,#b91c1c); }



/*************************************************************************/

.phone-wrapper{
  display:flex;
  align-items:center;
  gap:10px;
}
.phone-wrapper span{
  background:#f1f5f9;
  padding:12px 14px;
  border-radius:10px;
  font-weight:600;
}
.phone-wrapper input{
  flex:1;
}
 /************************************************************************/

 /* ===== Phone group ===== */
.phone-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* select الدولة */
.phone-country {
  width: 130px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

/* input رقم الهاتف (صغير وأنيق) */
.phone-input {
  width: 180px;        /* 👈 هنا التحكم في الحجم */
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: 0.2s;
}

/* عند التركيز */
.phone-input:focus,
.phone-country:focus {
  border-color: #4ade80;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2);
}

/* خطأ */
.phone-input.is-invalid {
  border-color: #ef4444;
}

/****************************************************************/
.badge-dev {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(34, 197, 94, 0.15);
  border: 1px dashed rgba(34, 197, 94, 0.4);
  border-radius: 999px;
}

 /************************************************************************************/
  .hero-mockup {
  max-width: 100%;
  width: 900px;
  height: 320px;   
  margin: 40px auto 0;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
  border-radius: 16px;
  object-fit: contain;    /* مهم علشان ما تتقصش */
   /* filter:
    drop-shadow(0 10px 25px rgba(0,0,0,.35))
    brightness(1.05)
    contrast(1.05);

      animation: float 6s ease-in-out infinite;*/
  filter:
    drop-shadow(0 0 25px rgba(34,197,94,.35))
    drop-shadow(0 0 60px rgba(59,130,246,.15));

  transition: transform .4s ease, filter .4s ease;



}

 .hero-mockup {
  animation: float 6s ease-in-out infinite;

}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}



 /***********************************************************************************/

 
/* الصورة */
.order-bg-image {
  position: absolute;
  /*left: -10px; */         /* تتحكم في قربها من اليسار */
  /*bottom: -30px; */       /* تحت الفورم */
    top: 0px;           /* ارتفاعها فوق الكارد */
    left: 0;  
  z-index: 1;
  opacity: 0.35;        /* شفافية الصورة */
  pointer-events: none;/* لا تؤثر على الفورم */
}

.order-bg-image img {
  max-width: 520px;     /* حجم الكمبيوتر */
  height: auto;
   max-width: 90%;
  margin-left: -40px;   /* تطلع شوية برا الشاشة (احترافي) */
}




/**********************************************************************/

.order-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.order-header-img {
  width: 64px;
  opacity: 0.85;
}

.order-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.order-footer-img {
  position: absolute;
  left: -70px;          /*  الصورة على يسار الزر */
  width: 90px;
  opacity: 0.25;
  pointer-events: none;
}


/*************************************************************************************************************************/


.logo{
  display: flex;
  flex-direction: column;   /* 👈 ده المفتاح */
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: #fff;
}

/* الأيقونة */
.logo-icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #02150a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}

/* النص تحتها */
/*.logo-text{
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  line-height: 1;
}*/

.logo-text {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.85;
}


@media (max-width: 768px) {
  .logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
  }

  .logo-text {
    margin-top: 8px;   /* 👈 هنا المسافة */
    font-size: 12px;
    opacity: 0.9;
  }
}

/* === FIX: Remove underline from CTA button === */
.hero-actions .btn::after,
.hero-actions .btn::before {
  display: none !important;
}

.hero-actions .btn {
  text-decoration: none !important;
  border-bottom: none !important;
  position: relative;
}


@media (max-width: 600px) {

  /* خلي مجموعة الهاتف تحت بعض */
  .phone-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .phone-group select,
  .phone-group input {
    width: 100%;
  }
  
  order-card {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .order-title {
    font-size: 24px;
  }

  .order-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .order-form input,
  .order-form select,
  .order-form textarea {
    font-size: 14px;
    padding: 14px;
    border-radius: 14px;
  }

  .order-form button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
  }

}

.err {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #ef4444;
  min-height: 14px;
}



@media (max-width: 768px) {

  .order-center{
    padding: 0 0;          /* نشيل أي ضغط */
  }

  .order-card{
    width: 100%;
    max-width: 100%;       /* 👈 أهم سطر */
    margin: 0 12px;        /* مسافة خفيفة من الجنب */
    padding: 28px 18px;    /* مريح للإيد */
    border-radius: 18px;
  }
  
    .order-form button{
    width: 100%;
    font-size: 16px;
    padding: 16px;
  }


}


/* =========================
   MOBILE FORM FULL WIDTH FIX
   ========================= */

@media (max-width: 768px) {

  /* فك قيود الكونتينر */
  .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* خلي الكارد يملى الشاشة */
  .order-center {
    padding: 0 !important;
  }

  .order-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 26px 16px !important;
    border-radius: 16px;
  }

  /* تكبير الحقول للمس */
  .order-form input,
  .order-form select,
  .order-form textarea {
    width: 100%;
    font-size: 16px;            /* مهم جدًا للموبايل */
    padding: 16px;
    border-radius: 16px;
  }

  /* زر الإرسال */
  .order-form button {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    border-radius: 18px;
  }

  /* الهاتف تحت بعض */
  .phone-group {
    flex-direction: column;
    gap: 14px;
  }

  .phone-group select,
  .phone-group input {
    width: 100%;
  }

  /* العناوين */
  .order-title {
    font-size: 24px;
    line-height: 1.4;
  }

  .order-desc {
    font-size: 14px;
    line-height: 1.6;
  }
}


/* ===== Desktop & Default ===== */

.order-card {
  max-width: 600px;   /* عرض أنيق على الكمبيوتر */
  margin: 0 auto;
  padding: 32px 36px;
}


.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;

  display: block;
  text-align: right;     /* للغة */
}




/* FIX نهائي للموبايل */
@media (max-width: 768px) {

  /* 1️⃣ خلّي كل حاجة تتحسب صح */
  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  /* 2️⃣ الكارد نفسه */
  .order-card {
    width: 100%;
    padding: 20px 16px;
    overflow: hidden;
  }

  /* 3️⃣ كل الحقول */
  .order-form input,
  .order-form select,
  .order-form textarea {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 14px 16px;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 14px;
  }

  /* 4️⃣ حالة الخطأ (من غير فشخرة) */
  .order-form input.error,
  .order-form textarea.error {
    border: 2px solid #ff6b6b !important;
  }

  /* 5️⃣ حالة الصح */
  .order-form input.valid {
    border: 2px solid #4caf50 !important;
  }

  /* 6️⃣ مجموعة التليفون */
  .phone-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

}

