
    /* Apply Vazirmatn as default font */
    body {
      font-family: 'Vazirmatn', system-ui, sans-serif;
    }
    
    /* Smooth scroll */
    html {
      scroll-behavior: smooth;
    }
    
    /* Custom gradient for hero & highlights */
    .gradient-bg {
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    }
    
    .ai-gradient {
      background: linear-gradient(90deg, #0ea5e9, #8b5cf6, #ec4899);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 700;
    }
    
    /* Custom card hover effect */
    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
    
    /* Mobile menu toggle */
    .hamburger {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 20px;
      cursor: pointer;
    }
    .hamburger span {
      height: 2px;
      width: 100%;
      background-color: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    .hamburger.active span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    /* Chat Bot Styles */
    .chatbot-container {
      position: fixed;
      bottom: 20px;
      left: 20px;
      z-index: 1000;
      font-family: 'Vazirmatn', system-ui, sans-serif;
    }

    .chatbot-button {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      position: relative;
    }

    .chatbot-button:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 25px rgba(14, 165, 233, 0.6);
    }

    .chatbot-button i {
      color: white;
      font-size: 24px;
    }

    .chatbot-button .notification-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      width: 20px;
      height: 20px;
      background: #ef4444;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      color: white;
      font-weight: bold;
    }

    .chatbot-window {
      position: fixed;
      bottom: 90px;
      left: 20px;
      width: 380px;
      max-width: calc(100vw - 40px);
      height: 600px;
      max-height: calc(100vh - 120px);
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
      display: none;
      flex-direction: column;
      overflow: hidden;
      animation: slideUp 0.3s ease;
      z-index: 1001;
    }

    .chatbot-window.active {
      display: flex;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .chatbot-header {
      background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
      color: white;
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-radius: 20px 20px 0 0;
    }

    .chatbot-header-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .chatbot-avatar {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
    }

    .chatbot-header-text h3 {
      margin: 0;
      font-size: 18px;
      font-weight: 600;
    }

    .chatbot-status {
      font-size: 12px;
      opacity: 0.9;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .chatbot-status-dot {
      width: 8px;
      height: 8px;
      background: #10b981;
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% {
        opacity: 1;
      }
      50% {
        opacity: 0.5;
      }
    }

    .chatbot-close {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      color: white;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .chatbot-close:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .chatbot-messages {
      flex: 1;
      overflow-y: auto;
      padding: 20px;
      background: #f9fafb;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .chatbot-messages::-webkit-scrollbar {
      width: 6px;
    }

    .chatbot-messages::-webkit-scrollbar-track {
      background: #f1f1f1;
    }

    .chatbot-messages::-webkit-scrollbar-thumb {
      background: #cbd5e1;
      border-radius: 3px;
    }

    .message {
      display: flex;
      gap: 8px;
      animation: messageSlide 0.3s ease;
    }

    @keyframes messageSlide {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .message.user {
      flex-direction: row-reverse;
    }

    .message-bubble {
      max-width: 75%;
      padding: 12px 16px;
      border-radius: 18px;
      word-wrap: break-word;
      line-height: 1.5;
    }

    .message.bot .message-bubble {
      background: white;
      color: #1f2937;
      border: 1px solid #e5e7eb;
      border-radius: 18px 18px 18px 4px;
    }

    .message.user .message-bubble {
      background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
      color: white;
      border-radius: 18px 18px 4px 18px;
    }

    .message-time {
      font-size: 11px;
      color: #9ca3af;
      margin-top: 4px;
      text-align: left;
    }

    .message.user .message-time {
      text-align: right;
    }

    .quick-replies {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }

    .quick-reply-btn {
      background: white;
      border: 1px solid #e5e7eb;
      padding: 8px 12px;
      border-radius: 20px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
      color: #1f2937;
    }

    .quick-reply-btn:hover {
      background: #f3f4f6;
      border-color: #0ea5e9;
      color: #0ea5e9;
    }

    .chatbot-input-area {
      padding: 15px;
      background: white;
      border-top: 1px solid #e5e7eb;
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .chatbot-input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid #e5e7eb;
      border-radius: 25px;
      outline: none;
      font-family: 'Vazirmatn', system-ui, sans-serif;
      font-size: 14px;
      transition: all 0.2s;
    }

    .chatbot-input:focus {
      border-color: #0ea5e9;
      box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }

    .chatbot-send {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
      border: none;
      color: white;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .chatbot-send:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    }

    .chatbot-send:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .typing-indicator {
      display: flex;
      gap: 4px;
      padding: 12px 16px;
    }

    .typing-dot {
      width: 8px;
      height: 8px;
      background: #9ca3af;
      border-radius: 50%;
      animation: typing 1.4s infinite;
    }

    .typing-dot:nth-child(2) {
      animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
      animation-delay: 0.4s;
    }

    @keyframes typing {
      0%, 60%, 100% {
        transform: translateY(0);
      }
      30% {
        transform: translateY(-10px);
      }
    }

    @media (max-width: 640px) {
      .chatbot-container {
        bottom: 15px;
        left: 15px;
      }

      .chatbot-window {
        bottom: 80px;
        left: 15px;
        width: calc(100vw - 30px);
        height: calc(100vh - 100px);
      }
    }


    
.chatbot-logo {
    
    
  width: 100px;
  height: 65px;
  border-radius: 20%;
  object-fit: cover;
  box-sizing: border-box;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* فقط آیکن داخل دکمه‌های زبان تورکواز شود */
/*.lang-btn .lang-icon {
    color: #40E0D0;
}

  nav [data-lang-switch] .lang-icon {
    color: #40E0D0 !important;
}

*/




@keyframes rotateLogo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-mobile {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  width: 80px;
  animation: rotateLogo 6s linear infinite;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.5)) brightness(1.2);
  z-index: 9999;
}

/* فقط در موبایل نمایش داده شود */
@media (max-width: 768px) {
  .logo-mobile, #mobile {
    display: block;
  }
}



@keyframes flipLogo {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.logo-flip {
  
  animation: flipLogo 4s linear infinite;
  width: 100px;
  transform-style: preserve-3d;
}

@media (min-width: 768px) {
   #mobile {
    display:none;
  }
}
