.image-heder {
    background-repeat: no-repeat !important;
    background-position: center;
    background-size: cover !important;
    width: 100% !important;
    height: 100svh;
    top: 0;
    left: 0;
    /* position: absolute; */
    /* z-index: 1; */
}

model-viewer {
    width: 100%;
    height: 100%;
    font-weight: 400 !important;
}

.menu-title {
    font-size: 16px !important;
    color: #eee5e5d7 !important;
}

.menu-title:hover {
    color: #fff !important;
}

#topnav {
    background-color: #fff;
    position: relative !important;
    /*height: 2rem !important;*/
}
#topnav a {
    color: rgb(17, 15, 15) !important;
}

@media (min-width: 992px) {
    #topnav .navigation-menu.nav-light > li:hover > a {
        /* color: var(--secondary-color) !important; */
        transition: all 0.3s ease-in-out;
        font-weight: bold;
        font-size: larger;
    }
    button,
    a,
    .profiloe {
        transition: all 0.3s ease-in-out;
    }
    button:hover,
    a:hover,
    .profiloe {
        scale: 1.06;
    }
    /*.submenu .has-submenu a{*/
    /*    transition: all 0.3s ease-in-out;*/
    /*}*/
    /*.submenu .has-submenu a:hover{*/
    /*    scale: 1.06;*/
    /*}*/
    /* #topnav .navigation-menu > li .submenu li:hover > .menu-arrow {
        border-color: var(--secondary-color) !important;
    }

    #topnav .navigation-menu > li .submenu li:hover > a {
        color: var(--secondary-color) !important;
}

    .profiloe:hover {
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .bg-heder {
        background: var(--background-color) !important;
    }

    .max-avatar {
        max-width: 100% !important;
    }

    .accordion-menu {
        background-color: red;
    }

    .accordion-menu .accordion-button::after {
        margin-right: 7%;
        margin-left: auto;
    }

    .pt-icon-25 {
        padding-top: 25%;
    }

    .resize-imge img {
        width: 50% !important;
        height: auto !important;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }

    /* .inere-title::after {
        position: absolute;
        background-color: #F4C416;
        width: 2.5rem;
        height: 5px;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 5px;

    } */
    /* .testh1 {
        position: relative;
        display: inline-block;
    }

    .testh1::after {
        content: '';
        display: flex;
        justify-content: center;
        position: absolute;
        background-color: #F4C416;
        width: 8.5rem;
        height: 5px;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 5px;
    } */
    .title-box {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: relative;
    }

    .title-box .inere-title {
        position: relative;
        display: inline-block;
    }

    .title-box .inere-title::after {
        content: "";
        display: block;
        background-color: var(--primary-color);
        width: 8.5rem;
        height: 5px;
        margin: 0 auto; /* برای مرکز کردن خط */
        margin-top: 10px; /* فاصله خط از متن */
        border-radius: 5px;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .image-heder-overlay {
        position: relative;
    }

    .content {
        position: relative;
        z-index: 2;
    }

    .btn-color {
        background-color: #fff !important;
        border: 1px solid var(--primary-color) !important;
        color: var(--primary-color) !important;
        -webkit-box-shadow: 0 3px 5px 0 rgba(47, 85, 212, 0.3);
        box-shadow: 0 3px 5px 0 rgba(47, 85, 212, 0.3);
    }

    .btn-color:hover {
        background-color: var(--primary-color) !important;
        border: 1px solid var(--primary-color) !important;
        color: #fff !important;
        -webkit-box-shadow: 0 3px 5px 0 rgba(47, 85, 212, 0.3);
        box-shadow: 0 3px 5px 0 rgba(47, 85, 212, 0.3);
    }

    /*.btn-hover:hover{*/
    /*    color: var(--primary-color) !important;*/
    /*}*/
    /*panel */
    /* همبرگری */
    .hamburger {
        display: none;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
    }

    .hamburger div {
        width: 30px;
        height: 3px;
        background-color: #333;
        margin: 6px 0;
        transition: 0.4s;
    }

    /* استایل‌های سایدبار */
    .sidebar {
        height: 100%;
        width: 0;
        position: fixed;
        top: 0;
        right: -250px;
        background-color: #fff;
        overflow-x: hidden;
        transition: 0.5s;
        z-index: 900;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .sidebar.open {
        width: 250px;
        right: 0;
    }

    .sidebar a {
        padding: 10px 15px;
        text-decoration: none;
        font-size: 18px;
        color: #333;
        display: block;
        transition: 0.3s;
    }

    .sidebar a:hover {
        background-color: #f1f1f1;
    }

    .sidebar .closebtn {
        position: absolute;
        top: 10px;
        right: 25px;
        font-size: 36px;
    }

    /* استایل‌های حالت موبایل */
    @media screen and (max-width: 768px) {
        .hamburger {
            display: block;
        }

        .hm-550 {
            height: 550px;
        }
    }

    .font-size-28 {
        font-size: 28px;
    }

    .font-size-15 {
        font-size: 15px !important;
    }

    .box-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1; /* تعداد خطوط مورد نظر برای نمایش */
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 3em; /* به مقدار مناسب برای یک خط متن */
    }

    .image-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        overflow: hidden;
        /* background-color: #f0f0f0; */
    }

    .image-container-style2 {
        padding-bottom: 100% !important; /* 1:1 */
    }

    .image-container img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
    }

    .image-company {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        overflow: hidden;
    }

    .image-company img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    @media (max-width: 768px) {
        .image-container {
            padding-bottom: 75%;
        }
    }

    .border-10 {
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
    }

    .pt-icon-5 {
        padding-top: 5%;
    }

    #floatingTextarea {
        height: calc(7rem + 2px);
    }

    /* test "bot" */
    .sidebar {
        top: 85px;
    }

    .desc-section {
        top: -85px;
    }

    .detail-box .title {
        color: #ab8d59;
    }

    .detail-box .price {
        color: #b3b3b3;
    }

    .detail-box .offer {
        color: #13b792;
    }

    .detail-box {
        height: fit-content;
        background-color: white;
    }

    .videos-list .accordion-button .item {
        border-left: 2px solid #dec79f;
    }

    .videos-list .accordion-button .border-custom {
        border-top: 2px solid #dec79f !important;
    }

    .videos-list .accordion-button .item:last-child {
        border: 0;
    }

    .videos-list .accordion-button:not(.collapsed) {
        color: black !important;
        border-bottom: 1px solid #dadada;
        background-color: #13b79224;
    }

    .videos-list .accordion .accordion-button:focus {
        box-shadow: none;
    }

    .courses:before {
        content: "";
        position: absolute;
        width: 25%;
        height: 25%;
        right: 0;
        top: -5%;
        background: #dec79f;
        filter: blur(120px);
        opacity: 0.8;
        z-index: 0;
    }

    .courses .course-box .img-box:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        right: 0;
        top: 0;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 21.49%,
            #000000 100%
        );
        z-index: 1;
    }

    .courses .detail-box2 {
        background-color: white;
        top: calc(100% - 3rem);
        z-index: 2;
    }

    .courses a:hover .detail-box2 .price {
        color: black;
        transition: 0.5s;
    }

    .courses a:hover .detail-box2 .title {
        color: #79643f;
        transition: 0.5s;
    }

    .courses a:hover .detail-box2 {
        background-color: #dec79f;
        transition: 0.5s;
    }

    .courses a:hover .border-bottom {
        border-color: white !important;
        transition: 0.5s;
    }

    .courses a:hover .detail-box2 .offer {
        color: #0b6b54;
        transition: 0.5s;
    }

    .courses .detail-box2 .title {
        color: #ab8d59;
    }

    .courses .detail-box2 .price {
        color: #b3b3b3;
    }

    .courses .detail-box2 .offer {
        color: #13b792;
    }

    .price-box {
        height: 65px;
    }

    .form-custom .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem var(--primary-color);
    }

    .form-custom .form-control {
        border-radius: 72px;
        background-color: #f9f9f9;
    }

    .form-custom .form-control:focus ~ label::after {
        background-color: #f9f9f9;
    }

    .form-custom textarea {
        min-height: 100px !important;
        border-radius: 15px !important;
        -webkit-border-radius: 15px !important;
        -moz-border-radius: 15px !important;
        -ms-border-radius: 15px !important;
        -o-border-radius: 15px !important;
    }

    .cm-box .head {
        border-bottom: 1px solid var(--primary-color);
    }

    .comments .cm-box:last-child {
        margin-bottom: 0 !important;
    }

    .nav-close {
        display: none;
    }

    @media (max-width: 576px) {
        .sidebar {
            top: 75px;
        }

        .desc-section {
            top: -75px;
        }

        .price-box {
            height: 55px;
        }
    }
    @media (min-width: 576px) and (max-width: 768px) {
        .sidebar {
            top: 75px;
        }

        .desc-section {
            top: -75px;
        }

        .price-box {
            height: 55px;
        }
    }
    @media (min-width: 768px) and (max-width: 992px) {
        .sidebar {
            top: 75px;
        }

        .desc-section {
            top: -75px;
        }

        .price-box {
            height: 55px;
        }
    }
    @media (min-width: 992px) and (max-width: 1200px) {
    }
    @media (min-width: 1200px) and (max-width: 1400px) {
    }
    @media (min-width: 1400px) {
    }

    @media (max-width: 768px) {
        .vide-center {
            display: block;
            margin: 0 auto;
            width: 100% !important;
        }

        .resize-imge img {
            width: 100% !important;
        }

        .hc-offcanvas-nav .nav-item-link,
        .hc-offcanvas-nav li.nav-close a,
        .hc-offcanvas-nav .nav-back a {
            font-size: 24px !important;
        }
    }

    .text-foot:hover {
        font-weight: bold;
    }

    .custom-text {
        text-align: justify;
    }

    .truncated-title {
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Limit to 2 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vide-center {
        display: block;
        margin: 0 auto;
        width: 50%;
    }

    .center {
        display: block;
        margin: 0 auto;
        width: 50%;
    }

    .profile-button {
        padding: 0.5rem 0 1rem;
    }
}

.title > a {
    color: unset;
}

.video-s {
    max-width: 100%;
    border-radius: 10px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin: 0 5px;
    color: #fff;
}

@media (max-width: 768px) {
    .logo img {
        width: 30vw !important;
        height: auto !important;
    }
    .mobil-font{
        font-size: 12px !important;
    }
    .swiper-zoom-container img,
    .swiper-zoom-container video {
        object-fit: cover !important;
    }
}

.logo img {
    width: 10vw;
    height: auto !important;
}

.title h4:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 5px;
    width: 55px;
    background-color: #111;
}

.title h4:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    height: 1px;
    width: 95%;
    /*max-width: 255px;*/
    background-color: #333;
}

.title h4 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
    transition: 0.3s;
}
.title h4:hover {
    scale: 1.07;
}

.hc-offcanvas-nav .nav-container,
.hc-offcanvas-nav .nav-wrapper,
.hc-offcanvas-nav ul {
    background: var(--background-color);
}

.hc-offcanvas-nav .nav-item-link,
.hc-offcanvas-nav li.nav-close a,
.hc-offcanvas-nav .nav-back a {
    border-bottom: 1px solid var(--secondary-color);
}

.hc-offcanvas-nav .nav-wrapper>.nav-content>ul:first-of-type>li:first-child:not(.nav-back):not(.nav-close)>.nav-item-wrapper>.nav-item-link {
    border-top: 1px solid var(--secondary-color);
}


.hc-offcanvas-nav .nav-content > .nav-close:first-child a,
.hc-offcanvas-nav .nav-title + .nav-close a.has-label,
.hc-offcanvas-nav li.nav-close a,
.hc-offcanvas-nav .nav-back a {
    background: var(--secondary-color);
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}
.list-style-content {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: justify;
}
