/* صفحات الخدمات المنفصلة */

.service-page {
    background: #f8fafc;
    min-height: 100vh;
}

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
}

.service-hero-icon i {
    font-size: 50px;
    color: white;
}

.service-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.service-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Content Section */
.service-content {
    padding: 80px 0;
}

.service-main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.service-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.lead {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 50px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

/* تأكد أن العناصر تبقى 2 جنب بعض في جميع الشاشات */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .feature-box {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 22px;
    }
    
    .feature-box h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .feature-box p {
        font-size: 13px;
    }
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 50px;
}

.pricing-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* أسعار الشحن - 2 جنب بعض في الشاشات الصغيرة */
@media (max-width: 992px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .pricing-card {
        padding: 25px 15px;
    }
    
    .pricing-header h4 {
        font-size: 15px;
    }
    
    .pricing-price {
        font-size: 24px;
    }
    
    .pricing-card p {
        font-size: 12px;
    }
}

.pricing-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #f59e0b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    margin-bottom: 20px;
}

.pricing-header i {
    font-size: 40px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.pricing-card.featured .pricing-header i {
    color: white;
}

.pricing-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.pricing-card.featured .pricing-header h4 {
    color: white;
}

.pricing-price {
    font-size: 32px;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 10px;
}

.pricing-card.featured .pricing-price {
    color: white;
}

.pricing-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.pricing-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

/* Steps Section */
.steps-section {
    margin-bottom: 50px;
}

.steps-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Payment Methods */
.payment-methods-section {
    margin-bottom: 50px;
}

.payment-methods-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.payment-method-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.payment-method-card.featured {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.payment-method-card i {
    font-size: 40px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.payment-method-card.featured i {
    color: white;
}

.payment-method-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.payment-method-card.featured h4 {
    color: white;
}

.payment-method-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.payment-method-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

/* Warranty Types */
.warranty-types {
    margin-bottom: 50px;
}

.warranty-types h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.warranty-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.warranty-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.warranty-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.warranty-icon i {
    font-size: 32px;
    color: white;
}

.warranty-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.warranty-card > p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
}

.warranty-card ul {
    list-style: none;
    padding: 0;
}

.warranty-card ul li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    color: #6b7280;
    font-size: 14px;
}

.warranty-card ul li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #10b981;
    font-weight: 700;
}

/* Quality Process */
.quality-process {
    margin-bottom: 50px;
}

.quality-process h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.process-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Info Box */
.info-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* معلومات مهمة - تبقى في نفس التنسيق في جميع الشاشات */
@media (max-width: 768px) {
    .info-box {
        flex-direction: row;
        gap: 15px;
        padding: 20px;
    }
    
    .info-box > i {
        font-size: 28px;
    }
    
    .info-box h4 {
        font-size: 18px;
    }
    
    .info-box p {
        font-size: 14px;
    }
    
    .info-box ul li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .info-box {
        flex-direction: row;
        gap: 12px;
        padding: 18px;
    }
    
    .info-box > i {
        font-size: 24px;
    }
    
    .info-box h4 {
        font-size: 16px;
    }
    
    .info-box p {
        font-size: 13px;
    }
    
    .info-box ul li {
        font-size: 12px;
    }
}

.info-box.success {
    background: #ecfdf5;
    border-color: #10b981;
}

.info-box.warning {
    background: #fef2f2;
    border-color: #ef4444;
}

.info-box > i {
    font-size: 32px;
    color: #f59e0b;
    flex-shrink: 0;
}

.info-box.success > i {
    color: #10b981;
}

.info-box.warning > i {
    color: #ef4444;
}

.info-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 10px;
}

.info-box.success h4 {
    color: #065f46;
}

.info-box.warning h4 {
    color: #991b1b;
}

.info-box p {
    font-size: 15px;
    color: #78350f;
    line-height: 1.7;
    margin: 0;
}

.info-box.success p {
    color: #065f46;
}

.info-box.warning p {
    color: #991b1b;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.info-box ul li {
    padding: 5px 0;
    padding-right: 20px;
    position: relative;
    font-size: 14px;
}

.info-box ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    font-weight: 700;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* sidebar تبقى في نفس المكان في جميع الشاشات */
@media (max-width: 576px) {
    .sidebar-card {
        padding: 20px;
    }
    
    .sidebar-card h3 {
        font-size: 16px;
    }
    
    .sidebar-links a {
        font-size: 13px;
        padding: 10px;
    }
    
    .sidebar-card.cta i {
        font-size: 40px;
    }
    
    .sidebar-card.cta h3 {
        font-size: 18px;
    }
    
    .sidebar-card.cta p {
        font-size: 13px;
    }
    
    .btn-cta {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links li:last-child {
    margin-bottom: 0;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-links a:hover {
    background: #f8fafc;
    color: #3b82f6;
}

.sidebar-links a.active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    font-weight: 700;
}

.sidebar-links a i {
    font-size: 18px;
}

.sidebar-card.cta {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    text-align: center;
}

.sidebar-card.cta i {
    font-size: 50px;
    margin-bottom: 15px;
}

.sidebar-card.cta h3 {
    color: white;
    margin-bottom: 10px;
}

.sidebar-card.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: #3b82f6;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .service-main {
        grid-template-columns: 1fr 320px;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .warranty-cards {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* sidebar تبقى في نفس المكان */
    .service-sidebar {
        position: sticky;
        top: 160px;
        align-self: flex-start;
    }
    
    /* service-text يبقى في مكانه */
    .service-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0 60px;
    }
    
    .service-hero h1 {
        font-size: 32px;
    }
    
    .service-hero p {
        font-size: 16px;
    }
    
    .service-content {
        padding: 50px 0;
    }
    
    .service-text h2 {
        font-size: 28px;
    }
    
    /* service-main يبقى grid مع sidebar */
    .service-main {
        grid-template-columns: 1fr 280px;
        gap: 25px;
    }
    
    /* العناصر تبقى 2 جنب بعض */
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* sidebar تبقى في نفس المكان */
    .service-sidebar {
        position: sticky;
        top: 160px;
        align-self: flex-start;
    }
    
    /* service-text يبقى في مكانه */
    .service-text {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 26px;
    }
    
    .service-hero p {
        font-size: 14px;
    }
    
    /* service-main يبقى grid مع sidebar */
    .service-main {
        grid-template-columns: 1fr 240px;
        gap: 15px;
    }
    
    /* العناصر تبقى 2 جنب بعض حتى في الشاشات الصغيرة جداً */
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    /* sidebar تبقى في نفس المكان */
    .service-sidebar {
        position: sticky;
        top: 160px;
        align-self: flex-start;
    }
    
    /* service-text يبقى في مكانه */
    .service-text {
        width: 100%;
    }
}
