/* ============================================================
   Development Mega-Menu — 2026 upgrade
   ============================================================ */

/* ---------- Outer shell — must stay transparent so padding-top:40px acts as hover bridge ---------- */
.dm-mega {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  /* Do NOT override padding — inherits padding-top:40px from .megamenu in style.css */
}

/* ---------- Inner card — holds all visuals ---------- */
.dm-inner {
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 20px 60px rgba(4,1,53,0.12), 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* ---------- Column ---------- */
.dm-col {
  padding: 28px 24px 24px;
  height: 100%;
  border-right: 1px solid rgba(0,0,0,0.06);
  transition: background 0.18s ease;
}
.dm-col:last-child { border-right: 0; }
.dm-col:hover { background: #fafafa; }

/* ---------- Column header ---------- */
.dm-col__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  text-decoration: none;
}
.dm-col__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.dm-col__icon--orange { background: linear-gradient(135deg, #f5820f, #e06b00); }
.dm-col__icon--blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.dm-col__icon--green  { background: linear-gradient(135deg, #16a34a, #15803d); }
.dm-col__icon--purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }

.dm-col__meta { flex: 1; min-width: 0; }
.dm-col__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #040135;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 2px;
  transition: color 0.15s ease;
}
.dm-col__title:hover { color: #f5820f; }
.dm-col__desc {
  font-size: 11px;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

/* ---------- Item list ---------- */
.dm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dm-list li { margin-bottom: 2px; }
.dm-list li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  line-height: 1.35;
}
.dm-list li a:hover {
  background: rgba(245,130,15,0.08);
  color: #f5820f;
  padding-left: 14px;
}
.dm-list li a i {
  font-size: 12px;
  width: 16px;
  text-align: center;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}
.dm-list li a:hover i { opacity: 1; }

/* ---------- Bottom CTA strip ---------- */
.dm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #040135 0%, #090468 100%);
}
.dm-footer__text {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dm-footer__text strong { color: #fff; font-weight: 600; }
.dm-footer__actions { display: flex; gap: 10px; align-items: center; }
.dm-footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: linear-gradient(135deg, #f5820f, #e06b00);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(245,130,15,0.4);
}
.dm-footer__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,130,15,0.55);
  color: #fff !important;
}
.dm-footer__link {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.dm-footer__link:hover { color: #ffc61a; }

/* ---------- Responsive: stack on mobile ---------- */
@media (max-width: 991px) {
  .dm-col { border-right: 0; border-bottom: 1px solid rgba(0,0,0,0.07); padding: 16px; }
  .dm-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}
