@font-face {
  font-family: "IRANSans";
  src: url("fonts/IRANSansWeb.eot");
  src: url("fonts/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
    url("fonts/IRANSansWeb.woff") format("woff"),
    url("fonts/IRANSansWeb.woff2") format("woff2"),
    url("fonts/IRANSansWeb.ttf") format("truetype");
  font-weight: normal;
}

body {
  font-family: "IRANSans";
}

#mobile-menu-sidebar.active {
  transform: translateX(0);
}

.search-btn {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.search-input {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.backdrop.open {
  opacity: 1;
  visibility: visible;
}

.accordion-header {
  text-align: right;
}

.accordion-content {
  display: none;
}

@media screen and (max-width: 360px) {
  .auth-buttons button {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.7rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media screen and (min-width: 640px) and (max-width: 767px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .mobile-header {
    /* justify-content: space-between !important; */
    width: 100% !important;
  }
}

.gradient-bg {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
}

.contact-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(34, 197, 94, 0.1);
}

.contact-card:hover {
  border-color: #22c55e;
}

.office-card {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  transition: all 0.3s ease;
}

.office-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-pattern {
  background: rgba(34, 197, 94, 1);
}

.contact-icon {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.w-fit-content {
  width: fit-content;
}

.h-fit-content {
  height: fit-content;
}

.image-container {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .contact-card {
    text-align: center;
  }

  .image-container {
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .office-card {
    flex-wrap: wrap;
  }
}

.article-card:hover .article-title {
  color: #22c55e;
}

[dir="rtl"] .rotate-180 {
  transform: rotate(180deg);
}

.blog-list-search {
  left: 0.5rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: right;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: #1f2937;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: #1f2937;
}

.article-content ul {
  list-style-type: disc;
  padding-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

[dir="rtl"] .breadcrumb svg {
  transform: rotate(180deg);
}

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
  .touch-target {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Mobile filter modal */
#mobile-filter-modal {
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(100%);
}

#mobile-filter-modal.show {
  transform: translateY(0);
}

.custom-green {
  background-color: #22c55e;
}

.custom-orange {
  background-color: #ffc600;
}

.text-custom-green {
  color: #22c55e;
}

.text-custom-orange {
  color: #ffc600;
}

.border-custom-green {
  border-color: #22c55e;
}

.hover-custom-green:hover {
  background-color: #16a34a;
}

.hover-custom-orange:hover {
  background-color: #ffc600;
}

.skill-tag {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: #22c55e;
  color: white;
}

.star-rating {
  color: #fbbf24;
}

.progress-bar {
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.signature {
  font-family: "IRANSans";
  font-size: 2rem;
  color: #22c55e;
}

.title-about,
.name-about {
  text-align: right;
}

.bg-yellow-custom {
  background-color: #ffc600;
}

.select2-container.select2-container--default {
  /* width: 100% !important; */
  padding: 0.5rem 0.75rem !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  background-color: #fff !important;
}

.select2-selection {
  border: 0 !important;
  width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: -webkit-fill-available !important;

}

.select2-dropdown.select2-dropdown--below {
  top: 0 !important;
}

.select2-container .select2-search--inline .select2-search__field {
  height: 23px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: rgb(220 252 231) !important;
  border: 1px solid rgb(220 252 231) !important;
  color: #22c55e;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 1px solid #22c55e !important;
  border-left: none !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove span {
  color: #22c55e !important;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
  font-size: 12.5px;
  font-weight: 100;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #22c55e !important;
  color: white;
}

.select2-search__field {
  font-family: "IRANSans" !important;
}

.bid-btn {
  width: 130px;
  margin-right: auto;
  margin-top: 20px !important;
}

.bid-btn span {

  font-size: 13px;
  font-weight: 100;
}

.btn-outline-danger,
.btn-outline-success {
  border: 1px solid #EAECF0;
}


.notif-badge {
  transform: translate(50%, -50%) !important;
  display: inline-block;
  padding: .35em .65em;
  font-size: .75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50px;
  right: 5px;
  top: 5px;
}

.navbar-right-chat:hover {
  background-color: var(--main-color-one);
}


.profile-hover:hover {
  background-color: transparent !important;
  color: initial !important;
}

@media screen and (min-width: 768px) {

  .desktop-header-btn {
    display: block !important;
  }

  .mobile-header-btn {

    display: none !important;
  }
}

@media (min-width: 300px) and (max-width: 991.98px) {
  .show-nav-content {
    margin-top: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media screen and (max-width: 767px) {
  .desktop-header-btn {
    display: none;
  }

  .mobile-header-btn {
    align-items: center;
    display: flex;
    margin-right: auto;
  }
}

.navbar-right-item:hover .dropdown {
  display: block;
}

.rtl .dropdown {
  left: auto;
  right: 0;


}

.notif-width {
  width: 24rem;
  /* overflow-y: auto; */
  scrollbar-width: thin;
  scrollbar-color: #d4d4d4 #f1f1f1;

}

@media screen and (max-width: 400px) {
  .notif-width {
    width: 20rem;
  }


}

.notification-date {
  color: rgb(95, 100, 104);
  font-size: 14px;
  margin: 10px 0;
}

.notification-button {
  position: fixed;
  bottom: 0px;
  background-color: rgb(255, 255, 255);
  padding: 8px 16px;
  width: 380px;
  margin-top: auto;

}

.notification-button-hover:hover {
  background-color: rgba(34, 197, 94, 1) !important;
}

@media screen and (max-width:400px) {
  .notification-button {
    width: 320px;

  }

}

.tag {
  width: 110px;
  background-size: contain;
  height: 100px;
  background-image: url(../../img/tag.png);
  background-position: center;
  display: flex;
  justify-content: center;
  background-repeat: no-repeat;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: 110px;
  transform: translate(20%, -20%);
}

.tag span {
  font-size: 14px;
  color: #fff;
  text-align: center;
  z-index: 1;
  position: relative;
  bottom: 7px;
  left: 8px;
}

.tag-choose {
  width: 150px;
  background-size: contain;
  height: 100px;
  background-image: url(../../img/tag.png);
  background-position: center;
  display: flex;
  justify-content: center;
  background-repeat: no-repeat;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  transform: translate(20%, -20%);
}

.tag-choose span {
  font-size: 14px;
  color: #fff;
  text-align: center;
  z-index: 1;
  position: relative;
  bottom: 10px;
  left: 8px;
}

.notification-date {
  font-size: 12px;
  text-align: left;
}

.toggle-eye {
  left: 0;
}