/* Extracted from layouts/jobs_nav_top.blade.php; selectors preserved. */
/* استایل‌های موجود شما - بدون تغییر */
    .modern-nav {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .modern-nav > li {
        position: relative;
    }

    .modern-nav > li > a {
        padding: 12px 18px !important;
        border-radius: 10px;
        font-weight: 600;
        transition: .25s;
        color: #333 !important;
    }

    .modern-nav > li > a:hover {
        background: #f5f6f8;
        color: #ff9800 !important;
    }

    .modern-nav .active > a {
        background: #fff7eb;
        color: #ff9800 !important;
    }

    .solar-btn {
        background: linear-gradient(135deg,#ff9800,#ffb300);
        color: white !important;
        border-radius: 12px;
        padding: 12px 22px !important;
        font-weight: 700;
        box-shadow: 0 8px 25px rgba(255,152,0,.25);
        transition: .3s;
    }

    .solar-btn:hover {
        transform: translateY(-2px);
        color: white !important;
        box-shadow: 0 12px 30px rgba(255,152,0,.35);
    }

    /* ============== زیرمنوی رزومه با انیمیشن ============== */
    
    /* پل نامرئی بین منو و زیرمنو */
    .dropdown-parent::after {
        content: '';
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        height: 20px;
        background: transparent;
        z-index: 9998;
    }
    
    .dropdown-menu-custom {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 260px;
        
        background: #ffffff;
        border-radius: 16px;
        padding: 10px 0;
        
        box-shadow: 0 20px 50px rgba(0,0,0,0.08),
                    0 5px 15px rgba(0,0,0,0.05);
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-5px);
        transition: opacity 0.25s ease, 
                    visibility 0.25s ease, 
                    transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        
        z-index: 9999;
        list-style: none;
        pointer-events: none;
        
        border: 1px solid rgba(0,0,0,0.04);
    }
    
    /* مثلث بالای زیرمنو */
    .dropdown-menu-custom::before {
        content: '';
        position: absolute;
        top: -8px;
        right: 30px;
        width: 16px;
        height: 16px;
        background: #ffffff;
        transform: rotate(45deg);
        border-left: 1px solid rgba(0,0,0,0.04);
        border-top: 1px solid rgba(0,0,0,0.04);
    }

    /* آیتم‌های زیرمنو */
    .dropdown-menu-custom li {
        width: 100%;
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease;
    }
    
    /* انیمیشن ترتیبی آیتم‌ها */
    .dropdown-parent:hover .dropdown-menu-custom li:nth-child(1) {
        transition-delay: 0.05s;
    }
    
    .dropdown-parent:hover .dropdown-menu-custom li:nth-child(2) {
        transition-delay: 0.1s;
    }
    
    .dropdown-parent:hover .dropdown-menu-custom li:nth-child(3) {
        transition-delay: 0.15s;
    }
    
    .dropdown-parent:hover .dropdown-menu-custom li:nth-child(4) {
        transition-delay: 0.2s;
    }

    /* لینک‌های زیرمنو */
    .dropdown-menu-custom li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        margin: 0 8px;
        border-radius: 10px;
        color: #2d3748 !important;
        font-weight: 500;
        text-decoration: none;
        position: relative;
        transition: all 0.25s ease;
    }
    
    /* آیکون دایره‌ای قبل از متن */
    .dropdown-menu-custom li a::before {
        content: '';
        width: 6px;
        height: 6px;
        background: #cbd5e0;
        border-radius: 50%;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    /* افکت هاور روی لینک‌ها */
    .dropdown-menu-custom li a:hover {
        background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 100%);
        color: #ff9800 !important;
        padding-right: 28px;
        transform: translateX(-5px);
    }
    
    .dropdown-menu-custom li a:hover::before {
        background: #ff9800;
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(255, 152, 0, 0.4);
    }
    
    /* خط جداکننده */
    .dropdown-menu-custom li:not(:last-child) {
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    /* نمایش زیرمنو هنگام هاور - دسکتاپ */
    .dropdown-parent:hover .dropdown-menu-custom {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition-delay: 0.1s;
    }
    
    .dropdown-parent:hover .dropdown-menu-custom li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* تاخیر در بسته شدن زیرمنو */
    .dropdown-menu-custom {
        transition: opacity 0.25s ease 0.15s, 
                    visibility 0.25s ease 0.15s, 
                    transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    /* انیمیشن فلش */
    .dropdown-arrow {
        font-size: 10px;
        margin-right: 8px;
        transition: transform 0.3s ease;
        display: inline-block;
        color: #94a3b8;
    }
    
    .dropdown-parent:hover .dropdown-arrow {
        transform: rotate(180deg);
        color: #ff9800;
    }
    
    /* افکت روی منوی والد */
    .dropdown-parent:hover > a {
        background: #f5f6f8;
        border-radius: 10px 10px 0 0;
    }

    /* ============== استایل موبایل ============== */
    @media (max-width: 991px) {
        .modern-nav {
            flex-direction: column;
            width: 100%;
        }
        
        .modern-nav > li {
            width: 100%;
        }
        
        .dropdown-parent::after {
            display: none;
        }
        
        .dropdown-menu-custom {
            position: static;
            width: 100%;
            margin: 0;
            box-shadow: none;
            border: none;
            border-radius: 0;
            transform: none;
            display: none;
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            background: #f8f9fa;
            padding: 0;
            transition: none;
        }
        
        .dropdown-menu-custom::before {
            display: none;
        }
        
        /* نمایش زیرمنو در موبایل با کلاس active */
        .dropdown-parent.mobile-open .dropdown-menu-custom {
            display: block;
        }
        
        .dropdown-parent.mobile-open .dropdown-arrow {
            transform: rotate(180deg);
            color: #ff9800;
        }
        
        .dropdown-parent.mobile-open > a {
            background: #fff7eb;
            color: #ff9800 !important;
            border-radius: 10px 10px 0 0;
        }
        
        /* غیرفعال کردن هاور در موبایل */
        .dropdown-parent:hover .dropdown-menu-custom {
            opacity: 1;
            visibility: visible;
            transform: none;
            pointer-events: auto;
            display: none;
        }
        
        .dropdown-parent.mobile-open:hover .dropdown-menu-custom {
            display: block;
        }
        
        /* آیتم‌های زیرمنو در موبایل */
        .dropdown-menu-custom li {
            opacity: 1;
            transform: none;
            transition: none;
        }
        
        .dropdown-menu-custom li a {
            padding: 12px 35px;
            margin: 0;
            border-radius: 0;
        }
        
        .dropdown-menu-custom li a::before {
            display: none;
        }
        
        .dropdown-menu-custom li a:hover {
            background: #fff7ed;
            padding-right: 35px;
            transform: none;
        }
        
        .dropdown-menu-custom li:not(:last-child) {
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        
        /* حالت باز در موبایل */
        .dropdown-parent.mobile-open > a {
            background: #fff7eb;
            color: #ff9800 !important;
        }
    }
