/* 
 * FAQ Page Professional Styling 
 * Matches the why-ste.html design for consistency
 */

.faq-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.faq-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(#grid)"/></svg>');
  opacity: 0.3;
}

.faq-hero-container {
  position: relative;
  z-index: 1;
}

.faq-hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.faq-hero-text {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
}

.faq-hero-icon {
  margin-bottom: 2rem;
}

.faq-hero-icon i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.faq-hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: white;
}

.faq-hero h2 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  color: white;
}

.faq-hero p {
  font-size: 1.1rem;
  opacity: 0.8;
  color: white;
  line-height: 1.6;
  margin-bottom: 0;
}

.faq-hero-image {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  text-align: center;
}

.faq-question-graphic {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.faq-question-graphic i {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.faq-question-text {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.faq-hero-image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

/* FAQ Content Section */
.faq-content {
  padding: 6rem 0;
  background: #f8f9fa;
}

.faq-navigation-card {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.faq-navigation-body {
  padding: 2rem;
  text-align: center;
}

.faq-navigation h2 {
  color: #333;
  margin-bottom: 1.5rem;
}

.faq-section {
  margin-bottom: 4rem;
}

.faq-section-title {
  color: #333;
  margin-bottom: 3rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
}

.faq-section-icon {
  color: #667eea;
  margin-right: 0.5rem;
}

.faq-item {
  margin-bottom: 2rem;
}

.faq-card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-card-header {
  border: none;
  padding: 1.5rem;
}

.faq-card-header h3 {
  color: white;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-card-header i {
  margin-right: 0.5rem;
}

/* Gradient backgrounds for different sections */
.faq-header-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.faq-header-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.faq-header-warning {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.faq-header-info {
  background: linear-gradient(135deg, #17a2b8 0%, #6610f2 100%);
}

.faq-header-secondary {
  background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
}

.faq-header-dark {
  background: linear-gradient(135deg, #343a40 0%, #495057 100%);
}

.faq-header-blue {
  background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
}

.faq-header-orange {
  background: linear-gradient(135deg, #fd7e14 0%, #ff6b6b 100%);
}

.faq-header-green {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.faq-card-body {
  padding: 2rem;
}

/* Contact CTA */
.faq-contact-cta {
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.faq-contact-body {
  padding: 3rem;
  text-align: center;
}

.faq-contact-body h2 {
  margin-bottom: 1.5rem;
  color: white;
}

.faq-contact-body p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Contact CTA Button Layout */
.faq-contact-body .row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.faq-contact-body .col-md-4 {
  flex: 0 1 auto;
  max-width: 250px;
}

.faq-contact-body .btn {
  white-space: nowrap;
  min-width: 200px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .faq-hero {
    padding: 4rem 0 !important;
  }
  
  .faq-hero h1 {
    font-size: 2.5rem !important;
  }
  
  .faq-hero h2 {
    font-size: 1.2rem !important;
  }
  
  .faq-hero-content {
    gap: 2rem !important;
  }
  
  .faq-hero-text {
    min-width: 300px !important;
  }
  
  .faq-hero-image {
    min-width: 250px !important;
    max-width: 350px !important;
  }
  
  .faq-question-graphic {
    width: 200px !important;
    height: 200px !important;
  }
  
  .faq-question-graphic i {
    font-size: 5rem !important;
  }
  
  .faq-question-text {
    font-size: 1.5rem !important;
  }
  
  .faq-content {
    padding: 4rem 0;
  }
  
  .faq-section-title {
    font-size: 1.8rem;
  }
  
  .faq-card-header h3 {
    font-size: 1.1rem;
  }
  
  .faq-contact-body {
    padding: 2rem;
  }
  
  .faq-contact-body .row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .faq-contact-body .col-md-4 {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .faq-hero-text {
    min-width: 250px !important;
  }
  
  .faq-hero-image {
    min-width: 200px !important;
    max-width: 280px !important;
  }
  
  .faq-question-graphic {
    width: 150px !important;
    height: 150px !important;
  }
  
  .faq-question-graphic i {
    font-size: 3.5rem !important;
  }
  
  .faq-question-text {
    font-size: 1.2rem !important;
  }
  
  .faq-content {
    padding: 3rem 0;
  }
}

/* Accessibility improvements */
.faq-card-header:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Animation for smooth interactions */
.faq-card-body {
  transition: padding 0.3s ease;
}

.faq-item:hover .faq-card-body {
  padding: 2.2rem 2rem;
}
