
/* ================= SERVICES DETAILS ================= */
.process-steps {
    margin-top: 40px;
}
.services-details {
    background: var(--white);
}

.services-category {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold);
    transition: var(--transition);
}

.category-header:hover .category-icon {
    transform: rotate(15deg) scale(1.1);
}

.category-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.category-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

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

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

.detail-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--gold);
    transition: var(--transition);
}

.service-detail-card:hover .detail-icon {
    background: var(--gradient-gold);
    color: var(--white);
    transform: scale(1.1);
}

.service-detail-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-detail-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    margin: 25px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray-dark);
}

.service-features li i {
    color: var(--gold);
    font-size: 0.9rem;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.price-range .label {
    color: var(--gray);
    font-size: 0.9rem;
}

.price-range .price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ================= SERVICE MODAL ================= */
.service-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
    backdrop-filter: blur(10px);
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-large);
}

.service-modal.active .service-modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.modal-close:hover {
    background: var(--gold);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.modal-header h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.modal-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-body {
    padding: 30px 40px;
}

.modal-description {
    margin-bottom: 30px;
}

.modal-description p {
    color: var(--gray-dark);
    line-height: 1.8;
    font-size: 1.1rem;
}

.modal-features {
    margin-bottom: 30px;
}

.modal-features h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.modal-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.modal-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.modal-feature:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(-5px);
}

.modal-feature i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 3px;
}

.modal-feature h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
}

.modal-feature p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.modal-pricing {
    margin-bottom: 30px;
}

.modal-pricing h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.pricing-table {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.pricing-row:nth-child(odd) {
    background: rgba(212, 175, 55, 0.03);
}

.pricing-row .service-name {
    color: var(--primary);
    font-weight: 500;
}

.pricing-row .price {
    color: var(--gold);
    font-weight: 700;
    text-align: left;
}

.modal-footer {
    padding: 20px 40px 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

/* ================= SERVICES SECTION ================= */
#services {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
    position: relative;
    z-index: 1;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0 C150,100 350,0 500,100 S750,0 1000,100 L1000,0 Z" fill="rgba(212,175,55,0.05)"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    transition: box-shadow 2s ,border-color 2s ;
}

.service-card:hover {
    
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.service-icon.gold-bg {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.4;
}

.service-card > p {
    color: var(--gray);
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-description p {
    color: var(--gray);
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================= تحسينات اختيار الخدمات ================= */
.service-selection {
    margin: 25px 0;
    position: relative;
}

.service-select-wrapper {
    position: relative;
}

.service-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    pointer-events: none;
    font-size: 0.9rem;
}

.service-select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    color: var(--primary);
    font-size: 0.95rem;
    transition: var(--transition);
    appearance: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.service-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.service-select option {
    background: var(--white);
    color: var(--primary);
    padding: 10px;
    font-size: 0.9rem;
    font-family: 'Cairo', sans-serif;
}

/* ================= ترويسة البطاقة مع علم الدولة ================= */
.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.country-flag {
    width: 30px;
    height: 20px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.service-country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-country i {
    font-size: 0.9rem;
}

/* ================= حقل الإدخال ================= */
.input-group {
    position: relative;
    margin-bottom: 15px;
}

.service-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    color: var(--primary);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.service-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.service-input::placeholder {
    color: var(--gray-light);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1rem;
}

.input-group:focus-within .input-icon {
    color: var(--gold-dark);
}

/* ================= زر الطلب ================= */
.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    margin-top: 20px;
}

.service-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
}

.service-btn.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.service-btn.send-whatsapp {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
}

.service-btn.send-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-text {
    font-size: 0.95rem;
}

/* ================= علامة الهاتف ================= */
.contact-number-display {
    margin-top: 20px;
    text-align: center;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold-dark);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.phone-link:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* ================= بطاقة مهمة ================= */
.important-card {
    border: 2px solid var(--gold);
    position: relative;
}

.important-card::before {
    content: '🛡️ خدمة موثقة';
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.service-warning {
    margin-top: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--border-radius-sm);
    border-right: 3px solid var(--gold);
}

.service-warning h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-warning h3 i {
    font-size: 1rem;
}

.service-warning p {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: right;
}

/* ================= مساحة الإعلانات ================= */
.advertisement-placeholder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 2px dashed var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advertisement-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23d4af37" stroke-width="1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.ad-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--gold);
}

.advertisement-placeholder h3 {
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.advertisement-placeholder p {
    color: var(--gray);
    margin-bottom: 20px;
    max-width: 250px;
}

.ad-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.ad-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* ================= تعديلات خاصة لكل بطاقة حسب الدولة ================= */
/* بطاقة تونس */
.service-card[data-service="local-delivery-tunisia"] {
    border-top: 4px solid #e70013;
}

.service-card[data-service="local-delivery-tunisia"] .service-icon {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
}

/* بطاقة قطر */
.service-card[data-service="local-delivery-qatar"] {
    border-top: 4px solid #8a1538;
}

.service-card[data-service="local-delivery-qatar"] .service-icon {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
}

/* بطاقة ميزان */
.service-card[data-service="scale-sales"] {
    border-top: 4px solid #008000;
}

.service-card[data-service="scale-sales"] .service-icon {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
}

/* بطاقة الأموال */
.service-card[data-service="money-delivery"] .service-icon {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
}

/* ================= التأثيرات التفاعلية ================= */
.card-loading {
    position: relative;
    overflow: hidden;
}

.card-loading::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 20%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 80%
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.success-animation {
    animation: successPulse 2s ease;
}

@keyframes successPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ================= SERVICES FAQ ================= */
.services-faq {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0;
    flex: 1;
    font-family: 'Cairo', sans-serif;
}

.faq-question i {
    color: var(--gold);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 0;
    font-family: 'Cairo', sans-serif;
}

/* ================= SERVICES CTA ================= */
.services-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
}

.services-cta .section-title {
    color: var(--white);
}

.services-cta .section-title::after {
    background: var(--gold);
}

.services-cta .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.cta-contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    min-width: 250px;
    transition: var(--transition);
}

.contact-option:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
}

.contact-option i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-option h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-family: 'Cairo', sans-serif;
}

.contact-option p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
}

/* ================= TESTIMONIALS WITH IMAGES ================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:before {
    content: '"';
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    right: 1rem;
    font-family: Georgia, serif;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-light);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.client-avatar:hover img {
    transform: scale(1.1);
}

.client-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
}

.client-location {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color-light);
    margin-bottom: 3px;
    font-family: 'Cairo', sans-serif;
}

.client-service {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: 'Cairo', sans-serif;
}

.rating {
    color: var(--gold);
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.rating i {
    margin-left: 0.1rem;
}

.testimonial-text {
    color: var(--text-color);
    line-height: 1.6;
    margin: 15px 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    font-family: 'Cairo', sans-serif;
}

.testimonial-images {
    margin: 15px 0;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.image-grid img:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color-light);
    font-size: 0.85rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-family: 'Cairo', sans-serif;
}

/* Modal للصور */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-image-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--gold);
}

.caption {
    text-align: center;
    color: var(--white);
    padding: 10px 20px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
}

/* Animation للمودال */
@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.modal-image-content, .caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* ================= ARROW FOR SLIDER ================= */
.testimonial-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slider-arrow:hover {
    background: var(--gold-dark);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-slider-arrow.prev {
    right: -20px;
}

.testimonial-slider-arrow.next {
    left: -20px;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
    .services-hero h1 {
        font-size: 3rem;
    }
    
    .services-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .customer-field-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 60px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-stat .number {
        font-size: 2rem;
    }
    
    .service-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .pricing-row {
        grid-template-columns: 1fr 120px;
        padding: 12px 15px;
    }
    
    .contact-option {
        min-width: 100%;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .service-contact-double {
        flex-direction: column;
    }
    
    .contact-buttons-wrapper {
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .image-grid img {
        height: 100px;
    }
    
    .testimonial-slider-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-details-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        padding: 30px 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
    
    .modal-features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid img {
        height: 150px;
    }
    
    .service-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .btn-text {
        font-size: 0.85rem;
    }
}

/* ================= تطبيقات خاصة ================= */
/* التأثيرات النابضة للأزرار */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn-pulse {
    animation: pulse 2s infinite;
}

/* تأثير الاهتزاز عند الخطأ */
@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-5px);}
    20%, 40%, 60%, 80% {transform: translateX(5px);}
}

.input-error {
    border-color: #ff4757 !important;
    animation: shake 0.5s ease;
}

/* تحسينات للأجهزة التي تعمل باللمس */
@media (hover: none) and (pointer: coarse) {
    .service-btn {
        padding: 15px 20px;
        min-height: 50px;
    }
    
    .service-select,
    .service-input {
        padding: 15px 15px 15px 40px;
        font-size: 1rem;
    }
    
    .input-icon {
        font-size: 1.1rem;
        right: 18px;
    }
}

/* تحسينات للطباعة */
@media print {
    .service-btn,
    .ad-btn,
    .testimonial-slider-arrow,
    .modal-close {
        display: none !important;
    }
    
    .service-card {
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    #services {
        background: none !important;
    }
}


  /* Page Transition Styles */
        .page-transition {
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        }
        
        .page-transition.hidden {
            transform: translateY(-100%);
        }
        
        .page-transition .logo {
            text-align: center;
            color: white;
        }
        
        .page-transition .logo-icon {
            margin-bottom: 20px;
        }
        
        .page-transition .logo-text h1 {
            font-size: 17px;
            margin-bottom: 10px;
        }
        
        .page-transition .logo-text p {
            font-size: 10px;
            opacity: 0.8;
        }
        
        /* Progress Bar Styles */
        .progress-container {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            position: fixed;
            top: 0;
            right: 0;
            z-index: 10000;
            display: none;
        }
        
        .progress-bar {
            height: 6px;
            background: linear-gradient(90deg, #d4af37, #f4d03f);
            width: 0%;
            transition: width 0.3s ease;
        }
        
        /* Burger Menu Fix */
        .burger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 10px;
            z-index: 1000;
        }
        
        .burger span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: #333;
            margin: 5px 0;
            transition: 0.3s;
            border-radius: 3px;
        }
        
        .burger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .burger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .burger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }
        
        /* AOS Fix */
        [data-aos] {
            opacity: 1 !important;
            transform: none !important;
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        
        [data-aos].aos-animate {
            opacity: 1 !important;
        }
        
        /* RTL Fix for AOS */
        .aos-init[data-aos][data-aos][data-aos-duration="800"],
        .aos-animate[data-aos][data-aos][data-aos-duration="800"] {
            transition-duration: 0.8s;
        }
        
        /* Ensure AOS works with RTL */
        html[dir="rtl"] [data-aos^="fade"][data-aos^="fade"] {
            transform: none;
        }
        
        @media (max-width: 768px) {
            .burger {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                height: 100vh;
                background: white;
                flex-direction: column;
                padding: 80px 20px 20px;
                transition: 0.3s;
                box-shadow: -5px 0 15px rgba(0,0,0,0.1);
                z-index: 999;
                overflow: auto;
            }
            
            .nav-links.active {
                right: 0;

            }
            
            .nav-link {
                width: 100%;
                text-align: center;
                padding: 15px;
                margin: 5px 0;
                border-bottom: 1px solid #eee;
            }
        }