/* تنسيقات صفحة الخدمات */

/* بطاقات الخدمات المحسنة */
.flag-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s ease;
    height: 100%;
}

.flag-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 71, 140, 0.2);
}

.card-flag {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flag-card:hover .country-flag {
    transform: scale(1.1);
}

.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4));
}

.feature-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 50px;
    font-size: 12px;
    color: #00478c;
    margin: 3px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.flag-card:hover .feature-badge {
    background: #00478c;
    color: white;
    border-color: #00478c;
}

/* تنسيق الأزرار */
.btn-primary {
    background-color: #00478c;
    border-color: #00478c;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #002856;
    border-color: #002856;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 71, 140, 0.3);
}

/* تنسيق الهيدر */
.services-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.gradient-text {
    background: linear-gradient(135deg, #00478c, #00a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* موجات زخرفية محسنة */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.wave1 {
    animation: wave 8s linear infinite;
    opacity: 0.3;
}

.wave2 {
    animation: wave 10s linear infinite;
    opacity: 0.2;
    bottom: 5px;
}

.wave3 {
    animation: wave 12s linear infinite;
    opacity: 0.1;
    bottom: 10px;
}

@keyframes wave {
    0% {
        transform: translateX(0) scaleX(1);
    }

    50% {
        transform: translateX(-25%) scaleX(1.02);
    }

    100% {
        transform: translateX(0) scaleX(1);
    }
}

/* تنسيقات خاصة بالاتجاهات */
[dir="rtl"] .feature-badge {
    margin-left: 5px;
    margin-right: 0;
}

[dir="ltr"] .feature-badge {
    margin-right: 5px;
    margin-left: 0;
}

/* تحسينات الجوال */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .card-flag {
        height: 140px;
    }

    .feature-badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .btn-primary {
        font-size: 14px;
    }
}
/*================== صفحة السعودية البداية*/
/* تنسيقات محسنة للصفحة */
.feature-card-detailed {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 71, 140, 0.1);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    color: #00478c;
    margin-bottom: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
}

.feature-list i {
    width: 20px;
}

.zone-badge {
    display: inline-block;
    background: #e9ecef;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 13px;
    color: #00478c;
    margin: 3px;
}

.sector-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.sector-card:hover {
    background: #01203e;
    color: white;
    transform: translateY(-5px);
}

.sector-card:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #00478c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 15px;
}

.step-content h5 {
    color: #00478c;
    margin-bottom: 5px;
}

.price-card,
.why-us-sidebar,
.contact-mini-card {
   /* position: sticky;*/
    top: 100px;
}

.why-us-sidebar {
    background: linear-gradient(135deg, #00478c, #002856);
}

.why-us-sidebar i {
    color: #ffd700;
}
/* تحسينات الجوال */
@media (max-width: 768px) {
    .feature-card-detailed {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-icon-large {
        margin-bottom: 15px;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        margin-bottom: 10px;
    }

    .service-sidebar {
        margin-top: 30px;
    }
    .uk-bank-badge, .payment-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* تنسيقات خاصة بالاتجاهات */
[dir="rtl"] .feature-list i {
    margin-left: 8px;
    margin-right: 0;
}

[dir="ltr"] .feature-list i {
    margin-right: 8px;
    margin-left: 0;
}

[dir="rtl"] .sector-card {
    text-align: center;
}

[dir="ltr"] .sector-card {
    text-align: center;
}
/* ========================== نهائية صفحة السعودية  */

/* عمان البداية تنسيقات محسنة للصفحة */
.free-zone-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.free-zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,71,140,0.1);
    border-color: #00478c;
}

.free-zone-card h5 {
    color: #00478c;
    font-weight: 600;
}

.free-zone-card .badge {
    font-size: 12px;
    padding: 5px 10px;
}
@media (max-width: 768px) {
    .free-zone-card {
        text-align: center;
    }
    
    .free-zone-card .d-flex {
        justify-content: center;
    }
}
/* عمان النهائية تنسيقات محسنة للصفحة */

/* امريكا البداية تنسيقات محسنة للصفحة */
.state-badge, .bank-badge, .payment-badge {
    display: inline-block;
    background: #e9ecef;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    color: #00478c;
    margin: 3px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.state-badge:hover, .bank-badge:hover, .payment-badge:hover {
    background: #00478c;
    color: white;
    border-color: #00478c;
}
.states-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.states-table th {
    background: #00478c;
    color: white;
    font-weight: 500;
    padding: 15px;
}

.states-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.states-table tr:hover {
    background: #f8f9fa;
}
/* تحسينات الجوال */
@media (max-width: 768px) {
    .states-table {
        font-size: 14px;
    }
    
    .states-table th, .states-table td {
        padding: 8px;
    }
    
    .state-badge, .bank-badge, .payment-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
}
/* امريكا النهائية تنسيقات محسنة للصفحة */

/* بريطانيا البداية تنسيقات محسنة للصفحة */
.uk-bank-badge {
    display: inline-block;
    background: #e9ecef;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    color: #00478c;
    margin: 3px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.uk-bank-badge:hover {
    background: #00478c;
    color: white;
    border-color: #00478c;
}
/* بريطانيا النهائية تنسيقات محسنة للصفحة */