/* FAQ Page Specific Styles */
.faq-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0 60px;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin: 5px 0;
  font-weight: 400;
}

/* Search Bar Styles */
.faq-search {
  position: relative;
  max-width: 600px;
  margin: 0 auto 50px;
  background: white;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #bdc3c7;
  z-index: 2;
}

.faq-search input {
  width: 100%;
  padding: 18px 20px 18px 55px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #2c3e50;
  background: transparent;
}

.faq-search input::placeholder {
  color: #bdc3c7;
  font-style: italic;
}

/* FAQ List Styles */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #3498db;
}

.faq-item.active {
  border-color: #3498db;
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

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

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: #3498db;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 30px 30px;
  color: #5a6c7d;
  line-height: 1.6;
}

.faq-answer-content p {
  margin-bottom: 15px;
}

.faq-answer-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.faq-answer-content li {
  margin-bottom: 8px;
  position: relative;
}

.faq-answer-content li::marker {
  color: #3498db;
}

.faq-answer-content strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Hidden state for search */
.faq-item.hidden {
  display: none;
}

/* Contact CTA Styles */
.contact-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-cta h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-cta p {
  color: #7f8c8d;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.cta-btn {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, #2980b9, #3498db);
}

/* Chat Widget Styles (matching screenshot) */
.chat-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
}

.chat-bubble {
  width: 60px;
  height: 60px;
  background: #3498db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
  transition: all 0.3s ease;
}

.chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.chat-bubble svg {
  width: 28px;
  height: 28px;
  color: white;
}

.chat-tooltip {
  position: absolute;
  bottom: 70px;
  left: 0;
  background: #2c3e50;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.chat-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  border: 5px solid transparent;
  border-top-color: #2c3e50;
}

.chat-bubble:hover .chat-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2.5rem;
  }

  .faq-container {
    padding: 0 15px;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 15px;
  }

  .faq-answer-content {
    padding: 0 20px 25px;
  }

  .faq-search {
    margin: 0 15px 40px;
  }

  .contact-cta {
    margin: 40px 15px 0;
    padding: 30px 20px;
  }

  .chat-widget {
    bottom: 20px;
    left: 20px;
  }

  .chat-bubble {
    width: 50px;
    height: 50px;
  }

  .chat-bubble svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .faq-title {
    font-size: 2rem;
  }

  .faq-section {
    padding: 60px 0 40px;
  }

  .faq-header {
    margin-bottom: 30px;
  }

  .faq-search input {
    padding: 15px 15px 15px 45px;
    font-size: 0.9rem;
  }

  .faq-search-icon {
    left: 15px;
  }
}

/* Animation for FAQ items appearing */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: fadeInUp 0.5s ease forwards;
}

.faq-item:nth-child(1) {
  animation-delay: 0.1s;
}
.faq-item:nth-child(2) {
  animation-delay: 0.2s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.3s;
}
.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}
.faq-item:nth-child(5) {
  animation-delay: 0.5s;
}
