/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #0d0d0f;
  color: #e4e4e7;
  font-family: 'Poppins', sans-serif;
}

/* Sticky footer */
main {
  flex: 1;
}

footer {
  background: #0a0a0c;
  border-top: 1px solid #1f1f22;
  color: #7d7d84;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
}

/* Navbar */
.navbar {
  background: rgba(15, 15, 18, 0.85) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f1f22;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  background: linear-gradient(90deg, #06b6d4, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
  color: #9ca3af !important;
  transition: all 0.25s ease;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
  transform: translateY(-1px);
}

/* Page content blocks */
.content-box {
  background: rgba(25, 25, 28, 0.8);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.55);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}

/* Headings */
h1, h2, h3 {
  font-weight: 700;
  color: #f1f1f5;
}

p.lead {
  color: #c7c7d1;
  font-size: 1.1rem;
}

/* List groups */
.list-group-item-dark {
  background: rgba(35, 35, 40, 0.85);
  color: #ddd;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 8px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.list-group-item-dark:hover {
  background: rgba(45, 45, 52, 0.9);
  color: #fff;
  transform: translateX(4px);
}

/* Links */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #06b6d4;
}
/* Gradient accent under headings */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #9333ea);
  border-radius: 2px;
}
/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}