/* أنماط خاصة بصفحة الخدمات */

/* قسم البطل للخدمات */
.services-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    margin-top: 70px;
}

.services-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero .btn {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* تصفية الخدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 600;
}

html[dir="rtl"] .badge {
    left: auto;
    right: 15px;
}

.service-content {
    padding: 25px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.service-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.features li {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    padding-right: 22px;
    position: relative;
}

.features li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: #27ae60;
}

.price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.price .current {
    font-size: 20px;
    font-weight: 700;
    color: #2ecc71;
}

.price .old {
    font-size: 14px;
    text-decoration: line-through;
    color: #999;
}

.btn-reserve {
    background: #3498db;
    color: white;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 20px;
    transition: 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    margin-right: 50px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}






.services-filter {
    padding: 30px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.services-filter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.filter-tab:hover {
    border-color: #3498db;
    color: #3498db;
}

.filter-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
}

.search-box input:focus {
    outline: none;
}

.search-btn {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #e9ecef;
    color: #3498db;
}

/* عرض الخدمات */
.services-showcase {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #e8f4fc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 28px;
    color: #3498db;
}

.service-content h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.service-features i {
    color: #2ecc71;
    font-size: 0.9rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.service-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2ecc71;
}

.service-price .old-price {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-decoration: line-through;
    margin-left: 5px;
}

/* قسم حجز الموعد */
.booking-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.booking-wizard {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.booking-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.booking-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
}

.services-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.service-option {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-option:hover {
    border-color: #3498db;
    transform: translateY(-3px);
}

.service-option.selected {
    border-color: #3498db;
    background: #f8f9fa;
}

.option-icon {
    width: 60px;
    height: 60px;
    background: #e8f4fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.option-icon i {
    font-size: 28px;
    color: #3498db;
}

.service-option h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-option p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-option .price {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: #2ecc71;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
}

.doctors-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.doctor-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.doctor-card:hover {
    border-color: #3498db;
}

.doctor-card.selected {
    border-color: #3498db;
    background: #f8f9fa;
}

.doctor-avatar {
    width: 60px;
    height: 60px;
    background: #e8f4fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3498db;
    flex-shrink: 0;
}

.doctor-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.doctor-rating {
    color: #f39c12;
    font-size: 0.9rem;
}

.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .datetime-selection {
        grid-template-columns: 1fr;
    }
}

.date-picker,
.time-slots {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
}

.date-picker h4,
.time-slots h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar {
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    background: none;
    border: none;
    cursor: pointer;
    color: #7f8c8d;
    font-size: 1.2rem;
    padding: 5px;
}

.calendar-header span {
    font-weight: 600;
    color: #2c3e50;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-name {
    text-align: center;
    padding: 10px;
    font-weight: 600;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.day {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day:hover {
    background: #f8f9fa;
}

.day.selected {
    background: #3498db;
    color: white;
}

.day.disabled {
    color: #bdc3c7;
    cursor: not-allowed;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 12px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.time-slot:hover {
    border-color: #3498db;
}

.time-slot.selected {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.time-slot.disabled {
    background: #f8f9fa;
    color: #bdc3c7;
    cursor: not-allowed;
}

.confirmation-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .confirmation-details {
        grid-template-columns: 1fr;
    }
}

.detail-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.detail-header {
    background: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-header h4 {
    margin: 0;
    color: #2c3e50;
}

.detail-body {
    padding: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f8f9fa;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.total {
    background: #f8f9fa;
    margin: 20px -25px -25px;
    padding: 20px 25px;
    font-size: 1.2rem;
}

.detail-row .label {
    color: #7f8c8d;
}

.detail-row .value {
    color: #2c3e50;
    font-weight: 600;
}

.detail-row.total .value {
    color: #2ecc71;
    font-size: 1.4rem;
}

.patient-info {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
}

.patient-info h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#patientForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#patientForm .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    #patientForm .form-row {
        grid-template-columns: 1fr;
    }
}

#patientForm textarea {
    resize: vertical;
    min-height: 100px;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* قسم استشارات عن بعد */
.telemedicine-section {
    padding: 80px 0;
    background: white;
}

.telemedicine-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #e8f4fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 32px;
    color: #3498db;
}

.feature h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature p {
    color: #7f8c8d;
    line-height: 1.6;
}

.specialties-grid {
    margin-bottom: 50px;
}

.specialties-grid h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.specialties-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.specialty-tag {
    background: #e8f4fc;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.cta-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border-radius: 15px;
    padding: 60px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-content .btn {
    background: white;
    color: #3498db;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.cta-content .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* قسم الكشف المنزلي */
.homecare-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.homecare-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2ecc71;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.step-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

.homecare-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.homecare-services .service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.homecare-services .service-icon {
    width: 70px;
    height: 70px;
    background: #e8f6f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.homecare-services .service-icon i {
    font-size: 32px;
    color: #2ecc71;
}

.homecare-services h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.homecare-services ul {
    list-style: none;
    padding: 0;
    text-align: right;
}

.homecare-services li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    color: #555;
}

.homecare-services li:last-child {
    border-bottom: none;
}

.emergency-contact {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 15px;
    padding: 50px;
    color: white;
    text-align: center;
}

.emergency-card {
    max-width: 500px;
    margin: 0 auto;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.emergency-icon i {
    font-size: 40px;
    color: white;
}

.emergency-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.emergency-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.emergency-content p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn-danger {
    background: white;
    color: #e74c3c;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-danger:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* قسم التحاليل الطبية */
.lab-section {
    padding: 80px 0;
    background: white;
}

.lab-categories {
    margin-bottom: 60px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-tab {
    padding: 12px 25px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-weight: 600;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    border-color: #3498db;
    color: #3498db;
}

.category-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.test-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.test-item:hover {
    border-color: #3498db;
    transform: translateY(-3px);
}

.test-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.test-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.test-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2ecc71;
}

.test-action {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-action:hover {
    background: #2980b9;
}

.lab-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.lab-features .feature-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.lab-features .feature-card:hover {
    transform: translateY(-5px);
}

.lab-features .feature-icon {
    width: 70px;
    height: 70px;
    background: #e8f4fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.lab-features .feature-icon i {
    font-size: 32px;
    color: #3498db;
}

.lab-features h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.lab-features p {
    color: #7f8c8d;
    line-height: 1.6;
}

.lab-packages {
    margin-top: 60px;
}

.lab-packages h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.package-card.popular {
    border-color: #3498db;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.package-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.package-header h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.package-price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.package-price .currency {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i.fa-check {
    color: #2ecc71;
}

.package-features i.fa-times {
    color: #e74c3c;
}

.package-card .btn {
    width: 100%;
    margin-top: 10px;
}

.btn-outline {
    background: white;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-outline:hover {
    background: #f8f9fa;
}

/* قسم الأسئلة الشائعة */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.faq-category {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.faq-category h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
}

.faq-question i {
    color: #7f8c8d;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* نافذة تأكيد الحجز */
#bookingModal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#bookingModal.active {
    opacity: 1;
}

#bookingModal .modal-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#bookingModal.active .modal-content {
    transform: scale(1);
}

#bookingModal .success-icon {
    width: 80px;
    height: 80px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

#bookingModal .success-icon i {
    font-size: 40px;
    color: #155724;
}

#bookingModal h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

#bookingModal p {
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.booking-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: right;
}

.booking-details .detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.booking-details .detail:last-child {
    border-bottom: none;
}

.booking-details .detail span {
    color: #7f8c8d;
}

.booking-details .detail strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

/* تصميم متجاوب */
@media (max-width: 992px) {
    .services-filter .container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }

    .booking-wizard {
        padding: 30px 20px;
    }

    .confirmation-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 60px;
    }

    .services-hero h1 {
        font-size: 2.2rem;
    }

    .filter-tabs {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-selection {
        grid-template-columns: 1fr;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .doctors-list {
        grid-template-columns: 1fr;
    }

    .datetime-selection {
        grid-template-columns: 1fr;
    }

    .telemedicine-features {
        grid-template-columns: 1fr;
    }

    .homecare-process {
        grid-template-columns: 1fr;
    }

    .homecare-process .process-step::after {
        display: none;
    }

    .homecare-services {
        grid-template-columns: 1fr;
    }

    .lab-features {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.popular {
        transform: scale(1);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.hr-1 {
    margin-top: 15px;
    margin-bottom: 15px;
}