/* استایل‌های مربوط به تصاویر در سکشن site-intro */
section.site-intro {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* مرکز چینش عمودی کل سکشن */
    justify-content: center !important; /* مرکز چینش افقی کل سکشن */
    text-align: center !important; /* مرکز چینش متون در داخل سکشن */
    position: relative !important; /* برای استفاده از position: absolute */
    height: 100vh !important; /* ارتفاع سکشن برابر با ارتفاع نمایشگر */
}

section.site-intro .grid {
    position: absolute !important; /* برای اینکه تصویر بک‌گراند کل سکشن را بگیرد */
    top: 50% !important;
    left: 50% !important;
    width: 100% !important; /* تنظیم عرض تصویر به 80% */
    height: auto !important; /* ارتفاع خودکار برای حفظ تناسب */
    transform: translate(-50%, -50%) !important; /* قرار دادن تصویر در مرکز */
    object-fit: cover !important;
    z-index: -1 !important; /* تصویر در پشت بقیه عناصر قرار بگیرد */
}

section.site-intro .pictures {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* مرکز چینش عمودی */
    gap: 20px !important; /* فاصله بین ردیف‌ها */
    z-index: 1 !important; /* اطمینان از اینکه تصاویر بالای بک‌گراند قرار بگیرند */
}

section.site-intro .row {
    display: flex !important;
    justify-content: center !important; /* مرکز چینش افقی */
    gap: 10px !important; /* فاصله بین تصاویر */
}

section.site-intro .img {
    width: 250px !important; /* افزایش عرض تصویر */
    height: 250px !important; /* افزایش ارتفاع تصویر */
    object-fit: cover !important;
    border: none solid #ccc !important;
    border-radius: 500px !important;
    transition: transform 0.3s ease, border-color 0.3s ease, top 0.3s ease !important;
    position: relative;
}

section.site-intro .img:hover {
    top: -10px !important; /* حرکت به سمت بالا */
    border-color: #0078D4 !important;
}

/* استایل‌های مربوط به tooltip */
.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    max-width: 200px;
    z-index: 2;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease; /* انیمیشن برای نمایش tooltip */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tooltip img {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}

.tooltip.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-10px); /* انیمیشن برای حرکت به سمت بالا */
}
