:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --gray: #f9fafb;
  --text: #111827;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--gray);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  font-size: 1.5rem;
  font-weight: bold;
}
nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
  transition: opacity 0.3s;
}
nav a:hover {
  opacity: 0.8;
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

section {
  margin-bottom: 3rem;
}

      a {
          
    text-decoration: none; }

.hero {
  height: 60vh;
  background-image: url('https://placehold.co/1600x900?text=JKS+Karate ');
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.hero-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero button {
  background: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.hero button:hover {
  background: var(--primary-dark);
}

.features {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.testimonials {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.cards img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
}
.cards span {
  display: block;
  color: var(--primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.cards a {
  color: var(--primary);
  font-size: 0.875rem;
}

.form-container {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: auto;
}
.form-container h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.form-container button {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.form-container button:hover {
  background: var(--primary-dark);
}

.tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 0.5rem 1rem;
  background: #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s;
}
.tab-btn.active {
  background: var(--primary);
  color: white;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

footer {
  background: #e5e7eb;
  border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
}

.hidden {
  display: none;
}

.btn {
        margin-top: 20px; /* این خط را اضافه کنید */
    }

/* Desktop nav */
.desktop-nav {
  display: flex;
  gap: 1.5rem;
}
.desktop-nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}
.desktop-nav a:hover {
  opacity: 0.8;
}


/* Mobile menu button */
.mobile-menu-button {
  background-color: #0000FF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  top: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 15px 0;
  color: white;
  display: none;
  z-index: 9999;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 4rem; /* بعد از header */
  left: -100%;
  width: 100%;
  height: calc(100vh - 4rem);
  background: var(--primary-dark);
  padding: 1rem;
  z-index: 9999;
  flex-direction: column;
  transition: left 0.3s cubic-bezier(0.39, 0.58, 0.57, 1);
  overflow-y: auto;
}
.mobile-menu.show {
    display: flex;
}
.mobile-menu a {
  color: #fff; /* رنگ متن دکمه‌ها */
    padding: 12px 20px;
    text-decoration: none;
    display: block; /* باعث می‌شود هر لینک یک بلوک کامل را اشغال کند */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* جداکننده بین دکمه‌ها */
    transition: background-color 0.3s ease;
    font-size: 1.1em; /* اندازه فونت بزرگ‌تر */
}


.mobile-menu a:hover {
  background-color: #0000CC;
  opacity: 0.8;
}

.mobile-menu span {
    color: #fff !important; /* مطمئن می‌شویم رنگ سفید اعمال شود */
    padding: 12px 20px;
    display: block;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu span strong {
    font-weight: bold; /* برای برجسته‌تر شدن موجودی */
}

.mobile-menu a:last-child {
    border-bottom: none; /* خط زیرین برای آخرین آیتم حذف شود */
}

.mobile-menu.active {
  left: 0;
}

.hidden {
  left: -100%;
}
/* Popup Modal Styles */
.popup-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 20px; /* Add some padding around the content */
}

.popup-modal.show {
    display: flex; /* Show the modal using flexbox for centering */
}

.popup-content {
    background-color: #fefefe;
    margin: auto; /* Center content */
    padding: 30px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 90%; /* Could be more responsive */
    max-width: 500px; /* Max width for larger screens */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative; /* For absolute positioning of close button */
    text-align: center;
    transform: scale(0.9); /* Initial state for animation */
    opacity: 0; /* Initial state for animation */
    animation: fadeInScale 0.3s forwards; /* Animation on show */
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-content .close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-content .close-button:hover,
.popup-content .close-button:focus {
    color: #333;
    text-decoration: none;
}

.popup-content h2 {
    color: var(--primary-dark); /* Assuming you have a primary-dark variable */
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.popup-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.popup-content .popup-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.popup-content .popup-button {
    display: inline-block;
    background-color: var(--primary); /* Assuming you have a primary variable */
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.popup-content .popup-button:hover {
    background-color: var(--primary-dark);
}

/* --- استایل های بخش پروفایل در داشبورد --- */
.profile-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid; /* استفاده از گرید برای چیدمان دو ستونه */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* دو ستون با عرض حداقل 300px */
    gap: 20px; /* فاصله بین آیتم ها */
}

.profile-details-list .detail-item {
    display: flex; /* استفاده از فلکس برای چیدمان لیبل و مقدار در یک خط */
    flex-direction: column; /* چیدمان عمودی لیبل و مقدار */
    /* flex-wrap: wrap; /* اگر نیاز شد لیبل و مقدار در صفحه کوچک شکسته شوند */
    /* align-items: flex-start; /* چسباندن آیتم ها به ابتدای خط */
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
    word-break: break-word; /* شکستن کلمات طولانی */
}

.profile-details-list .detail-item.full-width {
     grid-column: 1 / -1; /* این آیتم کل عرض گرید را بگیرد */
}


.profile-details-list dt {
    font-weight: bold;
    color: var(--primary-dark); /* رنگ تیره تر برای عنوان */
    margin-bottom: 5px; /* فاصله از مقدار */
    font-size: 1.1em;
}

.profile-details-list dd {
    margin: 0; /* حذف مارجین پیش فرض dd */
    color: #333; /* رنگ متن مقدار */
    font-size: 1em;
    line-height: 1.5;
}

.profile-details-list dd a {
    color: var(--primary); /* رنگ لینک ها داخل پروفایل */
    text-decoration: none;
    transition: color 0.3s ease;
}

.profile-details-list dd a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}


/* --- استایل های دکمه عمومی و دکمه ویرایش پروفایل --- */
.button {
    display: inline-block; /* نمایش به صورت بلوک داخلی */
    padding: 10px 20px; /* پدینگ داخلی */
    border: none; /* بدون حاشیه */
    border-radius: 5px; /* گرد کردن لبه ها */
    font-size: 1em; /* اندازه فونت */
    cursor: pointer; /* تغییر شکل نشانگر ماوس */
    text-align: center; /* تراز متن وسط */
    text-decoration: none; /* حذف زیرخط لینک */
    transition: background-color 0.3s ease, opacity 0.3s ease; /* انیمیشن گذار */
    font-weight: bold; /* متن پررنگ */
}

.button.primary-button {
    background-color: var(--primary); /* رنگ پس زمینه اصلی (آبی) */
    color: white; /* رنگ متن سفید */
}

.button.primary-button:hover {
    background-color: var(--primary-dark); /* رنگ تیره تر هنگام هاور */
    opacity: 0.9;
}

/* اگر دکمه های دیگه با رنگ های دیگه هم داری میتونی کلاس های دیگه مثل .button.secondary-button بسازی */

/* استایل برای لینک مشاهده فایل ها در پروفایل */
.profile-details-list dd a {
    /* استایل های بالا برای لینک داخل dd */
}

/* Styles for the "تاریخچه پرداخت‌های شما" section */

.submission-history {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.submission-history h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 1.6em;
    font-weight: 700;
}

.submission-history table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.submission-history table th,
.submission-history table td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    text-align: right; /* Default to right for RTL */
}

.submission-history table th {
    background-color: #eef1f6;
    color: #555;
    font-weight: 600;
    white-space: nowrap; /* Prevent wrapping for headers */
}

.submission-history table td {
    background-color: #fff;
    color: #444;
}

.submission-history table tbody tr:nth-child(even) {
    background-color: #f6f8fa; /* Zebra striping for rows */
}

.submission-history table tbody tr:hover {
    background-color: #e9f0f7;
    cursor: default;
}

/* Specific styling for status column */
.submission-history .status-cell {
    font-weight: 600;
    text-align: center;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block; /* To allow padding/margin on text */
    min-width: 80px;
}

.submission-history .status-pending {
    background-color: #ffe0b2; /* Light orange */
    color: #e65100; /* Darker orange */
}

.submission-history .status-approved {
    background-color: #c8e6c9; /* Light green */
    color: #2e7d32; /* Darker green */
}

.submission-history .status-rejected {
    background-color: #ffcdd2; /* Light red */
    color: #c62828; /* Darker red */
}

.submission-history .no-submissions {
    text-align: center;
    padding: 40px;
    color: #777;
    font-size: 1.1em;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-top: 20px;
}
.popup-content {
        width: 95%;
        padding: 20px;
    }
    .popup-content h2 {
        font-size: 1.5em;
    }
    .popup-content .close-button {
        font-size: 24px;
        right: 15px;
    }

/* Responsive Table */
@media (max-width: 768px) {
    .submission-history table,
    .submission-history thead,
    .submission-history tbody,
    .submission-history th,
    .submission-history td,
    .submission-history tr {
        display: block;
    }

    .submission-history thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .submission-history tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
    }

    .submission-history td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%; /* Adjust as needed */
        text-align: left; /* Align text to left for mobile */
        white-space: normal;
    }

    .submission-history td:before {
        position: absolute;
        top: 12px;
        right: 15px; /* For RTL */
        width: 45%;
        padding-right: 10px; /* For RTL */
        white-space: nowrap;
        content: attr(data-label);
        font-weight: bold;
        color: #555;
    }

    /* Adjust padding for the first cell which might contain the status */
    .submission-history td:first-of-type {
        padding-top: 15px;
    }
  .desktop-nav {
    display: none;
  }
  .mobile-menu-button {
    display: block;
  }
  #menu-toggle {
    display: block;
    z-index: 10000;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 1.8rem;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, opacity 0.2s ease;
  }

  #menu-toggle:hover,
  #menu-toggle:focus {
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
  }
}

/* Styles for view link in table */
.submission-history .view-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.submission-history .view-link:hover {
    background-color: #0056b3;
}

/* استایل برای لینک توسعه‌دهنده در فوتر */
.footer-desc .developer-link {
    /* حذف خط زیر */
    text-decoration: none;
    /* رنگ متن (می‌توانید به رنگ دلخواه تغییر دهید) */
    color: #007bff; /* یک آبی روشن */
    /* فونت وزن */
    font-weight: bold; /* برای کمی برجسته تر شدن */
    /* تغییر رنگ هنگام هاور (شناور شدن موس) */
    transition: color 0.3s ease; /* انیمیشن نرم برای تغییر رنگ */
}

.footer-desc .developer-link:hover {
    color: #0056b3; /* رنگ کمی تیره تر هنگام هاور */
}
/* ---- استایل‌های نوتیفیکیشن‌های شناور مدرن (Modern Floating Notifications) ---- */

/* کانتینر اصلی برای نوتیفیکیشن‌ها */
.floating-notification-wrapper {
    position: fixed;
    top: 5rem; /* افزایش از 2rem به 3rem (برای دسکتاپ کمی پایین‌تر بیاد) */
    right: 2rem; /* 2 برابر اندازه فونت پایه از راست (برای دسکتاپ) */
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
    width: clamp(280px, 22vw, 400px);
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: 5px;
}
/* استایل هر آیتم نوتیفیکیشن */
.floating-notification-item {
    background-color: #ffffff; /* سفید تمیز */
    border-radius: 0.75rem; /* گردتر کردن گوشه‌ها */
    padding: 1.25rem 1.5rem; /* پدینگ داخلی بیشتر */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), /* سایه نرم‌تر و چندگانه */
                0 3px 6px rgba(0, 0, 0, 0.05);
    color: #333333; /* رنگ متن کمی تیره‌تر */
    font-family: 'Vazirmatn', sans-serif; /* فرض بر استفاده از یک فونت مدرن فارسی */
    font-size: 0.95rem; /* سایز فونت کمی بزرگتر */
    line-height: 1.5; /* فاصله خطوط بهتر */
    position: relative;
    overflow: hidden;
    transform: translateY(-100%) scale(0.8); /* شروع کوچک و از بالا (پنهان) */
    opacity: 0;
    animation: fadeInSlideDown 0.6s forwards cubic-bezier(0.2, 0.8, 0.2, 1); /* انیمیشن ورود شیک‌تر */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* برای انیمیشن خروج */
    pointer-events: auto; /* قابل کلیک بودن خود نوتیفیکیشن */
    display: flex; /* برای هم‌ترازی محتوا و دکمه */
    align-items: flex-start; /* هم‌ترازی بالا */
    text-align: right; /* راست چین */
    direction: rtl; /* برای پشتیبانی کامل از زبان فارسی */
}

/* استایل‌های مختلف بر اساس نوع نوتیفیکیشن */
.floating-notification-item.notification-success {
    border: 1px solid #d4edda; /* مرز ظریف‌تر */
    background-color: #d4edda; /* پس‌زمینه سبز روشن */
    color: #155724; /* متن سبز تیره */
}

.floating-notification-item.notification-error {
    border: 1px solid #f8d7da;
    background-color: #f8d7da;
    color: #721c24;
}

.floating-notification-item.notification-warning {
    border: 1px solid #fff3cd;
    background-color: #fff3cd;
    color: #856404;
}

.floating-notification-item.notification-info {
    border: 1px solid #d1ecf1;
    background-color: #d1ecf1;
    color: #0c5460;
}

/* دکمه بستن (X) */
.floating-notification-item .close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem; /* فاصله از راست (برای زبان فارسی) */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #b0b0b0;
    line-height: 1;
    padding: 0.3rem;
    transition: color 0.2s ease, transform 0.2s ease;
    border-radius: 50%;
}


.floating-notification-item .close-btn:hover {
    color: #777777;
    transform: rotate(90deg); /* چرخش دکمه هنگام هاور */
}

/* پاراگراف متن داخل نوتیفیکیشن */
.floating-notification-item p {
    flex-grow: 1;
    margin: 0;
    /* این مقدار رو برای جلوگیری از تداخل با دکمه بستن، بیشتر می‌کنیم */
    padding-left: 0; /* اگر از چپ فاصله نمی‌خواستیم */
    padding-right: 2.5rem; /* از 2rem به 2.5rem افزایش دادیم */
}



/* انیمیشن ورود: از بالا بیا و بزرگ شو و محو شو */
@keyframes fadeInSlideDown {
    0% {
        transform: translateY(-100%) scale(0.8);
        opacity: 0;
    }
    70% {
        transform: translateY(5%) scale(1.02); /* کمی پایین‌تر از محل نهایی و بزرگتر برای افکت فنری */
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* انیمیشن خروج: به بالا محو شو و کوچک شو */
.floating-notification-item.fade-out {
    opacity: 0;
    transform: translateY(-100%) scale(0.9); /* به سمت بالا حرکت کن */
}

/* Media Queries برای صفحه‌های کوچک‌تر (موبایل و تبلت) */
@media (max-width: 768px) {
    .floating-notification-wrapper {
        top: 5rem; /* برای موبایل: افزایش فاصله از بالا برای قرار گرفتن زیر هدر */
        left: 10rem;   /* برای موبایل: از چپ هم فاصله بگیره */
        right: auto; /* برای موبایل: راست رو آزاد کنه */
        width: auto;
        max-width: calc(100% - 2rem);
        gap: 0.75rem;
    }

    .floating-notification-item {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 0.6rem;
    }

    .floating-notification-item p {
        padding-right: 1.8rem; /* فاصله برای دکمه بستن روی موبایل */
    }

    .floating-notification-item .close-btn {
        font-size: 1.5rem;
        top: 0.6rem;
        right: 0.6rem; /* برای موبایل هم راست */
    }
}

/* Media Queries برای صفحه‌های خیلی کوچک (مثل گوشی‌های قدیمی) */
@media (max-width: 480px) {
    .floating-notification-wrapper {
        top: 5rem; /* اینجا هم افزایش دادیم */
        left: 0.75rem;
        right: auto;
        max-width: calc(100% - 1.5rem);
        gap: 0.6rem;
    }
    .floating-notification-item {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        border-radius: 0.5rem;
    }
    .floating-notification-item p {
        padding-right: 1.5rem;
    }
    .floating-notification-item .close-btn {
        font-size: 1.3rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* استایل‌های عمومی برای کادر پیام */
    .info-box {
        background-color: #eaf6ff; /* آبی روشن */
        border: 1px solid #a3d9ff; /* آبی */
        border-radius: 8px;
        padding: 15px 20px;
        margin-bottom: 20px;
        font-family: 'Arial', sans-serif; /* فونت خوانا */
        color: #333;
        line-height: 1.6;
        text-align: right; /* راست‌چین برای فارسی */
        direction: rtl; /* جهت متن برای فارسی */
    }

    /* استایل برای عنوان */
    .info-box h3 {
        color: #0056b3; /* آبی تیره */
        font-size: 1.4em;
        margin-top: 0;
        margin-bottom: 10px;
        text-align: center; /* عنوان در وسط */
    }

    /* استایل برای متن‌های عادی */
    .info-box p {
        margin-bottom: 10px;
    }

    /* استایل برای متن‌های مهم و برجسته */
    .info-box strong {
        color: #0056b3; /* آبی تیره برای برجسته */
        font-weight: bold;
    }

    /* استایل برای نکته مهم (با پس‌زمینه زرد ملایم) */
    .info-box .important-note {
        background-color: #fff8e1; /* زرد بسیار روشن */
        border-left: 5px solid #ffcc00; /* خط زرد در کنار */
        padding: 10px 15px;
        margin-top: 15px;
        margin-bottom: 0;
        border-radius: 4px;
        text-align: right;
        direction: rtl;
    }

    /* استایل برای لینک (اگر بخوای متنی رو لینک کنی) */
    .info-box .important-note a {
        color: #e02828; /* قرمز برای لینک مهم */
        text-decoration: underline;
        font-weight: bold;
    }
    
     /* استایل‌های عمومی برای کادر پیام */
    .login-info-box {
        background-color: #eaf6ff; /* آبی روشن */
        border: 1px solid #a3d9ff; /* آبی */
        border-radius: 8px;
        padding: 15px 20px;
        margin-bottom: 20px;
        font-family: 'Arial', sans-serif; /* فونت خوانا */
        color: #333;
        line-height: 1.6;
        text-align: right; /* راست‌چین برای فارسی */
        direction: rtl; /* جهت متن برای فارسی */
    }

    /* استایل برای متن‌های عادی */
    .login-info-box p {
        margin-bottom: 10px;
        font-size: 1.05em; /* کمی بزرگتر برای خوانایی */
    }

    /* استایل برای متن‌های مهم و برجسته */
    .login-info-box strong {
        color: #0056b3; /* آبی تیره برای برجسته */
        font-weight: bold;
    }

    /* استایل برای بخش فراموشی رمز عبور (با پس‌زمینه زرد ملایم) */
    .login-info-box .password-recovery-note {
        background-color: #fff8e1; /* زرد بسیار روشن */
        border-left: 5px solid #ffcc00; /* خط زرد در کنار */
        padding: 12px 18px;
        margin-top: 15px;
        margin-bottom: 0;
        border-radius: 4px;
        text-align: right;
        direction: rtl;
        font-size: 1.1em; /* کمی بزرگتر */
    }

    /* استایل برای لینک (اگر بخوای متنی رو لینک کنی) */
    .login-info-box .password-recovery-note a {
        color: #e02828; /* قرمز برای لینک مهم */
        text-decoration: underline;
        font-weight: bold;
    }
.main-footer {
    background-color: #2c3e50; /* یک رنگ تیره و قوی برای فوتر */
    color: #ecf0f1; /* رنگ متن روشن */
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    direction: rtl; /* برای راست به چپ */
    text-align: right;
    font-family: 'Vazirmatn', sans-serif; /* فرض می‌کنیم از فونت فارسی Vazirmatn استفاده می‌کنید */
    position: relative; /* برای قرارگیری صحیح در فوتر چسبان */
    bottom: 0;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* برای ریسپانسیو بودن و شکستن به خط بعد در صفحات کوچک */
    justify-content: space-between; /* پخش شدن بخش‌ها در عرض */
    max-width: 1200px; /* حداکثر عرض فوتر */
    margin: 0 auto; /* قرارگیری در مرکز */
    gap: 30px; /* فاصله بین ستون‌ها */
}

.footer-section {
    flex: 1; /* هر بخش حداقل فضایی را اشغال کند */
    min-width: 220px; /* حداقل عرض هر بخش برای جلوگیری از خیلی کوچک شدن */
    margin-bottom: 20px; /* فاصله بین بخش‌ها در حالت ریسپانسیو */
}

.footer-brand .footer-logo img {
    max-width: 150px; /* اندازه لوگو */
    margin-bottom: 15px;
}

.footer-brand .brand-slogan {
    font-size: 1.3em;
    font-weight: bold;
    color: #3498db; /* رنگ برند */
    margin-bottom: 10px;
}

.footer-brand .brand-description {
    font-size: 0.9em;
    line-height: 1.6;
    color: #bdc3c7;
}

.main-footer h4 {
    font-size: 1.1em;
    color: #3498db; /* رنگ عنوان بخش‌ها */
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

/* خط زیر عنوان‌ها */
.main-footer h4::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #3498db; /* رنگ هاور لینک‌ها */
}

.footer-contact p {
    font-size: 0.95em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: #3498db;
    margin-left: 10px; /* فاصله آیکون از متن */
    font-size: 1.1em;
}

.footer-contact p a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact p a:hover {
    color: #3498db;
}

.social-icons a {
    color: #ecf0f1;
    font-size: 1.8em;
    margin-left: 15px; /* فاصله بین آیکون‌ها */
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #3498db;
    transform: translateY(-3px); /* افکت کوچک هنگام هاور */
}

/*
.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 0.9em;
    background-color: #34495e;
    color: #ecf0f1;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #2980b9;
} */

.footer-bottom {
    border-top: 1px solid #34495e; /* خط جداکننده */
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85em;
    color: #bdc3c7;
}

.footer-legal-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #3498db;
}

/* === Media Queries for Responsiveness === */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* در موبایل ستون‌ها زیر هم قرار می‌گیرند */
        align-items: center; /* تراز کردن بخش‌ها در مرکز */
        text-align: center; /* تراز کردن متن در مرکز */
    }

    .footer-section {
        min-width: unset; /* حذف حداقل عرض در موبایل */
        width: 100%; /* اشغال عرض کامل در موبایل */
        margin-bottom: 30px;
    }

    .footer-brand .footer-logo img {
        margin-bottom: 10px;
    }

    .main-footer h4::after {
        left: 50%; /* تراز کردن خط زیر عنوان در مرکز */
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center; /* تراز کردن آیکون و متن در مرکز */
    }

    .footer-contact p i {
        margin-right: 10px; /* تغییر فاصله آیکون در راست به چپ */
        margin-left: 5px;
    }

    .social-icons a {
        margin: 0 10px; /* فاصله بین آیکون‌ها در موبایل */
    }

    .footer-legal-links {
        margin-top: 15px;
    }
}