.service_body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    min-height: 600px;
}

.services {
    text-align: center;
    padding-bottom: 50px;
    width: 100%;
}

.services h1 {
    font-size: 50px;
    margin-bottom: 30px;
}

.services h1 span {
    color: rgb(231, 105, 105);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

.service {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 220px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.service .icon {
    font-size: 50px;
    margin-bottom: 10px;
    animation: icon-bounce 1s infinite;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service h2 {
    font-size: 22px;
    margin-bottom: 0px;
}

.service p {
    font-size: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.read-more2 {
    background-color: #6A52CC;
    color: white;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.read-more2:hover {
    background-color: #f1c40f;
    color: #333;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .services h1 {
        font-size: 40px;
    }
    .service {
        height: 350px;
        width: 250px;
    }
    .service h2 {
        font-size: 20px;
        margin-bottom: 0px;
    }

    .service p {
        font-size: 14px;
        margin-bottom: 15px;
        padding: 0px;
    }

    .read-more2 {
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .services h1 {
        font-size: 50px;
        margin-top: 30px;
    }

    .service {
        height: 280px;
        width: 320px;
    }
    
    .service h2 {
        font-size: 18px;
    }

    .service p {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.8;
    }

    .read-more2 {
        padding: 6px 12px;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }
}
