/* support.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eafaf1;
    color: #2f4f4f;
  }
  
  /* Navbar Base */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #a8d5ba;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #1f4037;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: #2f4f4f;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3e8e7e;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  margin-left: 20px;
}

/* Profile */
.profile-menu {
  position: relative;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  background-color: #ffffffdd;
}

.menu {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu a {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.menu a:hover {
  background-color: #f0f0f0;
}

/* ✅ Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #a8d5ba;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

  
  .hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to right, #c0f2d1, #b2eacc);
    color: #1f4037;
  }
  
  .hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
  }
  
  .hero-section p {
    font-size: 1.2em;
    color: #3e8e7e;
  }
  
  .contact-options {
    text-align: center;
    padding: 40px 20px;
  }
  
  .contact-options h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #1f4037;
  }
  
  .contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 260px;
    text-align: center;
  }
  
  .card h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #2f4f4f;
  }
  
  .card p {
    font-size: 1em;
    color: #555;
  }
  
  .card a {
    color: #3e8e7e;
    text-decoration: none;
  }
  
  .card a:hover {
    text-decoration: underline;
  }
  
  .experts-section {
    background-color: #f0fff8;
    padding: 60px 20px;
    text-align: center;
  }
  
  .experts-section h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #1f4037;
  }
  
  .experts-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .expert-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 220px;
    text-align: center;
  }
  
  .expert-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  .expert-card h4 {
    margin: 10px 0 5px;
    font-size: 1.1em;
    color: #2f4f4f;
  }
  
  .expert-card p {
    font-size: 0.95em;
    color: #666;
  }
  
  .tips-section {
    padding: 60px 20px;
    text-align: center;
  }
  
  .tips-section h2 {
    font-size: 2em;
    color: #1f4037;
    margin-bottom: 25px;
  }
  
  .tips-section ul {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .tips-section li {
    font-size: 1.1em;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }
  
  .footer {
    text-align: center;
    padding: 20px;
    background-color: #c5e3d2;
    color: #2f4f4f;
    font-size: 14px;
  }
  .chatbot-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 200;
    gap: 10px;
  }
  
  .chatbot-label {
    background-color: #3e8e7e;
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    animation: floatIn 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .chatbot-icon {
    background-color: #3e8e7e;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }
  
  .chatbot-icon:hover {
    background-color: #2e6f5f;
  }
  
  .chatbot-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 280px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    padding: 15px;
  }
  
  .chat-header {
    font-weight: bold;
    margin-bottom: 10px;
    color: #1f4037;
    font-size: 16px;
  }
  
  .chat-body {
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
  }
  
  .chat-input {
    display: flex;
    gap: 8px;
  }
  
  .chat-input input {
    flex: 1;
    padding: 6px;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  .chat-input button {
    padding: 6px 10px;
    background-color: #3e8e7e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* 📱 Tablet and below */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.2em;
  }

  .hero-section p {
    font-size: 1em;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .experts-grid {
    flex-direction: column;
    align-items: center;
  }

  .tips-section ul {
    padding: 0 20px;
  }
}

/* 📱 Mobile screens */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .profile-icon {
    width: 36px;
    height: 36px;
  }

  .hero-section {
    padding: 40px 15px;
  }

  .hero-section h1 {
    font-size: 1.8em;
  }

  .hero-section p {
    font-size: 0.95em;
  }

  .card {
    width: 90%;
    margin: 0 auto;
  }

  .expert-card {
    width: 90%;
  }

  .tips-section li {
    font-size: 1em;
    padding: 8px;
  }
}
