
   body {
       overflow-x: hidden;
   }

   #consultationTypeSelect {
       padding: 12px;
       width: 220px;
       font-size: 16px;
       border-radius: 8px;
       border: 1px solid #ccc;
       background-color: #fff;
       font-family: 'Vazirmatn', sans-serif;
   }
.degree-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #4cafef;
    color: white;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 8px;
    display: block;
}
  .comment-name {
      font-weight: bold;
      margin-bottom: 2px;
  }

  .comment-text {
      font-size: 14px;
      color: #333;
  }
  .close {
      position: absolute;
      top: 10px;
      left: 16px;
      /* تغییر به چپ برای راست‌چین بودن */
      font-size: 24px;
      cursor: pointer;
  }
  textarea {
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 6px 8px;
      resize: none;
      font-size: 14px;
  }
  .modal-content {
      background: #fff;
      margin: 5% auto;
      padding: 20px;
      border-radius: 12px;
      width: 80%;
      max-width: 600px;
      position: relative;
      animation: slideDown 0.3s;
      text-align: right;
      font-family: 'Vazirmatn', sans-serif;
  }


  .comments-list {
      max-height: 200px;
      overflow-y: auto;
      margin-bottom: 12px;
  }

  .comment {
      background: #f1f1f1;
      padding: 8px 10px;
      border-radius: 8px;
      margin-bottom: 8px;
      font-family: 'Vazirmatn', sans-serif;
  }
   body {
       font-family: 'Vazirmatn', sans-serif;
       background-color: #f0f8ff;
       text-align: center;
       margin: 0;
       padding: 0;
   }

   /* Header */
   .header {
       background: #13B1D6;
       color: white;
       padding: 20px;
       font-size: 24px;
       font-weight: bold;
       box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   }

   /* Menu */
   .menu {
       background-color: #FB7106;
       display: flex;
       justify-content: center;
       gap: 30px;
       padding: 15px 0;
       box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   }

   .menu a {
       color: white;
       padding: 12px 20px;
       text-decoration: none;
       font-size: 18px;
       font-weight: 600;
       border-radius: 8px;
       transition: background-color 0.3s, transform 0.2s;
   }

   .menu a:hover {
       background-color: #04759D;
       transform: scale(1.1);
   }

   /* Container */
   .container {
       padding: 40px;
   }

   h1 {
       font-size: 28px;
       margin-bottom: 20px;
   }

   .search-container {
       margin-bottom: 30px;
       display: flex;
       justify-content: center;
       gap: 20px;
   }

   .search-box {
       padding: 12px;
       width: 300px;
       font-size: 16px;
       border-radius: 8px;
       border: 1px solid #ccc;
       box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
       transition: box-shadow 0.3s;
       font-family: 'Vazirmatn', sans-serif;
       text-align: right;
   }

   .search-box:focus {
       outline: none;
       box-shadow: 0 0 8px rgba(0, 0, 255, 0.5);
   }

   .search-select {
       padding: 12px;
       width: 220px;
       font-size: 16px;
       border-radius: 8px;
       border: 1px solid #ccc;
       background-color: #fff;
       font-family: 'Vazirmatn', sans-serif;
       text-align: right;
    
   }

   .profiles {
       display: flex;
       justify-content: center;
       gap: 30px;
       flex-wrap: wrap;
   }

   .card {
       background: white;
       border-radius: 15px;
       box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
       padding: 20px;
       width: 250px;
       position: relative;
       text-align: center;
       transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
   }

   .card:hover {
       transform: scale(1.05);
       box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
   }

   .card img {
       border-radius: 50%;
       width: 100px;
       height: 100px;
       margin-bottom: 15px;
       transition: transform 0.3s;
   }

   .card:hover img {
       transform: scale(1.1);
   }

   .card h2 {
       font-size: 20px;
       color: #3e3636;
       margin: 10px 0;
   }

   .card p {
       font-size: 16px;
       color: #5c5656;
   }

   .card button {
       background: #14B2D7;
       color: white;
       border: none;
       padding: 12px 20px;
       border-radius: 5px;
       cursor: pointer;
       margin-top: 15px;
       transition: background 0.3s, transform 0.2s;
       font-family: 'Vazirmatn', sans-serif;
   }

   .card button:hover {
       background: #FB7106;
       transform: scale(1.05);
   }

   .card button:disabled {
       background: gray;
       cursor: default;
   }

   #timeSelectionTitle {
       font-family: 'Vazirmatn', sans-serif;
   }

/* Footer */
.footer {
    background: #FB7106;
    color: white;
    padding: 15px;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 600px) {
    .footer {
        font-size: 14px;
        padding: 10px;
    }
}

   /* Modal */
   .modal {
       display: none;
       position: fixed;
       z-index: 1;
       left: 0;
       top: 0;
       width: 100%;
       height: 100%;
       background-color: rgba(0, 0, 0, 0.4);
       padding-top: 60px;
   }


   .close {
       color: #aaa;
       float: right;
       font-size: 28px;
       font-weight: bold;
   }

   .close:hover,
   .close:focus {
       color: black;
       text-decoration: none;
       cursor: pointer;
   }



   .days-selection {
       display: flex;
       flex-wrap: wrap;
       gap: 10px;
       justify-content: center;
       margin-bottom: 20px;
   }

   .day-button {
       padding: 10px 15px;
       font-size: 14px;
       font-weight: bold;
       border: none;
       border-radius: 8px;
       background: #1976d2;
       color: white;
       cursor: pointer;
       transition: all 0.3s;
       box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   }

   .day-button:hover {
       background: #1565c0;
       transform: scale(1.1);
       box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
   }

   h3 {
       font-family: 'Vazirmatn', sans-serif;
   }

   h1 {
       font-family: 'Vazirmatn', sans-serif;
   }

   h2 {
       font-family: 'Vazirmatn', sans-serif;
   }

   .time-selection button {
       display: block;
       width: 100%;
       margin: 5px 0;
       padding: 10px;
       font-size: 14px;
       font-weight: bold;
       border: none;
       border-radius: 8px;
       background: #14B2D7;
       ;
       color: white;
       cursor: pointer;
       transition: all 0.3s;
       font-family: 'Vazirmatn', sans-serif;
   }

   .time-selection button:hover {
       background: #14B2D7;
   }

   button {
       background: #14B2D7;
       color: white;
       border: none;
       padding: 12px 20px;
       border-radius: 5px;
       cursor: pointer;
       margin-top: 15px;
       transition: background 0.3s, transform 0.2s;
       font-family: 'Vazirmatn', sans-serif;
   }

   #insuranceSelect {
       padding: 12px;
       width: 220px;
       font-size: 16px;
       border-radius: 8px;
       border: 1px solid #ccc;
       background-color: #fff;
   }

   .news-ticker {
       background: linear-gradient(to right, #ff9800, #e65100);
       color: white;
       padding: 10px 0;
       overflow: hidden;
       width: 100%;
       font-size: 13px;
   }

   .ticker-content {
       display: inline-block;
       white-space: nowrap;
       animation: scroll-right 25s linear infinite;

   }

   .ticker-content a {
       color: #fff;
       ;
       text-decoration: none;
       margin: 0 30px;
       font-weight: bold;
   }

   .ticker-content a:hover {
       text-decoration: underline;
   }

   @keyframes scroll-right {
       0% {
           transform: translateX(-100%);
       }

       100% {
           transform: translateX(100%);
       }
   }

   .modal {
       direction: rtl;
       /* برای راست‌چین کردن کل modal */
       text-align: right;
       /* برای راست‌چین کردن متن‌ها */
       font-family: 'Tahoma', sans-serif;
       /* انتخاب یک فونت مناسب برای زبان‌های راست به چپ */
   }

   /* استایل عنوان modal */
   #modal-title {
       font-family: 'Vazirmatn', sans-serif;

   }

   /* استایل متن توضیحات modal */
   #modal-description {
       white-space: pre-wrap;
       /* برای پشتیبانی از line breaks */
       margin-top: 10px;
       text-align: right;
       /* راست‌چین کردن توضیحات */
       max-height: 300px;
       /* حداکثر ارتفاع متن */
       overflow-y: auto;
       /* نمایش نوار اسکرول عمودی زمانی که متن طولانی است */
       font-family: 'Vazirmatn', sans-serif;
       padding-right: 10px;
       /* فاصله از سمت راست */
   }

   .menu-container {
       position: relative;
   }

   .menu-toggle {
       display: none;
       font-size: 28px;
       cursor: pointer;
       padding: 10px;
       background: #f60;
       color: white;
   }

   .menu {
       display: flex;
       gap: 20px;
       flex-wrap: wrap;
   }

   .menu a {
       text-decoration: none;
       padding: 10px 15px;
       color: white;
       border-radius: 5px;
   }

   /* موبایل */
   @media (max-width: 768px) {
       .menu {
           display: none;
           flex-direction: column;
           background-color: #f60;
           position: absolute;
           top: 50px;
           right: 0;
           width: 100%;
           z-index: 5;
       }

       .menu.show {
           display: flex;
       }

       .menu-toggle {
           display: block;
       }
   }

   .top-header {
       background-color: #14B2D7;
       color: white;
       padding: 10px 20px;
       box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
       position: relative;
       z-index: 1;
   }

   .header-inner {
       display: flex;
       align-items: center;
       justify-content: space-between;
       flex-wrap: nowrap;
   }

   .site-logo {
       width: 50px;
       height: 50px;
       object-fit: contain;
       border-radius: 10px;
   }

   .site-title {
       font-family: 'Vazirmatn', sans-serif;
       font-size: 20px;
       flex: 1;
       text-align: center;
       margin: 0;
   }

   .menu-toggle {
       font-size: 28px;
       cursor: pointer;
       display: none;
       background: transparent;
       color: white;
       border: none;
   }

   /* منوی اصلی */
   .main-menu {
       display: flex;
       justify-content: center;
       gap: 20px;
       margin-top: 10px;
       transition: max-height 0.4s ease;
   }

   .main-menu a {
       text-decoration: none;
       color: white;
       font-weight: bold;
       padding: 10px 15px;
       font-family: 'Vazirmatn', sans-serif;
       border-radius: 8px;
       transition: background-color 0.3s;
   }

   .main-menu a:hover {
       background-color: #FB7106;
   }

   /* موبایل */
   @media (max-width: 768px) {
       .menu-toggle {
           display: block;
       }

       .main-menu {
           display: none;
           flex-direction: column;
           background-color: #14B2D7;
           padding: 10px;
           border-radius: 10px;
           position: absolute;
           width: 100%;
           top: 100%;
           right: 0;
       }

       .main-menu.show {
           display: flex;
       }

       .main-menu a {
           text-align: right;
           padding: 12px 20px;
           border-bottom: 1px solid rgba(255, 255, 255, 0.2);
       }

       .main-menu a:last-child {
           border-bottom: none;
       }
   }

   .mobile-only {
       display: none;
   }

   @media (max-width: 768px) {
       .mobile-only {
           display: block;
       }
   }

