.services {
    padding: 6rem 9%;
    background: #1f242d;
    min-height: 100vh;
}

.services_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-top: 4rem;
}

.heading {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.heading h1 {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.heading p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.service_box {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease;
    z-index: 1;
}

.service_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2ecc71;
    transform: translateY(100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.service_box:hover::before {
    transform: translateY(0);
}

.service_box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.2);
}

.service_box:hover .service_icon {
    background: #fff;
    color: #2ecc71;
}

.service_box:hover h3,
.service_box:hover p {
    color: #fff;
}

.service_icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: #2ecc71;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service_box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.service_box p {
    color: #666;
    line-height: 1.6;
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 991px) {
    .services {
        padding: 4rem 5%;
    }

    .heading h1 {
        font-size: 3rem;
    }
}

@media (max-width: 450px) {
    .services {
        padding: 3rem 4%;
    }

    .heading h1 {
        font-size: 2.5rem;
    }

    .service_box {
        padding: 2rem 1.5rem;
    }
}