html{
    direction:rtl;
}
:root {
    --secondColor: #ffc008;
}

.heads {
    background: url(../images/bg/forAll.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    background-position: center;
    /* background-color: aqua; */
    padding-bottom: 50px !important;
}

.hover-shadow {
    transition: all 0.4s ease-in-out;
}

    .hover-shadow:hover {
        transform: translateY(-20px) scale(1.1);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4) !important;
        background-color: var(--secondColor) !important;
    }


/* کلاس برای تنظیم ارتفاع ثابت آیتم‌های کروسل */
.carousel-fixed-height {
    height: 450px; /* ارتفاع دلخواه خود را اینجا تنظیم کنید */
    overflow: hidden;
}

.carousel-fixed-height img {
    height: 100%;
    width: 100%;
    object-fit: cover; /* این ویژگی کلیدی، تصویر را بدون تغییر نسبت، در کادر جای می‌دهد */
}

/* افزودن استایل اشاره‌گر برای تصاویر کوچک (thumbnails) */
.img-thumbnail{
    height:80px !important; 
    
}
.img-thumbnail.cursor-pointer {
    cursor: pointer;
}


@media screen and (max-width:700px) {
    .carousel-fixed-height{
        height:300px;
    }
    .img-properties{
        height:100%;
    }
}
.filter-form {
    display: none;
}

.heightselect {
    max-height: 200px;
    /* height: 300px; */
}
.auto-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}

.scrolling-links {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

    .scrolling-links a {
        white-space: nowrap;
        padding: 8px 15px;
        background: #f5f5f5;
        border-radius: 20px;
        text-decoration: none;
        color: #333;
        border: 1px solid #ddd;
    }

        .scrolling-links a:hover {
            background: #ffc107;
            animation-play-state: paused;
        }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1650px !important;
    }
}
.open-modal-btn {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 10000000;
    width: 200px !important;
    margin: 0;
}

/* پس زمینه مودال */
.modal-overlay {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    height: fit-content;
}

@media (min-width: 768px) {
    .filter-form {
        display: flex;
    }
}
.hero-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/bg/about.png') no-repeat center center/cover;
    min-height: 40vh;
    padding: 10px 0px;
    display: flex;
    align-items: center;
}

.section-title {
    border-right: 5px solid #fd7e14;
    padding-right: 15px;
}

.feature-card {
    transition: transform 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }


@media (max-width: 480px) {
    h1 .display-5 {
        letter-spacing: 1px;
        text-shadow: 1px 1px 0 var(--secondColor), 2px 2px 0 var(--secondColor), 3px 3px 8px rgba(0, 0, 0, 0.5);
    }
}