/* Service Details Modal */
.service-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.service-modal .close-modal {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}

.service-modal .close-modal:hover,
.service-modal .close-modal:focus {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

.service-modal .modal-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 60px 40px 40px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.service-modal .modal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-modal .modal-body {
    padding: 0;
}

.service-modal .modal-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 30px 40px 20px;
    color: #081828;
}

.service-modal .modal-body #modalDescription {
    padding: 0 40px 40px;
    line-height: 28px;
    font-size: 16px;
    color: #555;
}

.service-modal .modal-body #modalDescription h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.service-modal .modal-body #modalDescription ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-modal .modal-body #modalDescription ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    line-height: 26px;
}

.service-modal .modal-body #modalDescription ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 767px) {
    .service-modal .modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .service-modal .modal-icon-wrapper {
        padding: 50px 20px 30px;
    }

    .service-modal .modal-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .service-modal .modal-body h2 {
        font-size: 24px;
        margin: 20px 25px 15px;
    }

    .service-modal .modal-body #modalDescription {
        padding: 0 25px 30px;
        font-size: 15px;
    }

    .service-modal .close-modal {
        top: 15px;
        right: 15px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
}