.uniform-button {
    width: 100% !important; /* Full width in mobile view */
    max-width: 600px; /* Maintain max width for larger screens */
    padding: 15px 20px !important;
    text-align: center;
    border: 2px solid #1B1B1B;
    border-radius: 0px !important; /* Adjusted roundness */
    font-size: 16px;
    background-color: transparent;
    color: #1B1B1B;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.uniform-button:hover {
    background-color: #EAF156;
    color: #1b1b1b;
}

/* Mobile-specific styles */
@media only screen and (max-width: 768px) {
    .ba-item-text {  /* Targeting the text class */
        margin-left: 10px;
        margin-right: 10px;
        font-size: 24px;  /* Adjust the font size for mobile */
        word-wrap: break-word; /* Ensure the text wraps properly */
    }
    
    .ba-item-text {
        white-space: normal; /* Ensure the text wraps properly */
        text-align: center; /* Center the text */
        max-width: 90%; /* Add a max-width to prevent the text from being too wide */
        font-size: 18px; /* Adjust font size for smaller screens */
    }
}

@media only screen and (max-width: 1024px) {
    .ba-item-text {
        padding-left: 10px !important;
        padding-right: 10px !important;
        text-align: center !important;
        max-width: 90% !important;
        line-height: 1.4 !important; /* Adjust line height for tablets */
    }
}

@media only screen and (max-width: 768px) {
    .ba-item-text {
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center !important;
        max-width: 95% !important;
        line-height: 1.7 !important; /* Adjust line height for mobile screens */
    }
}

/* Container for the accordion */
.accordion {
    display: flex;
    justify-content: center; /* Center the accordion */
    align-items: center;
    flex-direction: column; /* Stack accordion sections vertically */
    margin: 0 auto; /* Horizontally center the accordion */
    max-width: 100%; /* Ensure it does not exceed screen width */
    padding: 20px; /* Add padding for better spacing */
}

/* Accordion sections */
.accordion-group {
    width: 100%; /* Full width for the accordion section */
    max-width: 600px; /* Restrict max width for better readability */
    margin-bottom: 20px; /* Add space between sections */
}

/* Center the text inside the accordion sections */
.accordion-toggle, .accordion-body {
    text-align: center;
}

/* Responsive adjustments for tablet screens */
@media only screen and (max-width: 1024px) {
    .accordion {
        padding: 15px; /* Less padding on tablet */
    }
    .accordion-toggle, .accordion-body {
        font-size: 20px; /* Adjust font size for tablet screens */
    }
}

/* Responsive adjustments for mobile screens */
@media only screen and (max-width: 768px) {
    .accordion {
        padding: 10px; /* Further reduce padding for mobile */
    }
    .accordion-toggle, .accordion-body {
        font-size: 18px; /* Adjust font size for mobile */
    }
}

/* Targeting the accordion with the custom class suffix */
.responsive-accordion {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack accordion sections vertically */
    margin: 0 auto; /* Horizontally center the accordion */
    max-width: 100%; /* Ensure it does not exceed screen width */
    padding: 20px; /* Add padding for better spacing */
}

/* Accordion group for individual sections */
.responsive-accordion .accordion-group {
    width: 100%; /* Full width for the accordion section */
    max-width: 900px; /* Restrict max width for better readability */
    margin-bottom: 20px; /* Add space between sections */
}

/* Center the text inside the accordion */
.responsive-accordion .accordion-toggle, .responsive-accordion .accordion-body {
    text-align: center;
}

/* Responsive adjustments for tablet screens */
@media only screen and (max-width: 1024px) {
    .responsive-accordion {
        padding: 10px; /* Less padding on tablet */
    }
    .responsive-accordion .accordion-toggle, .responsive-accordion .accordion-body {
        font-size: 20px; /* Adjust font size for tablet screens */
    }
}

/* Responsive adjustments for mobile screens */
@media only screen and (max-width: 768px) {
    .responsive-accordion {
        padding: 5px; /* Further reduce padding for mobile */
    }
    .responsive-accordion .accordion-toggle, .responsive-accordion .accordion-body {
        font-size: 18px; /* Adjust font size for mobile */
    }
}
