/* FAQ section headers – icons aligned with About Us page */
.faq-section h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.faq-section h2 .faq-section-icon {
  font-size: 1.75rem;
  color: #ff6b00;
  min-width: 1.75rem;
}

/* 360° Partnership Map Styles - New Structure */
.partnership-overview {
  margin: 2rem 0;
}

.partnership-overview h4 {
  color: #ff6b00;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.partnership-category {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #ff6b00;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partnership-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.partnership-category h5 {
  color: #ff6b00;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b00, #ff8533);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
}

.category-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.partner-levels {
  margin-top: 1rem;
}

.partner-level {
  margin-bottom: 1rem;
}

.partner-level strong {
  color: #ff6b00;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
}

.partner-level ul {
  margin-left: 1rem;
  list-style: none;
  padding: 0;
}

.partner-level li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
  color: #333;
}

.partner-level li::before {
  content: "•";
  color: #ff6b00;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.subsidiary {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0 2px;
}

.legend-container {
  background: linear-gradient(135deg, #ff6b00, #ff8533);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.legend-container h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.legend-item:last-child {
  margin-bottom: 0;
}

.legend-badge {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 80px;
  text-align: center;
}

.legend-badge.direct {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.legend-badge.indirect {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

.legend-badge.subsidiary {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .partnership-category {
    padding: 1rem;
  }

  .partnership-category h5 {
    font-size: 1.1rem;
  }

  .category-badge {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }

  .partner-level li {
    font-size: 0.9rem;
  }

  .subsidiary {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .partnership-overview h4 {
    font-size: 1.2rem;
  }

  .partnership-category h5 {
    font-size: 1rem;
    flex-wrap: wrap;
  }

  .legend-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .legend-badge {
    min-width: auto;
  }
}

.faq-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.faq-main h1 {
  text-align: center;
  color: #ff6b00;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.faq-section {
  margin-bottom: 4rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
  color: #ff6b00;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-section h2 .emoji {
  font-size: 1.5rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h3 {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.faq-item ul {
  list-style-type: none;
  padding-left: 1.5rem;
}

.faq-item ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-item ul li::before {
  content: "•";
  color: #ff6b00;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Hover effects */
.faq-item h3:hover {
  color: #ff6b00;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
  .faq-main {
    padding: 1rem;
  }

  .faq-section {
    padding: 1.5rem;
  }

  .faq-main h1 {
    font-size: 2rem;
  }

  .faq-section h2 {
    font-size: 1.5rem;
  }

  .faq-item h3 {
    font-size: 1.2rem;
  }
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--card-bg);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 0.5rem 0;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content a {
  color: var(--text-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 107, 0, 0.1);
}

.dropbtn {
  background-color: transparent;
  color: var(--text-color);
  padding: 12px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.dropbtn:hover {
  color: #ff6b00;
}

/* Partnership Matrix Table Styles */
.partnership-matrix {
  overflow-x: auto;
  margin: 1rem 0;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.matrix-table th,
.matrix-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 107, 0, 0.2);
  vertical-align: top;
}

.matrix-table th {
  background: linear-gradient(135deg, #ff6b00, #ff8533);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.matrix-table .sector-header {
  background: linear-gradient(135deg, #ff6b00, #ff8533);
  color: white;
  font-weight: 600;
  min-width: 120px;
}

.matrix-table .function-header {
  background: linear-gradient(135deg, #ff6b00, #ff8533);
  color: white;
  font-weight: 600;
  min-width: 180px;
}

.matrix-table .sub-header th {
  background: rgba(255, 107, 0, 0.1);
  color: #666;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 16px;
}

.matrix-table .sector-cell {
  background: rgba(255, 107, 0, 0.05);
  font-weight: 600;
  color: #ff6b00;
  border-right: 2px solid rgba(255, 107, 0, 0.3);
}

.matrix-table .partner-cell {
  background: var(--card-bg);
  line-height: 1.4;
  font-size: 0.9rem;
}

.matrix-table tbody tr:hover {
  background: rgba(255, 107, 0, 0.02);
}

.matrix-table tbody tr:hover .sector-cell {
  background: rgba(255, 107, 0, 0.1);
}

/* Responsive table */
@media (max-width: 1024px) {
  .matrix-table {
    font-size: 0.85rem;
  }

  .matrix-table th,
  .matrix-table td {
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  .partnership-matrix {
    margin: 0.5rem 0;
  }

  .matrix-table {
    font-size: 0.8rem;
  }

  .matrix-table th,
  .matrix-table td {
    padding: 6px 8px;
  }

  .matrix-table .function-header {
    min-width: 140px;
  }
}
