/**
 * Mawthuq Custom Design - Plugin Styles
 * Version: 1.0.0
 */

/* ==========================================================================
   Comparison Table Styles
   ========================================================================== */

.mawthuq-comparison-wrapper {
    margin: 40px 0;
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 1.1em;
    direction: rtl;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.custom-table th,
.custom-table td {
    padding: 18px 15px;
    border: 1px solid #e8e8e8;
}

.custom-table th {
    background: linear-gradient(135deg, #0D1D33 0%, #1a3a5c 100%);
    color: white;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
}

.custom-table tbody tr {
    transition: background-color 0.3s ease;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.custom-table tbody tr:hover {
    background-color: #f0f7ff;
}

.custom-table .success {
    color: #28a745;
    font-weight: 700;
}

.custom-table td:first-child {
    font-weight: 600;
    text-align: right;
    background-color: #fafafa;
}

/* ==========================================================================
   Testimonial Styles
   ========================================================================== */

.mawthuq-testimonial {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px -15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 20px 0;
    border-right: 4px solid #0A72E0;
}

.mawthuq-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px -15px rgba(0,0,0,0.15);
}

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

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0A72E0;
}

.testimonial-content {
    text-align: right;
}

.testimonial-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 1em;
    margin: 0;
}

.testimonial-author strong {
    color: #0D1D33;
    font-size: 1.1em;
}

.testimonial-title {
    color: #666;
    font-size: 0.95em;
}

/* ==========================================================================
   CTA Section Styles
   ========================================================================== */

.mawthuq-cta-section {
    background: linear-gradient(135deg, #0A72E0 0%, #0D1D33 100%);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.mawthuq-cta-section:before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.mawthuq-cta-section h2 {
    color: white;
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: 700;
}

.mawthuq-cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2em;
    margin-bottom: 30px;
}

.mawthuq-cta-section .button {
    background: white;
    color: #0A72E0;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.mawthuq-cta-section .button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Process Steps Styles
   ========================================================================== */

.mawthuq-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.process-step {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0A72E0 0%, #0860c7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(10,114,224,0.3);
}

.process-step h3 {
    color: #0D1D33;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-step p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05em;
}

/* ==========================================================================
   Trust Badges Styles
   ========================================================================== */

.mawthuq-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 0.95em;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.trust-badge:hover {
    background: #fff;
    border-color: #0A72E0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10,114,224,0.1);
}

.badge-icon {
    color: #28a745;
    font-weight: 700;
    font-size: 1.2em;
}

.badge-text {
    font-weight: 500;
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 768px) {
    .custom-table {
        font-size: 0.85em;
    }
    
    .custom-table th,
    .custom-table td {
        padding: 12px 8px;
    }
    
    .mawthuq-testimonial {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 1em;
    }
    
    .mawthuq-cta-section {
        padding: 40px 25px;
    }
    
    .mawthuq-cta-section h2 {
        font-size: 1.6em;
    }
    
    .mawthuq-cta-section p {
        font-size: 1em;
    }
    
    .mawthuq-process-steps {
        grid-template-columns: 1fr;
    }
    
    .mawthuq-trust-badges {
        flex-direction: column;
    }
    
    .trust-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .mawthuq-cta-section,
    .trust-badge {
        display: none;
    }
}
