

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Satisfy", cursive;
  background: #f1f5f9;
  color: #111827;
  padding-top: 70px;
}

.dashboard-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(59, 130, 246, 0.8);
  border-bottom: 1px solid #e5e7eb;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.dashboard-navbar .logo {
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dashboard-navbar .logo small {
  font-size: 0.8rem;
  color: #6b7280;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.profile-chip {
  background: #e0e7ff;
  padding: 6px 12px;
  border-radius: 999px;
  color: #1e3a8a;
  font-weight: 600;
}
.logout-link {
  background-color: #f87171;
  color: white;
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logout-link:hover {
  background-color: #dc2626;
  color: white;
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
}

h1 {
  text-align: center;
  color: #ecece5;
}

#ideas-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.idea-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: 350px;
  padding: 20px;
  margin: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.idea-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.idea-card h3 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 6px;
  line-height: 1.4;
}

.idea-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #374151;
}

.idea-card p.description,
.idea-card p.audience,
.idea-card p.problem {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  height: 3em;
  line-height: 1.5em;
  margin-bottom: 6px;
}

.idea-card a {
  display: inline-block;
  margin-top: 8px;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.idea-card a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
.idea-card-wrapper {
  position: relative;
  padding: 4px;
  border-radius: 14px;
  background: conic-gradient(from 0deg, #3b82f6, #10b981, #ec4899, #3b82f6);
  background-size: 400% 400%;
  animation: rotateBorder 6s linear infinite;
  transition: transform 0.2s ease;
}

@keyframes rotateBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

.idea-card-wrapper:hover {
  transform: scale(1.02);
}

.idea-card-wrapper .idea-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  height: 100%;
  margin: 0;
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.idea-card-wrapper .idea-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

#modal-content {
  background: white;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 80%;
  animation: scaleFadeIn 0.25s ease-in-out;
  overflow-y: auto;
}
@keyframes scaleFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
}
#modal-close:hover {
  color: red;
}

mark {
  background-color: yellow;
  padding: 0 2px;
}
.footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 40px 20px;
  font-family: "Segoe UI", sans-serif;
  text-align: center;
}

.footer-cta h2 {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-cta p {
  margin-bottom: 20px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-buttons .btn {
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #10b981);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #10b981, #2563eb);
}

.btn-secondary {
  background: white;
  color: #0f172a;
  border: none;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.footer-links {
  display: flex;
  justify-content: space-around;
  margin: 40px 0 20px;
  flex-wrap: wrap;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  gap: 30px;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 12px;
}

.footer-section p {
  max-width: 280px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-section ul li a:hover {
  color: #2563eb;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #64748b;
}
.profile-chip {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.badge-electronics {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-ai {
  background-color: #e0e7ff;
  color: #1e40af;
}

.badge-health {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-education {
  background-color: #fef9c3;
  color: #92400e;
}

.badge-finance {
  background-color: #fce7f3;
  color: #9d174d;
}

.badge-other {
  background-color: #e2e8f0;
  color: #1e293b;
}

.badge-default {
  background-color: #e5e7eb;
  color: #374151;
}
.submitted-by {
  margin-top: 10px;
  font-size: 1rem;
  font-style: italic;
  color: #6b7280;
}
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
li a {
  position: relative;
  text-decoration: none;
  color: #333;
  padding: 5px 0;
  display: inline-block;
}

li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

li a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: #07cd4c;
}