/* Hero Section + Why Choose Section + Educator Carousal Section CSS */

section.bg-slider {
    position: relative;
    height: 100vh;
    min-height: unset;
    width: 100%;
    overflow-x: hidden;
}

.slideback {
    position: absolute;
    width: 100%;
    z-index: 0;
    height: 100%;
}

.slideback .kleos-carousel {
    height: 100%;
}

.kleos-carousel .slick-list,
.kleos-carousel .slick-track {
    height: 100%;
}

.slideback .overlay {
    background: linear-gradient(248deg, #47474775 33.02%, #0d0d0d 105.32%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-over .content {
    position: absolute;
    width: 100%;
    bottom: 60px;
}


.kleos-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: unset;
}

.slide-over {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 700px;
}

h4.badge {
    border: 1px solid #48D6D2;
    border-radius: 50px;
    background-color: #00000073;
    color: #48D6D2;
    padding: 12px 30px;
    font-family: Lexend, serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}

h1.title-hero {
    font-family: 'Canela';
    color: #fff;
    font-size: 80px;
    margin-bottom: 10px;
    line-height: 1;
    font-weight: normal;
}

h3.title-hero {
    font-family: 'Canela';
    color: #fff;
    font-size: 60px;
    margin-bottom: 20px;
    line-height: 1;
    font-weight: normal;
}

ul.stacks {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 710px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

ul.stacks li {
    width: calc(50% - 10px);
}

ul.stacks li .listBox {
    font-family: Lexend;
    color: #fff;
    font-size: 20px;
    display: inline-flex;
    background: #00000033;
    border-radius: 90px;
    border: 1px solid #ffffff3d;
    padding: 5px 20px;
    width: auto;
}

ul.stacks li span.icon {
    width: 20px;
    height: 24px;
    margin-right: 14px;
    display: flex;
    align-items: self-start;
    position: relative;
    top: 8px;
}

ul.stacks li span.icon svg {
    color: #48d6d2 !important;
}

ul.stacks li p {
    font-family: var(--font-secondary);
    line-height: 2;
    white-space: nowrap;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.join-now a {
    display: flex;
    background: #48D6D2;

    color: #fff;
    border-color: #48D6D2;
    height: 74px;
    line-height: 74px;
    padding: 13px 30px;
    border-radius: 74px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s ease-in-out;
}

.join-now a:hover {
    background: #fff;
    border-color: #fff;
    color: #48D6D2;
}

button.watch-trailer {
    border: 1px solid #ffffff3d;
    background: #00000033;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s ease-in-out;
    border-radius: 90px;
    padding: 10px 40px 10px 10px;
}

button.watch-trailer:hover {
    opacity: 0.7;
}

.modal-dialog.modal-fullscreen-sm-down {
    max-width: 100%;
    height: 100vh;
    margin: 0;
}

.modal-dialog.modal-fullscreen-sm-down .modal-content {
    height: 100vh;
    background-color: #fff;
}

div#watch-trailer {}

div#watch-trailer .modal-dialog {
    background: transparent;
}

div#watch-trailer .modal-dialog .modal-content {
    background: #00000063;
}

div#watch-trailer .modal-dialog .modal-content .modal-header {
    border-color: transparent;
    padding: 30px 30px 20px 0;
}

div#watch-trailer .modal-dialog  button.btn-close {
    filter: invert(1);
    opacity: 1;
    background-size: 22px;
}

/* whychoose slider arrows */
.whyChoose-carousel .slick-arrow {
    width: 30px;
    height: 30px;
    /* background: red; */
    position: absolute;
    filter: invert(1);
    z-index: 1;
}

.whyChoose-carousel .slick-prev {
    left: 15px;
    transform: rotate(90deg);
    background-size: 40px;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='20' class='transition-all duration-300 -rotate-90' id='chevron-arrow' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.175 7.15002L10 10.975L13.825 7.15002L15 8.33336L10 13.3334L5 8.33336L6.175 7.15002Z'%3e%3c/path%3e%3c/svg%3e") no-repeat center;
}

.whyChoose-carousel .slick-next {
    right: 15px;
    background-size: 40px;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='20' class='transition-all duration-300 -rotate-90' id='chevron-arrow' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.175 7.15002L10 10.975L13.825 7.15002L15 8.33336L10 13.3334L5 8.33336L6.175 7.15002Z'%3e%3c/path%3e%3c/svg%3e") no-repeat center;
    transform: rotate(-90deg);
}

button.slick-prev.slick-arrow:before {
    display: none;
}

.whyChoose-carousel .slick-arrow:before {
    display: none;
}

/* course Web Slider + Educator Slider */
.course-carousel-web .slick-arrow,
.educator-carousel .slick-arrow {
    width: 30px;
    height: 30px;
    position: absolute;
    filter: invert(1);
    z-index: 1;
}

.course-carousel-web .slick-prev ,
.educator-carousel .slick-prev {
    left: 15px;
    transform: rotate(90deg);
    background-size: 40px;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='20' class='transition-all duration-300 -rotate-90' id='chevron-arrow' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.175 7.15002L10 10.975L13.825 7.15002L15 8.33336L10 13.3334L5 8.33336L6.175 7.15002Z'%3e%3c/path%3e%3c/svg%3e") no-repeat center;
}

.course-carousel-web .slick-next,
.educator-carousel .slick-next {
    right: 30px;
    background-size: 40px;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='20' class='transition-all duration-300 -rotate-90' id='chevron-arrow' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.175 7.15002L10 10.975L13.825 7.15002L15 8.33336L10 13.3334L5 8.33336L6.175 7.15002Z'%3e%3c/path%3e%3c/svg%3e") no-repeat center;
    transform: rotate(-90deg);
}

.course-carousel-web .slick-arrow:before,
.educator-carousel .slick-arrow:before {
    display: none;
}
/* course Web Slider ENDS */

@media (max-width: 1280px) {
    h1.title-hero {
        font-size: 60px;
    }
    .slide-over .container {
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    h1.title-hero {
        font-size: 56px;
    }
    h3.title-hero {
        font-size: 46px;
    }
}

@media (max-width: 991px) {
    ul.stacks li {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1.title-hero {
        font-size: 2.0rem;
    }
    h3.title-hero {
        font-size: 1.8rem;
    }
    .join-now a {
        height: 54px;
        line-height: 54px;
        overflow: hidden;
    }

    button.watch-trailer {
        margin-right: 20px;
        padding: 10px;
    }
}

@media (max-width: 640px) {
    h1.title-hero {
        font-size: 1.7rem;
    }

    button.watch-trailer span {
        display: none;
    }

    ul.stacks {
        max-width: 400px;
    }

    ul.stacks li span.icon {
        position: relative;
        top: 3px;
    }
    ul.stacks li p {
        white-space: normal;
        line-height: 1.2;
    }

    .action-btn {
        width: calc(100% - 20px);
    }
}

@media (max-width: 575px) {
    h1.title-hero {
        font-size: 1.6rem;
    }
    h3.title-hero {
        font-size: 1.4rem;
    }

    ul.stacks {
        max-width: 300px;
    }
}

@media (max-width: 400px) {
    ul.stacks {
        max-width: 260px;
    }
}

/* Choose Path Section CSS Start */

 a.join-btn {
     padding:13px 30px;
     font-size: 13px;
     line-height: 2.3 !important;
 }
.join-btn:hover{
    border:1px solid #48D6D2;
}

a.course-btn {
    border: 1px solid #000;
    font-size: 12px;
    line-height: 30px;
    padding: 0 10px;
    overflow: hidden;
}

figure.cover-img {
    /* position: absolute; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transform: scale(1);
    transition: 0.4s ease-in-out;
}

figure.cover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

figure.cover-img:hover {
    transform: scale(1.03);
}

a.card-title {
    font-size: 22px;
    color: var(--text-primary);
    text-decoration: none;
}

a.card-title:hover {
    text-decoration: underline;
}

.slick-slider p.card-desc {
    line-height: 1.2;
    color: #555;
}

.course-slider-mobile {
    width: 100%;
    overflow: hidden;
}

.course-carousel {
    margin-left: -120px;
}

.course-carousel .item {
    margin-right: 20px;
}
.course-carousel .item figure.cover-img {
    transform: scale(1);
}

.course-carousel button.slick-arrow {
    /* background: #000; */
    width: 30px;
    height: 30px;
    z-index: 10000;
    position: absolute;
    top: calc(100% - 70%);
}

.course-carousel button.slick-next {
    right: 10px;
    transform: rotate(-90deg);
    filter: invert(1);
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='20' class='transition-all duration-300 -rotate-90' id='chevron-arrow' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.175 7.15002L10 10.975L13.825 7.15002L15 8.33336L10 13.3334L5 8.33336L6.175 7.15002Z'%3e%3c/path%3e%3c/svg%3e");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
}

.course-carousel button.slick-prev {
    left: 130px;
    right: auto;
    /* top: 33%; */
    transform: rotate(90deg);
    filter: invert(1);
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='20' height='20' class='transition-all duration-300 -rotate-90' id='chevron-arrow' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.175 7.15002L10 10.975L13.825 7.15002L15 8.33336L10 13.3334L5 8.33336L6.175 7.15002Z'%3e%3c/path%3e%3c/svg%3e");
    background-size: 40px;
    background-repeat: no-repeat;
    background-position: center;
}

.course-carousel button.slick-arrow:before {
    display: none;
}

/* More Courses Banner Section CSS */

.banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.banner-img-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
/* Container above everything */
.container.position-relative {
    position: relative;
    z-index: 2;
}

.center-container {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
}
.items-center {
    align-items: center ;
}

@media (max-width: 767px) {
    .d-md-flex {
        display: flex !important;
    }
    .button-stroke{
        padding: 13px 20px !important;
        font-size: 12px !important;
        letter-spacing: 0 !important;
    }
    .join-btn{
        padding: 12px 20px !important;
        font-size: 12px !important;
        letter-spacing: 0 !important;
    }
}

/* Educator Card CSS */

.educator-card {
    position: relative;
    width: 100%;
    max-width: 360px; /* Shrink below this on smaller screens */
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.educator-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.educator-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 10;
}

.educator-card .text-content {
    position: absolute;
    inset: 0;
    z-index: 20;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem 1.7rem;
    text-align: center;
}
.text-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease-in-out;
    overflow: hidden;
}

.educator-card .text-content:hover {
    background-color: #00000080;
    color: #ffffff5d;
}

.educator-card .text-content::after {
    content: "";
    position: absolute;
    width: 50px;   /* adjust icon size */
    height: 50px;
    background-image: url("../images/homepage-icons/video.svg");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    top: 40%;
}

.educator-card .text-content:hover::after {
    opacity: 1;
}

.item {
    flex-shrink: 0;
}

/* Image inside card */
.educator-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text on top */
.educator-card .text-content p {
    line-height: 18px !important;
    text-align:left;
    font-size: 14px;
    font-weight: 300;
}
.educator-card .text-content h4 {
    font-size: 20px;
}

/* HOW IT Works Section CSS */

section.howItWorks {
    width: 100%;
    overflow-x: hidden;
}

section.howItWorks figure {
    width: 100%;
    height: auto;
}

section.howItWorks figure img {
    width: 100%;
}

@media (max-width: 991px) {
    section.howItWorks figure img {
        width: auto;
    }
}

@media (max-width: 575px) {
    section.howItWorks figure img {
        width: 100%;
    }
}

/* MemberShip Section */

section.membership {}

section.membership .enroll-box {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

section.membership h2 {
    font-family: 'Canela';
    color: var(--text-primary);
    font-weight: 300;
    font-size: 54px;
    text-align: left;
}

section#price p {
    font-family: Inter;
    font-size: 20px !important;
    line-height: 1.5;
}

section.membership ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

section.membership ul li {
    display: flex;
}

.money-back {
    background: #5dd7d2;
    height: 62px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0 1.5rem;
    font-family: 'Canela';
    font-size: 24px;
}

.money-back svg {
    width: 40px;
    height: 40px;
    margin-left: -5px;
}

.money-back svg path {
    fill: #fff;
}

.money-back span {
    color: #fff;
}

.annual {
    box-shadow: 0 4px 32px #0000003d;
    padding: 4rem 2rem;
    border-radius: 14px;
    background-color: #e5e5e5;
    width: 100%;
    max-width: 458px;
    margin: 0 auto;
}

.annual h3 {
    font-family: Inter;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    line-height: 1;
    margin-bottom: 40px;
}

.annual p {
    font-family: Inter;
    font-size: 16px !important;
    text-align: center;
    color: #777;
}

.annual .price {
    text-align: center;
    margin-bottom: 20px;
}

.annual .price .regualr-price {
    font-size: 4.5rem;
    font-family: 'Canela';
    color: var(--secondary);
    line-height: 1;
}

.annual .price .sale-price {
    font-size: 2.25rem;
    font-weight: 300;
    font-family: Inter;
    line-height: 1;
}

.annual .price .billed-text {
    font-family: Inter;
    font-size: 16px;
    color: #777;
}

.annual p {
    margin-bottom: 40px;
}

@media (max-width: 480px) {
    section.membership h2 {
        font-size: 44px;
        line-height: 1.2;
    }
    section#price p {
        font-size: 16px !important;
    }

    .money-back {
        font-size: 16px;
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 380px) {
    section.membership h2 {
        font-size: 34px;
    }
}

/* Learn EveryThing, Teach EveryThing Section CSS */

.button-stroke{
    font-size: 13px;
    font-weight: 600;
    padding: 13px 25px !important;
    /*letter-spacing: 0.1em;*/
    border-radius: 90px;
    border: 1px #13316B solid;
    background-color: #fff;
    color: #13316B;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: .2s ease-in-out;
}
.button-stroke:hover{
    color:#fff;
    background-color:#13316B !important;
}

.learn-everything {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    text-align:center;
}

.learn-everything h4{
    padding: 0!important;
}
.for-gutter{
    --bs-gutter-x: 0rem;
}

@media (max-width: 1199px) {
    .learn-everything p{
        text-align:center;
    }
}
@media (max-width: 767px) {
    .learn-everything h2{
        font-size:60px;
    }
}
@media (max-width: 460px) {
    .learn-everything h2{
        font-size:45px;
    }
}

@media (max-width: 380px) {
    .learn-everything h4{
        font-size:18px !important;
    }
}

/* Skills into Practice Section CSS */

.skills-practice {
    text-align:center;
}

@media (max-width: 767px) {
    .skills-practice h2{
        font-size:50px;
    }
}
@media (max-width: 430px) {
    .skills-practice h2{
        font-size:40px;
    }
}

/* Reviews Section CSS */


section#reviews {
    scroll-margin-top: 130px;
}

.reviews {
    background-image: url("../images/reviews-bkg.jpg");
    background-repeat:no-repeat;
    background-size: cover; /* Ensures the image fills the section */
    background-position: center;
    background-color: #222;
    padding: 100px 40px;
    width: 100% !important;
    overflow-x: hidden !important;
}

.review-warm-left {
    position: absolute;
    left: 0;
    bottom: 0;
}

.review-warm-right {
    position: absolute;
    top: 0;
    right: 0;
}

div#carouselReview .action-group {
    position: absolute;
    right: 0;
    bottom: 0;
}
button.btn-carousel {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #fff;
    transition: 0.4s ease-in-out;
}
button.btn-carousel span {
    width: 20px;
    height: 14px;
    filter: invert(1);
}

button.btn-carousel:hover {
    background: var(--theme-bg-gradient);
    border: #fff solid 1px;
}

button.btn-carousel:hover span {
    filter: invert(0);
}

.review-warm-left {
    position: absolute;
    left: 0;
    bottom: 0;
}
.reviews p {
    font-size: 24px;
    color: white !important;
    /*margin-top: 50px;*/
    height: 200px;
}
@media (max-width: 1100px) {
    .reviews p {
        font-size: 24px;
        color: white !important;
        margin-bottom: 80px;
        /*height: 200px;*/
    }
}
@media (max-width: 570px) {
    .reviews p {
        font-size: 18px;
        line-height: 1.4;
        color: white !important;
        /*margin-bottom: 150px;*/
        /*height: 200px;*/
    }
}
.reviews h5 {
    font-size: 24px;
    color: white !important;
}
.quotaion img {
    height: 60px;
}
