/* home page css start */

.custom-subject-icon-bundle {
    height: 70px;
    width: 70px;
}

.custom-width-badge {
    height: 60px;
    width: 60px;
}

.height-527 {
    height: 527px;
    width: 937px;
}

.custom-swal-width {
    width: 550px !important;
}

.HeroSEc-main h2 {
    color: #631b5d;
    font-size: 2rem;
    font-weight: bold;
    margin-top: -40px;
}

.carousel-control-next,
.carousel-control-prev {
    width: 10% !important;
}


/* Ensure consistent height for all slides */

.carousel-item {
    /* min-height: 500px; */
    /* Adjust height as needed */
    display: flex;
    align-items: center;
}


/* Ensure images don't distort */

.carousel-item img {
    height: 577px;
    max-height: 100%;
    object-fit: contain;
}

.card.bundle-card .card-body>p {
    height: auto;
}

.card.bundle-card .buy-btn.primary-btn {
    padding: 10px 25px !important;
    border-radius: 5px;
}

.card.bundle-card .price span {
    font-size: 18px;
}

.bundle-basket .card.bundle-card {
    padding: 0px;
    border: 1px solid #b9b9b929;
}

.bundle-basket .card.bundle-card a img:hover {
    transform: none;
}

.bundle-basket .card.bundle-card:hover {
    transform: scale(1.1);
    transition: 0.5s all ease-in-out;
}

.bundle-basket .card.bundle-card {
    transition: 0.5s all ease-in-out;
}

.lmssearch {
    margin-top: 20px;
}

.Prac_sub_inner h3 {
    font-size: 16px!Important;
}

.review-card .card-body p {
    max-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Limit to 4 lines */
    -webkit-box-orient: vertical;
    min-height: 85px;
}

button.buy-btn.primary-btn span {
    color: white !Important;
    padding-left: 10px;
}

.card.bundle-card .buy-btn.primary-btn {
    /* max-width: 100%; */
    border: none;
}

.card.bundle-card .card-body {
    padding: 0px;
}


/* .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
} */

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: none !important;
    transform: none;
}

.card.bundle-card a img {
    border-radius: 5px 5px 0px 0px;
}

button.btn.btn-quest {
    background-color: #631B5D;
    color: white;
    font-size: 12px;
}

button.btn.btn-quest:hover {
    background-color: #F7B310;
    color: white;
}

.AddTOCart-btn {
    background-color: white;
}

.nav-custom.cart-body {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-right: 9px;
}

.nav-custom.cart-body::-webkit-scrollbar {
    width: 5px;
    /* Thin width */
}

.nav-custom.cart-body::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Scrollbar color */
    border-radius: 10px;
    /* Rounded corners */
}

.banner-right-img img.img-fluid {
    max-width: 400px;
}

.banner-discount-bar {
    text-align: center;
    background-color: red;
    top: -20px;
    left: -70px;
    font-weight: bold;
    border-radius: 5px;
    /* z-index: 999; */
    transform: rotate(324deg);
    height: 50px;
    align-content: center;
    width: 270px;
    margin-top: 47px;
}

.banner-discount-bar span {
    color: white !important;
}

.landing-choose-list-wrap {
    display: none;
}

.landing-logo-slider .slick-padding {
    padding: 0px;
    max-width: 150px !important;
    margin: 5px;
}

.paper-card {
    padding: 10px 10px;
    width: 140px;
}

.paper-card:nth-child(odd) {
    border: 1px solid #631B5D;
    /* Dark Purple for odd cards */
}

.paper-card:nth-child(even) {
    border: 1px solid #F7B310 !important;
    /* Yellow for even cards */
}

div#cart-data-container p.no-bundle {
    padding: 0px 0px 20px 7px;
    color: #631B5D;
}

.cart-image-cu img {
    padding: 0;
    object-fit: contain;
    width: 60px !important;
}

.cart-image-cu {
    min-width: 60px;
}

.Prac_sub_inner span {
    font-size: 16px;
    font-weight: 600;
    color: var(--purple);
}

.tooltip-container {
    position: relative;
    display: inline-block;
    max-width: 300px;
    /* Adjust as needed */
}

.sub-content-inner-elipse {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    /* Limits text to 4 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    cursor: pointer;
    line-height: 1.5;
    /* Adjust as needed */
    height: calc(1.5em * 4);
    /* Ensures proper height for 4 lines */
}

.elispe-tooltip {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: normal;
    max-width: 250px;
    width: max-content;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 9999;
}

.tooltip-container:hover .elispe-tooltip {
    visibility: visible;
    opacity: 1;
}

.review-checkout .slick-slide {
    height: auto !Important;
}

.subject-card .sub-img {
    padding: 20px;
}

.footer ul.lms-contactus li {
    margin-left: 0px;
}

.Header-Wrap .navbar-nav .nav-item {
    padding: 0px 5px !important;
    white-space: nowrap;
}

.bg-bassket {
    background-color: #F3F3F3;
}


/* review  card style start*/

.review-card .card-title {
    height: auto;
}

.review-card .card-body>p {
    height: auto;
    margin-bottom: 5px;
}

.card.review-card {
    padding-top: 5px;
    padding-bottom: 5px;
}

.card.review-card .card-body {
    padding-top: 0px;
}

.review-card .card-img-top {
    width: 60px;
    height: 60px;
}


/* review  card style end*/

.Prac_sub_inner img {
    padding: 15px;
    height: 100px;
}

.for-desktop {
    display: block;
}

.for-mobile {
    display: none;
}

footer.footer.footer-outer h5 {
    font-size: 18px;
}

.img-fluid {
    max-width: 100%;
}

.discount-badge {
    position: absolute;
    top: -20px;
    right: -12px;
    width: 60px;
    z-index: 999;
    transition: transform 0.5s ease-in-out;
}

.discount-badge .badge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    line-height: 1.2;
    font-weight: bold;
    color: white !important;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lmssearch a#signupBtn {
    min-width: 110px;
    white-space: nowrap;
}

.landing-signup-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -4px;
    color: #631B5D;
    font-size: 20px;
    font-weight: bold;
}

.landing-signup-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0px;
    font-size: 12px;
    font-weight: 500;
}

.landing-signup-list {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 0px;
}

.landing-subjects-slider .elispe-tooltip {
    display: none;
}

.landing-page-search.lmssearch input {
    text-indent: 0px;
}

.quote-bg {
    width: 100px;
}

.paper-right .quote-bg {
    left: 0px;
    top: 55px;
}

.exam-inner {
    padding: 30px 40px;
}

.mock-exam-table tr th,
.mock-exam-table tr td {
    font-size: 18px;
    padding: 18px;
}

.lmssearch.prac-search {
    display: none;
}

.lmssearch.prac-search.landing-page-search {
    display: block;
}

.terms-condition input {
    margin-top: 5px!important;
}

.terms-condition p {
    line-height: 1.5;
}

.landing-logo-slider .paper-card {
    display: flex;
}

.text-quest {
    color: #631B5D;
}

i.fa.fa-shopping-cart.text-quest {
    font-size: 20px;
}

.Header-Wrap a.btn.primary-btn {
    max-width: 150px !important;
    white-space: nowrap;
    /* Prevent text from wrapping */
    overflow: hidden;
    /* Hide overflowing content */
    text-overflow: ellipsis;
    /* Show ellipsis (...) when text overflows */
    display: inline-block;
    /* Ensure the properties apply correctly */
}

.lmssearch a#signupBtn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 50px;
    width: 130px;
    background: #F7B310 !important;
    border: none;
    color: #631B5D;
    font-weight: 800;
}

.lmssearch a#signupBtn:hover {
    background: #631B5D !important;
    color: #fff;
    font-weight: 800;
}

@media(max-width:991px) {
    .height-527 {
        height: auto;
        width: auto;
    }
}

@media (max-width: 768px) {
    .landing-signup-list li::before {
        left: 10px;
    }
    .prac_btns_wrap .primary-btn {
        min-width: unset !important;
        width: 48% !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .landing-bundle-slider .slick-slide {
        margin-right: 10px;
    }
    .landing-bundle-slider .slick-track {
        margin-top: 20px;
    }
    .banner-discount-bar span {
        color: white !important;
        font-size: 14px;
    }
    .explore-title {
        cursor: pointer;
    }
    .banner-discount-bar {
        text-align: center;
        background-color: red;
        top: -28px;
        left: -50px;
        font-weight: bold;
        border-radius: 5px;
        transform: rotate(324deg);
        height: 40px;
        align-content: center;
        width: 204px;
        margin-top: 47px;
    }
    .landing-slider-item-wrap {
        padding-top: 5%;
    }
}

@media (min-width: 568px) {
    .videoSection-wrap.container-fluid {
        padding: 20px;
        margin-top: 20px;
    }
    .Desktop-disply-0 {
        display: none;
    }
    .footer-mobile-wrap {
        display: none;
    }
    .about-pic img {
        width: 270px;
        height: auto;
    }
    .lmssearch a#signupBtn {
        line-height: 1.8;
    }
}

@media (max-width: 567px) {
    .price span {
        font-size: 22px;
    }
    .services-wrap .service-left h3 {
        font-size: 22px;
    }
    .exam-inner {
        padding: 20px 30px;
    }
    th.btn-basket-wrap {
        text-align: center;
    }
    .paper-right .quote-bg {
        left: 0px;
        top: 0px !important;
        width: 70px;
    }
    .sub-content .sub-bottom {
        display: none;
    }
    .lmssearch.prac-search.landing-page-search {
        margin-top: 10px;
    }
    .landing-page-search.lmssearch.prac-search .btn-primary {
        height: 30px !important;
    }
    .landing-page-search.lmssearch.prac-search input {
        height: 40px !important;
    }
    .footer ul.social li a {
        width: 30px;
        height: 30px;
    }
    .payment-icons .icon-circle {
        width: 30px;
        height: 30px;
        overflow: hidden;
    }
    .landing-bundle-slider .slick-track {
        margin-top: 10px;
    }
    .exam-inner h4 {
        font-size: 14px;
        margin-bottom: 10px !important;
    }
    .mock-exam-table tr th,
    .mock-exam-table tr td {
        font-size: 12px;
        padding: 7px;
    }
    .mock-wrap-top {
        padding: 0px;
    }
    .mock-wrap-top img {
        width: 100%;
    }
    .footer-dekstop-wrap {
        display: none;
    }
    .accordion-header h3 {
        color: white;
        text-decoration: none;
        font-size: 14px;
    }
    .accordion-header .btn {
        color: white;
        text-decoration: none !Important;
    }
    .toggle-icon {
        font-size: 0.8rem;
        transition: 0.3s;
    }
    .accordion-header .btn {
        color: white !important;
        text-decoration: none !Important;
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    .accordion-header button:focus {
        outline: none !important;
        border-color: none !important;
        box-shadow: none !important;
    }
    .accordion-header button:focus:not(:focus-visible) {
        outline: 0;
        border: none !important;
    }
    .lmssearch a#signupBtn {
        position: absolute !important;
        margin-top: 10px;
        width: 100% !important;
        box-shadow: none !important;
        top: -5px !important;
        max-width: 110px !important;
    }
    .prac_btns_wrap .primary-btn {
        min-width: unset !important;
        width: 48% !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    ul.landing-choose-list h5 {
        font-size: 14px;
        line-height: 1.8;
    }
    .onlyfor-dekstop {
        display: none;
    }
    .banner-discount-bar {
        text-align: center;
        background-color: red;
        top: -35px;
        left: -63px;
        font-weight: bold;
        border-radius: 5px;
        /* z-index: 999; */
        transform: rotate(324deg);
        height: 32px;
        align-content: center;
        width: 200px;
        margin-top: 47px;
    }
    .banner-discount-bar span {
        color: white !important;
        font-size: 12px;
    }
    .landing-slider-item-wrap {
        padding-top: 13%;
    }
    a.button.primary-btn {
        width: 120px;
        padding: 7px;
        font-size: 12px !important;
    }
    .subject-card .sub-img {
        width: 100px;
        height: 100px;
    }
    a.button.primary-btn span {
        font-size: 12px !important;
    }
    .pastpaers-wrap {
        margin-top: 30px;
        padding: 15px 0px;
        position: relative;
    }
    .whychoose-wrap {
        margin-bottom: 100px;
        margin-top: 0px;
    }
    .landing-choose-slider .slick-next {
        top: 58% !important;
        z-index: 1;
        right: -2% !important;
    }
    .about-pic img {
        width: 200px;
        height: auto;
    }
    .whychoose-wrap {
        margin-bottom: 0px;
        margin-top: 0px;
    }
    .landing-choose-slider .slick-prev {
        left: -2% !important;
        top: 58% !important;
        z-index: 1;
    }
    .carousel-item img {
        max-height: 100%;
        object-fit: contain;
        width: 300px;
        height: auto;
    }
    .btn-slick-cu .slick-next {
        top: 50% !important;
        z-index: 1;
        right: 1% !important;
    }
    .btn-slick-cu .slick-prev {
        left: 1% !important;
        top: 50% !important;
        z-index: 1;
    }
    .landing-logo-slider .slick-next {
        top: 116% !important;
        right: 0% !important;
    }
    .landing-logo-slider .slick-prev {
        left: 0% !important;
        top: 116% !important;
    }
    .landing-bundle-slider .slick-next {
        top: 106% !important;
        z-index: 1;
        right: 0% !important;
    }
    .landing-bundle-slider .slick-prev {
        left: 0% !important;
        top: 106% !important;
        z-index: 1;
    }
    html {
        font-size: 87.5% !important;
        /* (14px ÃƒÂ· 16px) Ãƒâ€” 100 = 87.5% */
    }
    .card.bundle-card .buy-btn.primary-btn {
        font-size: 16px !important;
    }
    .card.bundle-card .buy-btn-bundle {
        margin-top: 5px;
    }
    .paper-card img {
        height: 70px;
    }
    .paper-card {
        padding: 10px 10px;
        width: 140px;
    }
    .landing-logo-slider .slick-padding {
        padding: 0px !Important;
        max-width: 140px !important;
    }
    .lmssearch {
        margin-top: 5px;
    }
    .paper-right {
        padding-top: 20px;
    }
    .play-button {
        width: 65px;
        height: 65px;
    }
    .videoSection-wrap.container-fluid {
        margin-top: 20px;
    }
    /* .card.review-card {
        min-height: 320px;
    } */
    .review-card .card-title {
        height: 20px;
    }
    .review-card .card-body p {
        max-height: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        /* Limit to 4 lines */
        -webkit-box-orient: vertical;
    }
    .landing-bundle-slider .slick-slide {
        margin-right: 15px;
        /* Adjust this for spacing */
    }
    .section-heading img {
        width: 65px;
    }
    .bundle-basket .card.bundle-card:hover {
        transform: none;
        transition: 0.5s all ease-in-out;
    }
    .bundle-basket .card.bundle-card {
        transition: 0.5s all ease-in-out;
    }
    .review-checkout .slick-next {
        right: 0% !important;
        top: 50% !important;
    }
    .review-checkout .slick-prev {
        left: 0% !important;
        top: 50% !important;
        z-index: 1;
    }
    .service-right {
        display: none !Important;
    }
    .col-6 .card.bundle-card {
        padding: 0px;
    }
    .d-none-mobile {
        display: none;
    }
    .bg-img-blur {
        width: 45px;
    }
    .pdf-img img {
        padding: 3px;
        width: 30px;
    }
    .single-school-detail {
        margin-top: 10px;
    }
    .pdf-name {
        font-size: 14px;
    }
    .exam-links {
        padding: 5px 15px;
    }
    .hero-wrap {
        padding: 26px 10px !important;
    }
    .practice-filter-wrap {
        padding-top: 10px !important;
    }
    .services-wrap .service-left {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .feature-card-cu .card.d-flex {
        text-align: center;
    }
    .feature-card-cu img.card-img-top {
        max-width: 150px;
    }
    .videoSection-wrap {
        padding: 20px 20px 15px 20px;
    }
    .landing-subjects-slider .subject-card {
        padding: 0px;
    }
    .banner-right-img img.img-fluid {
        width: 230px;
    }
    .slick-padding {
        padding: 10px !important;
    }
    /* .subject-card .sub-content {
        padding: 25px 10px!IMPORTANT;
    } */
    .sub-content.sub-content-subject p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis;
        height: auto !important;
        /* Ensure height adjusts dynamically */
        max-height: calc(1.5em * 3);
        /* Adjust based on line height */
        line-height: 1.5em;
        /* Ensures consistent spacing */
    }
    .landing-subjects-slider .slick-slide {
        display: flex !important;
        align-items: stretch !important;
    }
    .sub-content.sub-content-subject {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .padding-mobile-review {
        padding: 0px !important;
    }
    .sub-content .sub-btn {
        width: max-content;
        align-self: center;
    }
    .banner-left-text {
        padding: 30px;
    }
    .prac_content p {
        font-size: 14px;
    }
    .Prac_sub_inner img {
        height: 90px;
        padding: 6px;
    }
    .Prac_sub_inner h3 {
        font-size: 14px;
    }
    .prac-main-wrap h3 {
        font-size: 16px!important;
        justify-self: center;
        color: #631B5D;
        font-weight: 700;
    }
    .Prac_sub_inner span {
        font-size: 16px!important;
        font-weight: 600;
        color: var(--purple);
        display: block;
    }
    .prac-main-wrap {
        margin: 0 auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }
    .prac-main-wrap a {
        justify-content: center;
    }
    a.footer-site-logo.mb-2.d-block img {
        max-width: 150px;
    }
    p.no-bundle {
        padding: 10px;
        font-size: 16px;
        font-weight: 700;
        color: #631B5D;
    }
    .choose-img img {
        height: 40px;
    }
    .subject-card .sub-content {
        padding: 45px 20px 20px 20px !important;
    }
    .landing-choose-slider {
        display: none;
    }
    .landing-choose-list {
        list-style: none;
        padding-left: 30px;
    }
    .landing-choose-list li {
        position: relative;
        padding-left: 30px;
        /* Space for the tick */
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 500;
    }
    .landing-choose-list li::before {
        content: "\2713";
        position: absolute;
        left: 0;
        top: 0;
        color: #631B5D;
        font-size: 20px;
        font-weight: bold;
    }
    .whychoose-wrap::before {
        background-image: none;
    }
    .landing-choose-list-wrap {
        display: block;
    }
    .discount-badge {
        top: -10px !important;
        right: -10px !important;
        width: 50px !important;
    }
    .discount-badge .badge-text {
        font-size: 10px !important;
    }
    .bundle-detail-wrap .discount-badge {
        width: 70px !important;
        top: -20px !important;
        right: 0px !important;
    }
    .bundle-detail-wrap .discount-badge .badge-text {
        font-size: 12px !important;
    }
    .for-desktop {
        display: none;
    }
    .for-mobile {
        display: block;
    }
    footer.footer ul li a {
        font-size: 12px;
    }
    footer.footer.footer-outer h5 {
        font-size: 14px;
    }
    .data-wrap-sign-up {
        display: none;
    }
    .bndl-detail {
        padding: 0px;
    }
    .bndl-detail .bndl-title {
        padding: 0px 0px;
    }
    .bundle-detail-wrap .review-wrap {
        padding: 0px 0px 0px 0px;
    }
    .bundle-detail-wrap .bndl-desc ul p {
        font-size: 14px;
    }
    .benf-inner img {
        height: 60px;
    }
    .benf-inner h4 {
        font-size: 18px;
    }
    .benf-inner p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .review-inner {
        padding: 0px;
    }
    .detail-basket .card-body.bg-bassket .d-flex {
        flex-wrap: wrap;
    }
    /* .detail-basket button.btn.btn-quest {
        margin-top: 5px;
    } */
    .swal2-icon.swal2-success [class^=swal2-success-line][class$=tip] {
        max-width: 1.1625em!important;
    }
    div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long] {
        max-width: 2.5375em!important;
    }
}


/* home page css end */

@media (max-width: 400px) {
    .prac_btns_wrap .primary-btn {
        width: 47% !important;
    }
}

@media (max-width: 375px) {
    span.original-price,
    span.discount-price {
        font-size: 12px;
    }
    i.fa.fa-shopping-cart.text-quest {
        font-size: 14px;
    }
}