/* ===================== NOTES SECTION (cert-card style) ===================== */
.notes-section {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.notes-title {
  color: #00f2ff;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(0,242,255,0.5);
}

.note-card {
  flex: 0 0 auto !important;
  width: clamp(220px, 30vw, 380px) !important;
  height: auto !important;
  min-height: 260px;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(0,242,255,0.25);
  border-radius: 16px;
  padding: 18px 16px 20px;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.note-card:hover {
  transform: translateY(-6px);
}

.note-thumb {
  width: 100% !important;
  height: clamp(140px, 18vw, 230px) !important;
  max-width: 100% !important;
  object-fit: cover !important;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

.note-icon-fallback {
  font-size: 2.5rem;
}

.note-name {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #e0fbfc;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.note-card.nt-cyan   { border-color: rgba(0,242,255,0.3); }
.note-card.nt-cyan:hover   { border-color: #00f2ff; box-shadow: 0 10px 34px rgba(0,242,255,0.28); }
.note-card.nt-pink   { border-color: rgba(255,45,85,0.3); }
.note-card.nt-pink:hover   { border-color: #ff2d55; box-shadow: 0 10px 34px rgba(255,45,85,0.28); }
.note-card.nt-purple { border-color: rgba(168,85,247,0.3); }
.note-card.nt-purple:hover { border-color: #a855f7; box-shadow: 0 10px 34px rgba(168,85,247,0.28); }
.note-card.nt-green  { border-color: rgba(0,255,136,0.3); }
.note-card.nt-green:hover  { border-color: #00ff88; box-shadow: 0 10px 34px rgba(0,255,136,0.28); }

@media (max-width: 768px) {
  .notes-section { padding: 40px 0 60px; }
  .notes-title { margin-bottom: 32px; }
  .note-card { min-height: 220px; }
}

@media (max-width: 480px) {
  .note-card {
    width: 78vw !important;
    min-height: 200px;
  }
  .note-thumb { height: 45vw !important; }
  .note-name { font-size: 0.85rem; }
}



.notes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}