/* Modern Dark Theme Variables */
:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --accent: #38bdf8;
  --glass-bg: rgba(15, 23, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-secondary-light {
  color: var(--text-muted);
}

/* Glassmorphism Navbar */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-brand {
  font-size: 1.5rem;
}

.nav-link {
  color: var(--text-muted) !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  position: relative;
  padding-top: 80px;
}

.blob {
  position: absolute;
  width: 300px;
  height: 300px;
  filter: blur(80px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.4;
  animation: float 10s infinite ease-in-out;
}

.blob-1 {
  background: var(--primary);
  top: 20%;
  left: 10%;
}

.blob-2 {
  background: var(--secondary);
  bottom: 20%;
  right: 10%;
  animation-delay: 5s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

.glow-button {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border: none;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.glow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
}

/* Topic Cards */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.topic-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.icon-wrapper {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--bg-dark);
}