/* ==========================================================================
   GMC FAQ Section
   Theme matched with Core Capabilities & Industries Sections
   Colors: #3478ed (primary accent), #f8faff (section bg), #172b50 (heading), #667796 (body)
   ========================================================================== */

.gmc-faq-sec {
  background-color: #f8faff;
  padding: 90px 0 90px;
  position: relative;
  box-sizing: border-box;
}

.gmc-faq-card {
  background: #ffffff;
  border: 1px solid #d9e5f7;
  border-radius: 24px;
  padding: 56px 36px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 6px 30px rgba(42, 82, 140, 0.04);
  box-sizing: border-box;
}

.gmc-faq-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

/* Badge matching .core-capabilities-badge */
.gmc-faq-pill,
.gmc-faq-head .core-capabilities-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border: 1px solid #d6e4ff;
  border-radius: 30px;
  background: #f1f6ff;
  color: #3478ed;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gmc-faq-pill i,
.gmc-faq-head .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6d9df5;
  box-shadow: 0 0 0 4px #dce9ff;
  display: block;
}

/* Header Heading matching .core-capabilities-header h2 */
.gmc-faq-head h2 {
  margin-bottom: 15px;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 600;
  color: #172b50;
  letter-spacing: -0.02em;
  font-family: inherit;
  text-align: center;
}

.gmc-faq-head h2 span {
  color: #3478ed;
  font-weight: 600;
}

/* Header Paragraph matching .core-capabilities-header p */
.gmc-faq-head p {
  max-width: 680px;
  margin: 0 auto;
  color: #667796;
  font-size: 16px;
  line-height: 1.7;
  font-family: inherit;
  text-align: center;
}

/* Controls & Search (if present) */
.gmc-faq-controls {
  max-width: 860px;
  margin: 0 auto 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.gmc-faq-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.gmc-faq-search input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border: 1.5px solid #e6ecf5;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease;
}

.gmc-faq-search input:focus {
  border-color: #3478ed;
  box-shadow: 0 0 0 3px rgba(52, 120, 237, 0.12);
}

.gmc-faq-search:after {
  content: "⌕";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #94a3b8;
}

.gmc-faq-btns {
  display: flex;
  gap: 8px;
}

.gmc-faq-link {
  background: none;
  border: 1px solid #e6ecf5;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.gmc-faq-link:hover {
  border-color: #3478ed;
  color: #3478ed;
}

.gmc-faq-count {
  max-width: 860px;
  margin: 0 auto 12px;
  font-size: 13px;
  color: #667796;
  display: none;
  text-align: left;
}

/* FAQ List */
.gmc-faq-list {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* FAQ Item */
.gmc-faq-item {
  border: 1px solid #e2eaf5;
  border-radius: 16px;
  background: #ffffff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  overflow: hidden;
}

.gmc-faq-item:hover {
  border-color: #c7dbf9;
}

.gmc-faq-item.open {
  border-color: #bfdbfe;
  box-shadow: 0 10px 25px rgba(52, 120, 237, 0.08);
}

/* Question Header */
.gmc-faq-q {
  margin: 0;
}

.gmc-faq-q button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  box-sizing: border-box;
}

.gmc-faq-q button:focus-visible {
  outline: 2px solid #3478ed;
  outline-offset: -2px;
  border-radius: 14px;
}

/* Question Number Badge */
.gmc-faq-num {
  background: #f1f6ff;
  color: #3478ed;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 8px;
  min-width: 36px;
  text-align: center;
  flex-shrink: 0;
}

/* Question Text */
.gmc-faq-qt {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #172b50;
  line-height: 1.45;
}

/* Question Icon (+/-) */
.gmc-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f6ff;
  color: #3478ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
  user-select: none;
}

.gmc-faq-item.open .gmc-faq-icon {
  background: #3478ed;
  color: #ffffff;
}

/* Answer Drawer */
.gmc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.gmc-faq-a-in {
  padding: 0 20px 20px 70px;
  color: #5b6b86;
  font-size: 15px;
  line-height: 1.7;
  font-family: inherit;
}

.gmc-faq-empty {
  display: none;
  text-align: center;
  padding: 24px;
  color: #64748b;
  font-size: 14px;
  border: 1.5px dashed #e2e8f0;
  border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .gmc-faq-sec {
    padding: 70px 0;
  }
  .gmc-faq-card {
    padding: 44px 24px;
  }
}

@media (max-width: 640px) {
  .gmc-faq-sec {
    padding: 50px 0;
  }
  .gmc-faq-card {
    padding: 32px 16px;
    border-radius: 18px;
  }
  .gmc-faq-head h2 {
    font-size: 28px;
  }
  .gmc-faq-head p {
    font-size: 15px;
  }
  .gmc-faq-q button {
    padding: 14px 12px;
    gap: 10px;
  }
  .gmc-faq-num {
    min-width: 30px;
    font-size: 11px;
    padding: 6px 0;
  }
  .gmc-faq-qt {
    font-size: 14.5px;
  }
  .gmc-faq-icon {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
  .gmc-faq-a-in {
    padding: 0 14px 16px 14px;
    font-size: 14px;
    line-height: 1.6;
  }
}
