.navbar-nav li a {
  font-size: 15px;
  font-weight: 400;
  color: black;
}

@font-face {
  font-family: 'IRANYekanXFaNum';
  src: url('../front/font/IRANYekanXFaNum-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#policyInput::-webkit-outer-spin-button,
#policyInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#policyInput {
  -moz-appearance: textfield;
}

body {
  height: 100vh;
  font-family: 'IRANYekanXFaNum', sans-serif;
  width: 100%;
}


.navbar-nav li {
  padding-right: 10px;
}

.btnbim {
  width: 170px;
  height: 48px;
  opacity: 1;
  border: 1px solid rgba(23, 51, 73, 1);
  border-radius: 6px;
  background-color: rgba(23, 51, 73, 1);
  color: #FFF;
  font-size: 16px;
  font-weight: 200;
  border-radius: 6px;
}

.btnbimpaneltel {
  width: 160px;
  height: 48px;
  display: inline-flex;
  /* یا inline-block */
  align-items: center;
  justify-content: center;
  opacity: 1;
  border: 1px solid rgba(23, 51, 73, 1);
  border-radius: 6px;
  background-color: #FFF;
  color: rgba(23, 51, 73, 1);
  font-size: 18px;
  font-weight: 200;
  text-decoration: none;
  /* مهم برای لینک */
  transition: all 0.3s ease;
  box-sizing: border-box;
  /* مهم */
}

.btnbimpanel {
  width: 190px;
  height: 48px;
  display: inline-flex;
  /* یا inline-block */
  align-items: center;
  justify-content: center;
  opacity: 1;
  border: 1px solid rgba(23, 51, 73, 1);
  border-radius: 6px;
  background-color: rgba(23, 51, 73, 1);
  color: #FFF;
  font-size: 18px;
  font-weight: 200;
  text-decoration: none;
  /* مهم برای لینک */
  transition: all 0.3s ease;
  box-sizing: border-box;
  /* مهم */
}

.btnbim4 {
  width: 230px;
  height: 50px;
  opacity: 1;
  padding: 10px 10px;
  border: 1px solid rgba(23, 51, 73, 1);
  border-radius: 6px;
  background-color: rgba(23, 51, 73, 1);
  color: #FFF;
  font-size: 25px;
  font-weight: 200;
  padding: 0px 0px 30px 0px;
  border-radius: 6px;
}

.btnbim5 {
  width: 160px;
  height: 50px;
  opacity: 1;
  padding: 10px 10px;
  border: 1px solid rgba(23, 51, 73, 1);
  border-radius: 6px;
  background-color: rgba(23, 51, 73, 1);
  color: #FFF;
  font-size: 16px;
  font-weight: 200;
  padding-top: 5px;
  border-radius: 6px;
}

.btnbim2 {
  width: 120px;
  height: 33px;
  /* یا از padding برای ارتفاع استفاده کن */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: 10px 15px;
  border: 1px solid #173349;
  border-radius: 6px;
  background-color: rgba(23, 51, 73, 1);
  color: #FFF;
  font-size: 13px;
  font-weight: 300;
  box-sizing: border-box;
}

.btnbima {
  width: 120px;
  height: 33px;
  /* یا از padding برای ارتفاع استفاده کن */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: 10px 15px;
  border: 1px solid #173349;
  border-radius: 6px;
  background-color: rgba(23, 51, 73, 1);
  color: #FFF;
  font-size: 13px;
  font-weight: 300;
  text-decoration: none;
  box-sizing: border-box;
}

.btnbim3 {
  width: 170px;
  height: 48px;
  opacity: 1;
  border: 1px solid rgba(23, 51, 73, 1);
  border-radius: 6px;
  background-color: #FFF;
  color: rgba(23, 51, 73, 1);
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
}

.countentbim {
  padding-top: 0px;
}

.pattern-wrapper {
  background: url("img/Pattern Top.png") no-repeat center top;
  background-size: cover;
  /* تصویر رو متناسب کل صفحه می‌کنه */
  height: 70vh;
  /* کل ارتفاع صفحه */
  position: relative;
  z-index: 1;
}

.pattern-wrapper2 {
  background: url("img/Pattern Top.png") no-repeat center top;
  background-size: contain;
  background-attachment: scroll;
  scroll-behavior: smooth;
}

.pattern-wrapper3 {
  background: url("img/Pattern Top.png") no-repeat center top;
  background-size: cover;
  /* تصویر رو متناسب کل صفحه می‌کنه */

}

.inputneed {
  width: 406px;
  height: 35px;
  border: 1px solid rgba(23, 51, 73, 1);
  background-color: rgba(251, 251, 251, 1);
  border-radius: 3px;
}

a.social-icon {
  background-color: rgba(23, 51, 73, 1);
  padding: 10px 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
}

.inputneeds {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(23, 51, 73, 1);
  background-color: rgba(251, 251, 251, 1);
  border-radius: 3px;
  padding: 0 10px 0 10px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(23, 51, 73, 1)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 10px center;
  background-size: 16px;
}

.inputneeds:focus {
  outline: none;
  border: 1px solid #2196F3;
  box-shadow: 0 0 0 2px rgba(23, 51, 73, 0.2);
}

.inputneeds:hover {
  border: 1px solid rgba(23, 51, 73, 0.8);
}


.divhave {
  height: 35px;
  border: 1px solid rgba(23, 51, 73, 1);
  background-color: rgba(251, 251, 251, 1);
  border-radius: 3px;
}
.divhave2 {
  height: 47px;
  border: 1px solid rgba(23, 51, 73, 1);
  background-color: rgba(251, 251, 251, 1);
  border-radius: 3px;
}
.divhave3 {
  height: auto;
  border: 1px solid rgba(23, 51, 73, 1);
  background-color: rgba(251, 251, 251, 1);
  border-radius: 3px;
}

.upload-container {
  margin-bottom: 25px;
}

.labelinputneed {
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.inputneed {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(23, 51, 73, 1);
  background-color: rgba(251, 251, 251, 1);
  border-radius: 3px;
  padding: 0 15px;
  font-size: 16px;
  transition: all 0.3s;
}

.inputneed:focus {
  outline: none;
  border-color: #2196F3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.custom-file-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 35px;
  border: 1px solid rgba(23, 51, 73, 1);
  background-color: rgba(251, 251, 251, 1);
  border-radius: 3px;
  padding: 0 15px;
  cursor: pointer;
  position: relative;
}

.file-text {
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-grow: 1;
  padding-right: 10px;
}

.file-icon {
  color: #2196F3;
}

.hidden-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.note {
  font-size: 13px;
  color: #888;
  margin-top: 5px;
  text-align: right;
}

.example {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
}

.example h3 {
  color: #2196F3;
  margin-bottom: 15px;
  font-size: 18px;
}

.example-code {
  background-color: #272822;
  color: #f8f8f2;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
}

.labelinputneed {
  text-align: right;
  font-weight: 500;
  font-size: 14px;
}

.inbimimg {
  background-image: url("img/Pattern.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inbimimg2 {
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.inbimimg6 {
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  height: 400px;
  display: flex;
  justify-content: center;
}
.inbimimg7 {
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  height: 180px;
  display: flex;
  justify-content: center;
}

.inbimimg3 {
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* برای responsive بودن تصویر داخل */
.inbimimg img {
  max-width: 100%;
  height: auto;
}


.btn:hover {
  color: inherit;
  background-color: inherit;
  border-color: inherit;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  right: 0px;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 1000;
}

.text-muted {
  font-size: 13px !important;
}

.fszbim {
  font-size: 16px;
}

.imgmodalbim {
  width: 140px !important;
  height: 150px !important;
  padding: 0px;
}

#policyInput {
  height: 60px;
}

.modalbimwidth {
  width: 654px;
  height: 580px;
}

.inputmodalbim1 {
  border: 1px solid #777;
  border-radius: 5px;
  width: 100%;
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #333;
  text-decoration: none;
}

.bottom-nav a img {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto 3px;
}

.bottom-nav a.active {
  color: #007bff;
  /* رنگ آیتم فعال */
}

.bottom-nav button {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #333;
  text-decoration: none;
}

.bottom-nav button img {
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto 3px;
}

.modal-content {
  width: 73%;
  padding: 0px 0px 12px 0px;
}

.modal-body {
  width: 100% !important;
}

.modal-dialog.modal-dialog-centered {
  display: flex;
  justify-content: center;
}

.bottom-nav button.active {
  color: #007bff;
  /* رنگ آیتم فعال */
}
/* استایل‌های منوی کاملاً متصل - فقط در موبایل */
.fully-connected-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: none;
}

.menu-wrapper {
  position: relative;
}

.main-circle {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 20;
  border: 1px solid #272822;
}

.main-circle:hover {
  transform: scale(1.05);
}

.main-circle img.nav-icon {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  transition: all 0.3s ease;
}

.connected-panel {
  position: absolute;
  bottom: 34px;
  right: 0;
  width: 90px;
  background: white;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  padding: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  opacity: 0;
  overflow: hidden;
  z-index: 15;
  height: 280px;
  
  /* حذف transition و animation اصلی */
  transition: none;
  animation: none;
}

.connected-panel.active {
  /* حذف transform قبلی */
  transform: scaleY(1);
  opacity: 1;
  
  /* اضافه کردن انیمیشن فقط برای حالت active */
  animation: panelSlideIn 0.8s ease-in-out forwards;
}

/* انیمیشن مخصوص پنل */
@keyframes panelSlideIn {
  0% {
    animation: itemFadeInUp 0.6s ease-out forwards;
    transform: scaleY(0);
    opacity: 0;
  }
  60% {
    animation: itemFadeInUp 0.6s ease-out forwards;
    transform: scaleY(1.1);
    opacity: 0.8;
  }
  100% {
    animation: itemFadeInUp 0.6s ease-out forwards;
    transform: scaleY(1);
    opacity: 1;
  }
}

.menu-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4;
  height: 100%;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 70px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  background: white;
  border: none;
  position: relative;
  flex: 1;
  padding: 5px 0;
}

.menu-item:first-child {
  border-radius: 25px 25px 0 0;
}

.menu-item:hover {
  
}

.menu-item.active {
 
}

.menu-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.menu-item img.nav-icon {
  width: 28px !important;
  height: 28px !important;
  object-fit: contain;
  transition: all 0.3s ease;
}

.menu-title {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  transition: all 0.3s ease;
}

/* انیمیشن برای آیتم‌های منو */
.connected-panel.active .menu-item {
  animation: itemFadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes itemFadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.connected-panel.active .menu-item:nth-child(1) { 
  animation-delay: 0.1s; 
}
.connected-panel.active .menu-item:nth-child(2) { 
  animation-delay: 0.2s; 
}
.connected-panel.active .menu-item:nth-child(3) { 
  animation-delay: 0.3s; 
}
.connected-panel.active .menu-item:nth-child(4) { 
  animation-delay: 0.4s; 
}

/* اتصال کامل بین منو و دایره */
.menu-connector {
  position: absolute;
  bottom: 34px;
  right: 0;
  width: 90px;
  height: 5px;
  background: white;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 18;
}

.connected-panel.active ~ .menu-connector {
  opacity: 1;
}

/* افکت برای نشان دادن اتصال */
.connection-highlight {
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 90px;
  height: 2px;
  background: #4a90e2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.connected-panel.active .connection-highlight {
  opacity: 1;
}

/* انیمیشن آهسته برای آیکون‌ها */
.connected-panel.active .nav-icon {
  animation: slowFadeInScale 0.6s ease-in-out forwards;
  opacity: 0;
}

@keyframes slowFadeInScale {
  from {
      opacity: 0;
      transform: scale(0.95);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.connected-panel.active .menu-item:nth-child(1) .nav-icon { 
  animation-delay: 0.3s; 
}
.connected-panel.active .menu-item:nth-child(2) .nav-icon { 
  animation-delay: 0.4s; 
}
.connected-panel.active .menu-item:nth-child(3) .nav-icon { 
  animation-delay: 0.5s; 
}
.connected-panel.active .menu-item:nth-child(4) .nav-icon { 
  animation-delay: 0.6s; 
}

/* انیمیشن آهسته برای عنوان‌ها */
.connected-panel.active .menu-title {
  animation: slowFadeInUp 0.5s ease-in-out forwards;
  opacity: 0;
}

@keyframes slowFadeInUp {
  from {
      opacity: 0;
      transform: translateY(15px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.connected-panel.active .menu-item:nth-child(1) .menu-title { 
  animation-delay: 0.4s; 
}
.connected-panel.active .menu-item:nth-child(2) .menu-title { 
  animation-delay: 0.5s; 
}
.connected-panel.active .menu-item:nth-child(3) .menu-title { 
  animation-delay: 0.6s; 
}
.connected-panel.active .menu-item:nth-child(4) .menu-title { 
  animation-delay: 0.7s; 
}

/* نمایش فقط در موبایل (تا 991px) */
@media (max-width: 991px) {
  .fully-connected-menu {
      display: block;
  }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .fully-connected-menu {
      bottom: 20px;
      right: 20px;
  }
  
  .main-circle {
      width: 60px;
      height: 60px;
  }
  
  .main-circle img.nav-icon {
      width: 28px !important;
      height: 28px !important;
  }
  
  .connected-panel {
      width: 80px;
      bottom: 34px;
      border-radius: 20px 20px 0 0;
      height: 250px;
  }
  
  .menu-item {
      width: 80px;
      height: 62px;
  }
  
  .menu-item img.nav-icon {
      width: 24px !important;
      height: 24px !important;
  }
  
  .menu-title {
      font-size: 9px;
  }
  
  .menu-connector {
      width: 80px;
      bottom: 34px;
  }
  
  .connection-highlight {
      width: 80px;
  }
}

@media (max-width: 480px) {
  .fully-connected-menu {
      bottom: 15px;
      right: 15px;
  }
  
  .main-circle {
      width: 55px;
      height: 55px;
  }
  
  .main-circle img.nav-icon {
      width: 26px !important;
      height: 26px !important;
  }
  
  .connected-panel {
      width: 75px;
      height: 230px;
  }
  
  .menu-item {
      width: 75px;
      height: 57px;
  }
  
  .menu-item img.nav-icon {
      width: 22px !important;
      height: 22px !important;
  }
  
  .menu-title {
      font-size: 8px !important;
  }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .fully-connected-menu {
      bottom: 20px;
      right: 20px;
  }
  
  .main-circle {
      width: 60px;
      height: 60px;
  }
  
  .main-circle img.nav-icon {
      width: 28px !important;
      height: 28px !important;
  }
  
  .connected-panel {
      width: 60px;
      bottom: 40px;
      border-radius: 30px 30px 0 0;
      height: 220px;
  }
  
  .menu-item {
      width: 60px;
      height: 55px;
  }
  
  .menu-item img.nav-icon {
      width: 24px !important;
      height: 24px !important;
  }
  
  .menu-connector {
      width: 60px;
      bottom: 34px;
  }
  
  .connection-highlight {
      width: 60px;
  }
}

@media (max-width: 480px) {
  .fully-connected-menu {
      bottom: 15px;
      right: 15px;
  }
  
  .main-circle {
      width: 55px;
      height: 55px;
  }
  
  .main-circle img.nav-icon {
      width: 26px !important;
      height: 26px !important;
  }
  
  .connected-panel {
      width: 55px;
      height: 217px;
  }
  
  .menu-item {
      width: 55px;
      height: 50px;
  }
  
  .menu-item img.nav-icon {
      width: 28px !important;
      height: 32px !important;
  }
}

@media (min-width:991px){
  .headerbim {
    border-bottom: 1px solid #000;
    background-color: #FFF;
  }
  
}

/* برای حالت موبایل */
@media (max-width: 991px) {
  .navbar-brand {
    margin: 0 auto;
    /* باعث میشه لوگو وسط بیاد */
    display: block;
    text-align: center;
  }

  .mobreqbime {
    margin-bottom: 80px !important;
  }

  .mobreqbimetel {
    margin-bottom: 110px;
  }



  .navbar .navbar-collapse {
    text-align: center;
    /* آیتم‌های منو هم وسط‌چین میشن */
  }

  .modal-content {
    width: 80%;
    padding: 0px 0px 15px 0px;
  }
}
.icon-unseen {
  filter: invert(25%) sepia(98%) saturate(2583%) hue-rotate(220deg) brightness(98%) contrast(101%);
}
