/* ====== COFFYX GLOBAL TECH THEME ====== */
:root {
  --bg-main: #06080a;
  --bg-section: #0b0f14;
  --bg-soft: #161c24;
  --primary: #C9A24A;
  --primary-soft: #E8D28A;
  --accent: #ffffff;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-soft: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(201, 162, 74, 0.2);
}

/* ====== GENERAL ====== */
body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }
p, span { color: var(--text-muted) !important; }

/* ====== FIXED HERO SECTION (الإصلاح هنا) ====== */
/* ====== FULL RESPONSIVE HERO VIDEO ====== */
/* ====== PREMIUM HERO SECTION ====== */
.hero-cinematic {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* الفيديو الخلفي */
.hero-bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1); /* لمسة سينمائية */
    z-index: 1;
}

/* التظليل الاحترافي (Vignette Effect) */
.hero-overlay-premium {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 50%, #06080a 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 950px;
    padding: 0 30px;
    animation: fadeInUp 1.2s ease-out;
}

/* Badge علوي صغير */
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 162, 74, 0.1);
    border: 1px solid rgba(201, 162, 74, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

/* العنوان الرئيسي */
.hero-title-main {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.text-gradient {
    background: linear-gradient(135deg, #C9A24A 0%, #E8D28A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* الوصف */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* الأزرار */
.hero-action-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-premium-gold {
    background: var(--primary);
    color: #000 !important;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(201, 162, 74, 0.3);
}

.btn-premium-gold:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-premium-outline {
    background: transparent;
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: 0.4s;
    backdrop-filter: blur(10px);
}

.btn-premium-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* أنيميشن الظهور */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* تجاوب الموبايل */
@media (max-width: 768px) {
    .hero-cinematic { height: 90vh; }
    .hero-title-main { letter-spacing: -1px; }
    .hero-action-group { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
}

/* ====== NAVBAR ====== */

/* كلاس الإخفاء - يتم تفعيله عند النزول لتحت */
.navbar-hidden {
    transform: translateY(-100%); /* يرفع الناف بار خارج الشاشة */
    opacity: 0; /* يجعل التلاشي ناعم */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* تحديث خصائص الناف بار الأساسية لضمان النعومة */
.navbar {
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform, background-color; /* لتحسين الأداء */
}

/* تأثير الفيد للون عند السكرول */
.navbar.scrolled {
    background: rgba(6, 8, 10, 0.95) !important;
    backdrop-filter: blur(15px);
    padding: 10px 0 !important; /* تصغير الارتفاع قليلاً يعطي لمسة احترافية */
}


.navbar {
  background: rgba(6, 8, 10, 0.8) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-soft);
  padding: 15px 0;
  position: fixed; /* تغيير لـ fixed لضمان الشفافية فوق الهيرو */
  width: 100%;
  top: 0;
  z-index: 9999;
}

.navbar-brand { font-weight: 900; color: var(--primary) !important; }
.nav-link { color: #fff !important; font-weight: 600; }
.nav-link:hover { color: var(--primary) !important; }

/* ====== CARDS & SECTIONS ====== */
section { padding: 100px 0; position: relative; z-index: 10; }

.card, .innovation-card {
  background: var(--bg-section) !important;
  border: 1px solid var(--border-soft) !important;
  border-radius: 24px !important;
  padding: 25px;
  transition: all 0.4s ease;
}

.card:hover { transform: translateY(-10px); border-color: var(--primary) !important; }

.btn-primary {
  background: linear-gradient(135deg, #C9AC4A, #A68532) !important;
  border: none !important;
  color: #000 !important;
  font-weight: 700;
  padding: 12px 30px !important;
  border-radius: 12px;
}

/* ====== TRUSTED WORLDWIDE ====== */
.trusted-global { background: var(--bg-section) !important; text-align: center; }
.country {
  display: inline-block;
  padding: 12px 28px;
  margin: 8px;
  border-radius: 50px;
  background: var(--bg-soft);
  color: var(--primary);
  border: 1px solid var(--border-gold);
  font-weight: 700;
}

/* ====== FOOTER ====== */
/* ====== COFFYX PREMIUM FOOTER ====== */
.coffyx-footer {
    background-color: #030507 !important;
    border-top: 1px solid var(--border-gold);
    padding: 80px 0 30px !important;
    color: #ffffff;
    position: relative;
}

/* تأثير الإضاءة الذهبية في الزاوية */
.footer-glow {
    position: absolute;
    bottom: -100px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(201, 162, 74, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* شعار الفوتر */
.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* النص التعريفي */
.footer-bio {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* العناوين */
.footer-nav-title {
    color: var(--primary) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* القوائم والروابط */
.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 12px;
}

.footer-nav-links a {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.footer-nav-links a:hover {
    color: var(--primary) !important;
    padding-left: 8px;
}

/* أيقونات السوشيال ميديا (مربعات تقنية) */
.footer-social-tech {
    display: flex;
    gap: 12px;
}

.social-box {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8 !important;
    transition: 0.3s;
    text-decoration: none !important;
}

.social-box:hover {
    background: var(--primary);
    color: #000 !important;
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* معلومات الاتصال */
.footer-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.icon-gold {
    color: var(--primary);
}

.footer-contact-info .text {
    color: #cbd5e1 !important;
    font-size: 0.9rem;
}

/* الخط الفاصل السفلي */
.footer-hr {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin: 40px 0 25px;
}

.copyright-text, .footer-legal-links a {
    color: #64748b !important;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--primary) !important;
}

/* إصلاح الموبايل */
@media (max-width: 768px) {
    .coffyx-footer { text-align: center; }
    .footer-social-tech { justify-content: center; }
    .footer-contact-info .contact-item { justify-content: center; }
    .footer-nav-links a:hover { padding-left: 0; }
}
/* إصلاح تموضع قائمة اللغة */


.language-dropdown {
    position: relative;
    margin-left: 15px;
}

/* زر اللغة */
.lang-toggle {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.lang-toggle:hover {
    border-color: var(--primary);
    background: rgba(201, 162, 74, 0.1);
}

/* القائمة المنسدلة للغة (الإصلاح الجوهري هنا) */
.lang-menu {
    display: none; /* مخفية افتراضياً */
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #0e1217 !important; /* لون داكن صريح لمنع الشفافية المشوهة */
    border: 1px solid var(--border-gold);
    border-radius: 15px;
    min-width: 160px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    z-index: 10000;
    padding: 5px;
}

/* عناصر اللغة داخل القائمة */
.lang-item {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-weight: 500;
    border-radius: 10px;
    transition: 0.2s;
}

.lang-item:hover {
    background: var(--primary);
    color: #000;
}

.active-lang {
    background: rgba(201, 162, 74, 0.2);
    color: var(--primary);
}
/* ====== PRODUCTS SECTION REPAIR ====== */
.products {
    background-color: var(--bg-main);
    padding: 100px 0;
}

/* تنسيق الكارت الاحترافي */
.products .card {
    background: var(--bg-section) !important;
    border: 1px solid var(--border-soft) !important;
    border-radius: 25px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.products .card:hover {
    transform: translateY(-15px);
    border-color: var(--primary) !important;
    box-shadow: 0 20px 40px rgba(201, 162, 74, 0.15) !important;
}

/* توحيد حجم صورة المنتج لمنع التشوه */
.products .card-img-top {
    height: 250px;
    object-fit: cover; /* يمنع تمطط الصورة */
    border-bottom: 1px solid var(--border-soft);
    filter: brightness(0.9);
    transition: 0.4s;
}

.products .card:hover .card-img-top {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* تنسيق نصوص الكارت */
.products .card-title {
    color: var(--primary) !important;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.products .card-text {
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* زر التحميل/التفاصيل */
.products .btn-primary {
    background: linear-gradient(135deg, #C9AC4A, #A68532) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    color: #000 !important;
    margin-top: 15px;
}
/* ====== ROBOTIC ARM SECTION ====== */
.robot-concept-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border-left: 3px solid var(--primary);
    transition: 0.3s ease;
}

.feature-item:hover {
    background: rgba(201, 162, 74, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 15px;
    font-weight: bold;
}

.feature-text {
    color: var(--text-main);
    font-weight: 500;
}

/* تأثير الصورة الروبوتية */
.robot-img-wrapper {
    position: relative;
    display: inline-block;
}

.robot-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: 0 0 50px rgba(201, 162, 74, 0.2);
    border-radius: 24px;
    z-index: -1;
}

.floating-robot {
    animation: floating 4s ease-in-out infinite;
    border: 1px solid var(--border-soft);
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* ====== نظام الاستجابة الشامل للموبايل ====== */
@media (max-width: 768px) {
    
    /* 1. تقليل الحشوات العامة لزيادة المساحة */
    section {
        padding: 50px 0 !important;
    }

    /* 2. إصلاح الهيرو (Hero) */
    .hero-cinematic {
        height: 80vh; /* تقليل الارتفاع قليلاً ليظهر المحتوى أسفله */
    }
    
    .hero-title {
        font-size: 1.8rem !important; /* تصغير العنوان ليناسب عرض الشاشة */
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        padding: 0 15px;
    }

    /* 3. إصلاح ترتيب قسم الروبوت (Concept) */
    /* جعل الصورة تظهر فوق النص في الجوال */
    .robot-concept-section .row {
        display: flex;
        flex-direction: column-reverse; /* عكس الترتيب: الصورة أولاً */
        text-align: center;
    }

    .feature-item {
        text-align: left; /* الحفاظ على محاذاة النقاط لليسار لسهولة القراءة */
        margin-bottom: 12px;
        padding: 10px;
    }

    .floating-robot {
        max-width: 70% !important; /* منع الصورة من أخذ كامل العرض بشكل ضخم */
        margin-bottom: 30px;
    }

    /* 4. كروت المنتجات (Products) */
    .products .card {
        margin-bottom: 20px;
    }
    
    .products .card-img-top {
        height: 180px; /* تقليل ارتفاع الصورة في الجوال */
    }

    /* 5. قسم الحلول (Solutions) وكروت الابتكار */
    .innovation-card img {
        width: 100% !important;
        height: auto;
    }

    /* 6. قائمة الدول (Trusted Global) */
    .country {
        padding: 8px 15px;
        font-size: 0.8rem;
        margin: 4px;
    }

    /* 7. الفوتر (Footer) */
 
}

/* إصلاح مشكلة السكرول الجانبي (Horizontal Scroll) */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
.robot-concept-section p.text-muted {
    color: #e2e8f0 !important; /* لون يقترب من الأبيض لضمان القراءة */
    opacity: 0.9;
    font-weight: 400;
}

.feature-text {
    color: #ffffff !important; /* اجعل نقاط المميزات بيضاء تماماً */
}
/* تحسين وضوح الفقرات في كل الموقع */
p, .text-muted, .feature-text {
    color: var(--text-muted) !important;
    line-height: 1.8;
    opacity: 1 !important; /* تأكد أن الشفافية ليست منخفضة */
    filter: brightness(1.2); /* زيادة السطوع للنص */
}

/* تمييز عناوين الفقرات الصغرى */
.hero-subtitle {
    color: #e2e8f0 !important;
    font-weight: 400;
}
/* ====== LATEST INNOVATIONS REPAIR ====== */
.latest-innovations {
    background: var(--bg-main);
    padding: 100px 0;
}

.innovation-tag {
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
}

.highlight-text {
    color: #e2e8f0 !important; /* لون فاتح واضح */
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 20px 0;
}

/* تنسيق الكرت الجديد */
.innovation-card {
    background: var(--bg-section);
    border: 1px solid var(--border-gold) !important;
    border-radius: 30px;
    overflow: hidden;
    transition: 0.4s all ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.innovation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(201, 162, 74, 0.1);
}

.innovation-img-hold {
    padding: 20px;
    background: rgba(255,255,255,0.02);
}

.innovation-img-hold img {
    border-radius: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.innovation-body {
    padding: 30px;
    text-align: center;
}

.innovation-body h5 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.innovation-body p {
    color: var(--text-muted) !important;
    margin-bottom: 25px;
}

/* زر الرابط الذهبي */
.btn-gold-link {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-gold-link:hover {
    color: #fff !important;
    letter-spacing: 2px;
}

/* إصلاح الموبايل للسيكشن */
@media (max-width: 768px) {
    .innovation-body h5 { font-size: 1.2rem; }
    .highlight-text { font-size: 0.95rem; }
}
/* تأكد أن الصف يسمح للكروت بالتمدد بالتساوي */
.latest-innovations .row {
    display: flex;
    flex-wrap: wrap;
}

.latest-innovations .col-md-6 {
    display: flex; /* يجعل العمود يتصرف كحاوية مرنة */
}

.innovation-card {
    display: flex;
    flex-direction: column; /* ترتيب المحتوى عمودياً */
    width: 100%; /* ملء عرض العمود */
    background: var(--bg-section) !important;
    border: 1px solid var(--border-gold) !important;
    border-radius: 25px;
    overflow: hidden;
    transition: 0.4s ease;
}

/* توحيد منطقة النصوص */
.innovation-body {
    padding: 25px;
    flex-grow: 1; /* أهم خاصية: تجعل منطقة النص تأخذ كل المساحة المتبقية */
    display: flex;
    flex-direction: column;
}

.innovation-body p {
    flex-grow: 1; /* تجعل الوصف يتمدد ليدفع زر LEARN MORE للأسفل دائماً */
    margin-bottom: 20px;
}

/* توحيد منطقة الصورة */
.innovation-img-hold {
    height: 250px; /* ثبت هذا الارتفاع لكل الكروت */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
}

.innovation-img-hold img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* يضمن عدم تشوه الصور المختلفة */
}
.why-coffyx {
    background: var(--bg-main);
    border-top: 1px solid var(--border-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* تقسيم المميزات لعمودين */
    gap: 20px;
}

.feature-box {
    background: var(--bg-section);
    border: 1px solid var(--border-soft);
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
    display: flex;
    gap: 15px;
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.feature-icon-sm {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-info h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature-info p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-muted) !important;
}

.gold-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* توهج خلف الصورة */
.image-accent-glow {
    position: relative;
    padding: 20px;
}

.image-accent-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(201, 162, 74, 0.15) 0%, transparent 70%);
    z-index: -1;
}

/* الموبايل: جعل المميزات عمود واحد */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* السكاشن ذات الخلفية الأفتح قليلاً لكسر الجمود */
.robot-concept-section, .latest-innovations, .why-coffyx {
    background-color: var(--bg-section) !important; /* #0b0f14 */
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

/* السكاشن ذات الخلفية السوداء تماماً */
.products, .trusted-global, #solutions, .py-5 {
    background-color: var(--bg-main) !important; /* #06080a */
}

/* إضافة لمسة إضاءة علوية (Glow) للسيكشن المتميز */
.latest-innovations {
    background: radial-gradient(circle at top, rgba(201, 162, 74, 0.05) 0%, var(--bg-section) 100%) !important;
}

/* تحسين شكل العناوين لإعطاء تباين أعلى */
.section-title {
    font-size: 2.5rem;
    background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 50px;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(201, 162, 74, 0.1); /* رقم كبير باهت في الخلفية */
    margin-bottom: -20px;
}
.step-item h5 {
    color: var(--primary);
    font-weight: 700;
}
.use-case-card {
    background: var(--bg-soft);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    transition: 0.3s;
}
.use-case-card i {
    font-size: 2rem;
    color: var(--primary);
}
.use-case-card:hover {
    border-color: var(--primary);
    background: rgba(201, 162, 74, 0.05);
}
/* سيكشن الـ Use Cases - إضافة تباين */
.use-cases {
    background: var(--bg-section) !important; /* خلفية أفتح قليلاً من الأسود المطلق */
    border-top: 1px solid var(--border-soft);
}

.use-case-card {
    background: var(--bg-main) !important;
    border: 1px solid var(--border-gold) !important;
    padding: 40px 20px;
    border-radius: 20px;
    transition: 0.4s ease;
}

.use-case-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* سيكشن الـ CTA الجديد */
.cta-roi-wrapper {
    background: var(--bg-main);
    padding-bottom: 100px !important;
}

.cta-card {
    background: linear-gradient(145deg, #0b0f14 0%, #06080a 100%);
    border: 1px solid var(--border-gold);
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* حركة الـ ROI لتكون جذابة بصرياً */
.roi-highlight {
    display: inline-block;
    padding: 20px;
    background: rgba(201, 162, 74, 0.05);
    border-radius: 20px;
    margin-bottom: 30px !important;
}

.roi-percent {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.roi-text {
    color: #fff !important;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-accent {
    background: var(--primary) !important;
    color: #000 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: 0.3s;
}

.btn-accent:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(201, 162, 74, 0.3);
    background: #fff !important;
}

/* ====== CUSTOM DROPDOWN PRE-STYLE (About & Business) ====== */

/* الحاوية الأساسية */
.custom-dropdown .dropdown-menu {
    background: #0e1217 !important; /* نفس لون قائمة اللغة */
    border: 1px solid var(--border-gold) !important;
    border-radius: 15px !important;
    padding: 8px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8) !important;
    margin-top: 15px !important; /* مسافة بسيطة تحت الناف بار */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: dropdownFadeIn 0.3s ease-out;
}

/* عناصر القائمة */
.custom-dropdown .dropdown-item {
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
}

/* تأثير الـ Hover */
.custom-dropdown .dropdown-item:hover {
    background: rgba(201, 162, 74, 0.15) !important;
    color: var(--primary) !important;
    transform: translateX(5px);
}

/* الأيقونات داخل القائمة (إذا أضفتِ FontAwesome أو Bootstrap Icons) */
.custom-dropdown .dropdown-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* إزالة السهم الافتراضي لـ Bootstrap (اختياري لشكل أنظف) */
.custom-dropdown .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.4em;
    vertical-align: 0.2em;
    content: "▾"; /* سهم أنيق بسيط */
    border: none !important;
}

/* أنيميشن الظهور */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* لضمان عمل القائمة عند التحويم (اختياري إذا أردتِ Hover بدل Click) */
@media (min-width: 992px) {
    .custom-dropdown:hover .dropdown-menu {
        display: block;
    }
}
/* ====== BACK TO TOP BUTTON ====== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary); /* اللون الذهبي الخاص بكِ */
    color: #000;
    border: none;
    border-radius: 12px; /* زوايا منحنية تشبه كروت الموقع */
    cursor: pointer;
    display: none; /* مخفي افتراضياً ويظهر عند السكرول */
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(201, 162, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0; /* يبدأ شفاف */
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* للموبايل: تصغير الحجم قليلاً */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
/* ====== CTA PREMIUM DESIGN ====== */
.cta-roi-wrapper {
    background-color: #000; /* خلفية القسم سوداء بالكامل */
}

.cta-card-premium {
    background: #0a0a0a; /* لون الكارد أفتح قليلاً من الخلفية */
    border: 1px solid #1a1a1a;
    border-radius: 40px; /* حواف دائرية كبيرة كما في الصورة */
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.cta-content-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* مربع الـ 67% */
.roi-box {
    background: #111111;
    padding: 30px 40px;
    border-radius: 20px;
    max-width: 350px;
    text-align: left;
    border: 1px solid #1f1f1f;
}

.roi-value {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: #a4abb6; /* لون رمادي فاتح مزرق قليلاً كما في الصورة */
    line-height: 1;
    margin-bottom: 10px;
}

.roi-label {
    color: #888;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* الزر الذهبي */
.btn-gold-filled {
    background-color: #d4af37; /* لون ذهبي مطفأ */
    color: #000;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #d4af37;
}

.btn-gold-filled:hover {
    background-color: transparent;
    color: #d4af37;
    transform: translateY(-3px);
}

/* للموبايل */
@media (max-width: 768px) {
    .cta-title { font-size: 1.8rem; }
    .cta-content-row { gap: 30px; }
    .roi-box { text-align: center; }
    .cta-card-premium { padding: 40px 20px; }
}
/* ===== Navbar vertical alignment fix ===== */
.navbar .container {
  align-items: center !important;
}

.navbar-brand {
  display: flex !important;
  align-items: center !important;
}

.navbar-nav {
  align-items: center !important;
}

.navbar-nav .nav-link {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* dropdown caret alignment */
.navbar-nav .dropdown-toggle::after {
  margin-left: 8px !important;
  vertical-align: middle !important;
}
