
.service-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}


.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.benefit {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.benefit:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.benefit i {
    font-size: 3em;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Initial hidden state for the feature details */
.feature-details {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, height 0.5s ease;
}

/* Hover effect to show the details */
.card:hover .feature-details {
    opacity: 1;
    height: auto;
}

/* Adding hover effect to cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

/* Additional text fade-in animation */
.animate__animated.animate__fadeIn,
.animate__animated.animate__fadeInUp {
    animation-duration: 1s;
    animation-delay: 0.3s;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    font-weight: bold;
    margin-top: 20px;
}

.step {
    position: relative;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
}

.step-title {
    cursor: pointer;
    padding: 10px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.step-title:hover {
    background-color: #007bff;
    color: #fff;
    transform: scale(1.1);
}

/* Arrow styling between steps */
.step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 30px;
    height: 3px;
    background-color: #007bff;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.step:last-child::after {
    display: none;
    /* Remove the arrow after the last step */
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Media Queries for Responsiveness */

/* Small screens (max-width: 768px) */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 100%;
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 1.1rem;
        padding: 12px 20px;
    }

    /* Remove arrows between steps */
    .step::after {
        display: none;
    }
}

/* Extra Small screens (max-width: 480px) */
@media (max-width: 480px) {
    .step-title {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-details {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.portfolio-item:hover .portfolio-details {
    opacity: 1;
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .portfolio-item {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        border-radius: 5px;
    }
}
