/* page/services.php styles */

body {
    background-color: #f1f5f9;
    color: #414042;
}

.section-header {
    text-align: center;
    padding: 60px 0;
    background: #00aeef;
    color: white;
    margin-bottom: 40px;
    border-radius: 16px 16px 0 0;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.section-header p {
    color: white;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s;
    border: 1px solid #f7941e;
    height: 90%;
    animation: fadeIn 0.6s ease-out forwards;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
    border-color: #00aeef;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #00aeef;
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #414042;
    margin-bottom: 15px;
}

.service-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #475569;
}

.feature-item i {
    color: #10b981;
    margin-left: 10px;
    margin-top: 3px;
    font-size: 0.9rem;
}

.consultation-form {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 40px;
    border: 1px solid #f7941e;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.3s;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #414042;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #414042;
    margin-bottom: 8px;
    display: block;
}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.3s;
    font-family: 'Tajawal', sans-serif;
}

.form-control:focus,
.form-select:focus {
    background-color: #fff;
    border-color: #00aeef;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-primary {
    background: #00aeef;
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
    color: white;
}

.alert {
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.stats-section {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.1) 0%, rgba(100, 116, 139, 0.1) 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.stat-item {
    margin-bottom: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00aeef;
    margin-bottom: 10px;
}

.stat-label {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

.required::after {
    content: " *";
    color: #ef4444;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 0;
    left: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #00aeef;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.step-title {
    font-weight: 600;
    color: #414042;
    margin-bottom: 5px;
}

.step-description {
    color: #64748b;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

@media (max-width: 991px) {
    .section-header h1 {
        font-size: 2rem;
    }

    .consultation-form {
        padding: 30px 20px;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-header {
        padding: 40px 20px;
    }

    .section-header h1 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .service-card,
    .consultation-form {
        padding: 20px;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .bg-primary {
        background-color: #00aeef !important;
    }

    .text-primary {
        color: #00aeef !important;
    }

    .badge.bg-primary {
        background-color: #00aeef !important;
    }

    .btn-primary {
        background-color: #00aeef !important;
        border-color: #00aeef !important;
    }

    .btn-outline-primary {
        color: #00aeef !important;
        border-color: #00aeef !important;
    }

    .btn-outline-primary:hover {
        background-color: #00aeef !important;
        color: white !important;
    }

    .step-number {
        background: #00aeef !important;
    }
}