.membership-section h2 {
    color: #0E0E0E;
    line-height: 120%;
    text-align: center;
}

.membership-section p {
    color: rgba(14, 14, 14, 0.90);
    line-height: 120%; /* 35px */
}

.btn-pay-now {
    background-color: #0040c3;
    color: white;
    font-weight: 500;
    border-radius: 5px;
    border: none;
    padding: 25px 50px;
    display: inline-block;
    margin-bottom: 60px;
    transition: all 0.3s;
    width: 380px; /* Set fixed width for desktop */
    text-align: center;
}
.btn-pay-now:hover {
    background-color: #04215c;
    transition: all 0.3s;
}

/* Membership buttons container for better alignment */
.membership-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

form .btn-pay-now {
    margin-right: 20px; /* Add space between buttons in laptop view */
    margin-left: 20px; /* Add space between buttons in laptop view */
}

.feature {
    text-align: left;
    margin-bottom: 0; /* Remove space between break barriers and borders */
    display: flex;
    align-items: center;
}

.feature .sub-head  {
    color: #505050;
    font-family: Poppins;
    font-style: normal;

}

.feature .sub-description {
    color: #505050;
    font-style: normal;

}

.feature p {
    color: #000;
    font-family: "Poppins";
    font-style: normal;
    margin-bottom: 0; /* Remove bottom margin */
}

.feature-icon {
    width: 33px;
    height: 33px;
    margin-right: 10px;
    color: #2DB98F;
    align-self: center; /* Center the icon vertically */
}

/* .benefits-section {
    padding: 40px 0;
} */

.benefits-section h2 {
    color: #0e0e0e;
    font-weight: 500;
    line-height: 120%;
}

.accordion {
    border-radius: 20px !important;
}

.accordion-item {
    background: #f7f6fb !important;
    margin-bottom: 15px !important;
    border: none !important;
    border-radius: 20px !important;
}

.accordion-item:first-of-type {
    border-radius: 20px !important;
}

.accordion-item:last-of-type {
    border-radius: 20px !important;
}

/* Apply border-radius to all accordion buttons */
.accordion-button {
    border: none;
    background: #f7f6fb;
    color: #0e0e0e;
    font-weight: 500;
    line-height: 120%;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-right: 3rem; /* Ensure consistent space for the icon */
    border-radius: 20px !important;
}

/* Apply border-radius to all collapsed accordion buttons */
.accordion-button.collapsed {
    border-radius: 20px !important;
}

/* Apply border-radius to accordion content */
.accordion-collapse {
    border-radius: 0 0 20px 20px !important;
}

.accordion-button::after {
    background-image: url("../../../storage/frontend/accordion-down-arrow.svg") !important;
    width: 1.25rem;
    height: 1.25rem;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
    position: absolute;
    right: 1.5rem;
    margin-left: 0; /* Remove default margin */
    /* Content icon URL */
}

.accordion-body {
    font-size: 1.25rem; /* 20px */
    font-weight: 400;
    line-height: 140%;
    color: #000;
    border-radius: 0 0 20px 20px;
    margin-bottom: 0;
}

.accordion-body ul {
    padding-left: 45px;
    text-align: start;
}

.accordion-body ul li {
    list-style: disc;
}

.journey-section {
    text-align: center;
    color: #ffffff;
    background: #0040C3;
}

.journey-section h2 {
    margin-bottom: 1rem;
    color: #FFF;
    text-align: center;
    line-height: 120%;
    /* 58.8px */
}

.journey-section p {
    color: #FFF;
    text-align: center;
    line-height: 120%;
    /* 30px */
}

.faq-section {
    text-align: center;
    padding: 40px 0;
}

.faq-section h2 {
    color: #0e0e0e;
    font-size: 49px;
    font-weight: 500;
    line-height: 120%;
    margin-bottom: 20px;
}

.faq-section p {
    color: #0e0e0e;
    font-size: 25px;
    font-weight: 400;
    line-height: 140%;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.register-button{
    font-family: "Poppins" !important;
    line-height: normal;
    color: #0040c3 !important;
    background-color: #fff !important;
    text-align: center;
    font-style: normal;
    font-weight: 500 !important;
}

.explore-lesson {
    font-family: "Poppins" !important;
    color: #fff !important;
}


/* Responsive Font Sizes */
@media (max-width: 1199.98px) {
    .feature-icon {
        width: 28px; /* Reduced from 33px */
        height: 28px; /* Reduced from 33px */
    }

    /* Reduce space between break barriers and borders */
    .feature {
        margin-bottom: 0; /* Remove space for large devices */
    }


    /* .benefits-section {
        padding-left: 50px; 
        padding-right: 50px; 
    } */
}

@media (max-width: 991.98px) {

    .feature-icon {
        width: 24px; /* Further reduced */
        height: 24px; /* Further reduced */
    }

    /* Ensure "Welcome to join us" is in one line */
    .welcome-text {
        white-space: nowrap;
    }

    /* Reduce space between break barriers and borders */
    .feature {
        margin-bottom: 0; /* Remove space for medium devices */
    }

    /* .benefits-section {
        padding-left: 30px; 
        padding-right: 30px; 
    } */

    .accordion-button::after {
        width: 1rem;
        height: 1rem;
        background-size: 1rem;
        min-width: 1rem;
    }

    .btn-pay-now {
        width: 220px; /* Even smaller for tablets */
        padding: 15px 25px;
    }
}

@media (max-width: 767.98px) {

    /* Ensure "Welcome to join us" is in one line */
    .welcome-text {
        white-space: nowrap;
    }

    /* Reduce space between break barriers and borders */
    .feature {
        margin-bottom: 0; /* Remove space for small devices */
    }

    .benefits-section {
        padding-left: 20px; /* Adjust left padding for small devices */
        padding-right: 20px; /* Adjust right padding for small devices */
    }

    .accordion {
        margin: 0 5px;
    }
    
    .accordion-item {
        margin-bottom: 10px !important;
        border-radius: 20px !important;
    }
    
    .accordion-item:first-of-type,
    .accordion-item:last-of-type {
        border-radius: 20px !important;
    }
    
    .accordion-button {
        padding: 12px 15px;
        line-height: 1.3;
        border-radius: 20px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 2.5rem; /* Ensure space for the icon */
        position: relative;
    }
    
    .accordion-button::after {
        width: 0.875rem;
        height: 0.875rem;
        background-size: 0.875rem;
        min-width: 0.875rem;
        margin-left: 0;
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .accordion-button.collapsed::after {
        transform: translateY(-50%);
    }
    
    .accordion-button:not(.collapsed)::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .btn-pay-now {
        width: 100%; /* Full width on mobile */
        max-width: 280px;
        padding: 15px 20px;
        margin-bottom: 30px;
    }
    
    .membership-buttons {
        flex-direction: column;
        align-items: center;
    }

    form .btn-pay-now {
        margin-right: 0; /* Reset margins on mobile */
        margin-left: 0; /* Reset margins on mobile */
    }

    .accordion-body {
        padding: 10px 15px;
        line-height: 1.4;
    }
    
    .accordion-body ul {
        padding-left: 20px;
    }
    
    .accordion-body ul li {
        margin-bottom: 0.25rem;
    }
    
    /* Apply main.css font classes for better consistency */
    
    .btn-pay-now {
        max-width: 260px;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    /* Improve card layout on mobile */
    .feature {
        margin-bottom: 15px;
        padding: 5px;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    /* Better accordion readability on mobile */
    .accordion-button {
        padding: 12px 15px 12px 15px;
    }
    
    .accordion-body {
        padding: 12px 15px;
    }
    
    /* Action buttons for mobile */
    .register-button, 
    .explore-lesson {
        width: 100%;
        max-width: 260px;
        margin-bottom: 15px;
        padding: 10px 15px !important;
        text-align: center;
    }
    
    /* Fix spacing issues in mobile layout */
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575.98px) {
    
    /* Further reduce spacing on very small screens */
    .feature {
        margin-bottom: 10px;
    }
    
    .feature-icon {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
    
    /* Even more compact accordion for small screens */
    .accordion-item {
        margin-bottom: 8px !important;
    }
    
    .accordion-button {
        padding: 10px 12px 10px 12px;
    }
    
    .accordion-body {
        padding: 10px 12px;
    }
    
    .accordion-body ul {
        padding-left: 18px;
    }
    
    /* Smaller action buttons */
    .register-button, 
    .explore-lesson {
        max-width: 220px;
        padding: 8px 12px !important;
    }
    
    /* Better image handling */
    .img-fluid {
        margin-bottom: 1rem;
    }
}

/* Specific adjustments for laptops and tablets */
@media (min-width: 1024px) and (max-width: 1440px) {
    .welcome-text {
        white-space: nowrap;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-responsive {
        padding: 0.3rem 0.6rem; /* Further reduced for mobile */
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .accordion-button {
        padding: 20px 40px;
        border-radius: 20px !important;
        padding-right: 5rem; /* Ensure space for the icon */
    }
    
    .accordion-button::after {
        right: 2.5rem;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .accordion-button {
        padding: 15px 30px;
        border-radius: 20px !important;
        font-size: 1.25rem;
        padding-right: 4rem; /* Ensure space for the icon */
    }
    
    .accordion-button::after {
        right: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 767.98px) {
    .accordion-button {
        padding: 12px 20px;
        border-radius: 20px !important;
    }
}