/* ==========================================================================
   دوامي — الصفحة الرئيسية (تصميم عصري احترافي)
   نظام تصميم موحّد يعتمد الأزرق الكحلي كلون رسمي، مع مساحات بيضاء واسعة،
   بطاقات ناعمة الظلال، وحركة تدريجية عند التمرير.
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    /* ألوان الهوية */
    --brand-navy: #0B1E3F;
    --brand-navy-dark: #071229;
    --brand-navy-light: #24406B;
    --brand-navy-soft: #EAF0F8;

    /* ألوان محايدة */
    --ink-900: #10182b;
    --ink-700: #33384a;
    --ink-500: #5b6169;
    --ink-400: #7a8091;
    --surface: #ffffff;
    --surface-muted: #f7f8fb;
    --border-soft: #eaecf1;

    /* ظلال */
    --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.07);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-lift: 0 30px 60px -12px rgba(11, 30, 63, 0.22), 0 12px 24px rgba(15, 23, 42, 0.08);

    /* مقاييس */
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --container: 1240px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--surface);
    /* توهج خفيف أعلى الصفحة يمنح شريط التنقل الزجاجي العائم عمقاً وخلفية يتمايز عنها */
    background-image: linear-gradient(180deg, var(--brand-navy-soft) 0%, rgba(234, 240, 248, 0) 380px);
    color: var(--ink-700);
    line-height: 1.7;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 100px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

/* --- عناصر مشتركة --- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 12px;
    line-height: 1.35;
}

.section-head p {
    font-size: 16px;
    color: var(--ink-500);
}

.about-underline {
    display: block;
    width: 56px;
    height: 4px;
    background-color: var(--brand-navy);
    border-radius: 2px;
    margin-bottom: 26px;
}

/* --- أزرار --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 15px;
}

/* ملاحظة: أسماء هذه الأصناف (btn-register / btn-login) مشتركة مع صفحات
   الشروط والأحكام وسياسة الخصوصية (terms.html / privacy-policy.html) التي
   تستخدم homepage.css مباشرة — لذا تم الإبقاء على نفس التوزيع البصري
   الأصلي (تعبئة كحلية لـ btn-register، إطار كحلي لـ btn-login) لتفادي أي
   تغيير غير مقصود في تلك الصفحات. */
.btn-register {
    background-color: var(--brand-navy);
    color: #ffffff;
    padding: 9px 20px;
    font-size: 13.5px;
    box-shadow: 0 6px 16px rgba(11, 30, 63, 0.22);
}

.btn-register:hover {
    background-color: var(--brand-navy-dark);
    transform: translateY(-1px);
}

.btn-login {
    background-color: transparent;
    color: var(--brand-navy);
    border-color: var(--brand-navy-soft);
    padding: 9px 18px;
    font-size: 13.5px;
}

.btn-login:hover {
    background-color: var(--brand-navy-soft);
}

.btn-primary {
    background-color: var(--brand-navy);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 30, 63, 0.24);
}

.btn-primary:hover {
    background-color: var(--brand-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 30, 63, 0.28);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-navy);
    border-color: var(--border-soft);
}

.btn-outline:hover {
    border-color: var(--brand-navy);
    background-color: var(--brand-navy-soft);
}

.btn-cta-primary {
    background-color: #ffffff;
    color: var(--brand-navy);
}

.btn-cta-primary:hover {
    background-color: var(--brand-navy-soft);
    transform: translateY(-2px);
}

.btn-cta-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
/* اسم الصنف main-navbar محتفظ به لأن terms.html و privacy-policy.html
   يستخدمان homepage.css مباشرة بنفس اسم الصنف في الهيدر — تغييره سيكسر
   تنسيق الهيدر في تلك الصفحات. */
.main-navbar {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin: 16px auto 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: saturate(200%) blur(20px);
    -webkit-backdrop-filter: saturate(200%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 26px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    position: sticky;
    top: 16px;
    z-index: 1000;
    transition: border-radius 0.25s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 5%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 21px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 800;
    flex-shrink: 0;
}

.logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-navy-soft);
    border: 1px solid rgba(11, 30, 63, 0.12);
}

.logo-circle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-700);
    font-weight: 600;
    font-size: 14.5px;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--brand-navy);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--brand-navy);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.lang-switch {
    text-decoration: none;
    color: var(--ink-700);
    font-weight: 700;
    font-size: 13.5px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover {
    background-color: var(--brand-navy-soft);
    color: var(--brand-navy);
}

/* زر قائمة الجوال */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--brand-navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 6% 20px;
    border-top: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 0 0 26px 26px;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--ink-700);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border-soft);
}

.mobile-menu a.btn {
    margin-top: 10px;
    border-bottom: none;
    text-align: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 90px 6% 110px;
    background: linear-gradient(160deg, #f9fbfe 0%, #ffffff 40%, #f5f8fc 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.hero::before {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(11, 30, 63, 0.14), rgba(11, 30, 63, 0) 70%);
    top: -180px;
    inset-inline-end: -100px;
}

.hero::after {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(11, 30, 63, 0.09), rgba(11, 30, 63, 0) 70%);
    bottom: -160px;
    inset-inline-start: 2%;
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    max-width: 540px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1.28;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 17px;
    color: var(--ink-500);
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    list-style: none;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-700);
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    z-index: 1;
    max-width: 480px;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-navy-soft) 0%, #dfe9f7 100%);
    box-shadow: var(--shadow-lift);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.hero-image-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 70px -14px rgba(11, 30, 63, 0.3), 0 16px 30px rgba(15, 23, 42, 0.1);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: -22px;
    inset-inline-start: -18px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--border-soft);
    max-width: 240px;
}

.floating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--brand-navy);
    color: #ffffff;
    flex-shrink: 0;
}

.hero-floating-card strong {
    display: block;
    font-size: 13.5px;
    color: var(--ink-900);
    margin-bottom: 2px;
}

.hero-floating-card span:last-child {
    font-size: 12px;
    color: var(--ink-500);
}

/* ==========================================================================
   Why Dawamiy
   ========================================================================== */
.why-section {
    padding: 90px 6%;
    background: var(--surface-muted);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.why-section .section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 46px;
}

.why-section .section-badge {
    display: inline-flex;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: var(--container);
    margin: 0 auto;
}

.why-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 32px 22px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(11, 30, 63, 0.15);
}

.why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
    margin: 0 auto 18px;
}

.why-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: var(--ink-500);
    line-height: 1.75;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 100px 6%;
    max-width: var(--container);
    margin: 0 auto;
}

.features-section .section-head {
    text-align: center;
}

.features-section .section-badge {
    display: inline-flex;
}

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

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(11, 30, 63, 0.15);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--ink-500);
    line-height: 1.8;
}

/* ==========================================================================
   Steps Section
   ========================================================================== */
.steps-section {
    padding: 90px 6% 110px;
    background: var(--surface-muted);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.steps-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.step-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    box-shadow: var(--shadow-card);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-navy);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14.5px;
    color: var(--ink-500);
    line-height: 1.8;
}

/* ==========================================================================
   Vision & Mission
   ========================================================================== */
.vm-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 100px 6%;
    display: flex;
    align-items: stretch;
    gap: 50px;
}

.vm-card {
    flex: 1 1 50%;
}

.vm-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-soft) 15%, var(--border-soft) 85%, transparent);
    flex-shrink: 0;
}

.vm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--brand-navy-soft);
    color: var(--brand-navy);
    margin-bottom: 22px;
}

.vm-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink-500);
    margin-bottom: 14px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 6% 110px;
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image {
    flex: 1 1 45%;
    position: relative;
}

.about-image::before {
    content: "";
    position: absolute;
    width: 86%;
    height: 86%;
    background: linear-gradient(135deg, rgba(11, 30, 63, 0.14), rgba(11, 30, 63, 0.02));
    border-radius: 28px;
    top: 12%;
    inset-inline-start: -6%;
    z-index: -1;
    transform: rotate(-4deg);
}

.about-img {
    width: 100%;
    max-width: 540px;
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
}

.about-text {
    flex: 1 1 55%;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 16px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink-500);
    margin-bottom: 14px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    text-align: center;
    padding: 90px 6%;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 70%);
    top: -220px;
    inset-inline-end: -100px;
}

.cta-section h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Footer (نفس بنية الفوتر السابقة مع تحديثات بسيطة على النظام اللوني)
   ========================================================================== */
.main-footer {
    --footer-accent: var(--brand-navy);
    --footer-heading: var(--ink-900);
    --footer-text: var(--ink-500);
    --footer-muted: #8a8f98;
    --footer-border: #e9e9e9;

    position: relative;
    background-color: #fafafa;
    padding: 66px 6% 28px;
    font-size: 14px;
    border-top: 1px solid var(--footer-border);
    overflow: hidden;
}

.main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--footer-accent) 50%, transparent 100%);
    opacity: 0.9;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto 46px;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1.15fr 1.25fr;
    gap: 46px;
    align-items: start;
}

.footer-container > div:not(:first-child) {
    position: relative;
}

.footer-container > div:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    inset-inline-start: -23px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--footer-border) 15%, var(--footer-border) 85%, transparent);
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.footer-logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-navy-soft), var(--brand-navy-soft));
    border: 1px solid var(--brand-navy-light);
    box-shadow: 0 2px 8px rgba(11, 30, 63, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-circle img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-brand-name {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--footer-heading);
    line-height: 1.4;
}

.footer-brand-tagline {
    display: block;
    font-size: 12.5px;
    color: var(--footer-muted);
    margin-top: 2px;
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--footer-text);
    margin-bottom: 16px;
}

.footer-brand-highlight {
    background: linear-gradient(135deg, rgba(11, 30, 63, 0.09), rgba(11, 30, 63, 0.02));
    border: 1px solid rgba(11, 30, 63, 0.18);
    border-radius: 10px;
    padding: 13px 15px;
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-column h3 {
    font-size: 15px;
    color: var(--footer-heading);
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 34px;
    height: 3px;
    background-color: var(--footer-accent);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 13px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--footer-text);
    transition: color 0.2s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--footer-accent);
}

.footer-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.footer-feature-list li:last-child {
    margin-bottom: 0;
}

.footer-feature-list li .bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--footer-accent);
    flex-shrink: 0;
    margin-top: 8px;
}

.footer-contact-list {
    margin-bottom: 22px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-list .contact-icon-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(11, 30, 63, 0.1);
    color: var(--footer-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-list a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.85;
    padding-top: 4px;
}

.footer-contact-list a:hover {
    color: var(--footer-accent);
}

.footer-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-footer-call,
.btn-footer-msg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-footer-call {
    background-color: var(--brand-navy);
    color: #ffffff;
    border: 1.5px solid var(--brand-navy);
    box-shadow: 0 4px 12px rgba(11, 30, 63, 0.16);
}

.btn-footer-call:hover {
    background-color: var(--ink-900);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(11, 30, 63, 0.22);
}

.btn-footer-msg {
    background-color: transparent;
    color: var(--brand-navy);
    border: 1.5px solid #dcdcdc;
}

.btn-footer-msg:hover {
    border-color: var(--brand-navy);
    background-color: #f5f5f5;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.icon-link:hover {
    background-color: var(--footer-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--footer-border);
    padding-top: 24px;
    color: var(--footer-muted);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.bottom-left span:not(:last-child)::after {
    content: "•";
    margin-inline-start: 12px;
    color: #d6d6d6;
}

.bottom-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.bottom-right a {
    text-decoration: none;
    color: var(--footer-muted);
    transition: color 0.2s ease;
}

.bottom-right a:hover {
    color: var(--footer-accent);
}

/* تأثير التلاشي للترجمة الديناميكية */
[data-i18n] {
    transition: opacity 0.25s ease-in-out;
    opacity: 1;
}

.fade-out {
    opacity: 0 !important;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1100px) {
    .features-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 40px;
    }
    .footer-container > div:not(:first-child)::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }

    .main-navbar {
        width: calc(100% - 20px);
        margin: 10px auto 0;
        border-radius: 20px;
        top: 10px;
    }
    .mobile-menu {
        border-radius: 0 0 20px 20px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-actions,
    .hero-highlights {
        justify-content: center;
    }
    .hero-visual {
        max-width: 460px;
    }

    .vm-section {
        flex-direction: column;
    }
    .vm-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-soft) 15%, var(--border-soft) 85%, transparent);
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }
    .about-image::before {
        display: none;
    }
    .about-underline {
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .steps-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 34px;
    }
    .section-head h2 {
        font-size: 26px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .bottom-left span:not(:last-child)::after {
        content: "";
        margin: 0;
    }
    .hero-floating-card {
        position: static;
        margin-top: 16px;
        max-width: 100%;
    }
}
