/* Service Details Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #007bff;
}

.service-details-container {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 10px;
}

.service-details-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-details-image {
    flex: 1;
    min-width: 300px;
}

.service-details-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-details-info {
    flex: 2;
    min-width: 300px;
}

.service-faqs {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    margin-bottom: 8px;
    color: #007bff;
}

.service-cta {
    margin-top: 30px;
    text-align: center;
}

.service-cta .btn {
    padding: 12px 25px;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
    
    .service-details-content {
        flex-direction: column;
    }
    
    .service-details-image, 
    .service-details-info {
        flex: 1 1 100%;
    }
}
