/* ====================================
   FAQ PAGE STYLES
   ==================================== */

/* Hero Section */
.faq-hero-section {
  background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
  color: #ffffff;
  padding: 100px 20px 80px;
  text-align: center;
  width: 100%;
}

.faq-hero-title {
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
}

.faq-hero-subtitle {
  font-size: 20px;
  margin: 0;
  opacity: 0.95;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 700px;
  margin: 0 auto;
}

/* Introduction Section */
.faq-intro-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.faq-intro-text {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin: 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Content Section */
.faq-content-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.faq-intro-box {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.faq-content-title {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-content-description {
  font-size: 17px;
  line-height: 1.8;
  color: #666;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* FAQ Items */
.faq-items {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: visible;
  transition: all 0.3s ease;
  background-color: #ffffff;
  width: 100%;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
  border-color: #0066CC;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background-color: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-item.active .faq-question {
  background-color: #f0f7ff;
  color: #0066CC;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  flex: 1;
  line-height: 1.5;
}

.faq-item.active .faq-question-text {
  color: #0066CC;
}

.faq-toggle-icon {
  font-size: 28px;
  font-weight: 300;
  color: #0066CC;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 102, 204, 0.1);
  transition: all 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  background-color: #0066CC;
  color: #ffffff;
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 30px;
  width: 100%;
  box-sizing: border-box;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 25px 0 15px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.faq-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 12px 0;
  padding-left: 25px;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: #0066CC;
  font-weight: bold;
  font-size: 20px;
}

.faq-list li strong {
  color: #333;
  font-weight: 600;
}

/* Table Styles */
.faq-table-wrapper {
  margin: 25px 0;
  width: 100%;
  overflow: visible;
}

.faq-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  table-layout: auto;
}

.faq-table thead {
  background-color: #0066CC;
  color: #ffffff;
}

.faq-table th {
  padding: 15px 12px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  word-wrap: break-word;
}

.faq-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.faq-table tbody tr:last-child {
  border-bottom: none;
}

.faq-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.faq-table td {
  padding: 15px 12px;
  font-size: 15px;
  color: #555;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  word-wrap: break-word;
}

.faq-table td:last-child {
  font-weight: 600;
  color: #0066CC;
}

/* Contact Section */
.faq-contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-contact-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-contact-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-contact-text {
  font-size: 17px;
  line-height: 1.8;
  color: #666;
  margin: 0 0 10px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-contact-note {
  font-size: 15px;
  color: #999;
  margin: 0 0 35px 0;
  font-style: italic;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.faq-contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.faq-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0066CC;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: color 0.2s ease;
}

.faq-contact-link:hover {
  color: #004499;
}

.faq-contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-contact-button {
  display: inline-block;
  padding: 16px 40px;
  background-color: #0066CC;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: all 0.3s ease;
  border: 2px solid #0066CC;
}

.faq-contact-button:hover {
  background-color: #004499;
  border-color: #004499;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .faq-hero-title {
    font-size: 48px;
  }
  
  .faq-content-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 768px) {
  .faq-hero-section {
    padding: 80px 15px 60px;
  }
  
  .faq-hero-title {
    font-size: 40px;
  }
  
  .faq-hero-subtitle {
    font-size: 18px;
  }
  
  .faq-intro-section {
    padding: 50px 15px;
  }
  
  .faq-intro-text {
    font-size: 16px;
  }
  
  .faq-content-section {
    padding: 60px 15px;
    overflow-x: hidden;
  }
  
  .container {
    overflow-x: visible;
    max-width: 100%;
  }
  
  .faq-intro-box {
    margin-bottom: 50px;
  }
  
  .faq-content-title {
    font-size: 32px;
    margin-bottom: 18px;
  }
  
  .faq-content-description {
    font-size: 16px;
  }
  
  .faq-question {
    padding: 20px 20px;
  }
  
  .faq-question-text {
    font-size: 17px;
  }
  
  .faq-answer {
    padding: 0 20px;
    overflow-x: hidden;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
  
  .faq-answer p {
    font-size: 15px;
  }
  
  .faq-subtitle {
    font-size: 18px;
    margin: 20px 0 12px 0;
  }
  
  .faq-table-wrapper {
    margin: 20px 0;
    width: 100%;
    overflow: visible;
  }
  
  .faq-table {
    width: 100%;
    table-layout: fixed;
    font-size: 14px;
  }
  
  .faq-table th,
  .faq-table td {
    padding: 12px 10px;
    font-size: 14px;
    word-wrap: break-word;
  }
  
  .faq-table th:first-child,
  .faq-table td:first-child {
    width: 60%;
  }
  
  .faq-table th:last-child,
  .faq-table td:last-child {
    width: 40%;
    text-align: right;
  }
  
  .faq-contact-section {
    padding: 60px 15px;
  }
  
  .faq-contact-box {
    padding: 40px 30px;
  }
  
  .faq-contact-title {
    font-size: 28px;
  }
  
  .faq-contact-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .faq-hero-section {
    padding: 60px 10px 50px;
  }
  
  .faq-hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .faq-hero-subtitle {
    font-size: 16px;
  }
  
  .faq-intro-section {
    padding: 40px 10px;
  }
  
  .faq-intro-text {
    font-size: 15px;
  }
  
  .faq-content-section {
    padding: 50px 10px;
    overflow-x: hidden;
  }
  
  .container {
    overflow-x: visible;
    max-width: 100%;
    padding: 0;
  }
  
  .faq-intro-box {
    margin-bottom: 40px;
  }
  
  .faq-content-title {
    font-size: 28px;
  }
  
  .faq-content-description {
    font-size: 15px;
  }
  
  .faq-items {
    gap: 15px;
  }
  
  .faq-question {
    padding: 18px 15px;
  }
  
  .faq-question-text {
    font-size: 16px;
  }
  
  .faq-toggle-icon {
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .faq-answer {
    padding: 0 15px;
    overflow-x: hidden;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 15px 18px;
  }
  
  .faq-answer p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .faq-subtitle {
    font-size: 17px;
    margin: 18px 0 12px 0;
  }
  
  .faq-list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
  }
  
  .faq-table-wrapper {
    margin: 20px 0;
    width: 100%;
    overflow: visible;
  }
  
  .faq-table {
    width: 100%;
    table-layout: fixed;
  }
  
  .faq-table th,
  .faq-table td {
    padding: 10px 8px;
    font-size: 12px;
    word-wrap: break-word;
    line-height: 1.4;
  }
  
  .faq-table th:first-child,
  .faq-table td:first-child {
    width: 60%;
  }
  
  .faq-table th:last-child,
  .faq-table td:last-child {
    width: 40%;
    text-align: right;
  }
  
  .faq-contact-section {
    padding: 50px 10px;
  }
  
  .faq-contact-box {
    padding: 35px 20px;
  }
  
  .faq-contact-title {
    font-size: 24px;
    margin-bottom: 18px;
  }
  
  .faq-contact-text {
    font-size: 15px;
  }
  
  .faq-contact-note {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  .faq-contact-link {
    font-size: 18px;
  }
  
  .faq-contact-button {
    padding: 14px 30px;
    font-size: 16px;
  }
}
