body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
.container {
    width: 90%;
    margin: 20px auto;
}
.carousel-container {
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-item {
    min-width: 20%;
    box-sizing: border-box;
    padding: 15px;
}
.service-box {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.service-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.service-box .description {
    padding: 15px;
}
.service-box .description h3 {
    margin: 10px 0;
    color: #333;
}
.service-box .description .price {
    margin: 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.service-box .description .pay-button {
    display: inline-block;
    padding: 20px 20px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.service-box .description .pay-button:hover {
    background-color: #218838;
}
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.carousel-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.carousel-controls button:hover {
    background: rgba(0, 0, 0, 0.7);
}
.category {
    margin-bottom: 20px;
}
.category h2 {
    margin-bottom: 10px;
    color: #333;
}
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service-item {
    width: 23%;
    margin: 1%;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 400px;
}
.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-item .description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.service-item:hover .description {
    opacity: 1;
}
.service-item .description h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.service-item .description p {
    margin-bottom: 10px;
    font-size: 14px;
}
.service-item .description .price {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}
.service-item .description .pay-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.service-item .description .pay-button:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .carousel-item, .service-item {
        min-width: 100%;
        width: 100%;
    }
    .service-item {
        margin-bottom: 20px;
    }
    .service-item .description {
        opacity: 1;
        background: rgba(0, 0, 0, 0.7);
    }
}
