:root {
  --greentLight: #16a085;
  --greentLightAlt: #1abc9c;
}

@media (max-width: 1280px) {

}


@media (max-width: 1024px) {
 
  .menu-tabs>ul>li>a {
    padding: 30px 10px;
  }
  
}


@media screen and (max-width: 1024px) and (min-width: 992px) {
 
  .home-slider, .home-slider .owl-stage-outer, .home-slider .owl-stage, .home-slider .owl-item, .home-slider .item {
    height: 80vh;
  }
  .box-requests {
    width: 400px;
  }
  .box-requests .title {
    margin-bottom: 0rem;
    font-size: 12px;
  }
  .selectric .label, .box-requests form .form-control,
  .box-requests form label {
    font-size: 13px;
  }
  .home-slider .item .item-txt {
    width: 400px;
  }
  .home-slider .item .item-txt h1,
  .home-slider .item .item-txt h2 {
    font-size: 1.5rem;
  }
  .home-slider .item .item-txt p {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  
  .page-pricing .container, .page-pricing .container-md, .page-pricing .container-sm {
    /* max-width: 960px; */
  }
  .menu-tabs>ul>li>a {
    font-size: 13px;
  }

  .home-slider, .home-slider .owl-stage-outer, .home-slider .owl-stage, .home-slider .owl-item, .home-slider .item {
    height: 400px;
  }
  .box-requests {
    position: static;
    transform: translate(0);
    width: 80%;
    margin: 3rem auto;
    padding: 1rem;
  }
  .box-requests .title {
    position: static;
    transform: translate(0);
    margin: auto;
    margin-bottom: 2rem;
  }
  .home-slider .item .item-txt {
    transform: translateY(-50%);
    width: 80%;
    text-align: center !important;
  }
  .home-slider .owl-nav {
    lefT: 50%;
    transform: translateX(-50%);
  }

  .item-program .img {
    height: 250px;
  }

  .item-whyus {
    padding-top: 3rem;
  }

  .items-pricing > .d-flex {
    flex-wrap: wrap;
  }
  .item-price {
    max-width: calc(100% / 4);
    flex: 0 0 calc(100% / 4);
    margin-bottom: 1.5rem;
  }
  .btn-request-price {
    width: 100px;
    font-size: 12px;
  }

} /* 991px */

@media (max-width: 767px) {
  .item-about-full {
    flex-direction: column !important;
  }
  .item-about-full .about-image {
    width: 100%;
  }
  .item-about-full .about-content {
    width: 100%;
    padding: 1.5rem 0 !important;
  }
  .close-menu,
  .btn__mobile {
    display: block;
  }
  .close-menu {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.3rem;
    color: #555;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
  }
  .btn__mobile {
    background-color: #fff;
    color: var(--greentLight);
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    margin-top: 0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
  .menu-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 999998 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .menu-backdrop.show {
    opacity: 1 !important;
    visibility: visible !important;
  }
  .menu-tabs {
    padding-top: 2.5rem;
    position: fixed !important;
    top: 0 !important;
    left: -280px !important;
    background-color: #fff !important;
    height: 100vh !important;
    width: 280px !important;
    max-width: 85vw !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25) !important;
    transition: left 0.3s ease-in-out !important;
  }
  .menu-tabs.show {
    left: 0 !important;
  }
  .menu-tabs>ul {
    display: block !important;
  }
  .menu-tabs>ul li {
    display: block;
  }
  .menu-tabs>ul li a {
    display: block;
    padding: .65rem 1.25rem;
    color: #333;
  }

  .programe-details {
    border-bottom: 1px solid #bbb;
    padding-bottom: 1rem;
  }
  .contact-us-form-request.box-requests {
    margin-top: 3rem;
  }

  .home-slider, .home-slider .owl-stage-outer, .home-slider .owl-stage, .home-slider .owl-item, .home-slider .item {
    /*height: 250px;*/
    height: 400px;
  }
  .home-slider.owl-carousel .owl-item .img-slide,
  .home-slider.owl-carousel .owl-item .img-slide img {
    height: 100%;
  }
  .home-slider .item .item-txt h1,
  .home-slider .item .item-txt h2 {
    font-size: 1.2rem;
  }
  .home-slider .item .item-txt p {
    font-size: 12px;
  }

  .sec-quran {
    padding: 2rem 1rem;
  }
  .item-program .img img,
  .item-program .img {
    height: auto;
  }

  .item-whyus {
    padding-top: 6rem;
    margin-bottom: 6rem;
  }
  .item-whyus .img {
    width: 40%;
    top: -70px;
    padding: .5rem;
  }
  .blr {
    width: 30%;
  }

  .txt-about {
    margin-top: 2rem;
  }
  .breadcrumb-page {
    padding: 5rem 0 2rem 0;
  }

  .slides-program .gallery-top .swiper-slide {
    height: 165px;
  }
  .swiper-button-next.swiper-button-white, .swiper-button-prev.swiper-button-white {
    width: 40px;
    height: 40px;
  }
  .slides-program .gallery-thumbs .swiper-slide {
    height: 50px;
  }

  .item-course .img img {
    width: 100%;
  }
  .breadcrumb-page strong,
  .breadcrumb-page h1 {
    font-size: 1.2rem;
    font-weight: 500;
  }

  .item-price {
    max-width: calc(100% / 3);
    flex: 0 0 calc(100% / 3);
  }
  .title-pricing {
    font-size: 1.5rem;
    display: block;
  }

  .page-contact .box-contact {
    max-width: 100%;
    padding: 1rem;
    margin-top: 0 !important;
  }
  .inf-contact {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ccc;
  }
  
    .wedget-footer .logo-footer {
        height: 150px;
        margin: auto;
        display: block;
    }
    
    .brand-logo img {
        max-height: 80px;
        position: static;
    }

} /* 767px */

@media (max-width: 575px) {
  
  .box-pricing {
    padding: 0 2rem;
  }
  .item-price {
    max-width: calc(100% / 1);
    flex: 0 0 calc(100% / 1);
  }
  
    .btn-hlep-chat {
        bottom: 20px;
    }
    
    .box-requests .title {
        font-size: 1rem;
        padding: 0.8rem .5rem;
        width: 100%;
    }

}

@media (max-width: 500px) {
  

}

@media (max-width: 375px) {
  

}


@media (max-width: 360px) {
  
 
}

/* Recorded courses */
@media (max-width: 991px) {
  .course-curriculum {
    margin-top: 2rem;
  }
  .course-curriculum-list {
    max-height: none;
  }
}
@media (max-width: 575px) {
  .course-card-img img {
    height: 160px;
  }
  .course-lesson-time {
    display: none;
  }
}
@media (max-width: 767px) {
  .course-intro-img {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 991px) {
  .course-buy {
    margin-top: 2rem;
  }
}
@media (max-width: 575px) {
  .course-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: .4rem;
  }
  .course-price {
    font-size: 24px;
  }
}

/* Recorded courses hero */
@media (max-width: 991px) {
  .courses-hero {
    /* fixed attachment janks on touch devices */
    background-attachment: scroll;
    /* the header is absolutely positioned over the page, so the top padding
       has to clear its full height or the title lands on the logo */
    padding: 10rem 0 4rem 0;
  }
  .courses-hero-title {
    font-size: 2rem;
  }
}
@media (max-width: 575px) {
  .courses-hero {
    padding: 9.5rem 0 3rem 0;
  }
  .courses-hero-title {
    font-size: 1.5rem;
  }
  .courses-hero-text,
  .courses-hero-cta {
    font-size: .95rem;
  }
  .courses-hero-tagline {
    font-size: .8rem;
  }
}

/* Course Details Hero Slider Responsive */
@media (max-width: 1199px) and (min-width: 992px) {
  .sec-course-hero .home-slider,
  .sec-course-hero .home-slider .owl-stage-outer,
  .sec-course-hero .home-slider .owl-stage,
  .sec-course-hero .home-slider .owl-item,
  .sec-course-hero .home-slider .item {
    height: 60vh !important;
    min-height: 500px !important;
  }
  .sec-course-hero .home-slider .item .item-txt {
    width: 48%;
    left: 4%;
    top: 50%;
  }
  .sec-course-hero .home-slider .item .item-txt h1,
  .sec-course-hero .home-slider .item .item-txt h2 {
    font-size: 2rem;
  }
  .box-course-hero-buy {
    right: 4%;
    width: 330px;
    padding: 1.6rem 1.3rem;
    top: 50%;
  }
  .box-course-hero-buy .course-price {
    font-size: 2rem;
  }
  .sec-course-hero .home-slider.owl-theme .owl-dots {
    left: 4% !important;
    bottom: 20px !important;
  }
}

@media (max-width: 991px) {
  .sec-course-hero {
    background-color: transparent !important;
    overflow: visible !important;
  }
  .sec-course-hero .home-slider,
  .sec-course-hero .home-slider .owl-stage-outer,
  .sec-course-hero .home-slider .owl-stage,
  .sec-course-hero .home-slider .owl-item,
  .sec-course-hero .home-slider .item {
    height: 440px !important;
    min-height: auto !important;
    max-height: none !important;
  }
  .sec-course-hero .home-slider {
    background-color: #111111;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
  .sec-course-hero .home-slider .item::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 100%);
  }
  .sec-course-hero .home-slider .item .item-txt {
    top: 48% !important;
    left: 5% !important;
    width: 90% !important;
    max-width: 580px !important;
    text-align: center !important;
    transform: translateY(-50%) !important;
    padding-bottom: 20px;
    margin: 0 auto;
  }
  .sec-course-hero .home-slider .item .item-txt h1,
  .sec-course-hero .home-slider .item .item-txt h2 {
    font-size: 1.85rem !important;
    line-height: 1.3 !important;
    margin-bottom: .6rem !important;
    word-break: break-word;
  }
  .sec-course-hero .home-slider .item .item-txt p {
    font-size: .95rem !important;
    line-height: 1.55 !important;
    margin-bottom: .9rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sec-course-hero .course-hero-badges {
    justify-content: center !important;
    gap: .5rem !important;
  }
  .sec-course-hero .course-badge {
    font-size: .82rem;
    padding: .35rem .85rem;
  }
  .sec-course-hero .home-slider.owl-theme .owl-dots {
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 14px !important;
    justify-content: center !important;
  }
  .sec-course-hero .home-slider .owl-nav {
    display: none !important;
  }
  .box-course-hero-buy {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: calc(100% - 32px) !important;
    max-width: 480px !important;
    margin: -45px auto 30px auto !important;
    padding: 1.6rem 1.4rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    border-radius: 14px !important;
    z-index: 5 !important;
  }
  .box-course-hero-buy .course-buy-header {
    margin-bottom: .85rem;
  }
  .box-course-hero-buy .course-price {
    font-size: 2.1rem;
  }
  .sec-course-details-body {
    padding-top: .5rem !important;
  }
}

@media (max-width: 767px) {
  .curriculum-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .75rem !important;
    padding: 1rem 1.1rem !important;
  }
  .curriculum-left {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  .curriculum-info {
    min-width: 0 !important;
    flex: 1 !important;
    margin-left: .75rem !important;
  }
  .curriculum-title {
    font-size: .95rem !important;
    word-break: break-word !important;
  }
  .curriculum-right {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: .6rem !important;
    border-top: 1px dashed #e5ede9 !important;
  }
  .course-sidebar-card {
    padding: 1.5rem 1.25rem !important;
    margin-top: 1rem !important;
  }
}

@media (max-width: 575px) {
  .sec-course-hero .home-slider,
  .sec-course-hero .home-slider .owl-stage-outer,
  .sec-course-hero .home-slider .owl-stage,
  .sec-course-hero .home-slider .owl-item,
  .sec-course-hero .home-slider .item {
    height: 390px !important;
  }
  .sec-course-hero .home-slider .item .item-txt {
    top: 45% !important;
    width: 92% !important;
    left: 4% !important;
    padding-bottom: 20px;
  }
  .sec-course-hero .home-slider .item .item-txt h1,
  .sec-course-hero .home-slider .item .item-txt h2 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }
  .sec-course-hero .home-slider .item .item-txt p {
    font-size: .88rem !important;
    line-height: 1.45 !important;
    margin-bottom: .75rem !important;
    -webkit-line-clamp: 2;
  }
  .box-course-hero-buy {
    width: calc(100% - 24px) !important;
    padding: 1.4rem 1.15rem !important;
    margin: -35px auto 25px auto !important;
    border-radius: 12px !important;
  }
  .box-course-hero-buy .course-price {
    font-size: 1.9rem !important;
  }
  .box-course-hero-buy .course-quick-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: .5rem .65rem !important;
    margin-top: 1rem !important;
    padding-top: .85rem !important;
  }
  .box-course-hero-buy .course-quick-features li {
    font-size: .8rem !important;
    margin-bottom: 0 !important;
  }
  .course-section-card {
    padding: 1.35rem 1rem !important;
    border-radius: 10px !important;
  }
  .course-section-title {
    font-size: 1.15rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: .6rem !important;
  }
}

@media (max-width: 380px) {
  .box-course-hero-buy .course-quick-features {
    grid-template-columns: 1fr !important;
  }
  .sec-course-hero .home-slider .item .item-txt h1,
  .sec-course-hero .home-slider .item .item-txt h2 {
    font-size: 1.3rem !important;
  }
}

/* All-Courses Subscription Offer Banner Responsive */
@media (max-width: 991px) {
  .all-courses-offer-card {
    padding: 2.2rem 1.8rem;
  }
  .offer-title {
    font-size: 1.65rem;
  }
  .offer-features-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .offer-pricing-box {
    margin-top: 1.5rem;
  }
}

@media (max-width: 575px) {
  .all-courses-offer-card {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }
  .offer-title {
    font-size: 1.4rem;
  }
  .offer-description {
    font-size: 0.92rem;
  }
  .offer-features-list li {
    font-size: 0.88rem;
  }
  .offer-pricing-box {
    padding: 1.6rem 1.2rem;
  }
  .offer-current-price {
    font-size: 2.3rem;
  }
  .btn-offer-cta {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}

/* Recorded Courses 2-Column Mobile Grid */
@media (max-width: 575px) {
  .sec-recorded-courses {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
  .sec-recorded-courses .courses-grid-row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  .sec-recorded-courses .courses-grid-row > [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-bottom: 12px !important;
  }
  .sec-recorded-courses .course-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06) !important;
  }
  .sec-recorded-courses .course-card-img img {
    height: 110px !important;
    object-fit: cover !important;
  }
  .sec-recorded-courses .course-card-play {
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    font-size: 11px !important;
  }
  .sec-recorded-courses .course-card-body {
    padding: 0.65rem 0.55rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
  }
  .sec-recorded-courses .course-card-title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.15rem !important;
    max-height: 2.15rem !important;
    margin-bottom: 2px !important;
  }
  .sec-recorded-courses .course-card-body p {
    display: none !important;
  }
  .sec-recorded-courses .course-card-meta {
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 4px !important;
  }
  .sec-recorded-courses .course-card-price {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }
  .sec-recorded-courses .btn-request-price {
    width: 100% !important;
    padding: 0.35rem 0.5rem !important;
    font-size: 0.78rem !important;
    margin-top: 0.5rem !important;
    border-radius: 20px !important;
  }
}



@media (max-width: 991px) {
  .dropdown-m {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid #eee !important;
    width: 100% !important;
    min-width: 100% !important;
  }
  .dropdown-m li a {
    padding-left: 40px !important;
  }
}
  html[dir="rtl"] .dropdown-m li a {
    padding-right: 40px !important;
    padding-left: 15px !important;
  }
@media (max-width: 991px) {
  .dropdown-m li a {
    white-space: normal !important;
    word-break: break-word;
  }
}

@media (max-width: 991px) {
  .dropdown-m.show {
    display: block !important;
    height: auto !important;
  }
}
