:root {
  --brand: #17658c;
  --brand-accent: #29abe2;
}

/* Global */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f2f5;
}

.text-primary-blue { color: var(--brand); }
.bg-primary-blue { background-color: var(--brand); }

.main-content {
  background-color: #ffffff;
  border-radius: 0.5rem;
}

/* Links */
.article-link { transition: color 0.2s ease-in-out; }
.article-link:hover { color: var(--brand); }

/* Hover shadows */
.hover-shadow:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
}

/* Sidebar Card */
.sidebar-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--brand);
}

.sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Sidebar links */
.sidebar-link {
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
  color: var(--brand);
}
.sidebar-link:hover {
  color: var(--brand-accent);
  transform: translateX(5px);
}
.sidebar-link i {
  transition: transform 0.3s ease, color 0.3s ease;
  color: var(--brand);
}
.sidebar-link:hover i {
  transform: scale(1.2) rotate(5deg);
  color: var(--brand-accent);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--delay, 0ms);
}

/* Gradient panels */
.gradient-panel {
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  background-image: linear-gradient(to right, #f8d7da, var(--brand));
}

/* Glass gradient card */
.glass-gradient {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.7), rgba(23, 101, 140, 0.25));
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mirror-gradient with animated border */
.mirror-gradient {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  overflow: hidden;
}
.mirror-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(270deg, var(--brand), var(--brand-accent), var(--brand));
  background-size: 600% 600%;
  animation: gradientMove 12s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Blue enclosing bar (left & right) */
.blue-enclose {
  border-left: 4px solid var(--brand);
  border-right: 4px solid var(--brand);
  padding: 0 1rem;
}
