﻿/*استایل اضافه شده برای صفحه اول*/
.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: #D18548;
    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: 80px;
    border-radius: 50%;
    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;
}





/* ظاهر تمیز و کاربرپسند */
.acc-card {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    overflow: hidden;
    background: #fff;
}

.accordion-button {
    gap: .5rem;
    font-weight: 600;
    background: linear-gradient(180deg,#fff,#f9fafb);
}

    .accordion-button::after {
        filter: grayscale(.3) contrast(.9);
    }

    .accordion-button .hint {
        font-weight: 500;
        color: #0d6efd;
        background: rgba(13,110,253,.08);
        padding: .25rem .5rem;
        border-radius: .5rem;
        white-space: nowrap;
    }

.accordion-body {
    max-height: 480px;
    overflow: auto;
    background: #fcfcfd;
}

.service-item {
    width: 100%;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: .8rem .9rem;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    display: flex;
    align-items: center;
    gap: .75rem;
}

    .service-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
        border-color: rgba(13,110,253,.25);
    }

.service-title {
    font-weight: 600;
}

.service-meta {
    font-size: .9rem;
    color: #6c757d;
}

.book-btn {
    white-space: nowrap;
    font-weight: 600;
}

.badge-soft {
    background: #eef2ff;
    color: #3b82f6;
    border: 1px solid #dbeafe;
    padding: .2rem .45rem;
    border-radius: .5rem;
    font-size: .8rem;
}

