/* منصة برو إن - ملف التصميم المخصص */

:root {
    /* الألوان الأساسية */
    --primary-color: #0056b3;
    --primary-dark: #004494;
    --primary-light: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    
    /* ألوان إضافية */
    --accent-color: #ff5722;
    --highlight-color: #ffeb3b;
    --background-light: #ffffff;
    --background-dark: #212529;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #6c757d;
    
    /* الخطوط */
    --font-primary: 'Cairo', 'Tajawal', sans-serif;
    --font-secondary: 'Almarai', sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-sm: 0.875rem;
    --font-size-xs: 0.75rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    
    /* المسافات */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* تأثيرات */
    --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition-base: all 0.3s ease-in-out;
    --transition-slow: all 0.5s ease-in-out;
    --transition-fast: all 0.15s ease-in-out;
    --border-radius-sm: 0.25rem;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    --border-radius-circle: 50%;
}

/* إعداد عام */
body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

/* شريط التنقل */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: var(--box-shadow);
    padding: 0.8rem var(--spacing-lg);
    transition: var(--transition-base);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: bold;
    font-size: var(--font-size-xl);
    color: white !important;
    transition: var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: var(--spacing-sm);
    transition: var(--transition-fast);
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transition: var(--transition-base);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: white !important;
    font-weight: bold;
}

/* بطاقات الخدمات */
.service-card {
    transition: var(--transition-base);
    border: none;
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.service-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .card-img-top {
    transform: scale(1.1);
}

.service-card .card-body {
    position: relative;
    z-index: 2;
}

.service-card .card-title {
    font-weight: bold;
    color: var(--primary-dark);
    transition: var(--transition-base);
}

.service-card:hover .card-title {
    color: var(--primary-color);
}

.service-card .card-footer {
    background-color: transparent;
    border-top: none;
    position: relative;
    z-index: 2;
}

.service-card .btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border: none;
    transition: var(--transition-base);
    box-shadow: var(--box-shadow-sm);
}

.service-card .btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}

/* أزرار */
.btn {
    transition: var(--transition-base);
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border: none;
    box-shadow: var(--box-shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* القسم الرئيسي */
.hero-section {
    background: linear-gradient(135deg, rgba(0,86,179,0.9), rgba(0,68,148,0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-btn {
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* المميزات */
.features-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: bold;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
    background-color: white;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
    color: var(--accent-color);
}

.feature-title {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    transition: var(--transition-base);
}

.feature-item:hover .feature-title {
    color: var(--accent-color);
}

/* خطوات العمل */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary-dark));
    right: 50%;
    margin-right: -2px;
    border-radius: var(--border-radius);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-badge {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 50%;
    margin-right: -25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--border-radius-circle);
    font-weight: bold;
    z-index: 100;
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.2);
    box-shadow: var(--box-shadow-lg);
}

.timeline-panel {
    position: relative;
    width: 45%;
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--box-shadow);
    right: 55%;
    transition: var(--transition-base);
}

.timeline-item:nth-child(even) .timeline-panel {
    right: 0;
    left: 55%;
}

.timeline-item:hover .timeline-panel {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* التذييل */
footer {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-dark));
    color: white;
    padding: 2px 0 1.5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-light), var(--primary-dark));
}

.footer-title {
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-link:hover {
    color: white;
    transform: translateX(-5px);
    text-decoration: none;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-left: 10px;
    transition: var(--transition-base);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* تأثيرات الظهور عند التمرير */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .timeline::before {
        right: 40px;
        margin-right: 0;
    }
    
    .timeline-badge {
        right: 40px;
        margin-right: 0;
    }
    
    .timeline-panel {
        width: calc(100% - 90px);
        right: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-panel {
        left: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .feature-item,
    .service-card {
        margin-bottom: 2rem;
    }
}

/* تأثير تمرير سلس */
html {
    scroll-behavior: smooth;
}

/* زر الرجوع للأعلى */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--box-shadow);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

/* لوحة المستخدم */
.dashboard-card {
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
    margin-bottom: 1.5rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.dashboard-card .card-title {
    color: var(--primary-dark);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* عناصر النموذج */
.form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* loader لانتظار التحميل */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: var(--transition-base);
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 86, 179, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== أنماط قسم المميزات ===== */
.features-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

.feature-item {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

/* ===== أنماط قسم معرض الأعمال ===== */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-xl);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-base);
    cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.portfolio-card {
    margin-bottom: 30px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    transition: transform 0.8s ease;
    width: 100%;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 86, 179, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: scale(1);
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay-content {
    text-align: center;
    padding: 20px;
    color: #fff;
}

.portfolio-overlay-content h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-overlay-content p {
    margin-bottom: 20px;
    font-size: var(--font-size-base);
}

.portfolio-zoom {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: var(--border-radius-circle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition-base);
}

.portfolio-zoom:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* ===== أنماط قسم الشهادات ===== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--background-light);
}

.testimonial-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition-base);
    margin: 20px 15px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonial-card:hover {
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
}

.testimonial-quote {
    color: var(--primary-color);
    font-size: 24px;
    position: absolute;
    top: -10px;
    right: 0;
    opacity: 0.2;
}

.testimonial-user {
    display: flex;
    align-items: center;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    overflow: hidden;
    margin-left: 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-size: var(--font-size-lg);
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-info span {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ===== أنماط قسم الشركاء ===== */
.partners-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.partners-slider .swiper-slide {
    text-align: center;
    padding: 20px;
    transition: var(--transition-base);
    transform: scale(0.8);
    opacity: 0.6;
    filter: grayscale(100%);
}

.partners-slider .swiper-slide:hover {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0%);
}

.partners-slider .swiper-slide img {
    max-height: 60px;
    width: auto;
}

/* ===== أنماط صفحة الخدمات ===== */

/* قسم المقدمة الرئيسي للخدمات */
.services-hero-section {
    padding: 120px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.services-hero-content {
    padding-right: 50px;
}

.services-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
    padding: 5px 15px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: var(--border-radius);
}

.services-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
}

.services-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.services-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.services-hero-image {
    position: relative;
    z-index: 1;
}

.services-stats {
    position: absolute;
    left: 20px;
    bottom: 40px;
    display: flex;
    gap: 20px;
}

.stat-item {
    background: #fff;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.05));
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    opacity: 0.7;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    opacity: 0.4;
}

/* قسم ميزات الخدمات */
.services-features-section {
    padding: 100px 0;
    background-color: #fff;
}

.service-feature-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.service-feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* قسم قائمة الخدمات */
.services-list-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition-base);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.service-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay .btn {
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transform: scale(0.5);
    transition: var(--transition-base);
}

.service-card:hover .service-overlay .btn {
    transform: scale(1);
}

.service-card-body {
    padding: 30px;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    position: absolute;
    top: -30px;
    left: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0;
}

.service-text {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.service-action {
    margin-top: 20px;
}

.btn-service {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.btn-service::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-service:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-service i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.btn-service:hover i {
    transform: translateX(5px);
}

/* قسم كيف نعمل */
.workflow-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.workflow-timeline {
    position: relative;
    padding: 50px 0;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: rgba(var(--primary-rgb), 0.2);
    transform: translateX(-50%);
}

.workflow-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.workflow-item:last-child {
    margin-bottom: 0;
}

.workflow-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-circle);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    margin: 0 40px;
}

.workflow-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.workflow-content {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.workflow-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.workflow-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* قسم الأسئلة الشائعة */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.accordion-item {
    margin-bottom: 15px;
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.accordion-header {
    border-radius: var(--border-radius);
}

.accordion-button {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    background-color: #fff;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 16px;
    transition: transform 0.3s ease;
}

.accordion-body {
    padding: 25px;
    background-color: #fff;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* قسم الاتصال السريع */
.cta-services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.cta-services-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.cta-services-content {
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-services-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-services-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-services-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* ===== أنماط قسم الاتصال السريع في الصفحة الرئيسية ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.cta-content {
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* تنسيق الرسائل التنبيهية */
.alert {
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: var(--box-shadow-sm);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثيرات إضافية للصفحات */
.page-transition {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== أنماط صفحات مسارات العمل (Workflows) ===== */

/* قسم المقدمة الرئيسي */
.workflow-specific-hero {
    position: relative;
    padding: 120px 0 80px;
    background-color: #f9f9ff;
    overflow: hidden;
}

.workflow-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(93, 45, 144, 0.1);
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #5d2d90;
}

.workflow-badge i {
    margin-left: 8px;
    font-size: 18px;
}

.workflow-specific-title {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
}

.workflow-specific-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.workflow-specific-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.workflow-specific-image {
    position: relative;
    z-index: 1;
}

/* شارات مسارات العمل المختلفة */
.inventor-badge {
    background-color: rgba(93, 45, 144, 0.1);
    color: #5d2d90;
}

.government-badge {
    background-color: rgba(0, 112, 192, 0.1);
    color: #0070c0;
}

.company-badge {
    background-color: rgba(218, 41, 109, 0.1);
    color: #da296d;
}

.factory-badge {
    background-color: rgba(255, 216, 108, 0.1);
    color: #e6a800;
}

/* أشكال خلفية متحركة */
.shape {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
}

.shape-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #5d2d90;
}

.shape-2 {
    bottom: -80px;
    left: 10%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: #42b6e9;
}

.shape-3 {
    top: 30%;
    left: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #da296d;
}

/* قسم مراحل العمل */
.workflow-steps-section {
    padding: 80px 0;
    background-color: #fff;
}

.workflow-timeline {
    position: relative;
    margin-top: 60px;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #5d2d90;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(93, 45, 144, 0.3);
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(93, 45, 144, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.timeline-icon i {
    font-size: 24px;
    color: #5d2d90;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.timeline-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* قسم نموذج تقديم الطلب */
.workflow-form-section {
    padding: 80px 0;
    background-color: #f9f9ff;
}

.workflow-form-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.workflow-form-header {
    background-color: #5d2d90;
    color: #fff;
    padding: 30px;
    border-radius: 15px 15px 0 0;
}

.form-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.workflow-form-body {
    padding: 30px;
}

/* قسم CTA في صفحة مسارات العمل الرئيسية */
.cta-workflows-section {
    background-color: #5d2d90;
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-workflows-content {
    position: relative;
    z-index: 1;
}

.cta-workflows-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-workflows-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-workflows-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* الاستجابة للشاشات المختلفة */
@media (max-width: 991px) {
    .workflow-specific-title {
        font-size: 32px;
    }
    
    .workflow-specific-hero {
        padding: 80px 0 60px;
    }
    
    .workflow-specific-image {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .workflow-timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-right: 0 !important;
        margin-left: 60px !important;
    }
    
    .workflow-specific-actions {
        flex-direction: column;
    }
}
