/* ────────────────────────────────────────────────────────────────────────
 * MENTULABS TRUST CENTER CSS
 * ──────────────────────────────────────────────────────────────────────── */

.trust-hero {
  background-color: var(--ml-primary-dark);
  padding: 56px 120px;
}

@media (max-width: 768px) {
  .trust-hero {
    padding: 40px 20px;
  }
}

.trust-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .trust-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.trust-hero-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-hero-eyebrow-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-hero-line {
  height: 2px;
  width: 28px;
  background: var(--ml-primary-orange);
  flex-shrink: 0;
}

.trust-hero-eyebrow {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--ml-primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.15px;
  margin: 0;
}

.trust-hero-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ml-primary-cream);
  line-height: 1.12;
  letter-spacing: -0.5px;
  max-width: 600px;
  margin: 0;
}

.trust-hero-description {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(249, 247, 241, 0.75);
  line-height: 1.6;
  max-width: 520px;
  margin: 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .trust-badge {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.trust-main {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 120px;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .trust-main {
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
  }
}

.trust-sidebar {
  flex: 25;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .trust-sidebar {
    position: static;
    width: 100%;
  }
}

.trust-sidebar-card {
  margin-top: 16px;
  padding: 24px;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(0, 42, 40, 0.07);
}

.trust-sidebar-card-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ml-primary-dark);
  margin: 0 0 8px 0;
}

.trust-sidebar-card-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  color: var(--ml-primary-dark);
  opacity: 0.7;
  margin: 0 0 16px 0;
}

.trust-sidebar-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  border-radius: 9999px;
  background: rgba(0, 42, 40, 0.05);
  color: var(--ml-primary-dark);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}

.trust-sidebar-card-btn:hover {
  background: rgba(0, 42, 40, 0.1);
}

.trust-content {
  flex: 75;
  min-width: 0;
}

.trust-nav-select {
  width: 100%;
  padding: 11px 40px 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 42, 40, 0.15);
  background-color: white;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ml-primary-dark);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23002a28' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.trust-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(0, 42, 40, 0.07);
  box-shadow: 0 4px 20px rgba(0, 42, 40, 0.03);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 42, 40, 0.08);
}

.trust-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ml-primary-dark);
  margin: 0 0 8px 0;
}

.trust-card-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--ml-primary-dark);
  opacity: 0.7;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.trust-card-link {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--ml-primary-blue);
}

.trust-tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.trust-tab-content.active {
  display: block;
}

.trust-tab-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.trust-tab-grid:not(.active) {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections specific styling */
.trust-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .trust-principles-grid {
    grid-template-columns: 1fr;
  }
}

.trust-principle-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(0, 42, 40, 0.08);
  box-shadow: 0 2px 8px rgba(0, 42, 40, 0.04);
}

.shaia-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 42, 40, 0.10);
  background: white;
}

@media (max-width: 1024px) {
  .shaia-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shaia-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  border-left: 1px solid rgba(0, 42, 40, 0.07);
}

@media (max-width: 1024px) {
  .shaia-stat {
    border-left: none;
    border-bottom: 1px solid rgba(0, 42, 40, 0.07);
  }
}

/* Simple content sections */
.trust-simple-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.trust-section-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ml-primary-dark);
  margin: 0;
  letter-spacing: -0.1px;
}

.trust-section-divider {
  height: 1px;
  background: rgba(0, 42, 40, 0.08);
}

.trust-section-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: var(--ml-primary-dark);
  opacity: 0.85;
  line-height: 1.75;
  margin: 0;
}

.trust-internal-header {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ml-primary-dark);
  margin: 32px 0 16px 0;
}

.trust-link {
  color: var(--ml-primary-blue);
  text-decoration: none;
}

.trust-link:hover {
  text-decoration: underline;
}

/* Document View Styling */
.trust-breadcrumb {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--ml-primary-dark);
  opacity: 0.8;
  margin-bottom: 32px;
}

.trust-breadcrumb span {
  cursor: pointer;
  color: var(--ml-primary-blue);
  font-family: inherit;
}

.trust-breadcrumb span:hover {
  text-decoration: underline;
}

.trust-breadcrumb b {
  font-weight: 600;
  opacity: 1;
}

.trust-doc-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.trust-doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--ml-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-doc-title {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--ml-primary-dark);
  margin: 0;
  letter-spacing: -0.5px;
}

.trust-doc-meta {
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  color: var(--ml-primary-dark);
  opacity: 0.6;
  margin: 0;
}

.trust-doc-divider {
  height: 1px;
  background: rgba(0, 42, 40, 0.1);
  margin-bottom: 48px;
}

.trust-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 16px;
  background: #f0f7ff;
  border: 1px solid rgba(39, 115, 191, 0.15);
  margin-bottom: 40px;
}

.trust-stats-label {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--ml-primary-blue);
  text-transform: uppercase;
  margin: 0 0 2px 0;
}

.trust-stats-value {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--ml-primary-dark);
  margin: 0;
}

.trust-download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(39, 115, 191, 0.3);
  background: transparent;
  color: var(--ml-primary-blue);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.trust-download-btn:hover {
  background: var(--ml-primary-blue);
  color: white;
}
