#services-container {
    height: 510px;
}

#services-header {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 0px;
    font-family: 'Bahnschrift', Arial, sans-serif;
    color: #3d3d3d;
    z-index:100;
}
    #services-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 15%;
        background: linear-gradient(to top, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 1.0) 25%);
        z-index: -1; /* Place the gradient behind the content */
    }
#card-container {
    padding-top:20px;
    max-height: 430px;
    overflow-y: scroll;
    position: relative;
}

.service-card {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-left: 15px;
    text-align: left;
    transition: box-shadow 0.1s ease-in-out;
}
    .service-card:hover {
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.5); /* Updated drop shadow color on hover */
    }
    .service-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 14px;
        color: #555;
        margin: 0;
    }

.fade-out {
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

    .fade-out.bottom {
        bottom: 0;
        top: auto;
    }
/* Add this style for the expanded description */
.service-card .expanded-description {
    display: none;
    font-size: 14px;
}
.service-card:hover .expanded-description {
    display: block;
}
.service-card.expanded {
    height: auto;
}
#titlebox-container {
    min-width: 400px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Include padding and border in the total width and height */
    padding: 0; /* Remove padding */
}



#text-display {
    transition: opacity 1s ease-in-out;
}

#mainaddcard{
    box-shadow: none;
    padding-bottom:0px;
}

.fade-element {
    opacity: 1;
    transition: opacity 2s ease-in-out;
}



.method-card {
    display: none;
    height: 100px;
    cursor: pointer;
}

    .method-card.active {
        display: block;
        animation: fadeIn 1s ease-in-out;
    }
    .method-card img{
        height:100px;
        width:auto;
    }

    .method-card * {
    cursor: pointer;
}

#methodcardholder {
    margin-left: 15px;
    margin-right: 15px;
    margin-top:10px;
}
    #methodcardholder:hover {
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.5); /* Updated drop shadow color on hover */
    }
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.mainheadericon {
    width: 110px;
        height: auto;
}
