.custom-tabs .tab-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
}

.custom-tabs .tab-nav .tab-link {
    opacity: 0.3;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-tabs .tab-nav .tab-link.active {
    opacity: 1;
}

.custom-tabs .tab-content-wrapper {
    display: flex;
    justify-content: center;
}

.custom-tabs .tab-content-wrapper .tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.custom-tabs .tab-content-wrapper .tab-content.active {
    display: block;
}

.custom-tabs .tab-content p {
    width: 500px;
    margin: 0 auto;
}

.custom-tabs .tab-content img {
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    margin-bottom: -300px;
    transition: all 0.3s ease;
}
        
.custom-tabs .tab-nav .tab-link {
    opacity: 0.3;
    transition: all 0.4s ease;
    cursor: pointer;
    flex-shrink: 0;
    transform: translateY(0);
    position: relative;
    z-index: 1;
}

.custom-tabs .tab-nav .tab-link.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.custom-tabs .tab-nav .tab-link.fade-in {
    opacity: 1;
    transform: translateY(-20px);
    transition: all 0.4s ease;
}

.custom-tabs .tab-nav .tab-link.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

@media (max-width: 767px) {
    
.custom-tabs .tab-content p {
    width: 100%;
    margin: 0 auto;
} 

.custom-tabs .tab-content img{
    margin-bottom: -100px;
    width: 300px;
    height: 250px;
    object-fit: contain;
}

}