/* Vision & Mission Section */
.vm-section {
  width: 100%;
  background-image: url('../img/bgtri.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0;
}

.vm-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* left: tabs/content, right: image */
  gap: 2rem;
  align-items: center;
}

.vm-left {}

.vm-right img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.vm-image--placeholder {
  background: #e9ecef;
  border-radius: 8px;
  min-height: 360px;
}

/* Tabs */
.vm-tabs {
  display: inline-flex;
  gap: 10px;
  margin: 0 0 14px 0;
}

.vm-tab {
  appearance: none;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vm-tab:hover {
  background: #e2e8f0;
}

.vm-tab.is-active,
.vm-tab[aria-selected='true'] {
  background: #1f2a44;
  color: #fff;
  border-color: #1f2a44;
  box-shadow: 0 6px 14px rgba(31,42,68,0.25);
}

.vm-tab:focus {
  outline: 2px solid #1f2a44;
  outline-offset: 2px;
}

.vm-panels {
  margin-top: 8px;
}

.vm-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

/* Hide when [hidden] present (for robust cross-browser) */
.vm-panel[hidden] { display: none !important; }
.vm-panel:not(.is-active) { display: none; }

.vm-placeholder {
  color: #64748b;
  margin: 0;
}

/* Content typography within panels */
.vm-panel .entry-content p {
  margin: 0 0 0.75rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .vm-inner { gap: 1.5rem; }
}

@media (max-width: 768px) {
  .vm-section { padding: 40px 0; }
  .vm-inner {
    grid-template-columns: 1fr; /* stack */
  }
  .vm-right { order: 2; }
  .vm-left { order: 1; }
}
