.rasa-services-widget{
  --blue:#2563eb;
  --indigo:#4338ca;
  --white:#ffffff;
  --off:#f8f9ff;
  --surf:#f1f4fe;
  --text:#0f172a;
  --text2:#334155;
  --muted:#64748b;
  --border:#e2e8f0;
  --grad:linear-gradient(135deg,#2563eb,#4338ca);
  --soft-grad:linear-gradient(135deg,rgba(37,99,235,.08),rgba(67,56,202,.08));
  --sh:0 12px 34px rgba(37,99,235,.10);
  --sh2:0 18px 52px rgba(37,99,235,.18);
  direction:rtl;
  color:var(--text);
  background:transparent;
  width:100%;
  overflow:hidden;
  box-sizing:border-box;
}

.rasa-services-widget,
.rasa-services-widget *{
  box-sizing:border-box;
}

.rasa-services-widget a{
  text-decoration:none;
}

.rasa-sr{
  opacity:0;
  transform:translateY(34px);
  transition:
    opacity .75s cubic-bezier(.16,1,.3,1),
    transform .75s cubic-bezier(.16,1,.3,1);
}

.rasa-sr.rasa-on{
  opacity:1;
  transform:none;
}

.rasa-services-pro{
  position:relative;
  padding:6rem 5rem;
  background:transparent;
  overflow:hidden;
}

.rasa-services-pro::before{
  content:"";
  position:absolute;
  width:620px;
  height:620px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.09),transparent 68%);
  top:12%;
  right:-360px;
  pointer-events:none;
}

.rasa-services-pro::after{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(67,56,202,.07),transparent 70%);
  bottom:2%;
  left:-320px;
  pointer-events:none;
}

.rasa-services-head{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:2rem;
  align-items:end;
  margin-bottom:3.5rem;
}

.rasa-services-kicker{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  color:var(--blue);
  font-size:.78rem;
  font-weight:800;
  margin-bottom:.85rem;
}

.rasa-services-kicker::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--grad);
  box-shadow:0 0 0 6px rgba(37,99,235,.10);
}

.rasa-services-title{
  font-size:clamp(2rem,4vw,3.3rem);
  line-height:1.18;
  font-weight:900;
  color:var(--text);
  margin:0;
}

.rasa-services-title span{
  background:var(--grad);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.rasa-services-desc{
  color:var(--muted);
  font-size:.96rem;
  line-height:2;
  margin:0;
  max-width:520px;
}

.rasa-services-mini{
  position:relative;
  z-index:2;
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top:1.25rem;
}

.rasa-mini-badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.55rem .85rem;
  border-radius:999px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(37,99,235,.12);
  color:var(--text2);
  font-size:.75rem;
  font-weight:700;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.rasa-mini-badge::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--blue);
}

.rasa-services-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.25rem;
}

.rasa-service-card{
  position:relative;
  min-height:255px;
  padding:1.6rem 1.6rem 5rem;
  background:rgba(255,255,255,.74);
  border:1px solid rgba(37,99,235,.10);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 32px rgba(15,23,42,.05);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:
    transform .35s cubic-bezier(.16,1,.3,1),
    box-shadow .35s cubic-bezier(.16,1,.3,1),
    border-color .35s cubic-bezier(.16,1,.3,1);
}

.rasa-service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 0%,rgba(37,99,235,.09),transparent 36%),
    radial-gradient(circle at 95% 95%,rgba(67,56,202,.08),transparent 40%);
  opacity:.45;
  transition:opacity .35s ease;
  pointer-events:none;
  z-index:0;
}

.rasa-service-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(circle at 15% 10%,rgba(255,255,255,.25),transparent 30%),
    linear-gradient(135deg,#2563eb 0%,#4338ca 100%);
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .55s cubic-bezier(.16,1,.3,1);
  z-index:1;
  pointer-events:none;
}

.rasa-service-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--sh2);
  border-color:rgba(37,99,235,.32);
}

.rasa-service-card:hover::before{
  opacity:0;
}

.rasa-service-card:hover::after{
  transform:scaleX(1);
}

.rasa-service-top{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.4rem;
}

.rasa-service-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--soft-grad);
  border:1px solid rgba(37,99,235,.10);
  color:var(--blue);
  box-shadow:0 10px 24px rgba(37,99,235,.10);
  transition:
    background .35s ease,
    color .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    transform .35s ease;
}

.rasa-service-card:hover .rasa-service-icon{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.22);
  color:#fff;
  box-shadow:none;
  transform:scale(1.04);
}

.rasa-service-icon svg{
  width:26px;
  height:26px;
  stroke:currentColor;
}

.rasa-service-num{
  font-size:.78rem;
  font-weight:900;
  color:rgba(37,99,235,.25);
  letter-spacing:.08em;
  transition:color .35s ease;
}

.rasa-service-card:hover .rasa-service-num{
  color:rgba(255,255,255,.42);
}

.rasa-service-name{
  position:relative;
  z-index:3;
  font-size:1.08rem;
  font-weight:900;
  color:var(--text);
  margin:0 0 .7rem;
  line-height:1.5;
  transition:color .35s ease;
}

.rasa-service-card:hover .rasa-service-name{
  color:#fff;
}

.rasa-service-desc{
  position:relative;
  z-index:3;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.9;
  margin:0;
  transition:color .35s ease;
}

.rasa-service-card:hover .rasa-service-desc{
  color:rgba(255,255,255,.76);
}

.rasa-service-footer{
  position:absolute;
  right:1.6rem;
  left:1.6rem;
  bottom:1.35rem;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.rasa-service-tag{
  font-size:.68rem;
  font-weight:800;
  color:var(--blue);
  background:rgba(37,99,235,.07);
  border:1px solid rgba(37,99,235,.10);
  border-radius:999px;
  padding:.38rem .7rem;
  white-space:nowrap;
  transition:
    background .35s ease,
    color .35s ease,
    border-color .35s ease;
}

.rasa-service-card:hover .rasa-service-tag{
  background:rgba(255,255,255,.14);
  color:#fff;
  border-color:rgba(255,255,255,.20);
}

.rasa-service-arrow{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--grad);
  color:#fff;
  font-size:1rem;
  transform:translateX(-8px);
  opacity:0;
  transition:
    opacity .25s ease,
    transform .25s ease,
    background .35s ease,
    color .35s ease,
    box-shadow .25s ease;
  box-shadow:0 10px 24px rgba(37,99,235,.22);
  flex-shrink:0;
}

.rasa-service-card:hover .rasa-service-arrow{
  opacity:1;
  transform:translateX(0);
  background:#fff;
  color:var(--blue);
}

.rasa-services-line{
  position:relative;
  z-index:2;
  margin-top:2.2rem;
  padding:1.25rem 1.4rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  border-top:1px solid rgba(37,99,235,.12);
}

.rasa-services-line p{
  margin:0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.8;
}

.rasa-services-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  padding:.78rem 1.15rem;
  border-radius:999px;
  background:var(--grad);
  color:#fff;
  font-size:.82rem;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 12px 28px rgba(37,99,235,.20);
  transition:transform .25s ease, box-shadow .25s ease;
}

.rasa-services-btn:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(37,99,235,.28);
}

@media(max-width:1024px){
  .rasa-services-pro{
    padding:5rem 2rem;
  }

  .rasa-services-head{
    grid-template-columns:1fr;
    gap:1.25rem;
    margin-bottom:2.5rem;
  }

  .rasa-services-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .rasa-services-pro{
    padding:4rem 1.25rem;
  }

  .rasa-services-title{
    font-size:2rem;
  }

  .rasa-services-grid{
    grid-template-columns:1fr;
  }

  .rasa-service-card{
    min-height:auto !important;
    padding:1.45rem !important;
    border-radius:20px;
  }

  .rasa-service-desc{
    margin-bottom:0 !important;
  }

  .rasa-service-footer{
    position:relative !important;
    right:auto !important;
    left:auto !important;
    bottom:auto !important;
    margin-top:1.3rem !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:.75rem !important;
  }

  .rasa-service-tag{
    font-size:.62rem !important;
    padding:.32rem .6rem !important;
    max-width:calc(100% - 42px) !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .rasa-service-arrow{
    opacity:1 !important;
    transform:none !important;
    width:30px !important;
    height:30px !important;
    flex-shrink:0 !important;
  }

  .rasa-services-line{
    flex-direction:column;
    align-items:flex-start;
    padding:1.2rem 0 0;
  }

  .rasa-services-btn{
    width:100%;
  }
}
