﻿/*استایل اضافه شده برای صفحه اول*/
.team-card__social__list {
    background-color: transparent !important;
}

.custom-service-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

    .custom-service-list li {
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
        font-size: 14px;
        width: 100%;
    }

        .custom-service-list li:last-child {
            border-bottom: none;
        }

        .custom-service-list li span {
            font-style: italic;
        }




.video-icon {
    font-size: 48px;
    color: #005D54;
    cursor: pointer;
    margin-right: 10px;
    vertical-align: middle;
}

hr {
    margin: 6px 0 !important;
}

/* استایل برای پس‌زمینه مودال */
.modal {
    display: none; /* مودال پیش‌فرض مخفی باشد */
    position: fixed; /* برای ثابت کردن مودال */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* پس‌زمینه شفاف */
    z-index: 1000; /* بالاترین لایه */
    overflow: hidden; /* جلوگیری از اسکرول */
}

/* محتوای مودال */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* مرکز کردن محتوا */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: fit-content; /* تطبیق اندازه با محتوا */
    text-align: center;
}

.close {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f44336;
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .close:hover {
        background-color: #d32f2f;
        transform: scale(1.1);
    }

    .close:active {
        transform: scale(0.9);
    }


@media (max-width: 768px) {
    .mobile, .about-two__contentcol__printed {
        display: block !important;
    }

    .video-icon {
        display: none;
    }
}


@media (min-width: 769px) {
    .mobile, .about-two__contentcol__printed {
        display: none;
    }
}

@media (min-width: 769px) {
    .about-two__contentcol__printed {
        display: block;
    }
}

@media (max-width: 768px) {
    .about-two__contentcol__printed, .about-two__contentcol__btnwrap {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-two__imagecol__imagesmall {
        top: 353px;
    }

    .main-slider-one__bg {
        background-repeat: no-repeat;
        background-position: inherit !important;
        background-size: cover !important;
    }
}

.linephoto {
    object-fit: cover;
    object-position: center center;
    border-radius: 15px;
    padding: 3px;
    height: 500px;
}

.p_AboutMe {
    text-align: justify;
}

.sampleimg {
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    padding: 10px;
}

.mystyle {
    position: absolute;
    width: 80px;
    height: 34px;
    border-radius: 16%;
    left: 38px;
    bottom: 24px;
    background-color: var(--wallpi-base, #d18548);
    border: 1px solid var(--wallpi-base, #d18548);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wallpi-white, #fff);
}
.personoimg {
    object-fit: cover;
    object-position: center center;
}

/*پایان اضافه شده برای صفحه اول*/
/* برای عکس جزئیات خبر*/
.newsimg {
    height: 460px !important;
    object-fit: cover;
    object-position: center center;
    max-width: 100%;
    border-radius: 40px;
}



/*برای تنظیم عکس صفحه خدمات*/

#serviceList {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

    #serviceList .service-item {
        display: flex;
        margin-bottom: 30px;
    }

    #serviceList .service-one__item {
        width: 100%;
        height: 100%;
        background: #fff;
        box-shadow: 0 10px 35px rgba(0,0,0,.08);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    #serviceList .service-one__item__image {
        height: 330px;
        position: relative;
        overflow: hidden;
    }

        #serviceList .service-one__item__image img {
            width: 100% !important;
            height: 330px !important;
            object-fit: cover !important;
            object-position: top center !important;
            display: block;
        }

    #serviceList .service-one__item__titlewrap {
        position: absolute;
        left: 25px;
        right: 25px;
        bottom: 0;
        height: 65px;
        background: #000;
        padding: 0 20px;
        z-index: 2;
    }

    #serviceList .service-one__item__title {
        margin: 0;
        font-size: 20px;
        line-height: 1.8;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        #serviceList .service-one__item__title a {
            color: #fff;
        }

    #serviceList .service-one__item__info {
        min-height: 95px;
        padding: 35px 20px 20px;
        text-align: center;
    }

    #serviceList .service-one__item__text {
        margin: 0;
    }

@media (min-width: 1200px) {
    #serviceList .service-item {
        width: 25%;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    #serviceList .service-item {
        width: 33.333%;
    }
}

@media (max-width: 991px) and (min-width: 576px) {
    #serviceList .service-item {
        width: 50%;
    }
}

@media (max-width: 575px) {
    #serviceList .service-item {
        width: 100%;
    }

    #serviceList .service-one__item__image,
    #serviceList .service-one__item__image img {
        height: 300px !important;
    }
}
