/* CSS لصفحات الخدمات */

/* تنسيق صورة الخلفية للخدمة */
.service-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1566888596782-c7f41cc184c5?q=80&w=1472&auto=format&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    position: relative;
}

.cloud-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1544197150-b99a580bb7a8?q=80&w=1470&auto=format&fit=crop') center/cover;
}

.crm-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1415&auto=format&fit=crop') center/cover;
}

.chatbot-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1535378620166-273708d44e4c?q=80&w=1471&auto=format&fit=crop') center/cover;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.service-hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease-out;
}

.service-hero-content p {
    color: #eee;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

/* تنسيق وصف الخدمة */
.service-description {
    padding: 5rem 2rem;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.service-description::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    z-index: 0;
}

.service-description::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.1), rgba(var(--primary-rgb), 0.1));
    z-index: 0;
}

.service-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-intro h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.service-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    position: relative;
}

.service-intro p:first-of-type {
    font-weight: 500;
    font-size: 1.2rem;
    color: #333;
}

.service-intro p:first-of-type::first-letter {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    float: right;
    margin-left: 8px;
    line-height: 1;
}

.service-highlight {
    display: inline-block;
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 500;
    color: var(--primary-color);
}

/* تنسيق مميزات الخدمة */
.service-features {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.service-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/subtle-white-feathers.png');
    opacity: 0.5;
    z-index: 0;
}

.service-features h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    z-index: 1;
}

.service-features h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-box {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 92, 139, 0.05), rgba(133, 20, 20, 0.05));
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-icon i {
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color: #fff;
}

.feature-box h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.feature-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.feature-box p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* تنسيق قسم لماذا تختارنا */
.why-choose-us {
    padding: 5rem 2rem;
    background-color: #fff;
}

.why-choose-us h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.why-choose-us h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.why-choose-us::after {
    content: none;
    display: none;
}

/* Modern Gradient Theme for Comparison Table */
.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    background: #fff;
    border: none;
    transition: all 0.3s ease;
}

.comparison-table:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: bold;
    padding: 1.8rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.comparison-header .comparison-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.comparison-header .comparison-cell.highlight {
    position: relative;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.comparison-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    pointer-events: none;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-row:hover {
    background-color: rgba(42, 92, 139, 0.05);
    transform: translateY(-2px);
    z-index: 10;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    padding: 1.8rem 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.comparison-cell.highlight {
    background-color: rgba(255, 255, 255, 0.95);
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 6px;
    margin: 0.2rem;
    transform: translateY(-3px);
}

.comparison-cell.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 25px 0;
    border-color: transparent var(--secondary-color) transparent transparent;
}

.comparison-cell.highlight::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    top: 5px;
    right: 5px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
}

/* تنسيق شهادات العملاء - نظام السلايدر */
.testimonials {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-.895-3-2-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(42, 92, 139, 0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.testimonials h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* نظام السلايدر للتعليقات */
.testimonial-slider {
    position: relative;
    margin: 0 auto;
    padding: 2rem 0;
    max-width: 800px;
}

.testimonial-slider-container {
    overflow: hidden;
    position: relative;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 700px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 120px;
    color: rgba(var(--primary-rgb), 0.1);
    font-family: Arial, sans-serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    flex: 1;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
    color: #444;
    text-align: justify;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.testimonial-author:hover img {
    transform: scale(1.05);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.author-info p {
    margin: 0;
    color: #777;
    font-size: 0.85rem;
}

/* أزرار التنقل */
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.testimonial-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background-color: #bbb;
}

/* تنسيقات إضافية */
.testimonial-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-rating {
    display: flex;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
}

.testimonial-rating i {
    margin-left: 2px;
}

.testimonial-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.testimonial-tag:hover {
    background: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-2px);
}

/* تحسينات للتجاوب مع الشاشات المختلفة */
@media (max-width: 480px) {
    .service-hero {
        height: 50vh;
        padding: 4rem 1rem 1rem;
    }
    
    .service-hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .service-hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .service-description,
    .service-features,
    .why-choose-us,
    .testimonials,
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .service-intro {
        padding: 1.5rem;
    }
    
    .service-intro h2,
    .service-features h2,
    .why-choose-us h2,
    .testimonials h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .service-intro p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
        border-radius: 0;
    }
    
    .comparison-header {
        padding: 0.6rem;
    }
    
    .comparison-cell {
        padding: 0.6rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    /* تحسينات إضافية للنافبار على الجوال */
    .navbar .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    /* تحسين عرض الأزرار على الجوال */
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .cta-btn {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}

/* تحسينات إضافية للشاشات المتوسطة (التابلت) */
@media (min-width: 481px) and (max-width: 768px) {
    .service-hero {
        height: 55vh;
        padding: 5rem 1.5rem 1.5rem;
    }
    
    .service-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .service-hero-content p {
        font-size: 1.1rem;
    }
    
    .service-description,
    .service-features,
    .why-choose-us,
    .testimonials,
    .cta-section {
        padding: 4rem 1.5rem;
    }
    
    .service-intro {
        padding: 1.8rem;
    }
    
    .service-intro h2,
    .service-features h2,
    .why-choose-us h2,
    .testimonials h2 {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-cell {
        padding: 0.8rem;
    }
}

/* تحسينات لعرض الجدول المقارن على الشاشات الصغيرة */
@media (max-width: 600px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .comparison-row {
        display: table-row;
    }
    
    .comparison-header,
    .comparison-cell {
        display: table-cell;
        min-width: 120px;
    }
    
    /* إضافة تلميح للمستخدم بإمكانية التمرير */
    .why-choose-us::after {
        content: none;
        display: none;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 360px) {
    .service-hero-content h1 {
        font-size: 1.6rem;
    }
    
    .service-hero-content p {
        font-size: 0.9rem;
    }
    
    .service-intro h2,
    .service-features h2,
    .why-choose-us h2,
    .testimonials h2 {
        font-size: 1.4rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .comparison-header,
    .comparison-cell {
        min-width: 100px;
        padding: 0.5rem;
    }
    
    .testimonial-card {
        padding: 0.8rem;
    }
    
    .testimonial-content p {
        font-size: 0.85rem;
    }
    
    .testimonial-author img {
        width: 40px;
        height: 40px;
    }
    
    .author-info h4 {
        font-size: 0.9rem;
    }
    
    .author-info p {
        font-size: 0.7rem;
    }
}

/* تحسينات للتجاوب مع الشاشات المختلفة */
@media (max-width: 480px) {
    .testimonial-slider {
        padding: 1rem 0;
    }
    
    .testimonial-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-author img {
        width: 45px;
        height: 45px;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info p {
        font-size: 0.75rem;
    }
    
    .testimonial-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
        margin-top: 0.3rem;
        margin-left: 0.3rem;
    }
    
    .testimonial-nav {
        margin-top: 1rem;
    }
    
    .testimonial-arrow {
        width: 32px;
        height: 32px;
        margin: 0 0.5rem;
    }
    
    .testimonial-dots {
        margin-top: 1rem;
    }
    
    .testimonial-dot {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .testimonial-slider {
        padding: 1.5rem 0;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-nav {
        margin-top: 1.5rem;
    }
    
    .testimonial-arrow {
        width: 38px;
        height: 38px;
    }
}

/* تحسينات لعرض الجدول المقارن على الشاشات الصغيرة */
@media (max-width: 600px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .comparison-row {
        display: table-row;
    }
    
    .comparison-header,
    .comparison-cell {
        display: table-cell;
        min-width: 120px;
    }
}

/* تجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .service-hero-content p {
        font-size: 1.1rem;
    }
    
    .service-intro h2,
    .service-features h2,
    .why-choose-us h2,
    .testimonials h2 {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-cell {
        padding: 0.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    /* تحسين عرض شبكة المميزات على الجوال */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* تحسين عرض شبكة الخدمات على الجوال */
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* تنسيق دعوة للعمل */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

/* تحريكات */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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