/* =========================================================================
 * AZS About — Elementor Widget Styles
 * كل الأنماط محصورة بـ .azs-about حتى لا تتعارض مع قالب Astra أو غيره.
 * ========================================================================= */

/* شيل padding الزائد من Elementor widget container */
.elementor-widget-azs_about > .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

.azs-about{
    --azs-bg: #070712;
    --azs-radius: 20px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 80px 16px;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(124,58,237,.28), transparent 60%),
        radial-gradient(700px 400px at 5% 10%,   rgba(6,182,212,.22),  transparent 60%),
        radial-gradient(700px 500px at 50% 110%, rgba(245,158,11,.14), transparent 60%),
        var(--azs-bg);
    color: #e6e6f0;
    font-family: 'Cairo','Tajawal','DIN Next LT Arabic',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
    line-height: 1.7;
    direction: rtl;

    /* كسر حدود الـ Elementor column — الخلفية تمتد full width */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}
.azs-about *,
.azs-about *::before,
.azs-about *::after{ box-sizing: border-box; }
.azs-about img{ max-width: 100%; height: auto; display: block; }

/* Background orbs */
.azs-about__bg{
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.azs-about__orb{
    position: absolute; border-radius: 9999px; filter: blur(80px);
    opacity: .45; animation: azsFloaty 14s ease-in-out infinite;
}
.azs-about__orb--1{ width:320px; height:320px; background:#7c3aed; top:-60px; right:-60px; }
.azs-about__orb--2{ width:280px; height:280px; background:#06b6d4; bottom:-80px; left:-40px; animation-delay:-4s; }
.azs-about__orb--3{ width:240px; height:240px; background:#f59e0b; top:40%; left:45%; animation-delay:-8s; opacity:.3; }
@keyframes azsFloaty{
    0%,100%{ transform: translate(0,0) scale(1); }
    50%    { transform: translate(20px,-30px) scale(1.1); }
}

/* Layout — المحتوى يبقى محصور بالمنتصف */
.azs-about__container{ max-width: 1200px; margin: 0 auto; }
.azs-about__grid{
    display: grid; gap: 48px; align-items: center;
    grid-template-columns: 1fr;
}
@media (min-width: 992px){
    .azs-about__grid{
        grid-template-columns: 2fr 3fr;
        gap: 64px;
    }
}

/* Image */
.azs-about__media-frame{
    position: relative;
    padding: 10px;
    border-radius: calc(var(--azs-radius) + 8px);
    background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(6,182,212,.25));
    box-shadow: 0 20px 60px -20px rgba(124,58,237,.45);
}
.azs-about__img{
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: var(--azs-radius);
}
.azs-about__badge{
    position: absolute; bottom: 18px;
    inset-inline-end: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; font-size: 13px; font-weight: 700;
    color:#fff; background: rgba(13,13,31,.75);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9999px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.azs-about__badge-dot{
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25);
    animation: azsPulse 1.8s ease-in-out infinite;
}
@keyframes azsPulse{
    0%,100%{ box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
    50%    { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* Text */
.azs-about__eyebrow{
    display:inline-block; font-size: 13px; font-weight: 800;
    letter-spacing: .25em; color:#a78bfa; margin-bottom: 12px;
}
.azs-about__title{
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900; line-height: 1.25; color:#fff;
    margin: 0 0 22px;
}
.azs-about__gradient{
    background-image: linear-gradient(90deg, #7c3aed, #06b6d4, #f59e0b);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.azs-about__text{
    color: #9aa0b4; font-size: 16px; margin: 0 0 16px;
}
.azs-about__text b,
.azs-about__text strong{ color:#fff; font-weight:700; }
.azs-about__text p{ margin: 0 0 12px; }
.azs-about__text p:last-child{ margin-bottom: 0; }

/* Cards */
.azs-about__cards{
    display: grid; gap: 16px; margin-top: 28px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px){
    .azs-about__cards{ grid-template-columns: 1fr 1fr; }
}
.azs-about__card{
    padding: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.azs-about__card:hover{
    transform: translateY(-4px);
    background: rgba(255,255,255,.06);
    border-color: rgba(124,58,237,.45);
}
.azs-about__card-icon{ font-size: 26px; margin-bottom: 8px; line-height: 1; }
.azs-about__card-title{ font-size: 16px; font-weight: 800; color:#fff; margin: 0 0 6px; }
.azs-about__card-text { font-size: 14px; color: #9aa0b4; margin: 0; }
