/*****************************************
*               vector
******************************************/
/* استایل کلی */
table {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-collapse: collapse;
}

td {
    text-align: center;
    padding: 10px;
}

/* استایل شناسنامه نشریه */
.sidebar {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sidebar .main-title h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.sidebar ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul.menu li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

/* استایل شماره‌ها */
.issue-item {
    display: inline-block;
    margin: 10px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease forwards;
}

.issue-item:nth-child(1) {
    animation-delay: 0.2s;
}
.issue-item:nth-child(2) {
    animation-delay: 0.4s;
}
.issue-item:nth-child(3) {
    animation-delay: 0.6s;
}
.issue-item:nth-child(4) {
    animation-delay: 0.8s;
}
.issue-item:nth-child(5) {
    animation-delay: 1s;
}

.issue-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.issue-item img {
    width: 120px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.issue-item:hover img {
    border-color: #007bff;
}

.issue-item p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #444;
}

.issue-item a {
    text-decoration: none;
    color: inherit;
}

/* انیمیشن Fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   ماژول اطلاعیه‌
   ============================== */
.announcements-module {
  width: 100%;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: #333;
}

.announcements-module .announcements-two-column {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 16px;
  display: flex;
  gap: 32px;
  direction: ltr;
  align-items: stretch;
}

.announcements-module .announcements-two-column * {
  box-sizing: border-box;
}

/* ========== عناوین ========== */
.announcements-module .section-title {
  font-size: 21px;
  font-weight: 800;
  color: #fbfbfb;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #fbfbfb;
  display: inline-block;
}

/* ========== بخش رویدادها ========== */
.announcements-module .event-images-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #396c39;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.announcements-module .event-images {
  flex: 1;
  position: relative;
  width: 100%;
  height: 300px; /* ← کاهش ارتفاع */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}

.announcements-module .slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.announcements-module .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: announcements-slideShow 12s infinite;
  transform: translateX(8%);
  display: flex;
  flex-direction: column;
  border-radius: 12px; /* ✅ گرد کردن کل اسلاید */
  overflow: hidden; /* ✅ محدود کردن محتوای داخل به گوشه‌های گرد */
}

.announcements-module .slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}


.announcements-module .slide img {
  width: 100%;
  height: calc(100% - 40px);
  object-fit: contain; /* ✅ نمایش کامل تصویر */
  background-color: #396c39; /* ✅ پر کردن فضای خالی با سیاه */
  border-radius: 12px 12px 0 0;
}

.announcements-module .caption {
  background: rgba(0, 0, 0, 0.75);
  color: rgb(230, 10, 10);
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  border-radius: 0 0 12px 12px;
  height: 40px; /* ← کوتاه‌تر */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== انیمیشن 4 اسلاید ========== */
.announcements-module .slide:nth-child(1) { animation-delay: 0s; }
.announcements-module .slide:nth-child(2) { animation-delay: 3s; }
.announcements-module .slide:nth-child(3) { animation-delay: 6s; }
.announcements-module .slide:nth-child(4) { animation-delay: 9s; }

@keyframes announcements-slideShow {
  0% { opacity: 0; transform: translateX(8%); }
  12.5% { opacity: 1; transform: translateX(0); }
  25% { opacity: 1; transform: translateX(0); }
  37.5% { opacity: 0; transform: translateX(-8%); }
  100% { opacity: 0; transform: translateX(-8%); }
}

/* ========== بخش جلسات دفاع ========== */


.announcements-module .defense-list-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #396c39; /* ✅ پس‌زمینه کرم برای کل بخش */
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

/* ========== کارت‌های دفاع — بدون پس‌زمینه کرم ========== */
.announcements-module .defense-card {
  background: #fff; /* ✅ فقط سفید باشد */
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 3px solid #7a2c2c;
  transition: transform 0.2s ease;
  margin-bottom: 12px;
}

.announcements-module .defense-card:last-child {
  margin-bottom: 0;
}

.announcements-module .defense-card.doctoral {
  border-left-color: #560D0D;
}

.announcements-module .defense-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
}
/* ========== خط اول: مقطع (راست) + نام دانشجو (چپ) ========== */
.announcements-module .header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.announcements-module .degree-tag {
  display: inline-block;
  background: #7a2c2c;
  color: white;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.announcements-module .defense-card.doctoral .degree-tag {
  background: #560D0D;
}

.announcements-module .student-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #560D0D;
  margin: 0;
  line-height: 1.4;
  /* نام در سمت چپ */
  text-align: left;
}

/* ========== عنوان پایان‌نامه ========== */
.announcements-module .thesis-title {
  font-size: 13.5px;
  color: #444;
  margin: 6px 0 10px;
  line-height: 1.5;
}

/* ========== خط پایین: تاریخ + بیشتر ========== */
.announcements-module .datetime-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.announcements-module .datetime {
  color: #666;
}

.announcements-module .more-link {
  display: inline-block;
  color: #560D0D;
  text-decoration: none;
  font-weight: 600;
  padding: 3px 10px;
  border: 1px solid #560D0D;
  border-radius: 18px;
  font-size: 12.5px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.announcements-module .more-link:hover {
  background: #560D0D;
  color: white;
}

/* ========== آرشیو  ========== */
.announcements-module > .announcements-archive {
  text-align: center;
  margin: 24px auto 0;
  max-width: 1200px;
  padding: 0 16px;
}

.announcements-module .archive-link {
  display: inline-block;
  background: #f8f4f0;
  color: #560D0D;
  padding: 9px 22px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  border: 2px solid #560D0D;
  transition: all 0.25s ease;
}

.announcements-module .archive-link:hover {
  background: #560D0D;
  color: white;
}

/* ========== واکنش‌گرا ========== */
@media (max-width: 900px) {
  .announcements-module .announcements-two-column {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 12px;
  }
  .announcements-module .event-images-section,
  .announcements-module .defense-list-section {
    width: 100%;
  }
  .announcements-module .event-images {
    height: 270px;
  }
  .announcements-module .slide img {
    height: calc(100% - 36px);
  }
  .announcements-module .caption {
    height: 36px;
    font-size: 14px;
  }
}
/* ==============================
                news    
   ============================== */
body {
  font-family: 'Vazirmatn', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.nw-container {
  direction: rtl;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ---------- خبر اصلی ---------- */
.nw-main-news {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.nw-main-news:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* تصویر خبر اصلی */
.nw-main-news-image {
  width: 100%;
}

.nw-main-news-image img {
  width: 100%;
  height: 300px; /* هماهنگ با اسلایدر قبلی */
  object-fit: cover;
  display: block;
}

/* محتوای خبر اصلی */
.nw-main-news-content {
  padding: 1.25rem;
  text-align: right;
}

.nw-main-news-content h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  color: #560D0D;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nw-main-news-content h2:hover {
  color: #76a21e;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nw-main-news-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0 0 1rem 0;
}

.nw-main-news-content .nw-date {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.nw-main-news-content .nw-read-more {
  display: inline-block;
  color: #76a21e;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 2px;
}

.nw-main-news-content .nw-read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #76a21e;
  transition: width 0.3s ease;
}

.nw-main-news-content .nw-read-more:hover::after {
  width: 100%;
}

/* ---------- خبرهای قدیمی ---------- */
.nw-older-news {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nw-news-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  padding: 1rem;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nw-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.nw-news-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.nw-news-item img:hover {
  transform: scale(1.05);
}

.nw-news-item .nw-content {
  flex: 1;
  min-width: 0;
}

.nw-news-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem 0;
  color: #560D0D;
  transition: color 0.3s ease;
}

.nw-news-item h3:hover {
  color: #76a21e;
}

.nw-news-item p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #030303;
  margin: 0 0 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nw-news-item .nw-date {
  font-size: 0.75rem;
  color: #888;
}

.nw-news-item .nw-read-more {
  display: inline-block;
  color: #76a21e;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  position: relative;
}

.nw-news-item .nw-read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #76a21e;
  transition: width 0.3s ease;
}

.nw-news-item .nw-read-more:hover::after {
  width: 100%;
}

/* لینک آرشیو */
.nw-archive-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #76a21e;
  color: #fff;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  text-align: center;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.nw-archive-link:hover {
  background-color: #560D0D;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
  .nw-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0.75rem;
  }

  /* خبر اصلی — تصویر بالا، متن پایین */
  .nw-main-news {
    order: 1;
  }

  .nw-main-news-image img {
    height: 220px; /* کمی کوچک‌تر برای موبایل */
  }

  .nw-main-news-content {
    padding: 1rem;
  }

  .nw-main-news-content p {
    font-size: 0.9rem;
  }

  /* خبرهای قدیمی */
  .nw-older-news {
    order: 2;
  }

  .nw-news-item {
    flex-direction: column;
    align-items: stretch;
  }

  .nw-news-item img {
    width: 100%;
    height: 180px;
    margin-bottom: 0.75rem;
  }

  .nw-news-item p {
    -webkit-line-clamp: 4;
  }
}
/*****************************************
*        confrences
******************************************/


/* Main - Grid Layout */
.conferences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 ستون */
    gap: 20px;
    padding: 20px;
}

/* Conference Card */
.conference-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.conference-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* تنظیمات تصویر */
.conference-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}
.conference-image:hover {
    transform: scale(1.05);
}

.conference-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.conference-year,
.conference-location {
    margin: 5px 0;
    font-size: 1rem;
    color: #555;
}

.conference-gallery-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #76a21e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.conference-gallery-link:hover {
    background-color: #76a21e;
}

/* Dark Mode Styles */
body.dark-mode .conference-card {
    background-color: #1e1e1e;
    color: #e0e0e0;
}
body.dark-mode .conference-gallery-link {
    background-color: #333;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .conferences-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 ستون */
    }
}

@media (max-width: 1024px) {
    .conferences-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون */
    }
}

@media (max-width: 768px) {
    .conferences-grid {
        grid-template-columns: 1fr; /* 1 ستون */
    }
    .conference-image {
        width: 100%;
        height: auto;
    }
    .conference-title {
        font-size: 1rem;
    }
    .conference-year, .conference-location {
        font-size: 0.9rem;
    }
}


/*****************************************
*               نشریات
******************************************/
/* Header */
.publications-header {
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 20px 0;
}

.publications-title {
    font-size: 2rem;
    margin: 0;
}

/* Main - Grid Layout */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 ستون */
    gap: 20px; /* فاصله بین کارت‌ها */
    padding: 20px;
}

/* Publication Card */
.publication-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.publication-image {
    width: 150px; /* عرض تصویر */
    height: 200px; /* ارتفاع تصویر */
    object-fit: cover; /* جلوگیری از کشیدگی تصویر */
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0 auto 15px auto;
}

.publication-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #4CAF50;
}

.publication-name a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.publication-name a:hover {
    color: #45a049;
}

.publication-editor {
    font-size: 1rem;
    color: #555;
}

.editor-link {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.editor-link:hover {
    color: #45a049;
}

/* Responsive Design */
@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr; /* 1 ستون در صفحات کوچک‌تر */
    }

    .publication-image {
        width: 100%; /* عرض تصویر به‌صورت پاسخگو */
        height: auto; /* ارتفاع تصویر به‌صورت خودکار تنظیم شود */
    }
}
/*****************************************
*               books
******************************************/

.books {
    text-align: center;
    margin: 20px 0;
}

.unique-section-title {
    font-size: 24px;
    color: rgb(180, 120, 30);
    margin: 0;
}

/* ظاهر اسلایدر */
.unique-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
    scrollbar-width: thin; /* ظاهر اسکرول‌بار در فایرفاکس */
}

.unique-slider-container::-webkit-scrollbar {
    height: 8px;
}

.unique-slider-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.unique-slider-container::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}

.unique-slider-item {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 150px;
    text-align: center;
    position: relative;
}

/* کانتینر کتاب */
.book-container {
    position: relative;
    width: 150px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.5s ease;
}

/* حالت hover */
.book-container:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* سایه قوی‌تر */
}

/* تصویر جلد و پشت کتاب */
.book-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: transform 1s ease-in-out;
}

.front-cover {
    z-index: 2; /* جلوتر قرار می‌گیرد */
}

.back-cover {
    transform: translateX(100%); /* تصویر پشت کتاب ابتدا خارج از نمایش قرار دارد */
    background-color: #f0f0f0;
    opacity: 0.9; /* شفافیت کمی برای پشت کتاب */
    z-index: 1; /* عقب‌تر قرار می‌گیرد */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    color: #333;
    padding: 10px;
}

/* حالت hover برای تصاویر */
.book-container:hover .front-cover {
    transform: translateX(-100%); /* تصویر جلد به سمت چپ حرکت می‌کند */
}

.book-container:hover .back-cover {
    transform: translateX(0); /* تصویر پشت کتاب به داخل نمایش می‌آید */
}

/* عنوان کتاب */
.unique-book-title {
    font-size: 16px;
    color: #555;
    margin: 10px 0 0;
}

/* دکمه مشاهده همه */
.nw-archive-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #76a21e; /* رنگ سبز */
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.nw-archive-link:hover {
    background-color: #560D0D; /* رنگ قرمز تیره */
}

/* Media Queries */
@media (max-width: 768px) {
    .unique-slider-container {
        gap: 10px;
        padding: 10px;
    }
    .unique-slider-item {
        width: 120px;
    }

    .nw-archive-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
       
/* ==============================
            social media
   ============================== */



/* باکس کلی */
.icon-box {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px 10px;
    z-index: 1000;
    width: 60px;
}

/* تنظیمات هر آیکون */
.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    margin: 10px 0;
    position: relative;
}

.icon-link img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.9) contrast(1.2) sepia(1) saturate(2.5) hue-rotate(80deg);
}

.icon-link span {
    display: block;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateX(100%) translateY(-50%);
    background: linear-gradient(135deg, #FEF9D9, #E0E0E0);
    color: #560D0D;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.icon-link:hover span {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(-50%);
}

.icon-link:hover img {
    transform: scale(1.1);
}

/* پنهان کردن بخش در نسخه موبایل */
@media (max-width: 480px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* تنظیمات Responsive — فقط برای سایر المان‌ها (مثل اسلایدر) */
@media (max-width: 768px) {
    .slider-container {
        height: 50vh;
    }
    .logo-overlay img {
        width: 250px;
    }
    .controls {
        bottom: 10px;
    }
    .controls label {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 30vh;
    }
    .logo-overlay img {
        width: 150px;
    }
    .controls {
        bottom: 5px;
    }
    .controls label {
        width: 10px;
        height: 10px;
    }
}
/* ========== بخش معرفی گروه زیست‌شناسی — ایزوله شده ========== */
.biology-intro-section {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  color: #333;
}

.biology-intro-section .intro-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.biology-intro-section .intro-text {
  width: 50%;
  flex: 1;
  padding: 20px;
  text-align: right;
  animation: biologyFadeIn 2s ease-in-out;
}

.biology-intro-section .intro-text h1 {
  font-size: 28px;
  color: #560D0D;
  margin-bottom: 20px;
}

.biology-intro-section .intro-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.biology-intro-section .intro-images {
  width: 50%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 400px;
  border-radius: 15px;
}

.biology-intro-section .slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.biology-intro-section .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: biologySlideShow 16s infinite;
  border-radius: 15px;
  transform: translateX(10%);
}

@keyframes biologySlideShow {
  0% { opacity: 0; transform: translateX(10%); }
  16.67% { opacity: 1; transform: translateX(0); }
  33.33% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0; transform: translateX(-10%); }
  100% { opacity: 0; transform: translateX(-10%); }
}

.biology-intro-section .slide:nth-child(1) { animation-delay: 0s; }
.biology-intro-section .slide:nth-child(2) { animation-delay: 2.67s; }
.biology-intro-section .slide:nth-child(3) { animation-delay: 5.33s; }
.biology-intro-section .slide:nth-child(4) { animation-delay: 8s; }
.biology-intro-section .slide:nth-child(5) { animation-delay: 10.67s; }
.biology-intro-section .slide:nth-child(6) { animation-delay: 13.33s; }

.biology-intro-section .dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.biology-intro-section .dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.biology-intro-section .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ========== بخش اطلاعات ========== */
.biology-intro-section .info-section {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0 auto 40px;
  max-width: 1200px;
  padding: 0 20px;
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
}

.biology-intro-section .info-item {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: rgba(253, 244, 227, 0.8);
  padding: 20px;
  color: #560D0D;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.biology-intro-section .info-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.biology-intro-section .info-icon img {
  transition: transform 0.3s ease-in-out;
}

.biology-intro-section .info-icon img:hover {
  transform: scale(1.2);
}

.biology-intro-section .info-label {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

/* ========== انیمیشن ظاهر شدن ========== */
@keyframes biologyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== واکنش‌گرا ========== */
@media (max-width: 1200px) {
  .biology-intro-section .info-section {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .biology-intro-section .info-section {
    grid-template-columns: repeat(3, 1fr);
  }
  .biology-intro-section .intro-text,
  .biology-intro-section .intro-images {
    width: 100%;
  }
}
/*****************************************
*               ارتباط با ما 
******************************************/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.us-footer-container {
    display: grid;
    color: #000000;
    grid-template-columns: 1fr 1fr; /* دو ستون اصلی */
    gap: 40px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ستون چپ */
.us-footer-left {
    display: grid;
    gap: 40px;
}

.us-footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* ستون راست */
.us-footer-map-col {
    display: flex;
}

.us-footer-map {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 400px;
    padding: 8px;
    width: 100%;
}

/* استایل کارت‌ها */
.us-footer-address, .us-footer-info {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: right;
}

.us-footer-info-title {
    color: #560D0D;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.us-footer-info-title i {
    font-size: 1.7rem;
    margin-left: 10px;
}

.us-footer-link {
    color: #560D0D;
    text-decoration: none;
    transition: 0.3s;
}

.us-footer-link:hover {
    color: #8B1A1A;
}

/* Responsive Design */
@media (max-width: 992px) {
    .us-footer-container {
        grid-template-columns: 1fr;
    }
    
    .us-footer-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .us-footer-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .us-footer-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .us-footer-map {
        height: 250px;
    }
}
/*****************************************
*               timeline
******************************************/
/* ===============================
   تنظیمات کلی تقویم آموزشی
================================ */
.edu-calendar {
  direction: rtl;
  font-family: "Vazirmatn", "IRANSans", sans-serif;
  background: #f8fafc;
  padding: 30px 15px;
  overflow: hidden;
}

/* عنوان تقویم */
.edu-calendar-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;
}

/* ===============================
   تایم‌لاین افقی
================================ */
.edu-timeline-horizontal {
  position: relative;
  display: flex;
  gap: 14px;
  padding-top: 44px;
  overflow-x: auto;
  scrollbar-width: thin;
}

/* خط افقی */
.edu-timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 58px;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to left, #4f46e5, #22c55e);
  border-radius: 10px;
}

/* ===============================
   هر مرحله (رویداد)
================================ */
.edu-step {
  position: relative;
  min-width: 140px;
  background: #ffffff;
  padding: 10px 12px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  z-index: 2;
}

/* هاور */
.edu-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(79,70,229,0.25);
}

/* ===============================
   شماره مرحله
================================ */
.edu-step-number {
  position: absolute;
  top: -30px;
  right: 50%;
  transform: translateX(50%);
  width: 30px;
  height: 30px;
  background: #560D0D;
  color: #ffffff;
  border-radius: 50%;
  line-height: 30px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 0 0 5px #eef2ff;
}

/* ===============================
   تاریخ و عنوان
================================ */
.edu-step-date {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.edu-step-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

/* ===============================
   اسکرول افقی زیبا
================================ */
.edu-timeline-horizontal::-webkit-scrollbar {
  height: 6px;
}

.edu-timeline-horizontal::-webkit-scrollbar-thumb {
  background: #c7d2fe;
  border-radius: 10px;
}

/* ===============================
   موبایل
================================ */
@media (max-width: 600px) {
  .edu-calendar {
    padding: 20px 10px;
  }

  .edu-calendar-title {
    font-size: 16px;
  }

  .edu-step {
    min-width: 130px;
    padding: 9px 10px;
  }

  .edu-step-title {
    font-size: 13px;
  }
}

 /* ==============================
   اسلایدر خبری - طراحی مدرن (نسخه نهایی)
   ============================== */

.news-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000; /* پشتیبانی برای بارگذاری تصویر */
}

/* خبر اصلی */
.main-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: white;
}

.main-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 30px;
  right: 30px;
  max-width: 50%;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.slide-caption h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  font-weight: 700;
}

.slide-caption p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* ❗ تغییر اصلی: اخبار فرعی در پایین-چپ (بالای لوگو) */
.side-slides {
  position: absolute;
  bottom: 100px; /* فاصله از پایین — بالاتر از لوگو */
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px; /* فاصله عمودی بین خبرهای فرعی */
  width: 240px; /* عرض ثابت برای ثبات طراحی */
  z-index: 5;
}

.side-slide {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.side-slide:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.side-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* لوگو */
.logo-overlay {
  position: absolute;
  bottom: 40px; /* کمی بالاتر برای جلوگیری از برخورد با کپشن/اخبار */
  left: 50%;
  transform: translateX(-50%);
  z-index: 12; /* بالاتر از همه */
  pointer-events: none;
}

.logo-overlay img {
  height: auto;
  width: 500px; /* ← لوگوی بزرگ‌تر در دسکتاپ */
  max-width: 90%; /* جلوگیری از overflow در صفحات باریک */
  opacity: 0.88;
  transition: opacity 0.3s, transform 0.3s;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3)); /* سایه نرم */
}

.logo-overlay img:hover {
  opacity: 1;
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 992px) {
  .slide-caption {
    max-width: 60%;
    bottom: 20px;
    right: 20px;
    padding: 12px;
  }
  .side-slides {
    width: 200px;
  }
  .side-slide {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .news-slider {
    height: 70vh;
  }
  .slide-caption {
    max-width: 100%;
    right: 15px;
    bottom: 180px; /* ⬆️ بالاتر برای جلوگیری از برخورد با اخبار فرعی */
    padding: 10px;
    font-size: 0.9rem;
  }
  .slide-caption h2 {
    font-size: 1.4rem;
  }
  .side-slides {
    bottom: 80px; /* بالاتر از لوگو در تبلت */
    left: 15px;
    width: 200px;
    gap: 8px;
  }
  .side-slide {
    height: 100px;
  }
  .side-caption {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .news-slider {
    height: 60vh;
  }
  .slide-caption {
    bottom: 160px; /* ⬆️ فاصله بیشتر در موبایل */
    font-size: 0.8rem;
  }
  .slide-caption h2 {
    font-size: 1.2rem;
  }
  .side-slides {
    bottom: 70px; /* پایین‌تر از کپشن، بالاتر از لوگو */
    left: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    width: calc(100% - 40px);
  }
  .side-slide {
    width: calc(33.33% - 6px);
    height: 90px;
  }
}
 /* ==============================
   experts
   ============================== */
   
   /* Reset Styles */
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   body {
       font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
       line-height: 1.6;
       background-color: #f9f9f9;
       color: #333;
       direction: rtl;
   }
   
   .experts-container {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* عرض کمتر برای کارت‌ها */
       gap: 1.5rem; /* فاصله کمتر بین کارت‌ها */
       padding: 1rem;
   }
   
   .expert-card {
       display: flex;
       align-items: center;
       background-color: #fdf4e3;
       border: 2px solid #560D0D; /* خط مرزی */
       border-radius: 10px;
       padding: 1rem;
       box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
       transition: transform 0.3s ease, box-shadow 0.3s ease;
   }
   
   .expert-card:hover {
       transform: translateY(-10px);
       box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
   }
   
   .expert-info {
       flex: 1; /* اطلاعات در سمت چپ */
       margin-left: 1rem; /* فاصله کمی بین عکس و اطلاعات */
   }
   
   .expert-info h2 {
       color: #560D0D;
       font-size: 1.2rem; /* اندازه کوچک‌تر برای نام */
       margin-bottom: 0.5rem;
   }
   
   .expert-info p {
       font-size: 0.8rem; /* اندازه کوچک‌تر برای متن‌ها */
       margin-bottom: 0.3rem; /* فاصله کمی بین خطوط */
   }
   
   .expert-image {
       width: 150px; /* اندازه کوچک‌تر برای عکس */
       height: 150px; /* اندازه کوچک‌تر برای عکس */
       border-radius: 50%; /* شکل گرد */
       object-fit: cover; /* جلوگیری از کشیدگی یا برش عکس */
       margin-left: auto; /* عکس را به سمت راست منتقل می‌کند */
   }
   
   /* Media Queries */
   @media (min-width: 768px) {
       .experts-container {
           grid-template-columns: repeat(2, 1fr); /* 2 ستون */
       }
   }
   
   @media (min-width: 1200px) {
       .experts-container {
           grid-template-columns: repeat(3, 1fr); /* 3 ستون */
       }
   }
/*****************************************
*               جداکننده
******************************************/
.dna-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* فاصله بین عناصر */
    margin: 40px 0;
}

.dna-icon {
    width: 80px; /* عرض المان DNA */
    height: 50px; /* ارتفاع المان DNA */
    background-image: url('/images/61/icons/compost.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(1.1) contrast(1.2) sepia(1) saturate(2.5) hue-rotate(85deg);
    opacity: 0.5;
    position: relative; /* اضافه کردن موقعیت نسبی */
    top: -10px; /* جابجایی به بالای خط */
}

.left-dna {
    transform: rotateY(180deg); /* چرخش حول محور Y */
}

.dividernew-line {
    flex: 1; /* پر کردن فضای دو طرف */
    height: 6px; /* ارتفاع خط */
    background-color: #76a21e; /* رنگ خط */
    border-radius: 1px;
}

.separator-text {
    
    font-size: 22px; /* اندازه فونت */
    font-weight: bold; /* بولد کردن متن */
    color: #560D0D; /* رنگ متن */
    white-space: nowrap; /* جلوگیری از شکستن متن */
    padding: 0 10px; /* فاصله اطراف متن */
    position: relative; /* اضافه کردن موقعیت نسبی */
    top: -10px; /* جابجایی به بالای خط */
}

/*****************************************
*               animal-physiology
******************************************/
/* تنظیمات عمومی */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    direction: rtl;
}

/* Header */
.physiology-header {
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    margin-bottom: 10px;
}

.physiology-title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Footer */
.physiology-footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 10px;
    margin-top: 20px;
}

.physiology-link {
    color: #4CAF50;
    text-decoration: none;
}

.physiology-link:hover {
    text-decoration: underline;
}

/* Equipment Section */
.equipment-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.physiology-subtitle {
    text-align: center;
    margin-bottom: 20px;
    color: #4CAF50;
    font-size: 1.5rem;
}

/* Grid Layout for Equipment */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 ستون */
    gap: 20px; /* فاصله بین تصاویر */
}

.equipment-item {
    text-align: center;
}

.equipment-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.equipment-image:hover {
    transform: scale(1.1); /* بزرگ شدن تصویر هنگام هاور */
}

.equipment-caption {
    margin-top: 10px;
    font-size: 1rem;
    color: #555;
}

/* Staff Section */
.staff-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 ستون */
    gap: 40px; /* فاصله بین عکس‌ها */
}

.staff-item {
    text-align: center;
}

.staff-image {
    width: 200px;
    height: 200px;
    height: auto;
    border-radius: 50%; /* تصویر دایره‌ای */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.staff-image:hover {
    transform: scale(1.1); /* بزرگ شدن تصویر هنگام هاور */
}

.staff-name {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 ستون برای تبلت */
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون برای تبلت */
    }
}

@media (max-width: 768px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون برای موبایل */
    }

    .staff-grid {
        grid-template-columns: 1fr; /* 1 ستون برای موبایل */
    }
}

@media (max-width: 480px) {
    .equipment-grid {
        grid-template-columns: 1fr; /* 1 ستون برای موبایل کوچک */
    }
}
/
/*****************************************
*               head of Department
******************************************/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    direction: rtl;
}

/* بخش مدیر فعلی گروه */
.current-manager-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
}

.current-manager-section h1 {
    font-size: 2rem;
    color: #560D0D;
    margin-bottom: 2rem;
}

.manager-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.manager-image {
    width: 200px; /* اندازه تصویر مدیر فعلی */
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-right: 2rem;
}

.manager-info {
    text-align: right;
}

.manager-info h2 {
    font-size: 1.8rem;
    color: #560D0D;
    margin-bottom: 1rem;
}

.manager-info p {
    font-size: 1rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
}

.manager-info i {
    margin-left: 0.5rem;
    color: #560D0D;
}

.profile-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #560D0D;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.profile-link:hover {
    background-color: #330707;
}

/* بخش لیست مدیران گروه */
.managers-list-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f4f8, #ffffff);
}

.managers-list-section h1 {
    font-size: 2rem;
    color: #560D0D;
    margin-bottom: 2rem;
}

.managers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* تعداد ستون‌ها خودکار */
    gap: 2rem;
    padding: 1rem;
}

.manager-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.manager-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.manager-avatar {
    width: 80px; /* اندازه تصویر مدیران سابق */
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.manager-details {
    text-align: center;
}

.manager-details h3 {
    font-size: 1.1rem; /* اندازه عنوان کوچک‌تر */
    color: #560D0D;
    margin-bottom: 0.5rem;
}

.manager-details p {
    font-size: 0.8rem; /* اندازه متن کوچک‌تر */
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.manager-details i {
    margin-left: 0.5rem;
    color: #560D0D;
}

.manager-item .manager-icon {
    width: 120px; /* اندازه آیکون برای مدیران بدون عکس */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f4f8;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto 1rem;
}

.manager-item .manager-icon i {
    font-size: 40px; /* اندازه آیکون کوچک‌تر */
    color: #560D0D;
    transition: transform 0.3s ease;
}

.manager-item .manager-icon:hover i {
    transform: scale(1.1); /* انیمیشن ظریف برای آیکون */
}


/*****************************************
*               student
******************************************/
/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.scientific-association {
    background: #fff;
    padding: 40px 0; /* فاصله از بالا و پایین */
    min-height: 100vh; /* حداقل ارتفاع صفحه */
}

.container-student {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* تنظیمات عمومی برای عناوین */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(128, 177, 135, 0.8); /* رنگ سبز */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* سایه برای جلوه‌گری */
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

/* انیمیشن برای عناوین */
h1::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 150px;
    height: 3px;
    background: #C6CF65; /* خط زیر عنوان */
    transform: translateX(-50%);
    animation: slide-in 1s ease-in-out;
}

@keyframes slide-in {
    from {
        width: 0;
    }
    to {
        width: 150px;
    }
}

/* Hover Effect برای عناوین */
h1:hover {
    color: #fff; /* تغییر رنگ به سفید در حالت Hover */
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8);
}

.card {
    background: #C6CF65;
    color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.advisor img, .member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.member img {
    width: 80px;
    height: 80px;
}

.member img:hover {
    transform: scale(1.1);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
}

.contact ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.contact ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #560D0D;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact ul li a:hover {
    background: #560D0D;
    color: #fff;
    transform: scale(1.1);
}

.vector-magazine {
    margin: 40px 0;
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #560D0D;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
/* بخش ارتباطی و مجله وکتور */
.contact-magazine {
    display: flex;
    flex-direction: column; /* قرار دادن بخش‌ها زیر هم */
    align-items: center; /* مرکز‌چینی افقی */
    justify-content: center; /* مرکز‌چینی عمودی */
    margin: 40px 0;
    text-align: center;
}

.contact {
    margin-bottom: 40px; /* فاصله بین دو بخش */
}

.contact h1, .vector-magazine h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(128, 177, 135, 0.8); /* رنگ سبز */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* سایه برای جلوه‌گری */
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.contact h1::before, .vector-magazine h1::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 150px;
    height: 3px;
    background: #C6CF65; /* خط زیر عنوان */
    transform: translateX(-50%);
    animation: slide-in 1s ease-in-out;
}

@keyframes slide-in {
    from {
        width: 0;
    }
    to {
        width: 150px;
    }
}

.contact ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

.contact ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #560D0D;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact ul li a:hover {
    background: #560D0D;
    color: #fff;
    transform: scale(1.1);
}

.vector-magazine {
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #560D0D;
    color: #fff;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
/*****************************************
*               plant-memebers
******************************************/
/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.faculty-members {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 24px;
    color: #560D0D;
    margin-bottom: 30px;
}

.members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.member-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.member-card:hover {
    transform: translateY(-10px);
}

.member-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #eee;
}

.member-info {
    padding: 15px;
}

.member-name {
    font-size: 18px;
    color: #560D0D;
    margin-bottom: 10px;
}

.member-rank {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.member-specialty,
.member-phone,
.member-email {
    font-size: 14px;
    margin-bottom: 8px;
}

.member-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #560D0D;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.member-link:hover {
    background-color: #333;
}

/* تنظیمات Responsive */
@media (max-width: 768px) {
    .member-card {
        width: 100%;
    }
}

/*****************************************
*              plant-group
******************************************/
/* تنظیمات عمومی بخش */
#pl-introduction {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
}

.pl-main-title {
    text-align: center;
    font-size: 24px;
    color: #560D0D;
    margin-bottom: 40px;
}

.pl-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
}

.pl-content {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}

.pl-image-group {
    flex: 1;
    text-align: center;
}

.pl-image-group img {
    max-width: 500px;
    height: 500px;
    border-radius: 8px;
}


.pl-section h2 {
    font-size: 18px;
    color: #560D0D;
    margin-bottom: 10px;
}

.pl-section p {
    font-size: 14px;
    margin-bottom: 10px;
}

.pl-section ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 14px;
}

.pl-faculty-link {
    color: #560D0D;
    text-decoration: none;
    font-weight: bold;
}

.pl-faculty-link:hover {
    text-decoration: underline;
}

/* تنظیمات Responsive */
@media (max-width: 768px) {
    .pl-section {
        flex-direction: column;
    }

    .pl-content, .pl-image {
        flex: none;
        width: 100%;
    }
}


/*****************************************
*              plant-staff
******************************************/
/* تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* عنوان اصلی */
.section-title {
    text-align: center;
    font-size: 28px;
    color: #560D0D; /* تغییر رنگ عنوان به قرمز تیره */
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* کانتینر اعضای هیات علمی */
.members-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* سه ستون */
    gap: 20px; /* فاصله بین کارت‌ها */
}

/* طراحی کارت‌ها */
.member-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* تصویر اعضای هیات علمی */
.member-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.member-image img:hover {
    transform: scale(1.1);
}

/* اطلاعات اعضای هیات علمی */
.member-info {
    margin-top: 15px;
}

.member-name {
    font-size: 20px;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
}

.member-specialty,
.member-phone,
.member-email {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

/* لینک صفحه شخصی */
.member-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #560D0D; /* تغییر رنگ به قرمز تیره */
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease-in-out;
}

.member-link:hover {
    background: #330707; /* تیره‌تر شدن رنگ hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* آیکون‌ها */
.fa-phone,
.fa-envelope,
.fa-user {
    margin-right: 8px;
    color: #560D0D; /* تغییر رنگ آیکون‌ها به قرمز تیره */
}

/* تنظیمات Responsive */
@media (max-width: 1024px) {
    .members-container {
        grid-template-columns: repeat(2, 1fr); /* دو ستون در صفحات متوسط */
    }
}

@media (max-width: 768px) {
    .members-container {
        grid-template-columns: 1fr; /* یک ستون در صفحات کوچک‌تر */
    }

    .member-card {
        padding: 15px;
    }

    .member-image img {
        width: 120px;
        height: 120px;
    }
}

/*****************************************
*              anjoman-staff
******************************************/

.anjoman-section {
    background: #fff;
    padding: 40px 0;
    min-height: 100vh;
}

/* Header */
.anjoman-header {
    text-align: center;
    margin-bottom: 40px;
}

.anjoman-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(128, 177, 135, 0.8);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.anjoman-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 150px;
    height: 3px;
    background: #C6CF65;
    transform: translateX(-50%);
    animation: slide-in 1s ease-in-out;
}

@keyframes slide-in {
    from {
        width: 0;
    }
    to {
        width: 150px;
    }
}

/* Grid */
.anjoman-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 ستون */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Card */
.anjoman-card {
    background: #fff;
    color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.anjoman-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Image */
.anjoman-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    background: #f0f0f0; /* رنگ پس‌زمینه برای تصویر پیش‌فرض */
    background-image: url('/images/default-avatar.png'); /* تصویر پیش‌فرض */
    background-size: cover;
    background-position: center;
}

.anjoman-image:hover {
    transform: scale(1.1);
}

/* Name */
.anjoman-name {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .anjoman-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 ستون */
    }
}

@media (max-width: 992px) {
    .anjoman-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 ستون */
    }
}

@media (max-width: 768px) {
    .anjoman-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون */
    }
}

@media (max-width: 576px) {
    .anjoman-grid {
        grid-template-columns: 1fr; /* 1 ستون */
    }
}

/*****************************************
*              labs-of-Department
******************************************/
:root {
    --primary-color: #007BFF;
    --secondary-color: #f9f9f9;
    --border-color: #ddd;
}



/* Header Styling */
.physiology-header {
    text-align: center;
    margin-bottom: 40px;
}

.physiology-title {
    font-size: 28px;
    color: #2c3e50;
    margin: 0;
    padding: 20px;
}

/* Staff Section */
.staff-section {
    margin-bottom: 40px;
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.staff-item {
    flex: 1 1 calc(33% - 20px);
    max-width: calc(33% - 20px);
    text-align: center;
}

.staff-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.staff-name a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.staff-name a:hover {
    text-decoration: underline;
}

/* Content Sections */
.physiology-content {
    margin-bottom: 40px;
}

.physiology-subtitle {
    font-size: 24px;
    color: #2c3e50;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.physiology-text {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 20px;
}

.physiology-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

/* Equipment Section */
.equipment-section {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
}

/* تغییرات بخش تجهیزات */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ۳ ستون ثابت */
    gap: 20px;
    padding: 20px;
}

.equipment-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.equipment-image {
    width: 100%;
    height: 200px; /* ارتفاع ثابت برای همه عکسها */
    object-fit: contain;
    margin-bottom: 15px;
}



/* Footer Styling */
.physiology-footer {
    background: #560D0D;
    border-radius: 10px;
    padding: 30px 20px; /* padding بیشتر */
    margin-top: 40px;
    color: white;
}

.contact-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-column {
    flex: 1 1 300px;
}

.contact-column p {
    margin: 8px 0;
    font-size: 15px;
}

.physiology-link {
    color: #FFD700;
    font-weight: bold;
    text-decoration: none;
}

.physiology-link:hover {
    color: #FFA500;
    text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
    .physiology-title {
        font-size: 24px;
    }
    
    .staff-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .physiology-title {
        font-size: 20px;
    }
    
    .staff-image {
        width: 120px;
        height: 120px;
    }
}
/*****************************************
*               list of labs
******************************************/

/* Base styling for RTL support */
.research-labs {
    direction: rtl;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Centered heading styling */
.research-labs h2 {
    color: #2c3e50;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Grid container for labs */
.labs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

/* Individual lab card styling */
.lab-column {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    border: 1px solid #e7e7e7;
}

.lab-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Image styling */
.lab-column img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
    transition: filter 0.3s ease;
}

.lab-column:hover img {
    filter: brightness(95%);
}

/* Text content styling */
.lab-column p {
    padding: 1.5rem;
    margin: 0;
    color: #34495e;
    font-size: 1.1rem;
    text-align: center;
}

.lab-column a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lab-column a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .research-labs h2 {
        font-size: 1.8rem;
    }
    
    .lab-column {
        border-radius: 8px;
    }
    
    .lab-column p {
        padding: 1rem;
        font-size: 1rem;
    }
}
/*****************************************
*               fastaccess 
*   
******************************************/

.fastaccess {
  text-align: center;
  margin: 40px 0 30px;
}

.fastaccess-title {
  font-size: 20px;
  color: rgb(180, 120, 30);
  margin: 0;
  padding: 15px 0;
}

.fastaccess-box-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 14px;
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.fastaccess-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 180px;
  min-height: 110px; /* ✅ افزایش جزئی — برای فضای hover */
  padding: 28px 12px 12px;
  border-radius: 12px;
  border: 2px solid #560D0D;
  background: linear-gradient(140deg, #fdf9f3, #fefcf8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-align: center;
  font-family: 'Vazirmatn', sans-serif;
  position: relative;
}

/* 🔹 لوگوی نیم‌دایره — بدون تغییر */
.fastaccess-box i {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #560D0D;
  color: white;
  border-radius: 50%;
  font-size: 26px;
  z-index: 2;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* ✅ فاصلهٔ بیشتر بین لوگو و عنوان — از 4px → 12px */
.fastaccess-box p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #560D0D;
  line-height: 1.4;
  padding-top: 12px; /* ← این خط تغییر کرد */
}

.fastaccess-box a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.fastaccess-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(86, 13, 13, 0.12);
  background: linear-gradient(140deg, #fdfcf7, #fffefd);
  border-color: #4a0a0a;
}

.fastaccess-box:hover i {
  transform: translateX(-50%) translateY(-55%) scale(1.08);
  background: #4a0a0a;
}

/* 📱 ریسپانسیو — هماهنگ با تغییر */
@media (max-width: 992px) {
  .fastaccess-box-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 12px;
  }
  .fastaccess-box { min-height: 105px; }
  .fastaccess-box p { padding-top: 10px; }
}

@media (max-width: 767px) {
  .fastaccess-box-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 10px;
  }
  .fastaccess-box { min-height: 100px; }
  .fastaccess-box p { padding-top: 9px; font-size: 12px; }
}

@media (max-width: 480px) {
  .fastaccess-box-container {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
  .fastaccess-box { min-height: 95px; }
  .fastaccess-box p { padding-top: 8px; }
}
/*****************************************
*         بنر: سامانه اطلاعات علمی
******************************************/
.scientific-banner {
    display: block;
    text-align: center;
    margin: 15px auto;
    width: 90%;
    max-width: 600px;
    padding: 16px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, #b4781e, #d48a30);
    box-shadow: 0 8px 20px rgba(180, 120, 30, 0.25);
    transition: all 0.3s ease;
}

.scientific-banner a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.scientific-banner a:hover {
    opacity: 0.92;
}

.scientific-banner i {
    font-size: 20px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ریسپانسیو بنر */
@media (max-width: 480px) {
    .scientific-banner {
        width: 94%;
        padding: 14px 16px;
    }

    .scientific-banner a {
        font-size: 14px;
        gap: 8px;
    }

    .scientific-banner i {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}
/*****************************************
*               مقاطع تحصیلی
******************************************/


.accordion {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-input {
    display: none; /* Hide the checkbox */
}

.accordion-header {
    background-color: #560D0D;
    color: white;
    padding: 15px;
    font-size: 18px;
    text-align: right;
    cursor: pointer;
    display: block;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #0056b3;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    padding: 0 15px;
}

.accordion-content ul {
    list-style-type: disc;
    padding: 15px 0;
}

.accordion-content ul li {
    margin-bottom: 10px;
}

/* Show content when checkbox is checked */
.accordion-input:checked + .accordion-header + .accordion-content {
    max-height: 500px; /* Adjust based on content */
    padding: 15px;
}

/*****************************************
*               graduated-committee
******************************************/


/* تنظیمات عمومی برای بخش کمیته تحصیلات تکمیلی */
#graduate-committee {
    background: #fff;
    padding: 40px 0; /* فاصله از بالا و پایین */
    min-height: 100vh; /* حداقل ارتفاع صفحه */
}

#graduate-committee .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* عنوان بخش */
#graduate-committee .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(128, 177, 135, 0.8); /* رنگ سبز */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* سایه برای جلوه‌گری */
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

#graduate-committee .section-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 150px;
    height: 3px;
    background: #C6CF65; /* خط زیر عنوان */
    transform: translateX(-50%);
    animation: slide-in 1s ease-in-out;
}

@keyframes slide-in {
    from {
        width: 0;
    }
    to {
        width: 150px;
    }
}

/* تعداد بازدید */
#graduate-committee .view-count {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

/* مدیر گروه */
#graduate-committee .manager-section {
    display: flex;
    justify-content: center; /* قرار دادن مدیر گروه در وسط */
    margin-bottom: 40px; /* فاصله بین مدیر گروه و بقیه اعضای کمیته */
}

#graduate-committee .manager-card {
    width: 100%; /* عرض کارت مدیر گروه */
    max-width: 400px; /* حداکثر عرض کارت */
    text-align: center; /* متن و تصویر در وسط قرار بگیرند */
    background: linear-gradient(135deg, rgba(253, 244, 227, 0.3), rgba(253, 244, 227, 0.8));
    color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
}

#graduate-committee .manager-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* شبکه اعضای کمیته */
#graduate-committee .members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 ستون برای اعضای کمیته */
    gap: 20px; /* فاصله بین کارت‌ها */
}

#graduate-committee .member-card {
    background: linear-gradient(135deg, rgba(253, 244, 227, 0.3), rgba(253, 244, 227, 0.8));
    color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
    text-align: center;
}

#graduate-committee .member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* تصاویر اعضای کمیته */
#graduate-committee .member-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

#graduate-committee .member-image:hover {
    transform: scale(1.1);
}

/* تنظیمات Responsive Design */
@media (max-width: 768px) {
    #graduate-committee .members-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون برای تبلت */
    }
}

@media (max-width: 480px) {
    #graduate-committee .members-grid {
        grid-template-columns: 1fr; /* 1 ستون برای موبایل */
    }
}

/*****************************************
*              plant-group-staff-
******************************************/


/* عنوان اصلی */
.plant-section-title {
    text-align: center;
    font-size: 28px;
    color: #560D0D; /* تغییر رنگ عنوان به قرمز تیره */
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* کانتینر اعضای هیات علمی */
.plant-members-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 ستون */
    gap: 20px; /* فاصله بین کارت‌ها */
}

/* طراحی کارت‌ها */
.plant-member-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.plant-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* تصویر اعضای هیات علمی */
.plant-member-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.plant-member-image img:hover {
    transform: scale(1.1);
}

/* اطلاعات اعضای هیات علمی */
.plant-member-info {
    margin-top: 15px;
}

.plant-member-name {
    font-size: 20px;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
}

.plant-member-specialty,
.plant-member-phone,
.plant-member-email {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

/* لینک صفحه شخصی */
.plant-member-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #560D0D; /* تغییر رنگ به قرمز تیره */
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease-in-out;
}

.plant-member-link:hover {
    background: #330707; /* تیره‌تر شدن رنگ hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* آیکون‌ها */
.fa-phone,
.fa-envelope,
.fa-user {
    margin-right: 8px;
    color: #560D0D; /* تغییر رنگ آیکون‌ها به قرمز تیره */
}

/* تنظیمات Responsive */
@media (max-width: 1200px) {
    .plant-members-container {
        grid-template-columns: repeat(3, 1fr); /* 3 ستون در صفحات متوسط */
    }
}

@media (max-width: 1024px) {
    .plant-members-container {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون در صفحات کوچک‌تر */
    }
}

@media (max-width: 768px) {
    .plant-members-container {
        grid-template-columns: 1fr; /* 1 ستون در صفحات کوچک‌تر */
    }

    .plant-member-card {
        padding: 15px;
    }

    .plant-member-image img {
        width: 120px;
        height: 120px;
    }
}

/*****************************************
*              plant-group-chart-majors
******************************************/


/* عنوان اصلی */
.plant-ch-section-title {
    text-align: center;
    font-size: 28px;
    color: #560D0D;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* عنوان فرعی */
.plant-ch-subtitle {
    text-align: center;
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
}

/* کانتینر Accordion */
.plant-ch-accordion-container {
    margin-bottom: 50px;
}

/* Accordion Item */
.plant-ch-accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header Accordion */
.plant-ch-accordion-header {
    display: block;
    padding: 15px;
    background-color: #f9f9f9;
    font-size: 18px;
    font-weight: bold;
    color: #560D0D;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.plant-ch-accordion-header:hover {
    background-color: #f0f0f0;
}

/* Content Accordion */
.plant-ch-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fff;
    padding: 0 15px;
}

.plant-ch-accordion-content ul {
    list-style-type: none;
    padding: 10px 0;
}

.plant-ch-accordion-content ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.plant-ch-accordion-content a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.plant-ch-accordion-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Checkbox Accordion */
.plant-ch-accordion-input {
    display: none;
}

/* Header Accordion وقتی Checkbox فعال شود */
.plant-ch-accordion-input:checked + .plant-ch-accordion-header {
    background-color: #e9ecef;
}

/* Content Accordion وقتی Checkbox فعال شود */
.plant-ch-accordion-input:checked ~ .plant-ch-accordion-content {
    max-height: 500px; /* حداکثر ارتفاع محتوا */
    padding: 15px;
}
/* تنظیمات Responsive */
@media (max-width: 1200px) {
    .plant-members-container {
        grid-template-columns: repeat(3, 1fr); /* 3 ستون در صفحات متوسط */
    }
}

@media (max-width: 1024px) {
    .plant-members-container {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون در صفحات کوچک‌تر */
    }
}

@media (max-width: 768px) {
    .plant-members-container {
        grid-template-columns: 1fr; /* 1 ستون در صفحات کوچک‌تر */
    }

    .plant-member-card {
        padding: 15px;
    }

    .plant-member-image img {
        width: 120px;
        height: 120px;
    }
}

 
/*****************************************
*        all-detail-courses-syllabous-
******************************************/
/* تنظیمات کلی صفحه */
.education-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(253, 244, 227, 0.3), rgba(253, 244, 227, 0.8));
    font-family: 'Vazir', sans-serif;
}

.education-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    overflow: hidden;
}

.education-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #560D0D;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.education-main-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: rgba(128, 177, 135, 0.8);
    margin: 10px auto 0;
}

/* ستون‌ها */
.education-columns {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.education-column {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.education-column h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #560D0D;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.education-column h2 i {
    font-size: 1.5rem;
    color: rgba(128, 177, 135, 0.8);
}

/* آکاردئون‌ها */
.accordion-all {
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item-all {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.accordion-item-all:last-child {
    border-bottom: none;
}

.accordion-header-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: linear-gradient(135deg, #FDF4E3, #FFFDE7);
    cursor: pointer;
    font-weight: 500;
    color: #560D0D;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header-all:hover {
    background: linear-gradient(135deg, #FFFDE7, #FDF4E3);
}

.accordion-header-all::after {
    content: '+';
    font-size: 1.2rem;
    color: rgba(128, 177, 135, 0.8);
    transition: transform 0.3s ease;
}

.accordion-input-all:checked + .accordion-header-all::after {
    content: '-';
    transform: rotate(180deg);
}

.accordion-input-all {
    display: none;
}

.accordion-content-all {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fafafa;
    padding: 0 15px;
}

.accordion-input-all:checked + .accordion-header-all + .accordion-content-all {
    max-height: 500px;
    padding: 15px;
}

.accordion-content-all ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}

/* استایل لینک‌ها */
.accordion-content-all a {
    color: rgba(128, 177, 135, 0.8); /* رنگ سبز برای لینک‌ها */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease; /* انتقال نرم برای تغییر رنگ */
}

.accordion-content-all a:hover {
    color: #560D0D; /* تغییر رنگ به قرمز در حالت hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-columns {
        flex-direction: column;
        gap: 20px;
    }

    .education-column {
        transform: none;
        box-shadow: none;
        padding: 15px;
    }
}

/* ==============================
           دستاوردها (اسلایدر خودکار با لوپ)
           ============================== */

           .achievement {
            text-align: center;
            margin: 40px 0;
            position: relative;
        }
        
        .achievements-container {
            display: flex;
            transition: transform 0.5s ease-in-out;
            overflow: hidden;
            position: relative;
            padding: 0 20px;
            gap: 20px; /* فاصله بین آیتم ها */
        }
        
        .achievement-item {
            flex: 0 0 calc(25% - 20px); /* 4 آیتم در یک ردیف */
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 
                0 0 15px 5px rgba(46, 125, 50, 0.3),
                0 0 30px 10px rgba(46, 125, 50, 0.2);
            transition: transform 0.3s ease-in-out, box-shadow 0.3s;
        }
        
        .image-box {
            width: 100%;
            height: 250px;
            overflow: hidden;
            border-radius: 10px;
        }
        
        .image-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
        }
        
        .caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(46, 125, 50, 0.8);
            color: #fff;
            padding: 10px;
            transform: translateY(100%);
            transition: transform 0.3s ease-in-out;
            text-align: center;
            font-size: 16px;
            line-height: 1.4;
        }
        
        .achievement-item:hover .caption {
            transform: translateY(0);
        }
        
        .achievement-item:hover {
            transform: scale(1.05);
            box-shadow: 
                0 0 20px 10px rgba(46, 125, 50, 0.4),
                0 0 40px 20px rgba(46, 125, 50, 0.3);
        }
        
        .achievement-item:hover img {
            opacity: 0.9;
        }
        
        /* دکمه های اسلایدر */
        .slider-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(46, 125, 50, 0.5);
            border: none;
            color: white;
            padding: 15px;
            cursor: pointer;
            z-index: 2;
            border-radius: 50%;
            font-size: 24px;
            transition: background 0.3s;
            display: none;
        }
        
        .slider-button:hover {
            background: rgba(46, 125, 50, 0.8);
        }
        
        #prev {
            left: 10px;
        }
        
        #next {
            right: 10px;
        }
        
        .more-link {
            margin-top: 40px;
            text-align: left; /* تغییر از center به left */
            padding-left: 20px; /* اضافه کردن فاصله از لبه چپ */
        }
        
        /* استایل دکمه مشاهده همه */
        .nw-archive-link {
            display: inline-block;
            padding: 0.7rem 1.5rem; /* فضای داخلی دکمه */
            background-color: #76a21e; /* رنگ سبز */
            color: #fff; /* رنگ متن سفید */
            font-size: 0.9rem; /* اندازه فونت */
            font-weight: bold; /* قلم ضخیم */
            text-decoration: none; /* حذف زیرخط لینک */
            border-radius: 25px; /* گوشه‌های گرد */
            transition: background-color 0.3s ease; /* انتقال نرم رنگ پس‌زمینه */
            text-align: center; /* متن در مرکز */
        }
        
        .nw-archive-link:hover {
            background-color: #560D0D; /* رنگ قرمز تیره */
        }
        
        /* Responsive Design */
        @media (max-width: 1200px) {
            .achievement-item {
                flex: 0 0 calc(33.33% - 20px); /* 3 آیتم در یک ردیف */
            }
        }
        
        @media (max-width: 768px) {
            .achievement-item {
                flex: 0 0 calc(50% - 20px); /* 2 آیتم در یک ردیف */
            }
        
            .slider-button {
                display: block;
            }
        }
        
        @media (max-width: 480px) {
            .image-box {
                height: 150px;
            }
        
            .slider-button {
                padding: 10px;
                font-size: 18px;
            }
        }

          /* ==============================
           طراحی صفحه تمامی دستاوردها
           ============================== */
/* استایل کلی achievement-all */
achievement-all {
    display: block;
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9; /* رنگ پس‌زمینه ملایم */
    font-family: 'Roboto', sans-serif;
  }
  
  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center; /* تراز کارت‌ها در وسط */
  }
  
  .item-card {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    text-align: center;
  }
  
  .item-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  }
  
  .item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  .item-description {
    font-size: 0.9rem;
    color: #333;
    padding: 15px;
    margin: 0;
  }
/*****************************************
*               معرفی گرایش ها
******************************************/
 /* حذف رنگ پس‌زمینه */

 .group {
    text-align: center;
    margin: 130px 0;
  }
  .group-title {
    font-size: 20px;
    color: rgb(180, 120, 30);
    margin: 0;
    padding: 20px 0; /* فاصله بالا و پایین داخل content */
  }

 .groups {
    margin: 0;
    padding: 0;
    background-color: transparent; /* حذف رنگ پس‌زمینه */
    display: flex;
    justify-content: space-around; /* فضای بین گرایش‌ها را مدیریت می‌کند */
    align-items: center; /* عمودی مرتب کردن گرایش‌ها */
   
    overflow-x: hidden; /* جلوگیری از اسکرول افقی */
}

/* استایل هر گرایش */
.biology-branch {
    display: flex; /* قرار دادن آیکون و عنوان در یک ردیف */
    flex-direction: column; /* آیکون بالا و عنوان پایین */
    align-items: center; /* مرکز‌چین کردن محتوا */
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* استایل آیکون‌ها */
.branch-icon {
    width: 150px; /* عرض تصویر */
    height: auto; /* حفظ نسبت تصویر */
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* اضافه کردن فیلتر سیاه و سفید */
    filter: sepia(1) hue-rotate(340deg) brightness(70%);
}

.biology-branch:hover .branch-icon {
    transform: scale(1.1); /* بزرگ‌نمایی آیکون در هاور */
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2)); /* افکت glow */
}

/* استایل عنوان */
.branch-title {
    font-size: 1.2rem;
    color: #333333;
    margin-top: 10px; /* فاصله بین آیکون و عنوان */
    font-weight: 600;
    transition: color 0.3s ease;
}

.biology-branch:hover .branch-title {
    color: #007bff; /* تغییر رنگ عنوان در هاور */
}
/* تنظیمات برای موبایل */
@media (max-width: 768px) {
    body {
        flex-wrap: wrap; /* اجازه می‌دهد گرایش‌ها در ردیف‌های بعدی قرار بگیرند */
        justify-content: center; /* گرایش‌ها را در مرکز قرار می‌دهد */
    }

    .biology-branch {
        margin: 10px; /* فاصله بین گرایش‌ها */
        width: 45%; /* هر گرایش 45% از عرض صفحه را اشغال می‌کند */
    }

    .branch-icon {
        width: 80px; /* کوچک‌تر کردن آیکون‌ها */
    }

    .branch-title {
        font-size: 1rem; /* کوچک‌تر کردن فونت عنوان */
    }
}

/* تنظیمات برای تبلت */
@media (max-width: 1024px) {
    .biology-branch {
        width: 30%; /* هر گرایش 30% از عرض صفحه را اشغال می‌کند */
    }

    .branch-icon {
        width: 90px; /* اندازه متوسط آیکون‌ها */
    }

    .branch-title {
        font-size: 1.1rem; /* اندازه متوسط فونت عنوان */
    }
}

/* =============================
   صفحه جلسه دفاع — منحصربه‌فرد (هماهنگ‌شده با سایت)
   ============================= */

.defense-page-container {
    max-width: 850px;
    width: 100%;
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    margin: 30px auto;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    line-height: 1.8;
    color: #333;
}

.defense-page-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* لوگو */
.defense-page-university-logo {
    text-align: center;
    margin-bottom: 40px;
}

.defense-page-university-logo img {
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.08));
    transition: all 0.3s ease;
}

.defense-page-university-logo img:hover {
    transform: scale(1.05);
}

/* هدر */
.defense-page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.defense-page-header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #560D0D; /* ✅ جایگزینی #e74c3c با رنگ قرمز دانشگاهی */
    margin: 20px auto 0;
    border-radius: 2px;
}

.defense-page-header-icon {
    font-size: 52px;
    color: #560D0D; /* ✅ جایگزینی #e74c3c */
    margin-bottom: 20px;
    display: block;
}

.defense-page-header-title {
    font-size: 30px;
    font-weight: 800;
    color: #560D0D; /* ✅ جایگزینی #2c3e50 با رنگ اصلی سایت */
    letter-spacing: -0.8px;
    margin: 0;
}

/* بخش‌ها */
.defense-page-section {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(25px);
    animation: defensePageFadeInUp 0.7s ease forwards;
}

.defense-page-section:nth-child(3) { animation-delay: 0.2s; }
.defense-page-section:nth-child(5) { animation-delay: 0.4s; }
.defense-page-section:nth-child(7) { animation-delay: 0.6s; }
.defense-page-section:nth-child(8) { animation-delay: 0.8s; }

.defense-page-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #560D0D; /* ✅ جایگزینی #2c3e50 */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    display: inline-block;
}

/* گرید */
.defense-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

/* جزئیات */
.defense-page-details {
    display: flex;
    align-items: flex-start;
    padding: 16px 20px;
    background: #f9f9f9;
    border-radius: 14px;
    transition: all 0.25s ease;
    border: 1px solid #eee;
}

.defense-page-details:hover {
    background: #fdf4e3; /* ✅ جایگزینی #fff3f3 با رنگ خنثی‌تر و هماهنگ */
    border-color: #d4b89e; /* ✅ رنگ border هماهنگ با پالت */
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(86, 13, 13, 0.08); /* ✅ rgba از #560D0D */
}

.defense-page-icon {
    font-size: 18px;
    color: #560D0D; /* ✅ جایگزینی #e74c3c */
    margin-left: 14px;
    margin-top: 4px;
    min-width: 24px;
    text-align: center;
}

/* عنوان پایان‌نامه */
.defense-page-thesis-title-box {
    background: #fdf4e3; /* ✅ جایگزینی #fdf2f2 */
    padding: 25px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #560D0D; /* ✅ جایگزینی #d32f2f */
    border-right: 4px solid #560D0D; /* ✅ جایگزینی #e74c3c */
    line-height: 1.7;
    text-align: justify;
    box-shadow: inset 0 0 0 1px rgba(86, 13, 13, 0.1); /* ✅ rgba از #560D0D */
}

/* جداکننده */
.defense-page-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 50px 0;
}

/* فوتر */
.defense-page-footer {
    text-align: center;
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    opacity: 0;
    animation: defensePageFadeIn 0.6s ease 1s forwards;
}

/* انیمیشن‌ها */
@keyframes defensePageFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes defensePageFadeIn {
    to {
        opacity: 1;
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .defense-page-container {
        padding: 30px 20px;
        margin: 15px;
    }
    .defense-page-university-logo img {
        height: 90px;
    }
    .defense-page-header-title {
        font-size: 26px;
    }
    .defense-page-section-title {
        font-size: 20px;
    }
    .defense-page-grid {
        grid-template-columns: 1fr;
    }
    .defense-page-thesis-title-box {
        padding: 20px 15px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .defense-page-container {
        padding: 25px 15px;
    }
    .defense-page-university-logo img {
        height: 70px;
    }
    .defense-page-header-title {
        font-size: 22px;
    }
    .defense-page-details {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* استایل چاپ */
@media print {
    .defense-page-container {
        box-shadow: none;
        border: 1px solid #ccc;
        margin: 0;
        padding: 20px;
    }
    .defense-page-container:hover {
        transform: none;
    }
    .defense-page-university-logo img {
        height: 60px !important;
        filter: none;
    }
    .defense-page-icon,
    .defense-page-header-icon {
        color: #555 !important;
    }
    .defense-page-details:hover {
        background: #fff !important;
        transform: none !important;
        box-shadow: none !important;
    }
}
/*****************************************
*               history
******************************************/
.professors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 ستون برای 4 عکس */
    gap: 20px; /* فاصله بین عکس‌ها */
    text-align: center; /* متن و عکس‌ها در مرکز قرار بگیرند */
}

.professor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.professor-image {
    width: 150px; /* اندازه عکس‌ها */
    height: 150px;
    object-fit: cover; /* جلوگیری از کشیدگی عکس‌ها */
    border-radius: 10px; /* گوشه‌های گرد شده */
    margin-bottom: 10px; /* فاصله بین عکس و نام */
}

.professor-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
@media (max-width: 768px) {
    .professors-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون در صفحات کوچک‌تر */
    }
}

@media (max-width: 480px) {
    .professors-grid {
        grid-template-columns: 1fr; /* 1 ستون در صفحات خیلی کوچک */
    }
}

/* ===================================================
   فایل استایل: defstage-style.css
   توضیح: استایل مراحل اخذ مجوز دفاع
   پیشوند: defstage-
   بدون نیاز به فونت یا CDN خارجی
   =================================================== */



.defstage-container {
  max-width: 1000px;
  margin: 20px auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.defstage-header {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.defstage-header h1 {
  font-size: 2em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.defstage-header .intro {
  font-size: 1em;
  opacity: 0.9;
  margin: 0;
}

.defstage-workflow {
  padding: 30px;
}

.defstage-step {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.defstage-step-icon {
  font-size: 1.4em;
  min-width: 50px;
  text-align: center;
  margin-top: 4px;
}

.defstage-step-content {
  flex: 1;
  background: #f8faff;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #e0e7ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.defstage-step-content h3 {
  color: #2980b9;
  margin-bottom: 8px;
  font-size: 1.15em;
}

.defstage-step.special .defstage-step-icon {
  color: #e67e22;
}

.defstage-download-list {
  margin: 10px 0 0 20px;
  list-style: none;
}

.defstage-download-list li {
  margin-bottom: 8px;
}

.defstage-download-link {
  color: #e74c3c;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 8px;
}

.defstage-download-link:hover {
  text-decoration: underline;
}

.defstage-btn-download {
  display: inline-block;
  background: #e74c3c;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 8px;
  font-size: 0.95em;
}

.defstage-btn-download:hover {
  background: #c0392b;
}

.defstage-divider {
  text-align: center;
  margin: 35px 0;
  color: #7f8c8d;
  font-weight: bold;
  font-size: 0.95em;
  position: relative;
}

.defstage-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #bdc3c7;
  z-index: 0;
}

.defstage-divider span {
  position: relative;
  background: white;
  padding: 0 15px;
  z-index: 1;
}

.defstage-tabs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.defstage-branch {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.defstage-branch-title {
  background: #3498db;
  color: white;
  padding: 12px 20px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.defstage-branch[open] .defstage-branch-title {
  background: #2980b9;
}

.defstage-branch[open] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.defstage-footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: #7f8c8d;
  font-size: 0.9em;
  border-top: 1px solid #eee;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
  .defstage-container {
    margin: 10px;
    border-radius: 12px;
  }

  .defstage-header h1 {
    font-size: 1.6em;
  }

  .defstage-workflow {
    padding: 20px;
  }

  .defstage-step {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* حالت چاپ */
@media print {
  body, .defstage-container {
    background: white !important;
    color: black;
  }
  a {
    color: black !important;
    text-decoration: underline !important;
  }
  .defstage-branch {
    display: block !important;
  }
  .defstage-branch > summary {
    display: list-item !important;
  }
}


/* ===================================================
   فرمها
   =================================================== */
.bio-forms-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bio-form-card {
  background: #f9f9fb;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bio-form-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.bio-form-card h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.35rem;
  border-bottom: 2px solid #3498db;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.bio-form-card ul {
  list-style: none;
  padding-right: 0;
  margin: 0;
}

.bio-form-card li {
  margin: 0.6rem 0;
}

.bio-form-card a {
  text-decoration: none;
  color: #2980b9;
  font-weight: 500;
  display: inline-block;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.bio-form-card a:hover {
  background-color: #eaf7ff;
  color: #1a5276;
}

/* ===================================================
   خبر — نسخه نهایی: هاور جذاب + همه تصاویر کاملاً یکدست
   =================================================== */

.news-sec {
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.news-sec .news-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  direction: rtl;
  font-family: 'Tahoma', 'B Nazanin', 'IRANSans', sans-serif;
  line-height: 1.7;
  margin: 25px 0;
  padding: 25px;
  background-color: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.news-sec .news-main-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.news-sec .news-content {
  flex: 1;
  min-width: 300px;
  font-size: 1.06rem;
  color: #2d3748;
}

.news-sec .news-title {
  font-size: 1.65rem;
  font-weight: bold;
  color: #2c3e50;
  margin: 0 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 2.5px solid #e74c3c;
}

.news-sec .news-paragraph {
  margin: 0 0 14px 0;
}
.news-sec .news-paragraph:last-child {
  margin-bottom: 0;
}

/* === wrapper تصویر — با هاور قوی‌تر === */
.news-sec .news-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #eaeaea;
  background-color: #f8f9fa;
  position: relative;
  transition: 
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* شتاب هوشمندانه */
}

.news-sec .news-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ✅ هاور قوی‌تر و جذاب‌تر */
.news-sec .news-image-wrapper:hover {
  transform: translateY(-6px) scale(1.02); /* بالا آمدن + بزرگ‌نمایی */
  box-shadow: 
    0 10px 24px rgba(0, 0, 0, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.news-sec .news-image-wrapper:hover img {
  transform: scale(1.05); /* بزرگ‌نمایی داخلی بیشتر */
}

/* === موقعیت‌های خاص === */
.news-sec .news-sidebar-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 260px;
  flex-shrink: 0;
}

.news-sec .news-full-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

/* --- ریسپانسیو --- */
@media (max-width: 900px) {
  .news-sec .news-main-row {
    flex-direction: column;
    align-items: center;
  }

  .news-sec .news-content {
    max-width: 100%;
    text-align: justify;
  }

  .news-sec .news-sidebar-images {
    order: -1;
    width: 100%;
    max-width: 560px;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .news-sec .news-sidebar-images .news-image-wrapper {
    width: calc(50% - 8px);
  }

  .news-sec .news-full-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-sec .news-main-row {
    flex-direction: column;
    align-items: stretch;
  }

  .news-sec .news-sidebar-images {
    order: 0;
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .news-sec .news-full-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-sec .news-card {
    padding: 20px 12px;
  }

  .news-sec .news-title {
    font-size: 1.45rem;
  }

  .news-sec .news-content {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  /* در موبایل، هاور را کمی ملایم‌تر می‌کنیم (برای لمس بهتر) */
  .news-sec .news-image-wrapper:hover {
    transform: scale(1.01);
  }
  .news-sec .news-image-wrapper:hover img {
    transform: scale(1.03);
  }
}