

.tabs-container {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    /* padding: 20px; */
    margin-block: 20px;
    /* border-radius: 20px; */
    
    
}

.tabs-header {
    display: flex;
    justify-content: space-between; /* Evenly spaced items */
    width: 100%;
    gap: 0; /* Ensure no space between tabs */
    box-shadow: 0 15px 45px -20px rgb(0 0 0 / 15%);
    /* border-top-left-radius: 2rem;
    border-top-right-radius: 2rem; */
    

}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    flex-grow: 1; 
    min-width: 0; 
    flex-basis: 25%; 
    font-weight: bold;
    text-transform: uppercase;
   
    

}
/* .tab-content-wrapper h2{
    font-size: 4rem;
} */

.tab-button img {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    
}
/* .tab-button:active img {
    -webkit-filter: none; 
    filter: none;
} */
.tab-button.active img {
    -webkit-filter: none; /* Safari 6.0 - 9.0 */
    filter: none;
}
.tab-button.active {
    /* background-color: #007bff; */
    background-color: #fff;

    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;

}

.tab-button:hover {
    /* background-color: #f0f0f0; */
    background-color: #F5F7FA;
}

.tabs-content {
    display: none;
    padding: 30px;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    width: 100%;
    max-width: 1000px; /* Adjusted to fit better */
    background-color: #fff;
    margin-bottom: 20px;
    /* border-radius: 2rem; */
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.tabs-content.active {
    min-width: 100%;
    display: block;
    box-shadow: 0 15px 45px -20px rgb(0 0 0 / 15%);
}

.tabs-content h2 {
    margin-top: 0;
    font-size: 4rem;
    /* text-align: center; */

}

.tab-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 50px;
   align-items: self-start;
    justify-content: center;
}

.tab-content-wrapper img {
    max-width: 550px;
    max-height: 380px;
    object-fit: cover;
    border-radius: 15px;
}

.content {
    /* flex: 1; */
    /* padding: 20px; */
    padding-inline: 10px;
    display: flex;
    gap: 10px;
    /* align-items: start; */
    flex-direction: column;
    justify-content: flex-start;
    
}
.content p {
    text-align: justify;
}

/* Adjusting for small screens */
@media (max-width: 768px) {
    .tabs-header {
        /* flex-direction: row; */
        align-items: center;
        flex-wrap: wrap;
    }

    .tab-button {
        min-width: 150px; 
        max-width: 200px; 
        flex-basis: 25%; 
    }

    .tab-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .tab-content-wrapper img {
        max-width: 100%;
        max-height: 200px;
    }
    .tabs-content h2 {
        text-align: center;
    

    }
}

/* Additional logic to manage container size based on the number of tabs */
.tabs-header {
    justify-content: space-evenly; 
}