/* ===== FAQ INTERACTIVE SECTION STYLES ===== */

/* Import Material Icons */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Main FAQ Section */
.faq-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Title Styles */
.faq-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #413e66;
  margin-bottom: 20px;
  line-height: 1.2;
}

.subtitle-faq {
  font-size: 2.2rem;
  font-weight: 300;
  color: #1f7971;
}

.faq-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 0;
  font-weight: 300;
}

/* FAQ Preview Cards */
.faq-preview-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.faq-preview-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(31, 121, 113, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(31, 121, 113, 0.05), transparent);
  transition: left 0.6s;
}

.faq-preview-card:hover::before {
  left: 100%;
}

.faq-preview-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(31, 121, 113, 0.2);
}

/* Card Icons */
.card-icon {
  margin-bottom: 25px;
}

.icon-circle {
  width: 80px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f7971, #26a69a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(31, 121, 113, 0.3);
  transition: all 0.3s ease;
}

.faq-preview-card:hover .icon-circle {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 12px 35px rgba(31, 121, 113, 0.4);
}

.icon-circle .material-icons {
  font-size: 36px;
  color: white;
}

/* Card Content */
.faq-preview-card h3 {
  font-size: 1.8rem;
  color: #413e66;
  margin: 20px 0 15px;
  font-weight: 600;
}

.faq-preview-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Question Count */
.question-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}

.count-number {
  font-size: 2rem;
  font-weight: 700;
  color: #1f7971;
}

.count-text {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Quick FAQ Preview */
.quick-faq-preview {
  margin-top: 60px;
}

.quick-questions-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quick-title {
  font-size: 2rem;
  color: #413e66;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.quick-question-item {
  margin-bottom: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.quick-question-item.expanded {
  box-shadow: 0 5px 25px rgba(31, 121, 113, 0.2);
}

.question-bubble {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 18px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  cursor: pointer;
}

.question-bubble:hover {
  background: linear-gradient(135deg, #1f7971, #26a69a);
  color: white;
  border-left-color: #d14715;
}

.quick-question-item.expanded .question-bubble {
  background: linear-gradient(135deg, #1f7971, #26a69a);
  color: white;
  border-left-color: #d14715;
}

.question-bubble span {
  font-size: 1.1rem;
  font-weight: 500;
}

.expand-icon {
  transition: transform 0.3s ease;
  font-size: 24px;
}

.quick-question-item.expanded .expand-icon {
  transform: rotate(180deg);
}

/* Answer Content */
.answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #f8f9fa;
}

.quick-question-item.expanded .answer-content {
  max-height: 500px;
  padding: 25px;
}

.answer-text {
  color: #333;
  line-height: 1.6;
}

.answer-text p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.services-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list strong {
  color: #1f7971;
}

/* Answer Actions */
.answer-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.share-btn,
.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.share-btn {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #1976d2;
}

.share-btn:hover {
  background: #1976d2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.learn-more-btn {
  background: #e8f5e8;
  color: #1f7971;
  border: 1px solid #1f7971;
}

.learn-more-btn:hover {
  background: #1f7971;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 121, 113, 0.3);
  text-decoration: none;
}

.share-btn .material-icons,
.learn-more-btn .material-icons {
  font-size: 18px;
}

/* CTA Section */
.faq-cta-section {
  text-align: center;
}

.faq-main-cta {
  display: inline-block;
}

/* Explore Button */
.faq-explore-btn {
  background: linear-gradient(135deg, #1f7971, #26a69a);
  border: none;
  border-radius: 50px;
  padding: 20px 40px;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(31, 121, 113, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.faq-explore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(31, 121, 113, 0.4);
}

.faq-explore-btn:active {
  transform: translateY(-1px);
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  position: relative;
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.faq-explore-btn:active .btn-ripple {
  width: 300px;
  height: 300px;
}

/* Contact Alternative */
.contact-alternative {
  margin-top: 30px;
}

.contact-alternative p {
  color: #666;
  margin-bottom: 15px;
  font-style: italic;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f7971;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #1f7971;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: #1f7971;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(31, 121, 113, 0.3);
  text-decoration: none;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.1;
}

.floating-icon .material-icons {
  font-size: 48px;
  color: #1f7971;
}

.floating-icon:nth-child(2) {
  animation-delay: -2s;
}

.floating-icon:nth-child(3) {
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2.5rem;
  }
  
  .subtitle-faq {
    font-size: 1.8rem;
  }
  
  .faq-preview-grid {
    flex-direction: column;
    gap: 20px;
  }
  
  .faq-preview-card {
    height: auto;
    margin: 0 15px;
  }
  
  .quick-questions-container {
    margin: 0 15px;
    padding: 30px 20px;
  }
  
  .floating-icon {
    display: none;
  }
}

/* Dark Mode Support */
body.theme-dark .faq-section {
  background: linear-gradient(135deg, #1e1e1e 0%, #2e2e2e 100%);
}

body.theme-dark .faq-title,
body.theme-dark .quick-title {
  color: #e0e0e0;
}

body.theme-dark .faq-subtitle,
body.theme-dark .faq-preview-card p {
  color: #b0b0b0;
}

body.theme-dark .faq-preview-card,
body.theme-dark .quick-questions-container {
  background: #333;
  color: #e0e0e0;
}

body.theme-dark .question-bubble {
  background: linear-gradient(135deg, #404040, #505050);
  color: #e0e0e0;
}

body.theme-dark .contact-alternative p {
  color: #b0b0b0;
}
