 @media (max-width: 768px) {
    .category-img {
        width: 100% !important;
        max-height: 400px;
    }

}

.HeaderImg {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    transition: top 0.3s ease; /* اضافه کردن انیمیشن برای حرکت نرم */
}

.HeaderImg.fixed {
    position: fixed;
    top: 50px;
    left: 0;
    /*z-index: 9999;*/
    width: 100%;
}

/* Imam Section Styling */
.imam-section-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 100%;
}

.imam-section-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.imam-icon-container {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    margin-bottom: 15px;


}

.imam-section-item:hover .imam-icon-container {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/*.imam-icon {*/
/*    width: 250px;*/
/*    height: 250px;*/
/*    object-fit: contain;*/
/*}*/

.imam-section-item h5 {
    color: #2c5aa0;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imam-section-item:hover h5 {
    color: #1e4080;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .imam-icon-container {
        width: 200px;
        height: 200px;
    }

    .imam-icon {
        width: 200px;
        height: 200px;
    }
}


.News {
    background-color: white;
    position: relative;
    /*top: -16px;*/
}

.justify-content-start {
    background-color: white;
    margin-bottom: 15px
}

.hepost {
    height: 370px;
    width: 100%;
    z-index: 9;
    position: sticky;
}

@media only screen and (max-width: 992px) {
    .hepost {
        height: 85px;
        width: 100%;
        z-index: 9;
        position: sticky;
    }

    .esteftat {
        /*display: none;*/
    }
}
.imgMenuIcon{
    height: 25px;
}





.button-container {
    position: absolute !important;
    bottom: 30px !important;
    left: 123px !important;
}

@media (max-width: 768px) {
    .button-container {
        position: unset !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    .ra-khoei, .esteftat{
        /*padding: 0 !important;*/
        padding-top: 20px !important;
        padding-bottom: 60px !important;
    }
}
.FixedAudioPlayer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #2a5687;
    border-top: 2px solid #1d3b5d;
    padding: 10px 20px;
    /*box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;
    direction: rtl;
}

.player-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-wrapper {
    position: relative;
    width: 100%;
}

#mainAudio {
    width: 100%;
    height: 35px;
    margin-top: 7px
}

.loading {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.audioTitle {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: -115px;*/
    /*bottom: 0;*/
    /*display: flex;*/
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    vertical-align: center;
    /*z-index: 9;*/
    color: white;
    /*width: 175px;*/
    font-family: "AlmaraiRegular";
}

.spinner {
    width: 30px;
    height: 30px;
    border: 4px solid #ccc;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#closePlayer {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
}


.city-link {
    display: inline-block;
    width: 100%;
    padding: 12px 18px;
    margin: 6px 0;
    font-size: 1.1rem;
    font-weight: 500;
    background: #e5e5e5;
    color: #212529;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.city-link:hover {
    background-color: #2a5687;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.city-link.active {
    background-color: #21466e !important; /* سبز بوت‌استرپ */
    color: white !important;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.modal-header h5 {
    font-weight: bold;
    font-size: 1.4rem;
}

.modal-body {
    padding: 2rem;
    background-color: #fdfdfd;
}

.modal-footer {
    border-top: none;
    padding: 1.5rem;
}

