/* Tổng thể: glass morphism nhẹ giúp phân tách khối rõ ràng */
:root {
  --card-blur-bg: rgba(15, 23, 42, 0.65);
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --text-muted: #cbd5f5;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f8fafc;
}

main {
  backdrop-filter: blur(8px);
  padding-bottom: 3rem;
  padding-inline: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

section {
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f1f5f9;
}

.section-description,
.subtitle,
.description {
  color: var(--text-muted) !important;
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--card-blur-bg);
  border-radius: 22px;
  padding: 1.2rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 15px 35px rgba(2, 6, 23, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 210px;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.55);
}

.service-icon img,
.service-icon svg {
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.85));
}

.widget {
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.resources-widget .stat .value {
  font-size: 1.3rem;
  color: var(--accent);
}

.search-widget input {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #f8fafc;
}

.quick-launch {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.quick-launch button:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #f8fafc;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-top: auto;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.3rem;
  }

  .card {
    border-radius: 18px;
  }
}
