@font-face {
  font-family: 'IranSans';
  src: url('Font/IRANSans-web.eot') format('eot'),
    url('Font/IRANSans-web.woff2') format('woff2'),
    url('Font/IRANSans-web.woff') format('woff'),
    url('Font/IRANSans-web.ttf') format('truetype');
}

* {
  font-family: 'IranSans' !important;
  box-sizing: border-box;
}

td,
th {
  white-space: nowrap;
}

/* ========================================
   Utility Classes
   ======================================== */
.glass-box {
  background: linear-gradient(259.02deg, rgba(255, 255, 255, 0.064) 23.47%, rgba(255, 255, 255, 0.16) 97.11%);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  justify-items: center;
  justify-content: center;
}

.glass-icon-box {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sec3-bg {
  background: linear-gradient(69.27deg, #67A2FF 2.95%, #2E67C3 75%, #20519F 111.08%);
  overflow: hidden;
  min-height: 400px;
}

.cheque-sec3-bg {
  background: linear-gradient(69.27deg, #C084FC 2.95%, #9333EA 75%, #7E22CE 111.08%);
  overflow: hidden;
  min-height: 400px;
}

.asset-sec3-bg {
  background: linear-gradient(69.27deg, #5172c3 2.95%, #354766 75%, #1d2a4a 111.08%);
  overflow: hidden;
  min-height: 400px;
}

.white-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  transition: all 0.5s;
}

.white-btn svg {
  transition: all 0.5s;
}

.white-btn:hover svg {
  color: white !important;
}

.border-btn:hover svg {
  color: #2E67C3 !important;
}

.text-gradient {
  background: linear-gradient(180deg, #27272A -26.79%, #FFFFFF 100.46%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.blog-section {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('../images/blog-bg.png') center/contain;
  background-blend-mode: hard-light;
}

.category-btn.active {
  background-color: rgba(235, 243, 254, 1) !important;
  color: rgba(60, 131, 245, 1) !important;
  border-radius: 100px;
}

.blog-image {
  width: 25%;
  border-radius: 8px;
}

.article-tag {
  background-color: rgba(235, 243, 254, 1) !important;
  color: rgba(60, 131, 245, 1) !important;
  border-radius: 100px;
  min-width: 90px;
}

.rating-stars button:hover,
.rating-stars button:hover~button {
  color: #eab308 !important;
}

.img-shadow {
  position: relative;
  display: inline-block;
}

.img-shadow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 70%;
  height: 20px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  filter: blur(8px);
}

/* ========================================
   Header Styles
   ======================================== */
header.scrolled {
  background-color: white !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

header.scrolled nav a {
  color: #374151 !important;
}

header.scrolled nav a:hover {
  color: #3C83F5 !important;
}

header.scrolled #servicesBtn {
  color: #374151 !important;
}

header.scrolled nav .border-btn {
  color: rgba(82, 82, 91, 1) !important;
  border: 1px solid rgb(191, 191, 191) !important;
  background-color: transparent;
}

header.scrolled .white-btn {
  background-color: #3C83F5 !important;
  color: white !important;
}

header.scrolled .white-btn:hover {
  background-color: #2A5CAB !important;
}

/* ========================================
   Snap Scroll Styles
   ======================================== */
html.snap-scroll {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
  height: 100dvh;
  scroll-padding-top: 70px;
}

html.snap-scroll body {
  margin: 0;
  padding: 0;
}

.snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@supports not (height: 100dvh) {
  .snap-section {
    height: 100vh;
    max-height: 100vh;
  }
}

.snap-section.hero-section {
  min-height: 100dvh;
  justify-content: flex-start;
  padding-top: 10px;
  margin-top: 0;
}

.snap-section.content-section {
  min-height: 97dvh;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 2rem;
}

.snap-section.footer-section {
  min-height: auto;
  scroll-snap-align: end;
}

html.snap-scroll.loaded body {
  scroll-snap-type: y mandatory;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 20;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.snap-nav {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
}

.snap-nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(60, 131, 245, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.snap-nav-dot:hover,
.snap-nav-dot.active {
  background-color: #3C83F5;
  border-color: #3C83F5;
  transform: scale(1.2);
}

.section-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* ========================================
   Modal & Animation Styles
   ======================================== */
.tick-animation {
  animation: draw-tick 0.6s ease-in-out forwards;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

@keyframes draw-tick {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.pooyesh-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-family: system-ui, -apple-system, sans-serif;
}

.pooyesh-modal.active {
  opacity: 1;
  visibility: visible;
}

.pooyesh-modal-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin: 1rem;
}

.pooyesh-modal.active .pooyesh-modal-content {
  transform: translateY(0);
}

/* Success Animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4CAF50;
  animation: border-animation 0.5s ease-out;
}

.icon-line {
  height: 5px;
  background-color: #4CAF50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
  animation-fill-mode: forwards;
}

.icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

.icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(76, 175, 80, 0.5);
  animation: circle-animation 0.5s ease-out;
}

.icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: white;
}

@keyframes border-animation {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes circle-animation {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }

  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }

  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }

  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }

  100% {
    width: 25px;
    left: 14px;
    top: 45px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }

  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }

  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }

  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================================
   Survey Popup Styles
   ======================================== */
.survey-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.survey-popup.hidden {
  display: none;
}

.survey-popup-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.survey-popup-container {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 500px;
  max-height: 95vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.survey-options {
  max-height: 50vh;
  overflow-y: scroll;
}

.result-content {
  max-height: 50vh;
  overflow-y: scroll;
}

.survey-options::-webkit-scrollbar,
.result-content::-webkit-scrollbar {
  width: 4px;
}

.survey-options::-webkit-scrollbar-track,
.result-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.survey-options::-webkit-scrollbar-thumb,
.result-content::-webkit-scrollbar-thumb {
  background: #3C83F5;
  border-radius: 4px;
}

.survey-step {
  display: none;
}

.survey-step.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Survey Header */
.survey-header {
  text-align: center;
  margin-bottom: 2rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid #d4d4d8;
  background: white;
  color: #d4d4d8;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.step-number.active {
  border-color: #3C83F5;
  background: #3C83F5;
  color: white;
}

.step-number.completed {
  border-color: #10b981;
  background: #10b981;
  color: white;
}

.step-line {
  width: 3rem;
  height: 2px;
  background: #d4d4d8;
  transition: background 0.2s ease;
}

.step-line.active {
  background: #3C83F5;
}

.survey-subtitle {
  color: #71717a;
  font-size: 0.875rem;
}

/* Survey Options */
.single-option-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
}

.single-option-btn {
  border: 2px solid #d4d4d8;
  border-radius: 0.75rem;
  padding: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: right;
  width: 100%;
}

.single-option-btn:hover {
  border-color: #3C83F5;
  transform: translateY(-2px);
  background: #f8fafc;
}

.single-option-btn.selected {
  border-color: #3C83F5;
  background: #eff6ff;
}

.single-option-box {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  border: 2px solid #d4d4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

.single-option-btn.selected .single-option-box {
  border-color: #3C83F5;
  background: #3C83F5;
}

.single-option-btn.selected .single-option-box::after {
  content: '';
  width: 0.75rem;
  height: 0.75rem;
  background: white;
  border-radius: 0.125rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.single-option-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #18181b;
  text-align: right;
  flex-grow: 1;
}

/* Error Message */
.error-message {
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  animation: shake 0.3s ease-in-out;
}

.error-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Survey Footer */
.survey-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid #e4e4e7;
}

.survey-footer.single-button {
  justify-content: flex-end;
}

.survey-btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #3C83F5;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.survey-btn-primary:hover:not(:disabled) {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 131, 245, 0.3);
}

.survey-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.survey-btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #f4f4f5;
  color: #52525b;
  border: none;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.survey-btn-secondary:hover:not(:disabled) {
  background: #e4e4e7;
  transform: translateY(-2px);
}

.survey-btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading State */
.loading-container {
  text-align: center;
  padding: 3rem 1rem;
}

.loading-spinner {
  margin-bottom: 1.5rem;
}

.loading-spinner svg {
  animation: spin 1s linear infinite;
}

.loading-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 0.5rem;
}

.loading-subtitle {
  color: #71717a;
}

/* ========================================
   Result Popup Styles
   ======================================== */
.result-header {
  text-align: center;
  margin-bottom: 2rem;
}

.success-icon {
  margin-bottom: 1rem;
}

.result-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #18181b;
  margin-bottom: 0.5rem;
}

.result-subtitle {
  color: #71717a;
  font-size: 0.875rem;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.software-card {
  border: 2px solid #e4e4e7;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: block;
  position: relative;
}

.software-card:hover {
  border-color: #3C83F5;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(60, 131, 245, 0.1);
}

.software-icon {
  margin-bottom: 1rem;
  color: #3C83F5;
}

.software-icon svg {
  width: 30px !important;
}

.software-name {
  font-size: 0.7rem;
}

.software-card {
  padding: 0.5rem;
}

.software-name {
  font-size: 1rem;
  font-weight: 600;
  color: #18181b;
  margin-bottom: 0.5rem;
}

.software-description {
  font-size: 0.875rem;
  color: #71717a;
}

.result-note {
  text-align: center;
  color: #71717a;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.result-footer {
  text-align: center;
}

/* Recommended Product */
.software-card.recommended {
  background-color: #EFF6FF !important;
  border: 2px solid #2563EB !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.software-card.recommended:hover {
  background-color: #DBEAFE !important;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.software-card.recommended .software-name {
  color: #1E40AF !important;
}

.software-card.recommended .software-icon svg path {
  stroke: #2563EB !important;
}

.selected-tick {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 10;
  animation: popIn 0.3s ease-out;
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
  .section-title {
    margin-top: 10px !important;
  }
}

@media (max-width: 768px) {
  html.snap-scroll {
    scroll-snap-type: y proximity;
  }

  .snap-section {
    scroll-snap-stop: normal;
    min-height: auto;
  }

  .snap-section.hero-section {
    min-height: 100vh;
  }

  .snap-section.content-section {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .snap-nav {
    display: none;
  }

  p {
    font-size: 0.75rem;
  }

  h1 {
    font-weight: 800;
  }
}

@media (max-width: 640px) {
  .pooyesh-modal-content {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1rem;
  }

  .success-checkmark {
    width: 70px;
    height: 70px;
  }

  .check-icon {
    width: 70px;
    height: 70px;
  }

  .check-icon .icon-circle {
    width: 70px;
    height: 70px;
    top: -2px;
    left: -2px;
    border-width: 2px;
  }

  .icon-fix {
    height: 75px;
    display: none;
  }

  .icon-line.line-tip {
    top: 38px;
    left: 12px;
    width: 22px;
    height: 4px;
  }

  .icon-line.line-long {
    top: 32px;
    right: 9px;
    width: 38px;
    height: 4px;
  }

  .survey-popup-container {
    padding: 1.5rem;
    max-width: 90%;
    max-height: 85vh;
  }

  .step-number {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }

  .step-line {
    width: 1.5rem;
  }

  .step-indicator {
    gap: 0.25rem;
  }

  .survey-header {
    margin-bottom: 1.5rem;
  }

  .survey-subtitle {
    font-size: 0.75rem;
  }

  .single-option-btn {
    padding: 8px;
    gap: 0.5rem;
    min-height: 48px;
  }

  .single-option-text {
    font-size: 0.75rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .single-option-box {
    width: 1.25rem;
    height: 1.25rem;
  }

  .single-option-btn.selected .single-option-box::after {
    width: 0.6rem;
    height: 0.6rem;
  }

  #concernsInput {
    height: 120px;
    font-size: 0.75rem;
  }

  .survey-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    gap: 0.5rem;
  }

  .survey-btn-primary,
  .survey-btn-secondary {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    min-height: 44px;
  }

  .survey-btn-primary svg,
  .survey-btn-secondary svg {
    width: 1rem;
    height: 1rem;
  }

  .loading-container {
    padding: 2rem 1rem;
  }

  .loading-spinner svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  .loading-title {
    font-size: 1rem;
  }

  .loading-subtitle {
    font-size: 0.75rem;
  }

  .error-message {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  #otherFieldInput {
    height: 2.5rem;
    font-size: 0.75rem;
    padding: 0 0.75rem;
    min-height: 44px;
  }

  .single-option-grid {
    gap: 8px;
  }

  .software-icon {
    margin-bottom: 0.5rem;
  }

  .software-icon svg {
    width: 30px !important;
  }

  .software-name {
    font-size: 0.7rem;
  }

  .software-card {
    padding: 0.5rem;
  }
}

@media (max-width: 380px) {
  .survey-popup-container {
    padding: 1rem;
  }

  .step-number {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.7rem;
  }

  .step-line {
    width: 1rem;
  }

  .modal-title {
    font-size: 1.125rem;
  }

  .single-option-btn {
    padding: 6px;
  }

  .single-option-text {
    font-size: 0.7rem;
  }

  .single-option-box {
    width: 1.125rem;
    height: 1.125rem;
  }

  .survey-footer {
    flex-direction: column;
  }

  .survey-footer:not(.single-button) {
    flex-direction: column-reverse;
  }

  .survey-btn-primary,
  .survey-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .success-checkmark {
    width: 60px;
    height: 60px;
  }

  .check-icon {
    width: 60px;
    height: 60px;
  }

  .check-icon .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-line.line-tip {
    top: 32px;
    left: 8px;
    width: 18px;
    height: 5px;
  }

  .icon-line.line-long {
    top: 27px;
    right: 6px;
    width: 32px;
    height: 5px;
  }
}

/* Button Styles */
.start-survey-btn {
  background: linear-gradient(135deg, #3C83F5 0%, #2A5CAB 100%);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  display: inline-flex section-title;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  min-width: 120px;
}

.start-survey-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(60, 131, 245, 0.3);
}

#closeResult.survey-btn-primary {
  background-color: #2563EB;
}

#closeResult.survey-btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.faq-section::-webkit-scrollbar {
  width: 4px;
}

.faq-section::-webkit-scrollbar-track {
  background-color: rgb(233, 233, 233);
  border-radius: 4px;
}

.faq-section::-webkit-scrollbar-thumb {
  background-color: rgb(207, 207, 208);
  border-radius: 4px;
}

/* panel sidebar */
#sidebar {
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 1023px) {
  #sidebar {
    transform: translateX(100%);
  }

  #sidebar.show {
    transform: translateX(0);
  }

  main {
    margin-right: 0 !important;
  }
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 35;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

#training-filter-section .filter-btn.active:hover,
#download-filter-section .filter-btn.active:hover {
  color: rgb(182, 225, 247);
}


.faq-section::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
  width: 4px;
}

.faq-section::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
  background-color: rgb(233, 233, 233);
  border-radius: 4px;
}

.faq-section::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
  background-color: rgb(207, 207, 208);
  border-radius: 4px;
}


/* Swiper CSS and JS  */
.swiper {
  padding: 10px 5px !important;
  overflow: visible !important;
}

.swiper-wrapper {
  padding: 5px 0 15px 0;
}

.swiper-slide {
  height: auto !important;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: white;
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  border: 1px solid #e4e4e7;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
  color: #3f3f46;
}

/* استایل دکمه‌های صفحه‌بندی (dots) */
.swiper-pagination-bullet {
  background-color: #a1a1aa;
  opacity: 0.6;
  width: 8px;
  height: 8px;
  margin: 0 6px;
  transition: all 0.2s;
}

.swiper-pagination-bullet-active {
  background: #A176D0 !important;
  opacity: 1;
  width: 24px;
  border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 30px !important;
  height: 30px !important;
  top: 59% !important;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: 2% !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: '' !important;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0 !important;
}

/* ریسپانسیو برای دکمه‌ها در موبایل */
@media (max-width: 640px) {

  .swiper-button-next,
  .swiper-button-prev {
    top: 61% !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }

  .service-content-wrapper {
    width: 75%;
  }

  #pageTitle {
    font-size: medium;
  }
}

@media (min-width: 768px) {
  .swiper {
    overflow: hidden !important;
  }
}

.glow {
  transition: all 1500ms;
}

.group:hover .glow-1 {
  /* transform: translate(-40px, 30px) scale(1.05); */
  bottom: -4%;
  right: -25%;
}

.group:hover .glow-2 {
  bottom: 10%;
  right: 20%;
}

.group:hover .glow-3 {
  /* transform: translate(-20px, -25px) scale(1.05); */
  bottom: 40%;
  right: 65%;
}

.service-card {
  transition: all 1500ms;
}

.service-glow {
  transition: all 1500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-glow-1 {
  bottom: -4%;
  right: -25%;
}

.service-card:hover .service-glow-2 {
  bottom: 10%;
  right: 20%;
}

.service-card:hover .service-glow-4 {
  transform: scale(1.08);
  opacity: 0.1;
}

.service-icon-wrapper {
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.05);
}

.service-icon {
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon path {
  transition: stroke 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-text {
  transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* #heroLeadMessage div {
  background: #ffffffb3;
  padding: 5px;
  border-radius: 22px;
  color: #22c55e;
} */

#heroLeadMessage {
  background: #ffffffb3;
  padding: 5px;
  border-radius: 8px;
  color: #22c55e;
}

#servicesMenu {
  width: 225px !important;
}

/* search input in blog */
.search-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 48px;
  border: 2px solid #e4e4e7;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input:not(:placeholder-shown)+label {
  display: none;
}

.clear-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  display: none;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s;
  z-index: 10;
}

.clear-search:hover {
  background: #f3f4f6;
  color: #6b7280;
}

.clear-search.visible {
  display: block;
}

/* جعبه نتایج جستجو */
.search-results-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-results-box.active {
  display: block;
}

.search-result-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f3f4f6;
}

.search-result-item:hover {
  background: #f9fafb;
}

.search-result-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  font-size: 14px;
}

.search-result-category {
  font-size: 11px;
  color: #6b7280;
  display: inline-block;
  padding: 2px 8px;
  background: #f3f4f6;
  border-radius: 12px;
}

.search-result-excerpt {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.4;
}

.search-highlight {
  background-color: #fef3c7;
  color: #d97706;
  font-weight: 500;
}

.no-results {
  padding: 24px;
  text-align: center;
  color: #6b7280;
}

/* sidebar for user dashboard */
.custom-scrollbar {
  max-height: 38vh;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* sidebar for admin dashboard */
.custom-scrollbar-admin {
  max-height: 60vh;
}

.custom-scrollbar-admin::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.custom-scrollbar-admin::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-scrollbar-admin::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.custom-scrollbar-admin::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  html {
    font-size: 13px;
  }
}

#training-filter-section {
  flex-wrap: nowrap !important;
  white-space: nowrap;
  gap: 10px;
  overflow-x: scroll;
  padding-bottom: 10px;
}

.services-logo img {
  max-width: 100px;
  min-width: 60px;
  max-height: 54px;
  margin: 0px 12px;
  filter: grayscale(100%);
  transition-duration: 0.3s;
  vertical-align: middle;
}

.services-logo img:hover {
  filter: grayscale(0%);
}

/* select2 */
.select2-container--default .select2-selection--single {
  height: 3rem !important;
  border: 1px solid #d4d4d8;
  border-radius: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  background-color: #fff;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 25% !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #d4d4d8 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: normal;
  padding: 0;
  color: #3f3f46;
}

#citySelect:disabled+.select2-container--default .select2-selection--single {
  background-color: #f3f4f6;
  cursor: not-allowed ;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--main-color, #3b82f6);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
  outline: none;
}