.background-container {
    width: 100%;
    height: 38.625rem;
    /* Adjust height as needed */
    display: flex;
    color: white;
    /* Text color for visibility */
    position: relative;
}


.right-content {
    position: relative;
    /* Enable positioning inside */
    background-image: url('../assest/singleusecaseimg.jpg');
    /* Replace with your image URL */
    background-size: cover;
    background-position: center;

    width: 55%;
    height: 100%;
}

.logo-overlay {
    position: absolute;
    top: 0.9375rem;
    right: 0rem;
    width: 14rem;
    height: auto;
    z-index: 10;
    height: 5.75rem;
}

.logo-overlay1 {
    display: none;
}


.right-content1 {
    display: none;
}



.left-content {
    position: relative;
    width: 45%;
    height: 100%;
    background-image: url('../assest/singleusecaseimg1.jpg');
    background-size: cover;
    background-position: center;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    color: white;
    z-index: 1;
    padding-left: calc((100vw - 1320px + 14px) / 2);
}

.left-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(234, 232, 232, 0.89);
    z-index: -1;
}


.left-content h1 {
    font-size: 2.5rem;
    color: #000000;
    line-height: 1.2em;
    padding: 2.5rem 0;

}

.left-content h4 {
    font-size: 1.5625rem;
    color: #000000;
    line-height: 1.5em;
    margin-top: 2.5rem;
    padding-left: 0;
    padding-right: 2.5rem;

}

.singlepage-card {
    margin-top: 2.6875rem;
    display: flex;
    gap: 2.625rem;
    padding-left: 0;
    padding-right: 2.5rem;
}

.singlecard {
    background-color: #f5f5f5;
    padding: 1.25rem;
    border-radius: 1.25rem;
    flex: 1;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    color: #000000;
    height: 11.25rem;
}

.singlecard-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    color: #000000;
    font-size: 1.5625rem;
}

.singlecard-header i {
    font-size: 1.5625rem;
    color: #333;
}

.singlecard-header h3 {
    font-size: 1.5625rem;
    margin: 0;
    margin-bottom: 0.375rem;
}

.singlecard p {
    font-size: 1.25rem;
    color: #000;
}

.card-spans {
    padding-left: 3rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}


/* next section */


.next-section {
    display: flex;
    gap: 2.5rem;
    padding: 3rem 0;
    font-family: Arial, sans-serif;
    width: 100%;
}

.table-content {
    width: 25%;
    background: #F7F7F7B0;
    height: 100%;
    position: sticky;
    top: 6.25rem;
    align-self: flex-start;
}

.table-content h3 {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
    line-height: 1.2em;
    padding: 1.0625rem;
}

.table-content hr {
    border: 0.0625rem solid #363636;
    opacity: 0.1;
}

.table-content ul {
    list-style-type: none;
    padding: 0;
    padding: 1.875rem;
    font-size: 1.25rem;
    line-height: 1.2em;
    /* gap: 45; */
}

.table-content ul li {
    font-weight: 500;
    cursor: pointer;
    margin-top: 2.5rem;
    padding: 0.25rem 1rem;
    border-radius: 1.25rem;
}
.table-content ul li:first-child {
    margin-top: 0;
}

.ligap {
    
}

.section-content {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.section-content1 {
    background: #F7F7F7B0;
    height: 17.1rem;
    border-radius: 1.25rem;
}

.section-content1 h3 {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
    line-height: 1.2em;
    padding: 1.0625rem;
}

.icons-container {
    display: flex;
    /* gap: 1.875rem; */
    /* align-items: ; */
    justify-content: space-between;
    /* padding: 3.125rem; */
    /* padding: padding: 1.25rem 3.125rem; */
    padding: 1.25rem 3.125rem;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-box i {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
    /* color: #007BFF; */
}

.icon-box p {
    font-size: 1.25rem;
    line-height: 1.5em;
    margin-top: 0.9375rem;
    width: 10rem;
}

/* section2 */

.section-content2 {
    width: 100%;
    margin-top: 2.5rem;
}

.part-2 {
    margin-top: 0rem !important;
}

.section-content2 h3 {
    font-size: 1.375rem;
    margin-bottom: 0.9375rem;
}

.section-content2 p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333;
}

.learnmore {
    display: flex;
    align-items: center;
    justify-content: end;
}
.learnmore:hover{
    color: #0090d9;
}

.learnmore a {
    color: #31B5F7;
    /* Set the color of the icon and text */
    text-decoration: none;
    /* Remove underline from link */
    font-size: 1.25rem;
    /* Optional: adjust the text size */
}

.learnmore .faicon {
    color: #31B5F7;
}
.learnmore:hover .faicon{
    color: #0090d9;
}
.learnmore i {
    font-size: 1.25rem;
    /* Adjust the size of the icon */
}


/* Hide the checkbox */
.toggle-checkbox {
    display: none;
}

/* Paragraph clamp */
.paragraph-wrapper {
    position: relative;
}

.collapsible-paragraph {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    transition: all 0.4s ease;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #333;
    position: relative;
    z-index: 1;
}

/* Fade overlay on the last line */
.fade-overlay {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem; /* Fading height */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Remove clamp and fade when expanded */
.toggle-checkbox:checked + .paragraph-wrapper .collapsible-paragraph {
    -webkit-line-clamp: unset;
    /* overflow: visible; */
}

.toggle-checkbox:checked + .paragraph-wrapper .fade-overlay {
    opacity: 0;
}

/* Learn more button */
.learnmore {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    font-size: 1.25rem;
    color: #31B5F7;
    gap: 0.5rem;
}
.learnmore .label-text{
    font-size: 0;
}
.learnmore .label-text::after{
    font-size: 1.25rem;
}

/* Default label text */
.toggle-label .label-text::after {
    content: "Learn more";
}

/* Change to "Show less" when checkbox is checked */
.toggle-checkbox:checked ~ .toggle-label .label-text::after {
    content: "Show More";
}



#more-content p {
    margin-top: 0.9375rem;
    font-size: 0.875rem;
}

.active {
    background-color: #31B5F830;
}

.p-opacity {
    opacity: 0.5;
}

.section2-img {
    width: 100%;
    margin-top: 1.25rem;
}

.img-self {
    width: 100%;
    height: 28.6875rem;
    border-radius: 1.25rem;
}


.loadmore {
    margin-top: 2rem !important;
}

.loadmore-btn {
    width: 17.5rem;
    height: 3.4375rem;
    /* margin-bottom: 3.125rem; */
    color: #fff;
    background-color: #31B5F7;
    border-radius: 0.625rem;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.2em;
    border: none;
    cursor: pointer;
}
.loadmore-btn:hover {
    background-color: #0090d9;
    color: #fff;
}

.section9 {
    width: 100%;
}

.usecasetitle h2 {
    font-size: 2.5rem;
    text-align: center;
    width: 99%;
    font-weight: lighter;
}

.card-spans {
    padding-left: 0rem !important;
}

.card-spans1 {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    width: 100%;
}

.card-container {
    padding: 0 !important;
}



/* responsive */

/* Responsive Styles */
@media (max-width: 84.375rem) {
    .left-content h1 {
        font-size: 2.2rem;
        padding: 1.875rem;
    }

    .left-content h4 {
        font-size: 1.375rem;
        margin-top: 1.875rem;
        padding-left: 1.875rem;
        padding-right: 1.875rem;
    }

    .singlepage-card {
        margin-top: 1.875rem;
        gap: 1.875rem;
        padding-left: 1.875rem;
        padding-right: 1.875rem;
    }

    .singlecard {
        padding: 0.9375rem;
        height: 10rem;
    }

    .singlecard-header {
        font-size: 1.375rem;
    }

    .singlecard p {
        font-size: 1.125rem;
    }

    .next-section {
        padding: 2rem;
    }

    .table-content h3,
    .section-content1 h3 {
        font-size: 1.625rem;
    }

    .table-content ul,
    .icon-box p,
    .section-content2 p {
        font-size: 1.125rem;
    }

    .usecasetitle h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 75rem) {
    .background-container {
        height: auto;
        flex-direction: column;
    }

    .left-content,
    .right-content {
        width: 100%;
        height: auto;
    }

    .right-content {
        height: 31.25rem;
    }

    .left-content h1 {
        padding-top: 3.125rem;
    }

    .singlepage-card {
        margin-bottom: 1.875rem;
    }

    .next-section {
        flex-direction: column;
    }

    .table-content {
        width: 100%;
        position: static;
        margin-bottom: 1.875rem;
    }

    .section-content {
        width: 100%;
    }

    .card-spans {
        margin-bottom: -0.5625rem !important;
    }


}

@media (max-width: 62rem) {
    .left-content h1 {
        font-size: 2rem;
    }

    .left-content h4 {
        font-size: 1.25rem;
    }

    .singlecard {
        height: 9.375rem;
    }

    .singlecard-header {
        font-size: 1.25rem;
    }

    .singlecard p {
        font-size: 1rem;
    }

    .table-content h3,
    .section-content1 h3 {
        font-size: 1.5rem;
    }

    .table-content ul,
    .icon-box p,
    .section-content2 p {
        font-size: 1rem;
    }

    .icons-container {
        flex-direction: column;
        gap: 1.875rem;
        padding: 1.25rem;
    }

    .icon-box {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 0.9375rem;
    }

    .icon-box p {
        width: auto;
        margin-top: 0;
    }

    .section-content1 {
        height: auto;
        padding-bottom: 1.25rem;
    }

    .usecasetitle h2 {
        font-size: 2rem;
    }

    .img-self {
        height: 21.875rem;
    }

    .card-spans {
        display: flex;
        flex-wrap: wrap;
        gap: 0.125rem !important;
        margin-bottom: -4.5625rem !important;
    }

    .loadmore {
        margin-top: 6rem !important;
    }

    .card-btn {
        padding: 0.375rem 0.625rem !important;
        font-size: 0.5rem !important;
    }
}

@media (max-width: 48.125rem) {
    .left-content h1 {
        font-size: 1.8rem;
        padding: 1.25rem;
    }

    .left-content h4 {
        font-size: 1.125rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .singlepage-card {
        flex-direction: column;
        gap: 1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .singlecard {
        height: auto;
    }

    /* .card-spans1 {
        padding-left: 1.25rem !important;
        flex-wrap: wrap;
    } */

    .next-section {
        padding: 1rem;
    }

    .table-content ul {
        padding: 1.25rem;
    }

    .ligap {
        margin-top: 1.25rem;
    }

    .section-content2 h3 {
        font-size: 1.25rem;
    }

    .img-self {
        height: 15.625rem;
    }

 

    .usecasetitle h2 {
        font-size: 1.75rem;
        padding: 0 1.25rem;
    }

    .loadmore-btn {
        width: 90%;
        max-width: 18.75rem;
    }
}

/* Additional adjustments for the card spans */
.card-spans {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.card-btn {
    padding: 0.3125rem 0.625rem;
    font-size: 0.875rem;
}

/* Adjust the second menu */
.second-menu {
    padding: 1rem 0.25rem 0.5rem;
    flex-wrap: wrap;
}

.second-menu-item, .second-menu-separator {
    font-size: 0.875rem;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}


@media (max-width: 48rem) {

    .second-menu {
        padding: 0.625rem 0rem;
        flex-wrap: wrap;
        gap: 0rem !important;
    }

    .second-menu-item {
        font-size: 1rem !important;
        line-height: 1.2em;
        /* letter-spacing: 0.0625rem; */
    }

    .card-btn {
        padding: 0.5625rem 1rem !important;
        font-size: 0.875rem !important;
    }

    .card-spans1 {
        padding-left: 1rem !important;
    }

    .left-content h1 {
        font-size: 1.75rem;
        padding: 0.6875rem;
        line-height: 1.2em;
        text-align: center;
        width: 98%;
    }

    .left-content h4 {
        font-size: 1.1875rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        text-align: center;
        width: 100%;
    }


    .right-content {
        display: none !important;
    }

    .right-content1 {
        display: block !important;
        position: relative;
        /* Enable positioning inside */
        width: 100%;
        height: 21.6875rem;
        background-image: url('../assest/singleusecaseimg.jpg');
        background-size: cover;
        background-position: center;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .singlecard-header h3 {
        font-size: 1.25rem;
        margin: 0;
        margin-bottom: 0.375rem;
    }

    .singlecard p {
        font-size: 1rem;
    }

    .singlepage-card {
        display: flex;
        flex-direction: row;
        gap: 1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .table-content h3, .section-content1 h3 {
        font-size: 1.375rem;
        font-weight: lighter;
    }

    .table-content ul {
        padding: 2.5rem;
    }

    .table-content ul, .icon-box p, .section-content2 p {
        font-size: 1.125rem;
    }

    .active {
        background-color: #F7F7F7B0;
    }

    .table-content hr {
        border: 0.0625rem solid #363636;
        opacity: 0.1;
        width: 90%;
        margin-left: 1.5rem;
    }

    .ligap {
        margin-top: 2.5rem;
    }

    .icons-container {
        flex-direction: column;
        gap: 1.875rem;
        padding: 1.25rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icon-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.9375rem;
        width: 73%;
        justify-content: center;
        display: flex;
    }

    .img-self {
        height: 11.0625rem;
    }

    .section-content2 h3 {
        font-size: 1.375rem;
    }

    .usecasetitle h2 {
        margin-top: 4rem !important;
    }

    .card-img {
        height: 18.4375rem !important;
    }

    .card-spans {
        display: flex;
        flex-wrap: wrap;
        gap: 1.25rem !important;
        margin-bottom: 2.125rem !important;
    }

    .loadmore {
        margin-top: 0rem !important;
    }

    .loadmore-btn {
        width: 15rem !important;
        height: 3rem !important;
        border-radius: 0.625rem;
        font-size: 1.125rem !important;
    }

    .loadmore-btn {
        margin-top: 0rem !important;
        margin-bottom: 5.125rem !important;
    }

    .logo-overlay {
        display: none;
    }

    .logo-overlay1 {
        display: block;
        position: absolute;
        top: 18.625rem;
        right: 0rem;
        width: 7.8125rem;
        height: auto;
        z-index: 10;
        height: 4.0625rem;
    }

    .collapsible-paragraph {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 9;
        overflow: hidden;
        transition: all 0.4s ease;
        font-size: 1.25rem;
        line-height: 1.6;
        color: #333;
        position: relative;
        z-index: 1;
    }

    .menu-items.active {
        display: flex;
        z-index: 2 !important;
        background: white !important;
    }

}
/* Always show content and images */
.section-content2 .paragraph-wrapper {
    position: relative;
}

.section-content2 .collapsible-paragraph {
    /* max-height: none !important;
    overflow: visible; */
    opacity: 1;
}

/* Remove the fade overlay */
/* .section-content2 .fade-overlay {
    display: none;
} */

/* Style the toggle button for collapse functionality */
/* .section-content2 .toggle-checkbox:checked ~ .paragraph-wrapper .collapsible-paragraph {
    max-height: 200px;
    overflow: hidden;
} */

.section-content2 .toggle-checkbox:checked ~ .paragraph-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, rgba(255,255,255,0.9));
    pointer-events: none;
}

.section-content2 .toggle-checkbox:checked ~ .toggle-label .label-text::after {
    content: 'Show Less';
}
.learnmore .faicon i{
    transform: rotate(180deg);
}
.section-content2 .toggle-checkbox:checked ~ .toggle-label .faicon i {
    transform: rotate(0);
}

.section-content2 .toggle-label .label-text::after {
    content: 'Show More';
}

/* Ensure images are always visible */
.section-content2 img {
    display: block !important;
    max-width: 100%;
    height: auto;
    margin: 15px auto;
    border-radius: 1.25rem;
}