/* support.css - Robukits Support Page Styles */

/* Variables */
:root {
  --primary: #0ea5e9;
  --primary-dark: #1e4ab9;
  --tech-blue: #0ea5e9;
  --dark: #1e293b;
  --dark-gray: #64748b;
  --gray: #e2e8f0;
  --light-gray: #f8fafc;
  --danger: #dc2626;
  --success: #16a34a;
  --transition: all 0.3s ease;
}

/* Support Container */
.support-container {
  max-width: 100%;
  padding: 20px;
}

.support-header {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--tech-blue);
  font-family: 'Orbitron', sans-serif;
}

.support-content {
  display: flex;
  gap: 30px;
}

/* Contact Area */
.contact-area {
  flex: 1;
  padding: 2rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-area h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--tech-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-area ul {
  list-style: none;
  padding: 0;
}

.contact-area li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray);
  display: flex;
  align-items: center;
}

.contact-area li:last-child {
  border-bottom: none;
}

.contact-area strong {
  min-width: 120px;
  display: inline-block;
  color: var(--tech-blue);
}

/* FAQ Section */
.faq-section {
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--gray);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem;
  background: var(--light-gray);
  border: none;
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: #e2e8f0;
}

.faq-question i {
  transition: var(--transition);
}

.faq-answer {
  padding: 1rem;
  display: none;
  background: white;
}

/* Floating Chatbot */
#chatbot-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: white;
  width: auto;
  height: 60px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(42, 91, 215, 0.3);
  transition: var(--transition);
  z-index: 100;
  padding: 0 20px;
  gap: 10px;
}

#chatbot-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 91, 215, 0.4);
}

/* Chatbot Modal */
#chatbot-modal {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  max-height: 500px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  z-index: 101;
  overflow: hidden;
}

.chat-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
}

.chat-body {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-message {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  max-width: 80%;
  font-size: 0.9rem;
}

.chat-message.bot {
  background-color: white;
  border: 1px solid var(--gray);
  align-self: flex-start;
}

.chat-message.user {
  background-color: var(--primary);
  color: white;
  align-self: flex-end;
}

.chat-footer {
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid var(--gray);
}

.chat-footer input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid var(--gray);
  border-radius: 6px;
  font-size: 0.9rem;
}

.chat-footer button {
  padding: 0 1.2rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chat-footer button:hover {
  background-color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
  .support-content {
    flex-direction: column;
  }
  
  #chatbot-modal {
    width: 90%;
    right: 5%;
    bottom: 80px;
  }
  
  #chatbot-button {
    bottom: 20px;
    right: 20px;
  }
}



/* Add this to your support.css file */
.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.nav-links a:hover {
    background-color: #f0f0f0;
    color: #2a6496;
    transform: translateY(-2px);
}

.nav-links a.active {
    background-color: #2a6496;
    color: white;
    box-shadow: 0 4px 8px rgba(42, 100, 150, 0.2);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2a6496;
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a.active::before {
    display: none;
}