/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1100;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    border-radius: 12px;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
    color: #fff;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Service Detail Styles */
.service-detail {
    padding: 0;
}

.service-detail-header {
    background-color: #556b2f;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-detail-icon i {
    font-size: 32px;
    color: #556b2f;
}

.service-detail-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-detail-header p {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-detail-content {
    padding: 2rem;
}

.service-detail-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-section h3 {
    font-size: 1.4rem;
    color: #556b2f;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.service-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.service-detail-list li {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    border-left: 3px solid #556b2f;
}

.service-detail-list li:hover {
    transform: translateY(-2px);
}

.service-detail-list li i {
    color: #556b2f;
    margin-right: 12px;
    font-size: 16px;
    padding-top: 3px;
}

.service-detail-list li span {
    color: #444;
    line-height: 1.5;
}

/* Price Section */
.service-detail-price {
    background-color: #556b2f;
    color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
}

.service-detail-price h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.price-amount {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
}

.price-note {
    font-size: 14px;
    opacity: 0.9;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .service-detail-header {
        padding: 2rem 1.5rem;
    }

    .service-detail-icon {
        width: 60px;
        height: 60px;
    }

    .service-detail-icon i {
        font-size: 24px;
    }

    .service-detail-header h2 {
        font-size: 2rem;
    }

    .service-detail-header p {
        font-size: 1.1rem;
        max-width: 95%;
    }

    .service-detail-content {
        padding: 1.5rem;
    }

    .service-detail-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-detail-price {
        padding: 20px;
        margin-top: 20px;
    }

    .price-amount {
        font-size: 30px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .modal {
        padding: 0.5rem;
    }

    .service-detail-header {
        padding: 1.5rem 1rem;
    }

    .service-detail-header h2 {
        font-size: 1.75rem;
    }

    .service-detail-header p {
        font-size: 1rem;
    }

    .service-detail-content {
        padding: 1rem;
    }

    .service-detail-section h3 {
        font-size: 1.2rem;
    }

    .price-amount {
        font-size: 26px;
    }
}