﻿
@font-face {
    font-family: Poppins-Light;
    src: url(../font/Poppins-Light.ttf);
}

.English {
    font-family: Poppins-Light !important;
}
.swiper {
    width: 100%;
    /* padding: 50px 0;*/
}

.swiper-slide-partner {
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-slide-partner img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
/*************************************/
.swiper-slide img {
    width: auto; /* عرض بر اساس اندازه تصویر */
    height: auto; /* ارتفاع بر اساس اندازه تصویر */
    max-width: 100%; /* حداکثر عرض برابر با عرض اسلایدر */
    display: block; /* برای حذف فاصله‌های اضافی */
}
/*************************************/

.chat-icon {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #a6c6ed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .chat-icon:hover {
        transform: scale(1.1);
    }

.chat-popup {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 1000;
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    background-color: #fff;
    overflow: hidden;
}

    .chat-popup.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

.chat-header {
    background-color: #3783A5;
    color: white;
    padding: 15px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

#popup-chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f8f9fa;
}

.message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message {
    background-color: #e2f5fe;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.support-message {
    background-color: #f0f0f0;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #dee2e6;
}

.chat-input-field {
    border-radius: 12px;
    margin-left: 8px;
}

.chat-submit-button {
    border-radius: 12px;
}

.gradient-header {
    background: linear-gradient(90deg, #6f42c1, #0d6efd);
}

.project-card {
    transition: all 0.3s ease;
}

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.project-image {
    height: 160px;
    border-radius: 8px;
}
/****************************************/

.row-Category {
    display: flex;
    flex-wrap: nowrap;
}

@media(max-width: 768px) {
    .row-Category {
        flex-direction: column;
    }

    .col-lg-6 {
        flex: 1 1 100%;
    }
}

.container-fluid-Category {
    display: flex;
    gap: 0;
    padding: 0;
}

.row-Category {
    display: flex;
    flex-wrap: wrap;
}

.col-without-space {
    flex: 1;
    padding: 0;
    margin: 0;
}

.bg-category {
    height: 500px;
    background: linear-gradient(to right, #3783a5, #A6C6ED);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    display: block;
    margin-bottom: 10px;
}

    .bg-category h2 {
        padding-left: 60px;
        padding-right: 60px;
        margin-top: 150px;
    }

    .bg-category h4 {
        padding-left: 60px;
        padding-right: 60px;
        margin-bottom: 10px;
        line-height: 2.5;
    }

.category-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
/****************************************/

.subcategory-image {
    height: 250px;
    width: 100%;
    transition: transform 0.3s ease;
}

/*
.bg-subcategory {
    background-color: #e5e5e5;
}
.parent-subcategory:hover .bg-subcategory {
    background: linear-gradient(to right, #303580, #0F70AD);
    color: white;
}
.parent-subcategory:hover .image-box-category .subcategory-image{
    transform: scale(1.05);
    color: white !important;
}
.parent-subcategory:hover  {
    color: white !important;
}*/


.bg-subcategory .card-body a {
    color: #000; 
    background-image: linear-gradient(to right, transparent 0%, transparent 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: initial; 
    transition: background-image 0.5s ease, color 0.5s ease;
}

.parent-subcategory:hover .bg-subcategory {
    background: linear-gradient(to right, #303580, #0F70AD);
    transition: background 0.5s ease;
}

   
    .parent-subcategory:hover .bg-subcategory .card-body a {
        color: white !important;
        background-image: none; 
        -webkit-text-fill-color: white !important;
    }

.parent-subcategory:hover .image-box-category .subcategory-image {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.subcategory-image {
    transition: transform 0.4s ease;
}

.image-box-category:hover .subcategory-image {
    transform: scale(1.05);
}

.image-box-category:hover ~ .bg-subcategory {
    background: linear-gradient(to right, #303580, #0F70AD);
}

    .image-box-category:hover ~ .bg-subcategory .card-body a {
        color: white !important;
        -webkit-text-fill-color: white !important;
    }















.bg-subcategory:hover h5 {
    color: white;
}

 .bg-subcategory:hover p {
     color: white;
        }
.body-subcategory {
    height: 100%;
   
}
.limited-text {
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}
.product-card-related {
    height: auto;
    border-width: 0 0 2px 0;
    border-style: none none solid none;
    border-color: #303580;
    background-color: #ededed;
}
    .product-card-related:hover {
        border: solid 2px #303580;
    }
    .product-card {
    height: auto;
    border-width: 0 0 2px 0;
    border-style: none none solid none;
    border-color: #303580;
}

    .product-card:hover {
        /*border: solid 2px #303580;*/
    }

body {
    background-color: #f6f6f6 !important;
}

.link-sub-category {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.search-menu{
    border-radius:30px;
    margin-top:13px;
}

.product-title {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.btn-more-product {
    margin-left: 60px !important;
    margin-right: 60px !important;
    padding: 15px;
    background-color: #C7C8CA;
    color: white;
}
    .btn-more-product:hover {
        background-color: #767778;
        color: white;
    }
.title-product {
    font-weight: bold;
}
.bg-product {
    height: 500px;
    background: linear-gradient(to right, #af3cb1, #73287b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    display: block;
    margin-bottom: 10px;
}
    .bg-product h2 {
        padding-left: 60px;
        padding-right: 60px;
        margin-top: 150px;
    }

    /*******************************/
.img-option {
    width: 200px;
    height: 200px;
    border-radius: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top:20px;
}
#contact-map {

    height: 400px;
}
.feature-bg {
  background-color:  #f6f6f6 !important
}


.comment-box {
    border: 1px solid #f0f0f0 !important;
    margin-bottom: 1.875rem !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px #e3e3e3 !important;
    padding: 15px;
    background-color: white;
    margin: 35px;
}
.jobposition {
    color: #ab031e
}

.img-last-news{
    height:300px !important;
}
.body-last-news {
    margin-bottom: 20px;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 70px !important;
}
.custom-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* برای اینکه همیشه در بالای دیگر المان‌ها باشد */
    display: block;
    unicode-bidi: isolate;
}
.mg-t-48 {
    margin-top: 48px;
}
.mg-t-70 {
    margin-top: 70px;
}.mg-t-100 {
    margin-top: 100px !important; 
}
.feedback-text {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.text-dark-blue {
    color: #252e69 !important;
}
.tab-color {
    background-color: #3783A5 !important;
}
.feature:hover {
    background-color: #ffffff !important;
    box-shadow: 0px 0px 10px #c7c8ca;
    border-radius: 5px;
   
}
.feature{
    padding:20px;
}
.search-wrapper {
    margin-top:12px;
    position: relative;
    display: inline-block;

}

    .search-wrapper input[type="text"] {
        padding: 8px 30px 8px 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 40px;
    }

    .search-wrapper .fa-search {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        color: gray;
        pointer-events: none; /* برای غیر فعال کردن کلیک روی آیکون */
    }