/*
* رخص القيادة الدولية الأمريكية
* الديوان اليمني
*/

/* ======== أنماط عامة ======== */
.license-intro-image,
.license-steps-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.license-intro-image img,
.license-steps-image img {
    width: 100%;
    height: auto;
    display: block;
}

.license-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background-color: var(--secondary);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    z-index: 1;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-left: 15px;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text span {
    font-weight: 700;
    line-height: 1.3;
}

.steps-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 1;
}

.badge-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 14px;
}

/* ======== خصائص الرخصة ======== */
.license-features {
    margin-top: 30px;
}

.license-feature {
    display: flex;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(238, 54, 61, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
    margin-left: 15px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--grey);
    margin-bottom: 0;
}

.license-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ======== لماذا تحتاج الرخصة ======== */
.why-license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-license-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.why-license-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.why-license-item:hover .why-license-icon {
    background-color: var(--primary);
    color: #fff;
}

.why-license-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.why-license-description {
    color: var(--grey);
    margin-bottom: 0;
}

/* ======== خطوات الاستخراج ======== */
.license-steps {
    margin-top: 30px;
}

.license-step {
    display: flex;
    margin-bottom: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-left: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-description {
    color: var(--grey);
    margin-bottom: 0;
}

.license-documents {
    margin-top: 40px;
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 25px;
}

.license-documents h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.documents-list li i {
    color: var(--secondary);
    margin-left: 10px;
    margin-top: 5px;
}

/* ======== الباقات والأسعار ======== */
.license-pricing {
    margin-bottom: 60px;
}

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

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

.pricing-header {
    background-color: var(--primary);
    color: #fff;
    padding: 25px;
    text-align: center;
}

.pricing-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.currency {
    font-size: 14px;
    margin-bottom: 5px;
}

.amount {
    font-size: 36px;
    font-weight: 800;
}

.pricing-body {
    padding: 25px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--text);
}

.pricing-features li i {
    color: var(--secondary);
    margin-left: 10px;
    margin-top: 5px;
}

.pricing-validity,
.pricing-time {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text);
}

.pricing-validity i,
.pricing-time i {
    color: var(--primary);
    margin-left: 10px;
}

.pricing-footer {
    padding: 0 25px 25px;
}

/* ======== نموذج طلب الرخصة ======== */
.license-form-section {
    margin-top: 60px;
}

.license-form-wrapper {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary);
}

.form-description {
    color: var(--grey);
    margin-bottom: 30px;
}

/* ======== الدول المعترفة ======== */
.countries-map {
    text-align: center;
    margin-bottom: 40px;
}

.countries-list {
    margin-top: 40px;
}

.countries-group {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    height: 100%;
}

.countries-group h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.countries-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.countries-group ul li {
    margin-bottom: 8px;
    color: var(--text);
}

.countries-note {
    color: var(--grey);
    font-style: italic;
}

/* ======== التوصيات والآراء ======== */
.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 18px;
}

.testimonial-text {
    margin-bottom: 20px;
}

.testimonial-text p {
    color: var(--text);
    font-style: italic;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
}

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

.author-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--grey);
    margin-bottom: 0;
}

.testimonial-pagination {
    text-align: center;
    margin-top: 30px;
}

/* ======== الأسئلة الشائعة ======== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: none;
    background-color: transparent;
    margin-bottom: 15px;
}

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

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--secondary);
    box-shadow: var(--shadow);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232e2857'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ee363d'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-body {
    padding: 20px 25px;
    background-color: #fff;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* ======== نداء للعمل ======== */
.cta-box {
    padding: 60px 20px;
}

.cta-box h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

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

/* ======== استجابة الموبايل ======== */
@media (max-width: 991px) {
    .license-badge {
        bottom: 15px;
        left: -10px;
    }
    
    .steps-badge {
        top: 15px;
        right: -10px;
        width: 70px;
        height: 70px;
    }
    
    .badge-number {
        font-size: 28px;
    }
    
    .license-cta {
        flex-direction: column;
    }
    
    .license-cta .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .pricing-card {
        margin-bottom: 30px;
    }
    
    .why-license-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .license-form-wrapper {
        padding: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .license-badge, .steps-badge {
        display: none;
    }
    
    .why-license-grid {
        grid-template-columns: 1fr;
    }
    
    .countries-group {
        margin-bottom: 20px;
    }
}