/* Domain Knowledge Component Styles */

.domain-knowledge-section {
  font-family: 'Outfit', 'Open Sans', sans-serif;
}

.dk-content-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Subtle glowing accent line on top */
.dk-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-green, #12d640), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 2;
}

.dk-content-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 35px color-mix(in srgb, var(--primary-green) 10%, transparent), 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: color-mix(in srgb, var(--primary-green) 20%, transparent);
  background: rgba(255, 255, 255, 0.05) !important;
}

.dk-content-card:hover::before {
  transform: translateX(100%);
}

.dk-title {
  color: #fff !important; /* Keep title white for contrast */
  font-weight: 700 !important;
  display: flex;
  align-items: center;
  font-size: 1.25rem;
}

.dk-subtitle {
  color: #a0aab2 !important;
  font-size: 0.9rem !important;
  margin-bottom: 1.2rem !important;
  letter-spacing: 0.5px;
}

.dk-list {
  list-style-type: disc;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 0;
  color: #e0e6ed;
}

.dk-list li {
  margin-bottom: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dk-list li::marker {
  color: var(--primary-green, #12d640);
}

.dk-list li:hover {
  transform: translateX(5px);
  color: #fff;
}

/* Responsiveness tweaks */
@media (max-width: 768px) {
  .dk-content-card {
    padding: 1.5rem !important;
  }
  .dk-title {
    font-size: 1.15rem;
  }
}

