/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
html {
    scroll-behavior: smooth;
}

.menu .app-brand.demo {
    height: 64px;
    /*  background: #3a4245;*/
    background: #091e3d;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo svg {
    width: 30px;
    height: 24px;
}

.app-brand-text.demo {
    font-size: 1.25rem;
}

.authentication-wrapper .app-brand-text.demo {
    font-size: 1.5rem;
    text-transform: capitalize;
}
/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1.25rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
        width: 300px;
        position: relative;
    }

        #dropdown-variation-demo .btn-group .text-truncate::after {
            position: absolute;
            top: 45%;
            right: 0.65rem;
        }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1.25rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1.25rem;
}

.required::after span {
    content: " *";
    color: red;
}

.course-thumbnail {
    border-radius: 25px;
}

.right-video {
    border-radius: 10px;
}

.dash-carousel .carousel-indicators {
    margin-bottom: -45px;
}

    .dash-carousel .carousel-indicators button {
        background-color: #FFD1CD !important; /* Light gray or your desired color */
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }

    /* Active indicator color */
    .dash-carousel .carousel-indicators .active {
        background-color: #BF422F !important; /* Bootstrap primary or any color you like */
    }

/* Optional: Add spacing between indicators */
.dash-carousel .carousel-indicators {
    gap: 8px;
    justify-content: center;
}

.webinar-section {
    padding: 50px 30px;
/*    background: #bf422f;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
}

.video-container {
    flex: 1 1 400px;
    max-width: 500px;
}

    .video-container video {
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

.info-container {
    flex: 1 1 300px;
    max-width: 600px;
}

    .info-container p {
        margin-bottom: 20px;
        font-size: 16px;
        color: #ffe;
    }

.event-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    color: #333;
}

    .event-card h4 {
        margin-bottom: 10px;
    }

    .event-card small {
        display: block;
        margin-bottom: 10px;
        color: #888;
        word-wrap: break-word;
    }

    .event-card .btn {
        background-color: #0a0a0a;
        border: none;
    }



.webinar-section {
    display: flex;
    flex-wrap: wrap;
    /*background-color: #b53e2e;*/ /* adjust to your background */
    position: relative;
    padding: 40px 0;
}

.video-container {
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.webinar-section .video-container img {
    max-width: 100%;
    border-radius: 10px;
}

.webinar-section .info-container {
    flex: 1 1 60%;
    padding: 30px;
    color: white;
    position: relative;
}

#eventCarousel {
    position: relative;
    margin-top: 20px;
}

..webinar-section .carousel-inner {
    display: flex;
    justify-content: center;
}

.webinar-carousel {
    display: flex;
    justify-content: center;
}

.webinar-section .event-card {
    background: white;
    color: black;
    padding: 25px;
    border-radius: 12px;
/*    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);*/
/*    max-width: 480px;*/
    width: 100%;
    z-index: 1;
}

.webinar-section .carousel-control-prev,
.webinar-section .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #bf422f;
    border-radius: 50%;
    opacity: 1;
    z-index: 2;
}

.webinar-section .carousel-control-prev {
    left: -60px; /* move left indicator outside */
}

.webinar-section .carousel-control-next {
    right: -60px; /* move right indicator outside */
}

.webinar-section .carousel-control-prev-icon,
.webinar-section .carousel-control-next-icon {
/*    filter: invert(1);*/
}

@media (max-width: 768px) {
    .webinar-section .carousel-control-prev {
        left: -30px;
    }

    .webinar-section .carousel-control-next {
        right: -30px;
    }
}

.webinar-section .calendar-icon i {
    background: #13242f;
    padding: 10px;
    border-radius: 4px;
    color: #ffffff;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 1rem !important;
    height: 1rem !important;
}

.quarter-circle {
    width: 60px;
    height: 60px;
    background-color: #b53e2e; /* Light pink */
    border-top-right-radius: 100%;
    background-clip: padding-box;
}

.bg-container {
    background-color: #ffebe9; /* Match your red background */
    padding: 10px;
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 0;
}

.video-play-page .playlist-wrapper {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    height: 100%;
    border: 1px solid #DFDED9;
}

.video-play-page .playlist-scroll {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 5px;
}

.video-play-page .playlist-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

    .video-play-page .playlist-item:hover {
        background: #e9ecef;
    }

    .video-play-page .playlist-item img {
        width: 100px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        border: 1px solid #bf422f26;
    }

.video-play-page .playlist-info h6 {
    margin: 0;
    font-size: 14px;
}

.video-play-page .playlist-info span {
    font-size: 12px;
    color: gray;
    text-overflow: ellipsis;
    width: 345px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

/*.video-player.new-video-player video {
    height: 100% !important;
    margin-top: -40px;
}*/

.video-play-page .main-video-wrapper video {
    border-radius: 8px !important
}

video-play-page .playlist-item:active {
    background: #ffebe9;
    padding: 15px;
    border: 1px solid #bf422f;
}

.cources-img-set img{

}

.all-course.dash-carousel .course-carousel {
    width: 100%;
    height: 40vw;
    max-height: 270px;
    object-fit: cover;
    object-position: center;
}

.all-course.dash-carousel .course-title h5:hover {
    color: #bf422f !important
}

.video-play-page .playlist-item.active {
    border: 1px solid #bf422f;
    background: #ffebe9;
    padding: 15px;
}

.telegram-box .telegram-img {
    width: 15%;
}

/*responsive-start*/

@media (max-width: 1399.98px) {
    .landing-page section {
        padding: 60px 40px !important;
    }

    .landing-page header {
        padding: 10px 40px !important;
    }

    .welcome-page .small-title {
        font-size: 16px !important
    }

    .stock-welcome h2 {
        line-height: 45px !important;
        font-size: 24px !important;
    }

    .stock-welcome p {
        font-size: 14px !important;
        max-width: 355px !important;
    }
}


@media (max-width: 575.98px) {
    .collage-container {
        display: none !important;
    }
    .landing-page section {
        padding: 25px 25px !important;
    }
}

/*.testimonial1 .mySwiper {
    padding: 30px 0;
}*/

.testimonial .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

/* Testimonial card */
.testimonial .testimonial-card {
    width: 100%; /* same size for all */
    height: 100%;
/*    background: #fff;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 12px;
    padding: 15px;*/
/*    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);*/
    text-align: left;
    overflow: hidden;
}

    .testimonial .testimonial-card img {
        width: 100%;
        height: 100%; /* fixed size */
        object-fit: contain; /* no image cut */
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .testimonial .testimonial-card p {
        font-size: 14px;
        color: #333;
    }

/* Position navigation buttons above slider */
/* Keep arrows inside bottom center */
.testimonial .swiper-button-next,
.testimonial .swiper-button-prev {
    top: auto; /* remove default top */
    bottom: 5px; /* place at bottom */
    color: #091E3D;
}

.testimonial .custom-nav {
/*    background: #D4D5D7;*/
    border: 1px solid #091E3D;
    border-radius: 50%;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    width: 35px;
    height: 35px;
}

    .testimonial .custom-nav:hover {
        background: #091E3D;
        color: #ffffff;
    }

        .testimonial .custom-nav::after {
            font-size: 18px !important;
        }

/* Adjust position: one left, one right */
.testimonial .swiper-button-prev {
    left: 45%;
}

.testimonial .swiper-button-next {
    right: 45%;
}


/* Open Button */
.open-btn {
    text-transform: capitalize;
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 0.5px;
    font-weight: 500;
    overflow: hidden;
    border-radius: 10px;
    background: #FE2311;
    color: #ffffff;
}

    .open-btn:hover {
        background: #ffffff;
        color: #FE2311;
        border: 1px solid #fe2311;
    }

/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

    /* Show when targeted */
    .popup-overlay:target {
        display: flex;
    }

/* Popup Box */
.popup {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeIn 0.3s ease;
}

    /* Close Button (Top-right) */
    .popup .close-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        background: #ff4d4d;
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
        border-radius: 50%;
        padding: 4px 10px;
        line-height: 20px;
        transition: 0.3s;
    }

        .popup .close-btn:hover {
            background: #d93636;
        }

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.landing-page .banner {
    background-image: url('../images/wave.svg');
    background-size: cover;
}


.title-part .text-orange {
    color: #FE2311 !important;
}