body {
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.navbar {
  background-color: #1d1f44;
  opacity: 0.95;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: relative;
  z-index: 1000;
  border-radius: 8px;
  margin: 10px 20px;
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  color: #696cff;
  font-weight: bold;
}

  .navbar-brand img {
    height: 60px;
    width: auto;
  }

.navbar-nav {
  display: flex;
  align-items: center;
}

  .navbar-nav .nav-link {
    color: #6c757d;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
  }

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
      color: #696cff;
      transform: translateY(-2px);
    }

.auth-links {
  flex-direction: row;
  align-items: center;
}

  .auth-links .nav-link {
    color: #696cff;
    border: 1px solid #696cff;
    padding: 8px 15px;
    border-radius: 5px;
    margin-left: 10px;
    transition: all 0.3s ease;
  }

    .auth-links .nav-link:hover {
      background-color: #696cff;
      color: #ffffff;
      transform: translateY(-2px);
    }

.navbar-toggler {
  border: none;
  padding: 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(105,108,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.footer {
  background-color: #1d1f44;
  opacity: 0.95;
  box-shadow: 0 -2px 25px rgba(0, 0, 0, 10);
  padding: 40px 0;
  margin-top: auto;
  padding-bottom: 0;
  margin-bottom: 0;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-topright: 20px;
}

.footer-logo img {
  max-width: -webkit-fill-available;
  margin-bottom: 20px;
  text-shadow: 0 -2px 25px rgba(0, 0, 0, 10);
}

.footer h5 {
  font-size: 1.1rem;
  color: #696cff;
  margin-bottom: 20px;
}

.footer p, .footer a {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.8;
}

  .footer a:hover {
    color: #696cff;
  }

.footer .quick-links, .footer .useful-links {
  list-style: none;
  padding: 0;
}

  .footer .quick-links li, .footer .useful-links li {
    margin-bottom: 10px;
  }

.footer .symbols img,
.footer .footer-social-symbol {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  margin: 10px;
  display: inline-block;
}

.footer .symbols-install {
  max-width: 100%;
}

.pwa-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 12px 16px;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pwa-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.pwa-install-btn-preview {
  pointer-events: auto;
}

.pwa-install-btn-preview:hover .pwa-install-icon,
.pwa-install-btn:hover .pwa-install-icon {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.pwa-install-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pwa-install-note {
  font-size: 0.85rem;
  opacity: 0.85;
}

.designer-line {
  background-color: #141428;
  padding: 8px 0;
  font-size: 0.8rem;
  color: #6c757d;
  border-top: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

  .designer-line .copyright {
    margin-right: 20px;
  }

  .designer-line .designer {
    margin-left: 20px;
  }

  .designer-line a {
    color: #696cff;
    text-decoration: none;
  }

    .designer-line a:hover {
      text-decoration: underline;
    }



.misc-wrapper2 {
  display: block;
  align-items: center;
  text-align: start;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(240, 248, 255, 0.5));
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px; /* فاصله پیش‌فرض */
}
.misc-wrapper3 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(240, 248, 255, 0.5));
  border-radius: 20px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px; /* فاصله پیش‌فرض */
}
.misc-wrapper-news {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(240, 248, 255, 0.5));
  border-radius: 20px;
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px; /* فاصله پیش‌فرض */
}

.news-page-title-shell {
  padding: 30px 20px;
  margin: 20px 0;
}

.news-page-title-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 25px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.news-page-title-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.news-page-title-card__heading {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #0d3078;
}

.news-page-title-card__heading .bx {
  font-size: 1em;
  line-height: 1;
  color: inherit;
}

.news-page-title-card__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

@media (max-width: 768px) {
  .news-page-title-shell {
    padding: 20px 12px;
    margin: 16px 0;
  }

  .news-page-title-card {
    padding: 16px;
    gap: 0.75rem;
  }


}
  .misc-wrapper:hover, .misc-wrapper2:hover, .misc-wrapper-news, .misc-wrapper3:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  }

.bx {
  font-size: 1.2rem;
}

.app-brand-text {
  font-size: 2.5rem;
}

.company-card, .news-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  align-items: center;
}

  .company-card:hover, .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  .company-card img {
    margin-top: 25px;
    margin-bottom: 25px;
    margin-right: 25px;
    margin-left: 25px; /* مربعی بودن */
  }

.company-card-body {
  width: 100%;
}

/* ── Jobs Page ── */
.jobs-page-title-shell {
  padding: 30px 20px 10px;
  margin: 20px 0 0;
}

.jobs-page-title-card {
  padding: 1.75rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 48, 120, 0.08) 0%, rgba(102, 126, 234, 0.14) 100%);
  border: 1px solid rgba(13, 48, 120, 0.08);
  box-shadow: 0 8px 28px rgba(13, 48, 120, 0.08);
}

.jobs-page-title-card__heading {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #0d3078;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.jobs-page-title-card__heading .bx {
  font-size: 1.15em;
}

.jobs-page-title-card__subtitle {
  color: #5a6478;
  font-size: 0.95rem;
}

.jobs-page-content {
  padding-bottom: 3rem;
}

.jobs-page-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(13, 48, 120, 0.15);
}

.jobs-page-empty .bx {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 0.75rem;
}

.jobs-page-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 576px) {
  .jobs-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .jobs-page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .jobs-page-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .jobs-page-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.jobs-page-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(13, 48, 120, 0.08);
  box-shadow: 0 4px 16px rgba(13, 48, 120, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.jobs-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.18);
}

.jobs-page-card__header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.jobs-page-card__logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(13, 48, 120, 0.1);
  flex-shrink: 0;
}

.jobs-page-card__header-text {
  min-width: 0;
  flex: 1;
}

.jobs-page-card__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0d3078;
  margin: 0 0 0.15rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jobs-page-card__company {
  font-size: 0.72rem;
  color: #6c757d;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jobs-page-card__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.jobs-page-card__meta li {
  font-size: 0.72rem;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.jobs-page-card__meta .bx {
  font-size: 0.9rem;
  color: #667eea;
}

.jobs-page-card__skills {
  font-size: 0.68rem;
  color: #6c757d;
  margin: 0 0 0.55rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jobs-page-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(13, 48, 120, 0.06);
}

.jobs-page-card__date {
  font-size: 0.65rem;
  color: #8a94a6;
  white-space: nowrap;
}

.jobs-page-card__date .bx {
  margin-left: 0.15rem;
  vertical-align: middle;
}

.jobs-page-card__btn {
  border-radius: 999px;
  font-size: 0.68rem;
  padding: 0.25rem 0.55rem;
  color: #fff;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  white-space: nowrap;
}

.jobs-page-card__btn:hover {
  color: #fff;
  opacity: 0.92;
  transform: translateY(-1px);
}

.jobs-page-card__footer--action-only {
  justify-content: center;
}

@media (max-width: 575px) {
  .jobs-page-title-card {
    padding: 1.25rem 1rem;
  }

  .jobs-page-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-page-card__btn {
    width: 100%;
  }
}

/* ── About Us Page ── */
.about-us-page-body {
  padding: 1.75rem 2rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(13, 48, 120, 0.08);
  box-shadow: 0 8px 28px rgba(13, 48, 120, 0.08);
}

.about-us-page-body--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-us-page-body__content {
  min-width: 0;
  line-height: 1.9;
  color: #3a4556;
  text-justify: inter-word;
  overflow-wrap: anywhere;
}

.about-us-page-body__content > p:not([class*="ql-align"]) {
  text-align: justify;
}

.about-us-page-body--split .about-us-page-body__content {
  grid-column: 1;
}

.about-us-page-body__content p:last-child {
  margin-bottom: 0;
}

.about-us-page-body__content a,
.about-us-page-body__content img,
.about-us-page-body__content iframe,
.about-us-page-body__content embed {
  max-width: 100%;
}

.about-us-page-body__content a img {
  display: inline-block;
  height: auto;
}

.about-us-page-body__media {
  min-width: 0;
}

.about-us-page-body--split .about-us-page-body__media {
  grid-column: 2;
}

.about-us-page-body__image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(13, 48, 120, 0.1);
  box-shadow: 0 8px 24px rgba(13, 48, 120, 0.12);
}

@media (max-width: 767px) {
  .about-us-page-body {
    padding: 1.25rem 1rem;
  }

  .about-us-page-body--split {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-us-page-body--split .about-us-page-body__media {
    grid-column: 1;
    grid-row: 1;
  }

  .about-us-page-body--split .about-us-page-body__content {
    grid-column: 1;
    grid-row: 2;
  }

  .about-us-page-body__image {
    max-width: 320px;
    margin: 0 auto;
  }
}

.news-card {
  display: flex;
  align-items: baseline;
}

  .news-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-left: 30px; /* افزایش فاصله از متن */
  }

  .news-card a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

    .news-card a:hover {
      color: #0056b3;
    }
.news-card-body {
  align-content: revert;
  align-items: revert;
  text-align: justify;
  text-align-last: right;
}
card-body {
  background: linear-gradient(135deg, #f8f9fa, #ffffff); /* گرادیان به سفید */
}
/* تنظیمات ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .misc-wrapper, .misc-wrapper2, .misc-wrapper3 {
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px; /* فاصله کمتر در موبایل */
  }

  .company-card img {
    height: 150px;
    width: 150px; /* مربعی در موبایل */
  }


  .app-brand-text {
    font-size: 2rem;
  }

  .news-card {
    flex-direction: column;
    align-items: baseline;
    text-align: right;
  }

    .news-card img {
      margin-left: 15px;
      margin-right: -15px;
      vertical-align: top;
    }
  .company-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

    .company-card img {
      height: auto;
      margin-top: 25px;
      margin-bottom: 25px;
    }
  .navbar-nav {
    flex-direction: column;
    background-color: #f5f5f5;
    opacity: 0.95;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    align-items: revert;
  }

    .navbar-nav .nav-link {
      margin: 5px 0;
      margin-right: 20px;
      font-size: 1rem;
    }

  .nav-item {
    padding: 5px 0;
  }

  .footer .row {
    flex-direction: column;
    padding-right: 25px;
  }

  .footer .col-md-3 {
    width: 100%;
    margin-bottom: 30px;
  }

  .designer-line {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .auth-links {
    flex-direction: row;
    align-items: baseline;
  }

    .auth-links .nav-link {
      margin: 0px 0;
      width: max-content;
      text-align: center;
    }
  nav-link {
    margin-left: 20px;
  }

  .footer-logo img {
    max-width: -webkit-fill-available;
  }

  .footer h5 {
    margin-top: 20px;
    font-size: 1.2rem;
  }

  .footer .symbols img,
  .footer .footer-social-symbol {
    width: 56px;
    height: 56px;
  }
}
/* تنظیمات دسکتاپ برای فوتر */

.container-xxl, .container-sm {
  margin-bottom: 30px; /* فاصله بین container ها */
}
i.bx.bx-news.icon-120px {
  vertical-align: -25px;
}
i.bx.bxs-factory.icon-120px
{
  vertical-align: -25px;
}
