body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: url('img/background.jpg') no-repeat center center fixed;
    background-size: cover;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    overflow-x: hidden; /* جلوگیری از اسکرول افقی */
}

.header {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: right; /* لوگو را به سمت راست هدایت می‌کند */
    border-bottom: 2px solid #00ddff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header .logo {
    width: 150px; /* افزایش عرض لوگو به اندازه مستطیلی */
    height: auto;
    margin-left: 20px; /* فاصله بین لوگو و متن */
}

.header h1 {
    margin: 0;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
}

.container {
    max-width: 1000px;
    margin: 100px auto 20px auto; /* فاصله از بالای صفحه برای جا دادن هدر */
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1; /* تنظیم به لایه بالاتر از نور و گرد و غبار */
    position: relative;
}

h2 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
}

p {
    margin-bottom: 1.5em;
    color: #ddd;
    font-size: 1.2em;
}

ul {
    text-align: right;
    list-style-type: disc;
    padding-right: 20px;
    margin-bottom: 1.5em;
    color: #ddd;
}

strong {
    color: #00ddff;
}

a {
    color: #00ddff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section {
    margin-bottom: 40px;
}

.footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    border-top: 2px solid #00ddff;
}

.footer p {
    margin: 5px 0;
}

.item-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    height: 250px;
    margin: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    text-align: center;
}

.item-box:hover {
    transform: scale(1.05);
}

.item-box img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.item-box p {
    color: #fff;
    margin: 0;
    font-size: 1.1em;
}

/* استایل برای tooltip */
.tooltiptext {
    position: center;
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
    pointer-events: none; /* جلوگیری از تاثیر موس */
}


.light-box {
    position: fixed;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* تنظیم به آخرین لایه */
}

.left {
    left: 0;
    background: linear-gradient(to right, rgba(0, 247, 255, 0.3), transparent);
}

.right {
    right: 0;
    background: linear-gradient(to left, rgba(0, 247, 255, 0.3), transparent);
}

.dust-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dust {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: moveDust 10s linear infinite;
}

@keyframes moveDust {
    0% {
        transform: translateY(100vh);
    }
    100% {
        transform: translateY(0);
    }
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-y: scroll; /* امکان اسکرول عمودی */
    background-color: #000;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* فاصله بین لوگو، عنوان و دکمه */
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6); /* پس‌زمینه هدر */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* سایه هدر */
    border-radius: 10px; /* گوشه‌های گرد */
}

.header .logo {
    width: 60px; /* اندازه لوگو */
    height: auto;
}

.header h1 {
    font-size: 20px;
    color: #333; /* رنگ عنوان */
    margin: 0;
}

.top-left .panel-link {
    margin-left: 20px;
    background-color: rgb(255, 222, 0); /* رنگ دکمه زرد */
    padding: 5px 15px;
    border-radius: 30px; /* گوشه‌های گرد */
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000; /* رنگ متن دکمه */
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.panel-link {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    background-color: rgb(255, 222, 0);
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

.panel-link .icon {
    margin-left: 5px; /* فاصله آیکون از متن */
    font-size: 18px; /* اندازه آیکون */
}


.header .logo {
    width: 60px; /* سایز لوگو */
    height: auto;
}

.header h1 {
    font-size: 20px;
    color: #333; /* رنگ متن عنوان */
    margin: 0;
}

.header .panel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #008ca2; /* رنگ دکمه */
    color: #ffffff; /* رنگ متن */
    border-radius: 30px; /* گوشه‌های گرد */
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.header .panel-link:hover {
    background-color: #00ddff; /* تغییر رنگ هنگام هاور */
    transform: scale(1.05); /* افکت بزرگ‌نمایی هنگام هاور */
}

.header .panel-link .icon {
    width: 18px; /* سایز آیکون */
    height: 18px;
    margin-right: 5px;
    fill: #fff; /* رنگ آیکون */
}


.header .logo {
    width: 150px; /* افزایش عرض لوگو به اندازه مستطیلی */
    height: auto;
    margin-left: 20px; /* فاصله بین لوگو و متن */
}

.header h1 {
    margin: 0;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
}

.container {
    max-width: 1000px; /* افزایش عرض کانتینر */
    margin: 100px auto 20px auto; /* فاصله از بالای صفحه برای جا دادن هدر */
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    color: rgb#00ddff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1; /* تنظیم به لایه بالاتر از نور و گرد و غبار */
    position: relative;
}


.jobs, .resources, .membership, .meeting {

    background-color: rgba(255, 255, 255, 0.1); /* رنگ طوسی با شفافیت */
    backdrop-filter: blur(-1px); /* افکت مات (شیشه‌ای) */
    -webkit-backdrop-filter: blur(10px); /* پشتیبانی برای مرورگرهای وب‌کیت */
    margin: 20px auto;
    padding: 15px;
    border-radius: 10px; /* گوشه‌های گرد */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* سایه ملایم */
    width: 90%;
    max-width: 800px;
    font-family: sans-serif; /* فونت زیبا */
    color: #fff; /* متن سفید برای تضاد بهتر */
}

