/* ===================== Mozaic — من نحن (About) ===================== */
.container:not(.navbar-inner):not(.sv-hero-inner):not(.sv-body) { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* علامة الختم/الطابع بالـHero — تكوين تجريدي هندسي (حلقات + مسامير بوصلة) بألوان العلامة،
   بترسم نفسها لما القسم يظهر (نفس فلسفة "الطابع الرسمي" بـDESIGN.md). موقع/حجم متجاوب. */
.sv-hero-flex { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sv-hero-flex .sv-title { margin: 0; flex: 1 1 auto; min-width: 0; }
.hero-mark {
    flex: 0 0 auto;
    width: clamp(120px, 16vw, 220px);
    height: auto;
    opacity: 0.9;
    pointer-events: none;
}
@media (max-width: 992px) {
    .hero-mark { display: none; }
}
.hero-mark .hm-ring-outer,
.hero-mark .hm-ring-inner,
.hero-mark .hm-tick {
    fill: none;
    stroke-linecap: round;
}
.hero-mark .hm-ring-outer { stroke: var(--gunmetal); stroke-width: 1.5; stroke-dasharray: 578; stroke-dashoffset: 578; }
.hero-mark .hm-ring-inner { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 415; stroke-dashoffset: 415; }
.hero-mark .hm-tick { stroke: var(--gunmetal); stroke-width: 2; stroke-dasharray: 14; stroke-dashoffset: 14; }
.hero-mark .hm-dot { fill: var(--accent); opacity: 0; transition: opacity 0.5s ease 1.1s; }
html.js .hero-mark .hm-ring-outer,
html.js .hero-mark .hm-ring-inner,
html.js .hero-mark .hm-tick {
    transition: stroke-dashoffset 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .sv-hero.visible .hero-mark .hm-ring-outer { stroke-dashoffset: 0; transition-delay: 0.1s; }
html.js .sv-hero.visible .hero-mark .hm-ring-inner { stroke-dashoffset: 0; transition-delay: 0.35s; }
html.js .sv-hero.visible .hero-mark .hm-tick { stroke-dashoffset: 0; transition-delay: calc(0.55s + var(--d, 0) * 0.05s); }
html.js .sv-hero.visible .hero-mark .hm-dot { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .hero-mark .hm-ring-outer,
    .hero-mark .hm-ring-inner,
    .hero-mark .hm-tick { stroke-dashoffset: 0 !important; transition: none !important; }
    .hero-mark .hm-dot { opacity: 1 !important; transition: none !important; }
}

/* دعوة للتمرير لأسفل — سهم بسيط بيرجف بهدوء، تحت الـHero مباشرة. */
.hero-scroll-cue {
    position: absolute;
    bottom: 18px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color 0.2s ease, border-color 0.2s ease;
    animation: heroCueBob 2.4s ease-in-out infinite;
}
.hero-scroll-cue:hover { color: var(--accent); border-color: var(--accent); }
@keyframes heroCueBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 640px) { .hero-scroll-cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue { animation: none; } }

.about-intro-section { padding: 84px 0 90px; border-bottom: 1px solid var(--border-color); }
.about-intro-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 50px; align-items: center; }
.about-intro-text { display: flex; flex-direction: column; }
.about-intro-visual { border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow); }
.about-intro-img { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 420px; object-fit: cover; }

.about-intro-text p { color: var(--text-secondary); line-height: 1.9; font-size: 1.05rem; margin: 0 0 18px; }
.about-intro-text p:last-child { margin-bottom: 0; }

.offer-section { padding: 90px 0; border-bottom: 1px solid var(--border-color); }
/* المحاور التلاتة جنب بعض (عمودي واحد لكل محور) بدل صفوف أفقية تحت بعض. */
.offer-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--gunmetal); }
.offer-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 34px 26px;
    border-bottom: 1px solid var(--border-color);
    border-inline-end: 1px solid var(--border-color);
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.offer-row:last-child { border-inline-end: none; }
.offer-row:hover { background-color: color-mix(in srgb, var(--accent) 6%, transparent); transform: translateY(-6px); }
.offer-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 600;
    transition: transform 0.25s ease;
}
.offer-row:hover .offer-num { transform: translateY(-2px); }
@media (max-width: 820px) {
    .offer-index { grid-template-columns: 1fr; }
    .offer-row { border-inline-end: none; }
}

/* أيقونات مرسومة بخط واحد لكل خدمة — تفريق بصري بين المحاور الثلاث بألوان العلامة بس. */
.offer-icon-svg { width: 44px; height: 36px; flex-shrink: 0; overflow: visible; transition: transform 0.3s ease; }
.offer-row:hover .offer-icon-svg { transform: scale(1.08); }
.offer-icon-svg .oi-shape-a { fill: none; stroke: var(--text-secondary); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.offer-icon-svg .oi-shape-b { fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.offer-icon-svg .oi-dot-a { fill: var(--text-secondary); }
.offer-icon-svg .oi-dot-b { fill: var(--accent); }

.offer-body h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; }
.offer-body p { color: var(--text-secondary); line-height: 1.85; font-size: 0.98rem; margin: 0; }
@media (max-width: 560px) {
    .offer-icon-svg { display: none; }
}

/* =========================================
   فريق متعدد الثقافات (Team Values) — بطاقات مرفوعة بألوان الهوية (تستجيب للوضع الفاتح/الغامق)
   ========================================= */
.team-values-section { padding: 40px 0; background-color: var(--bg-body); position: relative; }
.team-values-section .section-heading { text-align: center; margin-bottom: 30px; display: block; border: none; padding: 0; }
.team-values-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}
.team-values-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}
.team-lead { text-align: center; max-width: 800px; margin: 0 auto 60px auto; font-size: 1.15rem; line-height: 1.9; color: var(--text-secondary); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 900px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .values-grid { grid-template-columns: 1fr; }
}
.value-row {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}
.value-row:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--accent) 20%, transparent);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.value-row h4 { color: var(--text-primary); font-size: 1.3rem; margin-bottom: 15px; font-weight: bold; }
.value-row p { color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* =========================================
   الرؤية والرسالة — نفس تصميم البطاقات الزجاجية والإضاءة، بس بمتغيرات الهوية (var(--bg-...),
   var(--text-...)) حتى يتبدّل صح مع زر الوضع الفاتح/الغامق بدل ما يضل غامق دايمًا.
   ========================================= */
.vision-mission-section { padding: 100px 0; background: var(--bg-body); color: var(--text-primary); position: relative; overflow: hidden; }
.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 15%, transparent) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.vision-mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 60px; position: relative; z-index: 2; }
.vm-col {
    background: var(--card-glass-bg);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.vm-col:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, transparent);
    transform: translateY(-5px);
}
.vm-label { color: var(--accent); font-size: 2rem; font-weight: 700; margin: 0 0 25px; display: flex; align-items: center; gap: 15px; text-transform: none; letter-spacing: normal; font-family: var(--font-heading); }
.vm-label::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 80%, transparent);
    flex-shrink: 0;
}
.vm-col p { color: var(--text-secondary); line-height: 1.9; font-size: 1.1rem; margin: 0; }
.vm-tagline {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--accent);
    position: relative;
    z-index: 2;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-heading);
}
@media (max-width: 768px) {
    .vision-mission-grid { grid-template-columns: 1fr; }
}

/* بانر الشراكة الختامي — بيستخدم .cta-banner المشتركة (style.css) مع إضافات خاصة بهاي الصفحة.
   خلفية صورة قابلة للتعديل (get_Image، افتراضيًا رسمة تجريدية) مع حركة بارالاكس وتغميق فوقها. */
.partnership-section.cta-banner { position: relative; overflow: hidden; background: var(--gunmetal); }
.partnership-bg-img {
    position: absolute;
    inset: -180px 0;
    width: 100%;
    height: calc(100% + 360px);
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}
.partnership-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,18,16,0.6), rgba(20,18,16,0.82));
    z-index: 1;
}
.partnership-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.partnership-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.cta-banner .btn-outline-accent { border-color: rgba(255,255,255,0.35); color: #fff; }
.cta-banner .btn-outline-accent:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 820px) {
    .about-intro-grid { grid-template-columns: 1fr; }
    .about-intro-img { min-height: 220px; max-height: 280px; }
    .vision-mission-grid { grid-template-columns: 1fr; gap: 34px; }
    .about-intro-section, .team-values-section, .vision-mission-section { padding: 64px 0; }
}
